Questions tagged [xml]

XML (Extensible Markup Language) is a set of rules for encoding documents in both human-readable and machine-readable form. It is defined in the XML 1.0 Specification produced by the W3C

Filter by
Sorted by
Tagged with
2
votes
1answer
42 views

GeoServer WMS inline SLD_BODY syntax problem

I would like to use inline SLD to style polygon served by GeoServer. Here is working example in MapServer: without defined style: http://gis.ibbeck.de/include/mapserver/mapserv.exe?map=/daten/mapfiles/...
0
votes
0answers
28 views

GeoServer REST WorkspacesAPI.postWorkspaces call by a Swagger client fails: “CannotResolveClassException: name”. Unexpected JSON content received

Using GeoServer 2.18.2 REST API by a Swagger Java client generated from workspaces.yaml (taken from documentation page), I attempted to create a workspace through this small test code, under Spring ...
1
vote
1answer
49 views

Setting up local repository in QGIS 3.1

I'm trying to create a local repository to make easier the distribution of plugins within my company. Although eveything goes smoothly in QGIS 2.14, it seems I can't repeat the same process with QGIS ...
4
votes
1answer
53 views

XML bounding boxes to shapefile QGIS

I used labelImg to create some bounding boxes around items of interest on a TIF image. I am wondering if I can convert those XML bounding boxes into shapefiles? I've looked at a few other posts for ...
1
vote
1answer
83 views

SLD GeoServer COPY of styled labels from QGIS -with a created centroid - every label moved manually with X and Y on different places

In QGIS both in line, point and polygon type layers (for rivers, settlements, lakes..) I created labels for the objects - I created a field X and Y (Decimal Number), so that I define their location (...
3
votes
0answers
24 views

Retaining Bounding Box after Fishnet Clip

I have a large image that contains around 7000 trees. I created a bounding box around each one of them and then saved it as a .xml file. I would now like to create different fishnet sizes and clip ...
1
vote
1answer
35 views

Legends not appearing in GeoServer Layer

I have added a new style in GeoServer. As I am seeing the preview of legend while creating the style, it is appearing. But when I am applying the same to the GeoServer layer, it is not appearing in ...
0
votes
0answers
12 views

xml of a layer on geoserver is different when I am opening it in browser

xml of a layer on a geoserver is different when I am opening it in browser, for example: http://mygeoserver/geoserver/rest/services/wfs/transforms/layer_test.xml it look like this: <transform> &...
1
vote
0answers
92 views

Loading .XML file (.AUX.TIF) in QGIS [closed]

I am working on a project and recently I received a set of files that include a .xml file (.tif.aux), a TIF and a shapefile. When I open the shape file the color of the blocks is uniform and does not ...
0
votes
0answers
12 views

Import UML Metadata definition as template to Geonetwork

I would like to import the metadata definition from this link to Geonetwork. The zip file has a UML file that follows the ISO 19115 definition with some adaptions for Switzerland, but I struggle to ...
0
votes
1answer
46 views

Using .BMP image as customizable polygon fill in QGIS

Normally in my office, I work with ArcMap. For making vegetation maps, I use one specific fill all the time (surface1.bmp). This fill needs to be a different colour in each polygon/feature. In this ...
0
votes
2answers
68 views

Error when I try insert a simple point into a geoserver point layer with wfs-t

I try insert a simple point into a geoserver point layer the commands are: var config = { headers: { 'Content-Type': 'text/xml', 'type': 'POST', 'dataType': 'xml', '...
1
vote
0answers
26 views

Search for the syntax to display an HTML link in an OpenLayers popup

I use a code found on the site : http://www.untourenvelo.ch/Carte_Plein_Ecran.html . It uses the Api Openlayers 2.13.1 . In the development of this website it is possible to display GPX data that are ...
1
vote
0answers
126 views

Sending GetFeature request to GeoServer WFS using POST starting from a JSON like data object

Looking at this older question, I'd like to know if it is possible to make a POST request to retrieve features from a GeoServer WFS starting from a JSON data object. I have this data object which I'd ...
0
votes
0answers
17 views

GeoServer - manually edit WMS GetCapabilities xml files [duplicate]

I'm trying to use a local deployment of GeoServer. I've got a layer being exported as a WMS that I'd like projected in EPSG:3857 only. However, GeoServer adds in some defaults. If I'm using standard ...
0
votes
1answer
34 views

Extract multiple bands from a raster layer with wps ras:BandSelect

I'm trying to use the WPS process ras:BandSelect tool to select multiple bands from a 10-band raster layer. Specifically, I want to select band indices "0, 1, 2" from the 10-band image. The ...
0
votes
0answers
37 views

Mapproxy generating plain tiles using mapnik

I am using MapProxy 1.12 and Mapnik 3 for map creation. Plain tiles are genererating, no map. Some tiles are showing 404 error(The requested tile is outside the bounding box of the tile map.). sample....
0
votes
0answers
31 views

Alignment/projection issue when opening a shapefile in ArcMap that was sourced from XML file

I seek to build a UK bus route in ArcMap and am currently attempting to utilise an .xml file sourced from gov.uk. I have had some difficulty in converting the .xml file into a shapefile. So far, I ...
0
votes
2answers
77 views

Importing DBF files into Microsoft Excel [closed]

I'm working through the book "GIS Tutorial 1" and it wants me to open up a DBF file in Microsoft Excel. But when I try to open it, I'm running into some issues. First thing that seems weird ...
0
votes
0answers
65 views

GeoServer WMS XML request with NamedLayer filter

I need to draw a map with some custom features I don't have in database. I found SLD query that allows me to do that (https://github.com/geoserver/geoserver/blob/master/data/release/demo/...
0
votes
0answers
42 views

Getting QGIS “zoom to layer” to work with PostGIS data in multiple projections

So I have a .qgs file that contains multiple postgis layers, some in EPSG 4326 and some in EPSG 26910, with the .qgs file in 4326. When I use the "zoom to layer" functionality on the layer ...
1
vote
1answer
36 views

Import XML workspace into enterprise geodatabase with different spatial reference system

An XML document with the schema definition of a geodatabase (ESRI Format) is available to be restored in another server (UPDM definition 2018). The definition was created with the spatial reference ...
1
vote
0answers
24 views

How to link up my GeoServer layers with my standalone geowebcache instance

How do I get my GeoServer layers show up on the demo page of gwc. Do I have to edit the config XML manually for each layer?
1
vote
1answer
66 views

How to pass 2 parameters in wps with jiffle in GeoServer?

I'm trying to send 2 sources to process with jiffle (adding a second input on wps:inputs, in this example both are the same layer so the result should be 0), but when I try to execute a simple task ...
0
votes
0answers
463 views

Import XML in QGIS

I have an XML file that contains the following text, that I want to import in QGIS: <bgeom>AAAAAAMAAAABAAAABkEVkXO2K2roQVDSURW3F1lBFZG96URnOEFQ0lA6MfihQRWRv0/...
-1
votes
1answer
85 views

Convert XML files in to shapefiles using ArcGIS or FME? [closed]

I have attached a short text from XML file. Can this file be transferred to the spatial domain? How to convert XML files in to shapefiles using ArcGIS or FME?
3
votes
0answers
280 views

Converting GeoJSON to ISOXML ISOBUS ISO 11783-10

How do I convert some GeoJSON files to ISOXML files (ISO 11783-10)? I found several questions on this topic: Converting GeoJson/Shp to Iso-xml (ISOBUS ISO 11783-10) https://stackoverflow.com/q/...
0
votes
0answers
87 views

Opening XML/GMD resource in QGIS

I have this web resource XML description. From what I saw, it's ArcGIS API format, but I can't find anything else. What standard is it, and is it possible to connect to this resource in QGIS? http://...
2
votes
0answers
54 views

Using Pygrass Functions in Jupyter gives XML Error

I have been trying to use pygrass from grass78 with Python 3.7 inside a Jupyter notebook and have run into an issue where I can import grass modules, but cannot call any pygrass functions, e.g, r....
1
vote
1answer
39 views

Extract subtype codes and descriptions in a view

I have an Oracle 10.7.1 geodatabase that has tables and feature classes with subtypes. How can I extract the codes and descriptions from the subtypes in a view?
2
votes
1answer
125 views

Creating a Layer Group in GeoServer with Python

I am trying to create a Layer Group in Python using the Request module, but I am getting an HTTP 406 (Not Acceptable) error. Can someone tell me what's wrong with my code? import requests ...
1
vote
1answer
222 views

QGIS 3.4. project file editing

How can I edit a QGIS project file so that it would open, save and edit data from given folder and save the results for different directory? Kind of like MapInfo's Wor. file. I read from QGIS ...
0
votes
1answer
256 views

Automating ArcFM XML Export/Import

I am trying to write a script (any) that will go to ArcCatalog and then to a database and then to ArcFM XML Export to export the dataset in XML.
0
votes
1answer
30 views

Clarifying feature references in WFS?

I want to clarify something about feature references in WFS 2.0 standard (OGC 09-025r1 document) Do I understand correctly, that "resolve feature reference" means "get (remote or local) feature by ...
0
votes
1answer
185 views

XML Filter Expression for WFS download using Interoperability Connection Extension in ArcGIS Desktop

I need to download features from this WFS but there are too many features for the server to handle my request. So I thought I should filter my request using the XML Filter Expression Editor. However I ...
1
vote
0answers
150 views

Pre-loading features in QGIS from geodatabase via XML file

The background: I've inherited a pretty handy plugin for QGIS and an associated an XML file. The plugin (among other things) when installed, will ensure that each instance of QGIS that you open has a ...
3
votes
1answer
75 views

Understanding GML structure for validation

I'm failing to convert this GML v3.2 XML and I'm not sure why: <?xml version="1.0" encoding="UTF-8"?> <gml:MultiGeometry xmlns:gml="http://www.opengis.net/gml" srsName=""> <gml:...
1
vote
0answers
49 views

Using XSLT conversions in GeoNetwork to add XML nodes to metadata record during import [closed]

I want to use "Apply XSLT converison" option in GeoNetwork when importing new records to add new XML snippet to my metadata record. I need to add aditional XML content (gmd:identifier) to the ...
0
votes
1answer
30 views

Geonetwork overlapping labels

the labels in GeoNetwork are defined as: <element name="gmd:codeSpace" context="gmd:RD_Identifier"> <label>Namespace</label> </element> but the problem is we also have a ...
0
votes
1answer
38 views

GeoNetwork multilingual entries on custom entry fields

We need the conformity pass to have three states, conformant(bool true), not conformant (bool false) and not evaluated (bool nil-reason). For this purpose we made the entry field for the conformity ...
2
votes
1answer
253 views

GeoServer SLD applying two styles for one layer

How can I apply two styles (NamedStyle and UserStyle). When executing a query, only the top one is applied. How can I apply both styles? This sld_body: <?xml version="1.0" encoding="UTF-8"?>...
1
vote
2answers
701 views

Python toolbox documentation from within pyt file

Python toolboxes are a great way to create custom, GUI toolboxes for ArcGIS without actually interacting with the GUI (since everything can be defined within the pyt file). Regrettably (and ...
2
votes
0answers
38 views

ArcCatalog metadata XML importing errors

I am trying to add metadata to some layers within ArcCatalog and I don't understand the error messages it is giving me or why there would be an error. When I try to import my metadata XML it completes ...
1
vote
0answers
91 views

Serializing and Deserializing Elements using ArcObjects C#

I am using the XMLSerializerClass of the Arcobjects SDK to serialize graphic elements of page layout into XML then saving the XML string to the database. My issue is that when serializing graphics ...
3
votes
3answers
285 views

GML validation errors with FME

I am wondering if I am missing something. I am exporting some records from an Oracle dB to a GML2 file using FME. When I validate the resulting XML using online validators I don't find any errors. ...
0
votes
1answer
31 views

Vender 0ption autoWrap is not working Geo Server 2.10.1

I have added a vender option of code for autoWrap to my xml and it does not seem to be working. I have used multiple different pixel lengths to see if I could see the update but I have not been able ...
0
votes
0answers
192 views

Vector data - .xml to CAD conversion

I have .xml file which involves geometry data I would like to convert into .dwg/.dgn/.shp file. File is written in Danish and I am not sure if that can be a problem. I am trying to use FME software ...
3
votes
0answers
269 views

Filtering multiple values (more than 2) using XML filter for WFS?

I'm having a problem using WFS XML filter. I'm trying to read only 6 features from entire dataset and I get the following error: I wrote query in SQL and need to convert it to XML: "SAV_ID" IN (21,...
5
votes
2answers
4k views

Reading KML Files in R?

I'm hoping to analyze google timeline data in R for a final project in a GIS class, Google can output timeline data as geojson and KML but it looks like the KML file includes a lot more info (type ...
2
votes
1answer
282 views

Get QGIS layer symbology as xml string using PyQGIS

Analogue to saving a layers symbology into a *.qml file I would like to have the xml content of a layers symbology in a python string (or QDomDocument). I think the method QgsVectorLayer()....

1
2 3 4 5
7