Select to view content in your preferred language

GML Contains "No Geometry"

4454
11
12-22-2010 01:05 PM
JonathanNagy
Emerging Contributor
For background, I am using ArcGIS 10 with a Desktop ArcInfo concurrent license and ArcGIS Server with a single use license.  I have used ArcGIS 9.3.1 in the past and successfully worked with GML data in ArcCatalog and also in a ArcGIS Server based component I wrote.

While working with GML sourced from ArcGIS 10 Server's WFS service extension and ArcCatalog/ArcMap 10, it seems GML cannot be read.  The GML I have produced shows "No Geometry" when browsed in ArcCatalog, though I can load the same GML file into Gaia with no issues. 

I have installed the Data Interoperopability Extension, but I do not have a license for Data Interoperability Extension.  However, I have tried installing a trail version of  Desktop and then installing the Data Interop Extension, and authorizing both with a trial authorization key.  The result is the same: "No Geometry".  I was hoping a authorized copy of the extension would allow me to work with GML, but it is looking doubtful.
0 Kudos
11 Replies
SeanGrant
Frequent Contributor
I have encountered this issue when I was trying to read an unsupported GML version. For example when trying to read in a GML file that was 3.2 when the highest supported version of GML in DataInterop 10 is GML 3.1. If you look at the header file in the GML it will tell you the version. See example below:

<?xml version="1.0"?><gml:FeatureCollection xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2".......

Also, it might need the Application Schema (.xsd). I am not too familiar with the GML output of ArcGIS Server though.

-Sean
0 Kudos
UmbertoPetrone
New Contributor
Hi, I have the same problem...I'm trying to load two different gml files and one of them (point) was loaded instead the other one (lines) give the error "no geometry"...can you help me?
0 Kudos
BruceHarold
Esri Regular Contributor
Hi All

Can you please log a support call and provide sample data?  Thats the only way we can get to the bottom of the issues.

Thanks
0 Kudos
SusanAlexander
Deactivated User
Hi, I have the same problem...I'm trying to load two different gml files and one of them (point) was loaded instead the other one (lines) give the error "no geometry"...can you help me?


We have had this problem only since we migrated to Arc10.  I have installed SP2 + the additional 6 service packs for it.  I logged a support call and provided sample data.  Eventually my esri support person sent the data to the US for further technical help.  The reply came back "Esri US reproduced the behavior and logged this as a bug. Details below. #NIM071126 Using Data Interoperability for Quick Import with GML file, results in error." 

As far as my support person understands there is no workaround. She is now asking for more technical details. 

I have been told that if enough people report this bug then a business case can be made for esri to fix this problem.  So, if you have this problem please let esri know.
0 Kudos
BruceHarold
Esri Regular Contributor
Hi Susan

I have asked for a copy of the file you sent and I'll take a look.

Regards
0 Kudos
BruceHarold
Esri Regular Contributor
Susan

The GML is not well formed.  For example in ..15284.gml instead of valid XML bracketing for the LinearRing there is a "<" character:

<gml:PolygonPatch>&lt;gml:LinearRing...

The same is true for ..15237.  The file ...15236 has un-escaped ampersand characters in it.

Regards
0 Kudos
SusanAlexander
Deactivated User
Susan

The GML is not well formed.  For example in ..15284.gml instead of valid XML bracketing for the LinearRing there is a "<" character:

<gml:PolygonPatch>&lt;gml:LinearRing...

The same is true for ..15237.  The file ...15236 has un-escaped ampersand characters in it.

Regards


Dear Bruce,  Thank you for your comment, but it doesn't actually tell me anything about why this is happening.  Creating gmls with ArcGIS 9.3 worked perfectly.  The problem has only occurred since we migrated to ArcGIS 10 recently. 

Our Permit Assessors create the shape for a permit area in our Reef Permits System.  On their screen this is correctly drawn in the correct position.  This action generates a gml , which is sent to me to draw and check the area before it is finally added into the permit system database. Using the Interoperability Extension I import the data into ArcGIS10 and it comes up with 2 messages, the first when it is added to a map, tells me that the file has no spatial reference, I click OK and when it is then added to the map it has no geometry. 

I understand from the conversations that I am having with my support person Keera, from ESRI Support, that you can find all the details of what is happening to us through your system as "ESRI Incident #951214".  I understand that the status of this bug is 'New' and the severity is 'Low" and to escalate the bug you need a business justification from us.

I would appreciate your feedback about how many other users are finding the same problem and your ideas on how to proceed next to get it fixed.

Thank you, Kind regards,

Susan
0 Kudos
BruceHarold
Esri Regular Contributor
Susan

I have emailed Keera in Australia but not heard back yet, can you email me at bharold@esri.com?

Thanks
0 Kudos
PaulGrimes
Deactivated User
Hi Guys,

I appear to have the same issue - I'm ArcGISServer 10 SP2 ( and SP1 on another install).    I have setup a service with an MXD and and MSD just incase, I have enabled WFS and Transactions etc. on my service. The dataset is in sde and is versioned ( Sde is the same release)

Using IE and Firefox I do a get capabilities request
http://MyServer/ArcGIS/services/IGH/WWW/MapServer/WFSServer?request=getcapabilities
and I get 
XML page cannot be displayed A name contained an invalid character. Error processing resource 'http://MyServer/ArcGIS/services/IGH/WWW/MapServer/WFSServ...

If I connect via ArcGIS Desktop  10 again SP2 and using Interop tools It connects but returns the feature class a NoGeometry and as point feature type instead of the original geometry of polys.  Try to preview it and it reports Error Reading Interoperability Data This dataset appears to be invalid ......

The get capabilities response is attached ( server name deleted!)
xml validators report missing = operator......


Any help is appreciated .

Regards

PaulG
0 Kudos