Tag Info

New answers tagged

0

Mapproxy can be an ArcGIS REST client and serve WMS data with re-projection. I'm doing that with a slightly hacked version 1.6, but since 1.7, Mapproxy supports ArcGIS REST natively.


0

Sounds like you are trying to implement what is known as Floating Car Data (FCD) analysis. This field has received a lot of interest from researchers since the analysis is far from trivial in most cases. There are multiple problems you have to solve, including but not limited to map-matching and routing. Depending on the temporal resolution of your taxi ...


0

There are many ways to come near your aim, so sorry for just linking to other FAQs: https://help.openstreetmap.org/questions/136/how-do-i-render-my-own-maps-for-my-website https://help.openstreetmap.org/questions/6938/map-without-labels-and-businesses https://help.openstreetmap.org/questions/3282/can-i-strip-poi-from-the-map ...


0

Alternatively, you can try osmfilter ... some people say it is easier to use, and also faster. Please have a closer look at its parameter definition in the OSM wiki ... Try your queries first on a small raw OSM data file, to test how to include and exclude OSM elements you need.


1

The following Overpass API Query will return the center of your building: [out:json]; way(292833530); out center meta;


0

I have found the solution on this stackoverflow topic .So here how I did it. i request every node of the building using this: http://api.openstreetmap.org/api/0.6/node/ + one of the node and then the formule: latitude1 = the lowest latitude latitude2 = the hightest latitude longitude1 = the lowest longitude longitude2 = the highest longitude ...


2

There have been similar questions at help.openstreetmap.org with different solutions, see: https://help.openstreetmap.org/questions/7920/mapnik-street-name-generation https://help.openstreetmap.org/questions/21784/render-place-name-in-two-languages-with-mapnik ...


0

Depending on your setup you will want to edit the queries to Postgres to choose the local name if available. See https://help.openstreetmap.org/questions/21784/render-place-name-in-two-languages-with-mapnik for an example. You will need to make sure that the tags are preserved when doing the import(s).


2

using arcgis editor for OSM, you can auto extract features and symbolize it, also it allows you to extract information to table. http://www.esri.com/software/arcgis/extensions/openstreetmap


2

You just need to follow the official sample Localized OpenStreetMap. You will just have to copy/paste the referenced sample in a new html file. Then, if your tiles "root" is located at http://localhost/osm/, replace http://{a-c}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png with http://localhost/osm/{z}/{x}/{y}.png Save and it should work by opening the ...


2

Try the following queries: # read all nodes with amenity=atm or atm=yes, ignore ways and relations osmosis --read-xml data.osm --tf accept-nodes amenity=atm --tf reject-ways --tf reject-relations --write-xml amenity_atm_nodes.osm osmosis --read-xml data.osm --tf accept-nodes atm=yes --tf reject-ways --tf reject-relations --write-xml atm_yes_nodes.osm # ...


2

Assuming you are talking about a tile sever: Any browser Marble QLandkarteGT Various other software from the list of desktop software for OSM


2

I found a different query : osmosis --read-pbf myfile.pbf --node-key-value keyValueList='amenity.atm' --write-xml atm.osm I got a 250ko xml file with all the atm. Hope it can help other peolple


0

QGIS print composer in > 2.6 can create georeferenced output as described in https://docs.qgis.org/2.6/en/docs/user_manual/print_composer/print_composer.html#creating-output If you need to export your layout as a georeferenced image (i.e., to load back inside QGIS), you need to enable this feature under the Composition tab. Check [checkbox] World file on ...


3

Natural Earth might offer the data you need on a worldwide scale. For lower zoom levels, the Openstreetmap rendering toolchain uses that source too, because it is much faster than querying the global database.


0

just change the database name in the following location Nominatim/settings/ Edit the database name in this file settings.php. @define('CONST_Database_DSN', 'pgsql://@/nominatim'); change with your database name @define('CONST_Database_DSN', 'pgsql://@/nominatimMorocco'); If you change your database name here than you also need to change following ...


2

You are only inspecting osm_id field. It seems you didn't inspect your multipolygons table. On a local use case, I do : ogrinfo -so france.simple.spatialite multipolygons It returns FID Column = OGC_FID Geometry Column = GEOMETRY osm_id: String (0.0) osm_way_id: String (0.0) name: String (0.0) type: String (0.0) ... So the identifiers are not only ...


1

The AGEB is part of the National Geostatistical Framework (abbreviated as MGN in Spanish) it's not an official administrative level so you're right in that it's not used for administrative purposes but for statistical and census geo-referencing purposes, however, it's so heavily used for research that it would make sense to have the MGN levels mapped to OSM ...


1

I realized I had omitted another good link for you. There is an interesting blog by one of the ESRI developers involved in the HPC stuff (Mansour Raad). I hadn't visited it for a while, but it turns out he actually wrote an article about invoking a Spark job from within ArcGIS for Desktop using ArcGIS Geoprocessing tools. There is code samples as well. I ...


3

Nodes don't have any order themselves. Keep in mind that a single node can be part of multiple ways. Therefore each node can have a different position for each way it belongs to. Hence you have to query for the way, too, to get the order of its nodes: way(35565161); out body; >; out body; or way(35565161); (._;>;); out body; See the result on ...


1

I am not sure if this is helpful, but a suggestion for an algoritm to process OSM multipolygon into into proper GIS multipolygons is given here http://wiki.openstreetmap.org/wiki/Relation:multipolygon/Algorithm Helpful reading regarding boundaries, enclaves and exclaves: http://wiki.openstreetmap.org/wiki/Relation:boundary Especially the last example is ...


1

There are a couple of things coming to my mind here: First, and foremost, why you feel the need to use an unproven HPC routing solution to do something for which the OSM community already developed proven and tested solutions? Routing on OSM data has been implemented as several Open Source projects (See http://wiki.openstreetmap.org/wiki/Routing. Even ESRI ...


1

I'm the author of this particular code, but I'm not sure what could cause this. Do you have the latest Tilemill version? Maybe you could try using an older openstreetmap-carto version, for example 2.28.0: https://github.com/gravitystorm/openstreetmap-carto/releases/tag/v2.28.0 Also, does duplicating the code, like this, help by any chance? #text-poly { ...


1

So after some research I decided to stick with the OSM metadata. I found the Overpass API, which is basically a query language, which I managed to understand reading this: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL and testing it here http://overpass-api.de/query_form.html I ended up with this query: way ...


1

Google maps roads API can do that, if a non-OSM solution is ok with you. See snapToRoad method which returns the GPS points snapped to the nearest Road. You can take the place id from the response and use Google Maps Places API to get corresponding Road name. https://developers.google.com/maps/documentation/roads/snap


2

I think JasonT is on the right track (excuse the pun). Note, however, it is the concept of a buffer that you want, not to actually create a buffer. If you were using PostGIS (or similar software/libraries), you'd use ST_DWithin() to reject public road points that are too close to your GPS points.


1

I would suggest another approach. If you do not need vector data only OSM as a base map which looks the same as http://www.openstreetmap.org maybe you could create your own OSM service using Mapproxy. I know it is not perfect, but maybe you could give it a try. First you need to install Mapproxy. Pre-seed all zoom levels of OSM for particular area and then ...


4

FYI... I believe this has changed for OL3 V3.5.0, so gcarrillo's answer would be: new ol.layer.Vector({ title: 'added Layer', source: new ol.source.Vector({ url: 'mygeojson.json', format: new ol.format.GeoJSON() }) }) You can see the changes here: ...


5

If you want to use a postgis database with Openstreetmap data, you have to populate it with osm2pgsql, not osmosis. That is the only way to get polygons out of Openstreetmap multipolygon relations and closed ways in a format that GIS software can understand. Alternatively, you can use GDAL ogr2ogr to save OSM data into a spatialite database. Once you have ...


0

use QGIS Open the map file by ََQGIS Select the items map by type style the items one by one see the tutorial here


1

Your question is quiet complex and as others say it's highly recommended to have a look at the 3D OSM Wikipages before. So to splitup your problem you need: JS webmap with 3D abilities for the clientside OSM 3D processor on the serverside OSM custom API for your custom CRUD operations on objects OSM database As you see, it's getting complex. You might ...


1

I forgot to add "f:" to the location my @layers = ('file:///f:/Tiles/!z/!x/!y.png');


1

Command osmosis --rrii creates a file configuration.txt with a wrong url apparently. Changing it to planet.osm.org/replication/minute/ for minutely updates fixes the problem. Thanks to scai.


3

Landsat is now available via Amazon Web Services Landsat 8 data is available for anyone to use via Amazon S3. All Landsat 8 scenes from 2015 are available along with a selection of cloud-free scenes from 2013 and 2014. All new Landsat 8 scenes are made available each day, often within hours of production. ...


0

You could use gdal/ogr on android to do the conversion. Building gdal/ogr and spatiallite for android is not difficult if you have used the ndk before.


1

osm2pgsql is surely designed to import the whole planet into postgis. You have to make sure to use a recent version of osm2pgsql, because the node numbers in OSM have hit a limit which made it necessary to change the number format from integer to long integer. Older versions of osm2pgsql will fail therefore. On windows, there are a few more pitfalls. You ...


0

Maybe osmosis is the option you are looking for. You can use osmosis to import all tags into the postgis database. Since osmosis does not build GIS ready to use objects you must do this in a separate process using SQL. A very good collection to start with are the osmosis layers from moenk available on github.



Top 50 recent answers are included