Hot answers tagged

4

Your task to connect the house number automatically to the street name will surely fail in many cases. Just imagine a street crossing with four different named streets, where the house number could be related to any of them. The only working way is to add the full adress information to the house number during editig, using the Karlsruher Schema. The ...


3

The 3D Analyst Land XML to TIN tool did work when I run the toolbox tool itself rather than a command from the Python window. Must have had the parameters wrong.


2

I think your issue has been addressed here. As given in the second paragraph, For example, if the metadata describes the item as having one projection but the item's projection has changed since the last automatic update, the old projection information in the metadata will be replaced with the new projection information. Basically geoprocessing ...


2

Try using Overpass API and for playing around the overpass turbo frontend. Example query: [out:xml] [timeout:25]; way["highway"](51.0634071197396,13.773078918457031,51.12550562618459,13.905601501464844); out body; >; out skel qt; Visualization on overpass turbo (might be slow in your browser!) Raw data as XML Please note that the other API you ...


2

Building from the comment by @elrobis here is an example using jQuery for getting the georss and adding simple markers to a map: <html> <head> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id="map" style="width: 700px; height: 500px"></div> ...


2

You have to set the scale to the fixed resolutions of the zoom levels. The TileMapScale Plugin does that for you. Apart from that, the QuickMapServices Plugin does a far better work than the XML.


2

You can use mapnik.save_map() import mapnik m = mapnik.Map(1440,800) # ... add styling and layers ... mapnik.save_map(m, "output.xml")


2

The *.osm file is a *.xml file. There is no need to convert it. Open the file within an editor of your choice and you will see the xml structure. If your application needs a file with *.xml ending simply rename it or use the *.osm file as an input. Both should be fine.


1

go to this link, hope it will be helpful: https://www.esdm.co.uk/how-to-change-the-port-for-geoserver-on-windows-with-jetty


1

You have Georeferenced images that you want to Rectify. There doesn't seem to be a command line Tool that mimics the one on the Georeferencing Toolbar, Rectify. I found a script, by Rob, that reads the control Points from the .tif.aux.xml file and passes this info to the Warp command, outputing a warped image. Please see the script at the end of this post, ...


1

ArcGIS supports a number of methods to georeference an image. IMHO its a matter of taste, what methods are associated with georeferencing, and what with "undoing" projection or distortion. The simplest of them, the affine or 1st Order Polynomial supports translation, rotation, and scaling. This one is parameterized by the numbers saved in a "world file", ...


1

An example of a geoserver layer WFS bbox request would go something like this: http://myserver/geoserver/wfs?srsname=EPSG:4326&BBOX=xMinimumValue,yMinimumValue,xMaximumValue,yMaximumValue&typename=workspaceName:layerName&version=1.0.0&request=GetFeature&service=WFS


1

They are many Python modules to parse XML files (PiPy:xml) but xml.etree.ElementTree is a standard module With your example from xml.etree import ElementTree as ET with open("testodk.xml") as odk: tree = ET.parse(odk) coords = tree.find('KOORD') print coords.text 56.1234 13.1234 70.1234 7.1234 name = tree.find('NAME') print name.text Place name To ...


1

You need a part of the answer for ways. Ways in OSM are ordered lists of node references. So the part of the answer what you need should looks like: <way id="22940464"> <nd ref="272304964"/><!-- First node --> <nd ref="273206415"/><!-- Second node --> <nd ref="273206424"/> <nd ref="1827734835"/> ...


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

Got it working using the fmi package in R. https://github.com/rOpenGov/fmi/blob/master/vignettes/fmi_tutorial.md


1

Have you tried the fmi R package from rOpenGov? This is an example partly from their tutorial and ran for me just fine: install.packages(c("devtools", "sp", "rgdal", "raster")) # if you haven't library(devtools) install_github("rOpenGov/rwfs") install_github("rOpenGov/fmi") library(fmi) library(sp) apiKey <- "ENTER YOUR API KEY HERE" request <- ...


1

There are some interesting irregularities here. I'll try to generalize the answer, particularly by discussing the parameters that are zeroes in this definition but might not be in another XML-based coordinate reference system (CRS) definition. A colleague pointed out that usually XML has uses angle brackets for the attribute/value pairs. The geographic ...


1

The code you posted should not give an indentation error. I recommend that you open a new Python script and copy/paste the code you posted and run that. I will be very surprised if you receive an indentation error by doing that. I suspect that you may have moved the start of the last line left or right in the process of writing your question. W.r.t. ...


1

Fixed it by adding the ogc: namespace to: PropertyIsEqualTo, PropertyName and Literal: <wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" service="WFS" version="1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs ...


1

Are the xml files *.aux.xml? If so, it's not QGIS creating them, it's the GDAL library which uses them to store metadata, including statistics. You can disable completely by setting the environment variable GDAL_PAM_ENABLED=NO though I don't advise this if you'll be displaying the rasters again as there won't be any statistics cached. Instead, you can ...


1

ESRI has an standard xml format to export both the data and the schema of data. In ArcCatalg (Catalog window of Arcmap): 1- As arcgis cannot export shapefile directly to XML workspace first import your shapefile into a geodatabase featureclass. 2- right-click the featureCLass > Export> XML Workspace Document in the opened window there are two combo ...


1

If you wish to retrieve the OSM Raw XML, that is how Overpass API query would look like: http://www.overpass-api.de/api/interpreter?data=[bbox];(way[admin_level="2"];way[border_type="nation"];);(._;>;);out body qt;&bbox=112.5,31.9521,123.75,40.9798 Please replace that &bbox=112.5,31.9521,123.75,40.9798 with coordinates of the region of your ...



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