Tag Info

New answers tagged

0

Here's what I would do Using the XML document they sent you, create a geodatabase and then a new feature class to the specifications of the XML by right-clicking in the GDB and choosing Import > XML Workspace Document. This creates a new feature class in the schema you have to match. Then I would create a new feature class from your CSV data, building a ...


0

Based on the discussion above, the answer is that the coordinates are specified in the order determined by the coordinate system you are using. The EPSG codes all specify (lat,lon) order for geographic coordinates, while specifying (x,y) order for projected coordinates. The OGC, however, in (http://portal.opengeospatial.org/files/?artifact_id=30575) ...


0

The Gist is authoritative iirc. Having said this, the safest way is to be explicit and specify an srsName with the correct axis order, and pycsw (OWSLib) will detect the srsName and process as per the axis ordering rules. An example can be found at https://github.com/geopython/pycsw/blob/master/tests/suites/default/post/GetRecords-filter-bbox-reproject.xml ...


2

With ElementTree, the solution is (urllib is deprecated, use urllib2 or better, the Requests module): import urllib2 WMTS = urllib2.urlopen("http://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/WMTS/1.0.0/WMTSCapabilities.xml") tree = et.parse(WMTS) for elem in tree.iter(tag='{http://www.opengis.net/wmts/1.0}ScaleDenominator'): print ...



Top 50 recent answers are included