Tag Info

Hot answers tagged

2

If you want a unique id per row it will be easiest to use the row number. SELECT (row_number() OVER())-1 AS id, way, (...) That way you'll get incrementing id starting from 0 and won't have to worry about collision.


1

"Note: In Relation there is innerWay - outerWay relation for some buildings but it does not cover all the cases as I see. How openstreetmap draw building?" The reason you are not seeing "all the cases" as you mentioned, is because the default OpenStreetMap Carto rendering actually kind of "hides" data errors: it simply stacks polygons in size-based order ...


1

In OpenStreetMap, stylesheets, styling, or rules are terms generally to describe the determines what features (Roads or no roads? If yes, which ones?) are drawn at a particular zoom level and how (is a road black? with or without the road's name?). The stylesheet/rules reads each feature's tags. The rendering software (usually its mapnik) will read the ...


1

According to this thread in OSM forum you can try (next to osmosis) further toos like osmconvert or OSM History splitter The documentation about osmconvert tells that you can use bbopx data or polygon files (maybe as square polygons?) to get single files. In case of doubt, tell us more about your special aim of splitting boundaries or number of output ...


1

I found a simple workaround that seems to work ok. Make a PostGIS layer with an extra column like this: (SELECT way,.... osm_id % 65500 AS tinyid FROM planet_osm_point) p Then set tinyid as the layer's "Unique key field". That is, take the actual osm_id modulo 65500 to always produce a value in the range 0-65500. This will occasionally cause errors if ...


1

Based on the screenshot, you are most likely using ArcGIS. In that case, I strongly recommend you to not use any shapefiles as the source of your routing network, but use ESRI's free "ArcGIS Editor for OpenStreetMap", which is a very useful ModelBuilder toolbox with tools for OpenStreetMap data. It has build-in tools for downloading the required data, and ...


1

You should stop using the 9.2 version and switch to using the ArcGIS Editor for OpenStreetMap for 10.2. I was using it for some time now and was able to process multiple OSM datasets into routable networks with no problems. There is a very detailed documentation here on GitHub.


1

To load in your own data use the gpx file support: Go to Map screen. Tap device menu button. Tap "Map Layers" Check "GPX track". A list of tracks will appear, named with the track starting date and time. Check the desired track to view. Tap OK. You will return to the map screen and zoom to the start of the track. source: ...


1

You can also try to translate your lines via SQL query, by following an example similar to the use case done here with points: WITH q AS (SELECT cartodb_id, the_geom_webmercator FROM twain WHERE name = 'New Orleans, LA, US'), m AS (SELECT count(*) n, array_agg(cartodb_id) id_list, the_geom_webmercator FROM q GROUP BY the_geom_webmercator), ...


1

I know this is an old question but I was stuck too (I have to model a 3d globe that uses a TMS) and found the "altitude" of the camera partly thanks to Igor Brejc's reply and mostly thanks to this article: http://wiki.openstreetmap.org/wiki/Zoom_levels there is a mistake in their formula btw ; the +8 in S=C*cos(y)/2^(z+8) should not be there. in my case ...



Only top voted, non community-wiki answers of a minimum length are eligible