Tag Info

Hot answers tagged

6

As the GIS SE tag descriptions note: OpenStreetMap (OSM) is data OpenStreetMap is a collaborative project to create a free editable map of the world. The data is free, and free of legal and technical restrictions. OpenStreetMap is often shorted to OSM. OpenLayers is a client viewer OpenLayers is a JavaScript library which implements an API for ...


3

You can use OpenRouteService to add custom avoid areas / danger zones etc. The only alternative seems to be BRouter corresponding to the wiki overview.


3

Yes, I guess they are supposed to be part of a highway (according to the wiki page and to traffic_signals I previously show in OSM). "The mapping of traffic signals is an abstraction that the particular junction or way is regulated by traffic lights. It is not a representation of a particular device. Thus, because traffic signals can affect routing ...


2

There is a typo in you call. number-processes is an option, so you should use --number-processes


2

Names and labeling rules are in default style. They are follows http://www.mapcss.org/ specification with some extras. Open DefaultStyle.bundle/Style.mapcss most of the names marked as { ... text:eval(locTag('name')); ... } You could use text:eval(any(tag('name:en'), tag('name'))); In that case, name:en will be used for names first, and ...


2

You have two issues mixed. First: pgRoute, uses precreated topology based on LineString geometry. Such geometry doesn't have direct links on osm Nodes. You could get geospatial points for built route, not osm Nodes. To get Nodes, you could build an index among osm Nodes geometries and perform distance lookup. In other words, select all nodes which are not ...


2

As I could see, you could crossreferene osm data with терсон names. For instance: Верхнеколымский улус from http://std.gmcrosstata.ru matches with http://atd.osm.rambler.ru/r1399830.html and there are OSM Relation/Way ids for nested territories. That's the id of Верхнеколымский улус http://www.openstreetmap.org/relation/1399830 (you could find it on list ...


2

Alright, when installing Nominatim a folder 'settings' is created, holding a PHP file named 'settings.php'. Within this file all sorts of constants are defined - also 'CONST_Postgresql_Version'. Simply edit this file and change the value from 9.3 to 9.4 will overcome the initial error message.


2

They are not bad coordinates. They are in Web Mercator (EPSG: 3857 aka 900913 - units meters). This is the default projection for Openlayers. These coordinates are perfectly normal but what you mean is "how can I get coordinates in decimal degrees projected to EPSG: 4326" (which is what you were expecting). To do that, see this example where you can see ...


1

Take a look at Proj4 https://github.com/OSGeo/proj.4/wiki python's implementation pyproj https://github.com/jswhit/pyproj You could specify src and dest projections (like EPSG:4326 and EPSG:3857) and convert coordinates between them. And pyproj will made all raw calculations.


1

OSM tile names are not latitude and longitude. See https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames for algorithms to convert between the two. For a random tile within Indiana try 12/1066/1553 (see http://a.tile.openstreetmap.org/12/1066/1553.png ). You might want to use a viewing software that generates the tile names automatically, for example ...


1

The world picture is rendered from a shapefile. For detailed maps, you need to put the openstreetmap data into a postgis database using osm2pgsql (not osmosis!). http://wiki.openstreetmap.org/wiki/Mapnik can lead you to further instructions how to set up the database properly.


1

Did you read http://postgis.net/docs/ST_Contains.html? ST_Contains — Returns true if and only if no points of B lie in the exterior of A, and at least one point of the interior of B lies in the interior of A. Creating SQL queries which construct geometry from WKT is a good and controlled way for testing the syntax select ST_Contains( ...


1

The reason for the missing tiles is that the tile server is responding too slow if it suffers heavy load from other users. Unfortunately, there is no option in the plugin to extend the timeout. You can try increasing the values under Settings -> Options -> Network tab; or simply move around the whole canvas to activate a reload of the tiles. Or use ...


1

I think the comments on this question are worth placing into an answer which I'll make Community Wiki: Try applying the spatial reference to the shape -- poly = arcpy.Polygon(ar,wgs) – Vince Jun 25 at 12:08 Yes, I would do as Vince says and add a spatial reference, otherwise the polygon has no idea where it is supposed to be. Also, you can ...


1

Not sure if you seen this link before but perhaps it might be of some use as it contains several style files for various types of features: QGIS stylesheets for OpenStreetMap Or click here to directly download the style files.


1

You may try to get parts you need from OSMAnd (it's opensource) https://github.com/osmandapp/Osmand You may use https://getyourmap.com/ (there are free usage plan)


1

I think you're trying to create is working with Geocoding in ArcGIS. Here is a video tha you can follow the instructions to do the geocoding in ArcGIS. But before that you need to parse your XML data to get just the address. You can do it using a simple code using Python (it's installed by default when you install ArcGIS). Is that make sense for you?


1

Pelias gets boundaries from external source (or form OSM but loaded via separate query) and join points with boundaries within ElasticSearch. Try this https://github.com/kiselev-dv/gazetteer/tree/develop/Gazetteer It uses pretty similar scheme (with some additions) as Pelias. Run gazetteer.jar from releases with: bzcat CH.osm.bz | java -jar gazetteer.jar ...



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