importing XML/GML files in MapInfo

1,876 views
Skip to first unread message

Miika Mäkelä

unread,
Feb 5, 2007, 8:10:10 AM2/5/07
to mapi...@googlegroups.com
Hi list readers,
 
I have attempted to import an XML file in MapInfo with no sucess however. The error message simply says that the file cannot be used. I have opened the file in a text editor, and know, that it is geographical data. Is there some restriction on the XML/GML version and if so, how can I tell what version the file is? Do the header rows from the file (below) tell me anything about this?
 
I have no experience with XML/GML, so please keep it simple :-)
 
thanks in advance!
 
Miika Mäkelä
 
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<ex:Farm xmlns:gml="
http://www.opengis.net/gml" xmlns:ex=" http://www.opengis.net/gml " xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation=" http://www.opengis.net/gml VIPU_Spatial_delivery_1_2.xsd" fid="m575095418" country="FI" content="VIPU_official_spatial_data" schemaversion=" 1.2">

Uffe Kousgaard

unread,
Feb 5, 2007, 8:28:03 AM2/5/07
to mapi...@googlegroups.com
MapInfo supports importing GML 2.1.x. I have attached an example of such a file, that can be imported into MapInfo.
 
Your file may be a version 1.2, but I have never worked with GML 1.x, so I can't say for sure.
 
Regards
Uffe Kousgaard
multiRegion1.xml
multiRegion1.xsd

Pieter

unread,
Mar 12, 2007, 12:29:01 PM3/12/07
to MapInfo-L
Hi there,

I'm also having troubles importing GML files into MapInfo.
The only error message reported is "unable to process this layers
schema".

I'd post the gml & xsd files but don't know how to do this.

> <ex:Farm xmlns:gml="http://www.opengis.net/gml" xmlns:ex="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/gmlVIPU_Spatial_delivery_1_2.xsd" fid="m575095418" country="FI" content="VIPU_official_spatial_data" schemaversion=" 1.2">
>
>
>
> multiRegion1.xml
> 1KDownload
>
> multiRegion1.xsd
> 1KDownload
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.441 / Virus Database: 268.17.25/669 - Release Date: 04-02-2007 21:58- Hide quoted text -
>
> - Show quoted text -

Reply all
Reply to author
Forward
0 new messages