После загрузки карты мира прорисовываются не все тайлы

Ответить
SPb_maps
Интересующийся
Сообщения: 25
Зарегистрирован: 26 фев 2016, 23:55
Репутация: 0

После загрузки карты мира прорисовываются не все тайлы

Сообщение SPb_maps » 13 сен 2016, 15:32

Области карты не прорисовываются, по тайлам приходит 404, вот лог загрузки, вроде без ошибок:
Спойлер
osm@osm-server:~$ sudo -u osm osm2pgsql -r pbf -s -d gis_planet -C 40000 --cache -strategy dense /home/osm/planet-latest.osm.pbf
osm2pgsql SVN version 0.81.0 (64bit id space)

Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: table "planet_osm_point" does not exist, skipping
NOTICE: table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE: table "planet_osm_line" does not exist, skipping
NOTICE: table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE: table "planet_osm_polygon" does not exist, skipping
NOTICE: table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE: table "planet_osm_roads" does not exist, skipping
NOTICE: table "planet_osm_roads_tmp" does not exist, skipping
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Node-cache: cache=40000MB, maxblocks=5120001*8192, allocation method=10
Mid: pgsql, scale=100 cache=40000
Setting up table: planet_osm_nodes
NOTICE: table "planet_osm_nodes" does not exist, skipping
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_nodes _pkey" for table "planet_osm_nodes"
Setting up table: planet_osm_ways
NOTICE: table "planet_osm_ways" does not exist, skipping
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_ways_ pkey" for table "planet_osm_ways"
Setting up table: planet_osm_rels
NOTICE: table "planet_osm_rels" does not exist, skipping
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "planet_osm_rels_ pkey" for table "planet_osm_rels"

Reading in file: /home/osm/planet-latest.osm.pbf
Processing: Node(3170937k 135.2k/s) Way(325056k 21.05k/s) Relation(3825360 167.85/s)
Standard exception processing way_id 5734740: TopologyException: side location conflict at 683849 6.29113e+06
Processing: Node(3170937k 135.2k/s) Way(325056k 21.05k/s) Relation(3845990 168.12/s)
Standard exception processing way_id 5756749: TopologyException: side location conflict at -377710 7.03264e+06
Processing: Node(3170937k 135.2k/s) Way(325056k 21.05k/s) Relation(3912330 169.22/s) parse time: 62023s

Node stats: total(3170937041), max(3938835239) in 23459s
Way stats: total(325056316), max(390739071) in 15443s
Relation stats: total(3912339), max(5849965) in 23120s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads

Going over pending ways...
216812570 ways are pending

Using 1 helper-processes
Process 0 finished processing 216812570 ways in 95829 sec

All child processes exited

216812570 Pending ways took 95829s at a rate of 2262.49/s
Committing transaction for planet_osm_point
Committing transaction for planet_osm_line
Committing transaction for planet_osm_polygon
Committing transaction for planet_osm_roads

Going over pending relations...
0 relations are pending

Using 1 helper-processes
Process 0 finished processing 0 relations in 0 sec

All child processes exited

Sorting data and creating indexes for planet_osm_point
Sorting data and creating indexes for planet_osm_polygon
Sorting data and creating indexes for planet_osm_line
Sorting data and creating indexes for planet_osm_roads
node cache: stored: 3170937041(100.00%), storage efficiency: 80.90% (dense blocks: 3827923, sparse nodes: 0), hit rate: 100.00%
Stopping table: planet_osm_nodes
Stopping table: planet_osm_rels
Stopping table: planet_osm_ways
Building index on table: planet_osm_rels (fastupdate=off)
Building index on table: planet_osm_ways (fastupdate=off)
Stopped table: planet_osm_nodes in 0s
Analyzing planet_osm_point finished
Analyzing planet_osm_roads finished
Analyzing planet_osm_polygon finished
Analyzing planet_osm_line finished
Stopped table: planet_osm_rels in 308s
Copying planet_osm_roads to cluster by geometry finished
Copying planet_osm_point to cluster by geometry finished
Creating indexes on planet_osm_roads finished
All indexes on planet_osm_roads created in 2358s
Completed planet_osm_roads
Copying planet_osm_line to cluster by geometry finished
Creating indexes on planet_osm_point finished
All indexes on planet_osm_point created in 8595s
Completed planet_osm_point
Copying planet_osm_polygon to cluster by geometry finished
Creating indexes on planet_osm_line finished
All indexes on planet_osm_line created in 17928s
Completed planet_osm_line
Creating indexes on planet_osm_polygon finished
All indexes on planet_osm_polygon created in 28315s
Completed planet_osm_polygon
Stopped table: planet_osm_ways in 41541s

Osm2pgsql took 199429s overall
osm@osm-server:~$

SPb_maps
Интересующийся
Сообщения: 25
Зарегистрирован: 26 фев 2016, 23:55
Репутация: 0

Re: После загрузки карты мира прорисовываются не все тайлы

Сообщение SPb_maps » 13 сен 2016, 15:37

Изображение

Strang
Новоприбывший
Сообщения: 3
Зарегистрирован: 09 июн 2015, 18:29
Репутация: 0

Re: После загрузки карты мира прорисовываются не все тайлы

Сообщение Strang » 01 июн 2017, 12:58

Судя по скрину, это просмотр OSM через OpenLayers:
Если еще актуально, то ответ зависит от условий:
1. если часто с Вашего IP уходят запросы на openstreetmap.org (.ru), то запросы могут блокироваться сайтом, на публичных серверах есть лимит
2. если не прописаны субдомены a-z в OpenLayers для слоя OSM карты, то работа с одним доменом может блокироваться самим браузером (до 4-6 соединений в современных браузерах, после блокировка на 20 секунд), правда тогда ответ будет не 404, но если произойдет таймаут и работа идет через прокси, то возможен случай ответа 404
3. не повезло, были работы на сервере ;).. маловероятно, но возможно
...

freeExec
Гуру
Сообщения: 1195
Зарегистрирован: 23 апр 2011, 10:32
Репутация: 205
Откуда: Ульяновск

Re: После загрузки карты мира прорисовываются не все тайлы

Сообщение freeExec » 01 июн 2017, 13:13

Наверное фишка всё же в том, что это локальный рендер, а не openstreetmap.org (.ru) (на ру, кстате тайлов нет). И тайлы банально просто ещё не готовы.

Ответить

Вернуться в «PostGIS/PostgreSQL»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 2 гостя