Questions tagged [xsd]

XML Schema Definition. An XML file that defines the rules for an XML language, and can be used by software (parsers) to work out if any XML document is valid, that is, conforms to the specified language.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Append new data with restrictions from GML-1, GML-2 and application schemes

I have multiple GML datasets, where new data needs to be added. GML is not an editable format, so a workaround could be to convert to another format, or if possible to postgis. Then finally from ...
user avatar
  • 723
1 vote
0 answers
29 views

Is there an xsd schema or UML diagram for GDF and if not then why?

I am a GIS newbie exploring the GDF Geographic Data Files format. The question "GDF — Can anyone suggest some good reading?" was a great starting point (despite dead links that have lots of ...
user avatar
  • 117
1 vote
1 answer
180 views

Validating schema of my XSD wth GML with GeoTools

I would like to control if my GML file is valid with my actual XSD using GeoTools. I found something here: GML2 Parsing TestSchema Example. But I don't know if it's a good way to do what I want. ...
user avatar
0 votes
1 answer
174 views

GeoNetwork metadata validation errors

I'm a new GeoNetwork user and having a hard time to understand how to solve metadata validation errors. I need to start with a very basic question. GeoNetwork validation runs a Schema Validation (XSD ...
user avatar
3 votes
3 answers
440 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. ...
user avatar
  • 305
0 votes
2 answers
446 views

Using Open GIS’s KML Schema Definition (ogckml22.xsd), Microsoft.Net XML Schema Definition Tool Fails

In brief, on one hand, I expect Open GIS’s KML Schema Definition, i.e. ogckml22.xsd, to be rock solid; fully debugged. Likewise, Microsoft.Net’s XSD XML Schema Definition tool (https://docs....
user avatar
1 vote
0 answers
108 views

Where is XSD file for XML found in Gdb_Items table?

I would like to be able to deserialize the xml in Gdb_items table using .NET. The xml in an sde geodatabase appears to be the same as the xml returned using the File GDB API. I tried using xsd.exe ...
user avatar
1 vote
1 answer
180 views

Geoserver WFS Feature Schema Enumeration of Strings

Basically, I'm trying to limit the values that can be provided by a WFS transaction. So the original schema I've got for this simple test feature here <xsd:complexType name="secondfeatureType"> ...
user avatar
  • 153
2 votes
2 answers
667 views

Creating a Geoserver App-Schema mapping file for GeodesyML

EDIT: This appears to be a version dependent issue! When I posted the question I was using Geoserver 2.11.1. I upgraded to the 2.12 nightly SNAPSHOT and I can now general GeodesyML output. The problem ...
user avatar
  • 325
1 vote
1 answer
1k views

Generating C# classes for gml.xsd using MS Visual studio xsd tool

With Microsoft Visual Studio 2010 comes a tool called xsd which can automatically generate C# source code to easily deal with XML files corresponding to a given schema. I have a very complex XSD ...
user avatar
  • 611
0 votes
1 answer
228 views

GeoTools decode FeatureType

Encode: 1- A way of encoding a FeatureType is : SimpleFeatureType TYPE = DataUtilities.createType("Location", "geom:Point,name:String"); GML encode = new GML(Version.GML2); encode.setBaseURL(new ...
user avatar
  • 1,023