When i use josm to make an edit on my map, and i have not updata the database that my tile server used to renderd, but when i view the http://192.168.99.128:3000 website, try to use iD editor to make an edit too, i find that the edit page has update the tiles where i edit by josm. So what is the tile server the iD editor used to renderd? Why the iD editor alaway keep up-to-date even i did not make any configuration on it? asked 23 Sep '16, 03:41 yuyy aseerel4c26 ♦ |
The iD editor renders the map on its own. There is no tile server involved. answered 23 Sep '16, 07:47 scai ♦ What is the mean that iD editor renderds the map on its own? How does the iD editor get the map picture that shows to us? Can you explain more detailon it, thanks.
(23 Sep '16, 08:07)
yuyy
1
Editors (both iD and JOSM) download vector data and render that locally. The default rendering of iD looks quite similar to the default raster tiles on osm.org, which is probably where you got confused (thinking that iD was displaying updated raster tiles when it was actually rendering vector data). Note that JOSM has extensive render styling capabilities, and that there are lots of different styles for raster tiles too.
(23 Sep '16, 10:03)
Vincent de P... ♦
It queries your database for the raw data and just draws it similar to a vector renderer. Editors usually come with their own renderer. In the end this is quite similar to a vector graphics editor like Adobe Illustrator or Inkscape who can also show you immediately all the lines and shapes that you are drawing.
(23 Sep '16, 10:04)
scai ♦
|
I assume this question is about your own server? Please could you clarify your setup? What did you install, what did you configure?
I installed the rails port and built my local tile server, i make my rails port connect to my tile server by change the tiles address in the vendor/assets/openlayers/OpenStreetMap.js and vendor/assets/leaflet/leaflet.osm.js. When i make an edit by the iD editor or josm, the map did not show the changests immediatily, unless i update the gis database and re-rendred the dity tiles, then the changed can be showed on the map. But the iD editor page can alaways show the changests even i did not update the gis database and dity tiles.