[Gvsig_english] ogr gml and gvSIG driver

Manuel Madrid García madrid_man at gva.es
Fri Jan 26 12:08:57 CET 2007


Hi Olivier.

There is not a fixed date for gvSIG 0.1.2 release. Probably it will come 
in two or three weeks.

Regards.

Olivier Bedel escribió:
> Hi Jorge,
> 
> Thank you for answering so quickly. I will wait for the next gvSIG 
> release to do my experiments. Can you tell us when it will be available ?
> 
> Best regards,
> Olivier.
> 
> Jorge Piera wrote:
> 
>> Hi Olivier,
>>
>> We have detected an problem managing the Schemas and you can't open 
>> your GML. The mistake has been fixed and you will can open the file in 
>> next version (1.0.2). We apologise for the inconvenience.
>>
>> Thank you very much!
>>
>> Olivier Bedel escribió:
>>
>>> Hi Jorge,
>>> Here are the GML file and the corresponding .xsd. I forgot to attach 
>>> them in the previous message...
>>> Thanks,
>>> Olivier.
>>> Jorge Piera wrote:
>>>
>>>> Hi Olivier,
>>>>
>>>> Can you send us the GML file? We will have a look it.
>>>>
>>>> Thanks
>>>>
>>>> Olivier Bedel escribió:
>>>>
>>>>> Hello list,
>>>>>
>>>>> I try to use gvSIG GML driver to load GML files produced with 
>>>>> ogr2ogr. But, I get the following error message :
>>>>> "null
>>>>> La capa point_ogr.gml presenta los siguientes errores
>>>>> Error genérico de capas y drivers.   Error al acceder al fichero 
>>>>> del driver  Error de acceso al fichero 
>>>>> /local/obedel/tmp/point_ogr.gml del driver null".
>>>>>
>>>>> I tried to look if the GML file produced with ogr was valid, but I 
>>>>> find no tools to do it. I just checked the validity between the gml 
>>>>> file and its schema file (.xsd) with xmllint. It was OK.
>>>>> I attached a sample point layer translated in GML with ogr and I 
>>>>> can't load in my gvSIG (v1.0 build 886)
>>>>>
>>>>> Thanks in advance for any advice,
>>>>> Olivier.
>>>>>
>>>>> _______________________________________________
>>>>> Gvsig_internacional mailing list
>>>>> Gvsig_internacional at runas.cap.gva.es
>>>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> <?xml version="1.0" encoding="utf-8" ?>
>>> <ogr:FeatureCollection
>>>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>      xsi:schemaLocation="http://ogr.maptools.org/ point_ogr.xsd"
>>>      xmlns:ogr="http://ogr.maptools.org/"
>>>      xmlns:gml="http://www.opengis.net/gml">
>>>   <gml:boundedBy>
>>>     <gml:Box>
>>>       
>>> <gml:coord><gml:X>0.3117870722433445</gml:X><gml:Y>27.412072243346</gml:Y></gml:coord> 
>>>
>>>       
>>> <gml:coord><gml:X>0.3117870722433445</gml:X><gml:Y>27.412072243346</gml:Y></gml:coord> 
>>>
>>>     </gml:Box>
>>>   </gml:boundedBy>                               <gml:featureMember>
>>>     <ogr:point fid="F0">
>>>       
>>> <ogr:geometryProperty><gml:Point><gml:coordinates>0.311787072243344,27.412072243346003,0</gml:coordinates></gml:Point></ogr:geometryProperty> 
>>>
>>>       <ogr:str>chaine</ogr:str>
>>>       <ogr:dbl>1.010000</ogr:dbl>
>>>       <ogr:int>10</ogr:int>
>>>     </ogr:point>
>>>   </gml:featureMember>
>>> </ogr:FeatureCollection>
>>>   
>>> ------------------------------------------------------------------------
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <xs:schema targetNamespace="http://ogr.maptools.org/" 
>>> xmlns:ogr="http://ogr.maptools.org/" 
>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" 
>>> xmlns:gml="http://www.opengis.net/gml" elementFormDefault="qualified" 
>>> version="1.0">
>>> <xs:import namespace="http://www.opengis.net/gml" 
>>> schemaLocation="http://schemas.opengeospatial.net/gml/2.1.2/feature.xsd"/><xs:element 
>>> name="FeatureCollection" type="ogr:FeatureCollectionType" 
>>> substitutionGroup="gml:_FeatureCollection"/>
>>> <xs:complexType name="FeatureCollectionType">
>>>   <xs:complexContent>
>>>     <xs:extension base="gml:AbstractFeatureCollectionType">
>>>       <xs:attribute name="lockId" type="xs:string" use="optional"/>
>>>       <xs:attribute name="scope" type="xs:string" use="optional"/>
>>>     </xs:extension>
>>>   </xs:complexContent>
>>> </xs:complexType>
>>> <xs:element name="point" type="ogr:point_Type" 
>>> substitutionGroup="gml:_Feature"/>
>>> <xs:complexType name="point_Type">
>>>   <xs:complexContent>
>>>     <xs:extension base="gml:AbstractFeatureType">
>>>       <xs:sequence>
>>> <xs:element name="geometryProperty" type="gml:GeometryPropertyType" 
>>> nillable="true" minOccurs="1" maxOccurs="1"/>
>>>     <xs:element name="str" nillable="true" minOccurs="0" maxOccurs="1">
>>>       <xs:simpleType>
>>>         <xs:restriction base="xs:string">
>>>           <xs:maxLength value="20"/>
>>>         </xs:restriction>
>>>       </xs:simpleType>
>>>     </xs:element>
>>>     <xs:element name="dbl" nillable="true" minOccurs="0" maxOccurs="1">
>>>       <xs:simpleType>
>>>         <xs:restriction base="xs:decimal">
>>>           <xs:totalDigits value="18"/>
>>>           <xs:fractionDigits value="6"/>
>>>         </xs:restriction>
>>>       </xs:simpleType>
>>>     </xs:element>
>>>     <xs:element name="int" nillable="true" minOccurs="0" maxOccurs="1">
>>>       <xs:simpleType>
>>>         <xs:restriction base="xs:decimal">
>>>           <xs:totalDigits value="18"/>
>>>           <xs:fractionDigits value="0"/>
>>>         </xs:restriction>
>>>       </xs:simpleType>
>>>     </xs:element>
>>>       </xs:sequence>
>>>     </xs:extension>
>>>   </xs:complexContent>
>>> </xs:complexType>
>>> </xs:schema>
>>>   
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Gvsig_internacional mailing list
>>> Gvsig_internacional at runas.cap.gva.es
>>> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>>>   
>>
>>
>>
>>
> 
> 
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> 
> 

-- 
Manuel Madrid.
Proyecto gvSIG (http://www.gvsig.gva.es)
Conselleria d'Infraestructures i Transport.
Generalitat Valenciana.
Valencia (Spain).


More information about the Gvsig_internacional mailing list