Tag Info

Hot answers tagged

4

The thing here is that you have given the example of amenity = school tag, but you are actually querying building = school. It is normal for buildings inside school to be tagged as building = yes, hence the query will not return them. In the second query, the format of bbox-query should be like below. <bbox-query e="7.25" n="50.8" s="50.7" w="7.1"/> ...


4

Here's what we've been doing to set up THREDDS Data Server (TDS) catalogs for regional oceanographic modeling providers in the US Integrated Ocean Observing System to serve their models results. There are four basic types of catalogs we have been setting up: A top level catalog that points to other catalogs that you want exposed An "all" catalog that ...


3

Ok. Finally with doing some tests I was able to figure out where the problem was. KML structure does not have a Featurecollection type in its structure like the one that GeoJSON has. Instead, all you need to do is to store each feature in a separate placemark tag. This means that KML does not support multiple feature information in one placemark tag (which ...


3

As you mentioned, in ArcGIS 10.0 you can export schema or data to an XML file manually if you right click on your geodatabase > Export > XML Workspace Document. You can also do this using ArcObjects. You can do the same in ArcGIS 10.1 but there also exists an Export XML Workspace Document (Data Management) geoprocessing tool to accomplish this that you can ...


2

I wrote the reply at the same time as blah238 so I modified it consequently. The problem is more complex because you need to: "learn" the structure of the XML file to extract the data as: lat="35" lon="-180" from the location tag = the vertices of the polygon (y, x); rebuild the polygon in a text format with: text or list: (-180, 35), (-170, ...


2

If you are comfortable with Python, you could use ElementTree to parse the XML and pyshp to create the shapefile. Here is something you can start with: from xml.etree import ElementTree import shapefile import os xml_file = 'input.xml' shape_file = 'output.shp' projection = ...


2

Have you looked at OGR? It's part of GDAL which is written in C++, with bindings for C and Python. There may be some other unofficial bindings out there too. It supports many different formats, including GML.


2

You can generate both of course, this is not forbidden. There are several things in OSM that can be expressed with more than one tag, simply because anybody is allowed to propose or create new tags. Likewise, data consumers always must keep that in mind and not just process the most popular tag. If you want to use only one of the two tags then you might ...


2

The point feature is a bit more straight forward once you have your table in excel (with your X and Y columns), save it out as a .csv and you may use the Make XY Event Layer tool to convert to event layer and then use Feature Class to Feature Class tool to convert to shapefile. The polyline and polygon are not as straight forward, you will have to build a ...


2

osmtogeojson is yet another OSM-to-GeoJSON converter, which has a few benefits when compared to this (OSM2GEO) or osm-and-geojson: can be used as a command line tool as well as a javascript (browser and nodejs) library. proper multipolygon support sophisticated polygon detection stable (can cope with incomplete OSM data) well tested faster The ...


2

This question is IMHO simple and complex at once :) In general most mappers will just use amenity=school as it's well documented and easy to find. But as OSM models get more and more detailed, some local mappers will look for more detailed tags instead (amenity=college, ..) and append more details. Also at some places the school areas might be tagged and ...


2

Here are two rectangles drawn on top of the map of the States. This is WFS 1.0.0 filter with two Intersects combined with OR <ogc:Filter> <ogc:Or> <ogc:Intersects> <ogc:PropertyName>topp:the_geom</ogc:PropertyName> <gml:Polygon> <gml:outerBoundaryIs> <gml:LinearRing> <gml:coordinates decimal="." cs="," ...


1

Have you tried using Intersects or Overlaps? Here are examples: http://mapserver.org/ogc/filter_encoding.html#currently-supported-features https://wiki.state.ma.us/confluence/display/massgis/GeoServer+-+WFS+-+Filter+-+Overlaps


1

With my experience with Geoportal Server I have noticed that when I don't comment out simple and LDAP authentication , then I am able to log-in correctly. It might be a bug, but try uncommenting the LDAP authentication...by the looks of it, it appears as if its a DB connection issue. make sure that your ports are correct in the geoportal.xml file and that ...


1

The most obvious issue is that the GML file doesn't have a reference to the xsd schema document. Without that FME has no information on how the dataset is structured. Whatever template you are using in the XMLTemplater, you need to include that reference. Then FME will be able to view the data correctly.


1

One method is to create the metadata you want common to all your datasets, you do this by filling in one dataset then export to xml. Create a model that cycles through your datasets importing the xml. This will overwrite any existing metadata. It is discussed here: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00120000000z000000


1

The XML output from Overpass Api has the same structure as all .osm files, so you can use osmconvert on it as well. For populating a mysql database with it see Export XML Data to a MySQL DB A better solution is using a Postgis database populated by osm2pgsql, or a spatialite database. CSV files might get rather unhandy if you got lots of rows. I don't ...


1

MySQL allows only the xml formats as stated in the linked document. You have to modify the osm xml into one of those. Alternatively, you can use osmosis or GDAL to do the import. See this Q&A for some guidance: http://stackoverflow.com/questions/20125242/import-openstreetmap-data-osm-file-to-a-mysql-database-sql-file ...


1

You will need something to process the XML into a format that ArcGIS can consume. This probably means using an ETL tool such as FME or custom programming. You'll also need something to display the data in (near) realtime, which ArcGIS doesn't do out of the box. ESRI offers Tracking Analyst Extension for ArcGIS Desktop, Tracking Server and the GeoEvents ...


1

I think you must to adapt your code perl script to generate a functional code like below: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <name>BalloonStyle.kml</name> <open>1</open> <Style id="exampleBalloonStyle"> ...


1

I couldn't find anything that would indicate why the file path version isn't working but I noticed that the EPSG code in your second script is being created/passed as a string whereas the documentation seems to expect an integer.


1

Here are some link to download schemas. you need to import them to an empty GDB with ArcCatalog (right click on the GDB and the Import XML) http://www.isotc211.org/schemas/2005/gmd/ http://standards.iso.org/ittf/licence.html


1

there is a plugin called MMQGIS that works with QGis 2.0.1-Dufour & can export to kml, complete with a decent stylesheet rendering. It has a bunch of other features and this is just one of them.


1

I would install lxml via pip, which will probably entail installing easy_install first, then pip if you don't already have them. Further instructions are available here. Then you would type pip install lxml (assuming pip is in your path). The other possibility is that qgis has installed a different version of python onto your system. When you say Python 2.7 ...


1

To expose an external WMS service (such as a 3rd party WMS or a standalone installation of NcWMS) through TDS and also included in ISO metadata, one can do this: Define a service tag pointing at your external WMS server outside of the typical compound services. <service name="agg" base="" serviceType="compound"> <service name="odap" ...


1

first of all, no matter which language you use, QGis can read and write from/to any of these formats and convert freely between them, even if you're going from projected to geographic, geographic to projected, geographic-a to geographic-b or projected-a to projected-b. It doesn't matter. QGis runs on top of grass and so has a lot of power. shp mif tab ddf ...


1

GeoTools provides modules that will read GML 2 and 3 into a simple feature model.


1

Ok, I hate to answer my own question so quickly, but I think I figured out the problem. The first line of the XML reads as this: ?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE metadata SYSTEM "http://www.fgdc.gov/metadata/fgdc-std-001-1998.dtd"><metadata> Turns out the fgdc website link in that line is referenced to the USGS.gov ...


1

That is incorrect; if the SHP or other source feature does have the appropriate Metadata and you do a IMPORT into a ArcSDE database then the appropriate Metadata will load.I do this myself as I refresh data every 90 days it it works like a charm.


1

For those who will stumble on this question like me.. It appears that the plugin has been generated (https://github.com/strk/mapnik/tree/2.3.x-pgraster) and has been merged in official Mapnik Repo. The branch is 2.3.x (https://github.com/mapnik/mapnik/tree/2.3.x) Now you can build Mapnik from the branch and use PGRaster plugin to use Raster data from ...



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