OGC Public Forum : Forum Index OGC Public Forum :
Helping the world to communicate geographically...
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   DigestsDigests   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Several spaces inside gml:pos and gml:posList allowed ?

 
Post new topic   Reply to topic    OGC Public Forum : Forum Index -> GML: Geography Markup Language
View previous topic :: View next topic  
Author Message
olivier



Joined: 16 Feb 2009
Posts: 4

PostPosted: Thu Oct 29, 2009 2:58 pm    Post subject: Several spaces inside gml:pos and gml:posList allowed ? Reply with quote

Hi,

I'm currently working on a GML Parser (for PostGIS), and i have this question:

"Is it allowed to use several spaces between coords inside gml:pos or gml:posList ?"

These example validate against GML 3.1.1 Schema (using xmllint)
but i did'nt find any additional information in GML 3.1.1 specification.

Code:
<?xml version="1.0"?>
<gml:LineString xmlns:gml="http://www.opengis.net/gml">
   <gml:posList srsDimension="2">1 2       3
      4   </gml:posList>
</gml:LineString>



Tks in advance,
_________________
Olivier COURTIN
TinyOWS: http://www.tinyows.org
Back to top
View user's profile Send private message Visit poster's website
creed



Joined: 06 Nov 2003
Posts: 579
Location: Colorado

PostPosted: Sun Nov 01, 2009 9:59 am    Post subject: Reply with quote

I believe that this is fine but I will double check.

Regards
_________________
Carl Reed, PhD
Back to top
View user's profile Send private message Visit poster's website
creed



Joined: 06 Nov 2003
Posts: 579
Location: Colorado

PostPosted: Mon Nov 09, 2009 12:12 pm    Post subject: Reply with quote

The clarification:

The requirement is for the items to be separated by whitespace.
According to the XML Schema specification for 'list' types, there is no
limit on how much whitespace - it is collapsed by a schema aware processor
to one whitespace during processing.

Regards

Carl
_________________
Carl Reed, PhD
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OGC Public Forum : Forum Index -> GML: Geography Markup Language All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


OGC® websites: OGC Home | OGC Network™ | OGC User™ | ORM | OGC Forum | OGC Schemas

OGC Policies | Change Request

Powered by phpBB © 2001, 2005 phpBB Group