Tag Info

New answers tagged

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 ...


0

The data view is not axonometric. It is distorted because osm data is in degrees, and one degree in latitude is not the same distance as one degree of longitude for most parts of the world. You have to save the data in a projected CRS (like the UTM zone for your part of the world) to display the data correctly.


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 ...


0

The Openlayers plugin is restricted to a scale of 1:2500 Alternatively, you can use the TileLayerPlugin. It works with a tab-delimited text file for the available datasources. For Openstreetmap tiles, the additional entry is: Openstreetmap OSM http://c.tile.openstreetmap.org/{z}/{x}/{y}.png 1 0 19 -180 -85.0 180.0 85.0 Keep in mind that ...


0

Few things: Starting with the precision of measuring an computing areas and distances based on OSM basemaps. OSM tiles are using a geographic coordinate system which is pseudo-wgs84. That is mainly aimed to speed-up display on computer resolution, while distorting the shape and size of map element, i.e features. Hence using those tiles-base maps to ...


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 ...


0

Public transport is made out of the basic elements of OSM. Nodes for the stops, ways for the highway-segments and relations as containers to group all together for the single public transport routes. Thus it has a more detailed level of data than what you like to consume. So you need to create a processing that matchs your requirements. You can use pretty ...


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 ...


0

If that XML file from Overpass Turbo is fully equivalent to *.osm files, which I suspect so, than you should have a look at ESRI's free Open Source "ArcGIS Editor for OpenStreetMap". It has an option to load *.osm files, and create Feature Classes inside a (File) Geodatabase in the process, including support for complex multipolygons and buildings. See ...


0

I would do as below: Since this map uses openstreet map as a basemap so follow as below- Run the query> Export result> Download geojson>add ineteroperability connection in arc map and add exported geojson> add basemap(openstreet map) N.B In this case (arcmap 10.1) you need interoperability extesion installed in arc map for 10.2 onward there is a tool ...


0

There is a tool in arc map called Import XML Workspace Document. The data must be imprted into a geodatabase. You can try that tool. If that does not work, you can try converting your xml file to a different format that can be used by arcmap, perhaps gpx or excel spreadsheet.


0

When I recently tried to save my tile-server update again, I found out that my main fault had been to forget about granting rights on the 'gis' database to the the www-data user -- which was necessary because I had run osm2pgsql with my user account. The switch2osm manual had also mentioned the necessary script in the right place. After all, the error ...


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

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 ...


0

There's possibly a couple of things going on here: If you're using the default style then you'll be loading the vector data from Mapbox. You'll probably want to be using a local datasource which is harder to setup (in comparison to Tilemill) but not impossible If you are using a local tile source, then you'll need to edit the mapnik XML first - mapbox ...


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

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 ...


0

Try MapBox-gl, it's in preview phase and has full vector support written in C++ and OpenGL ES.



Top 50 recent answers are included