🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.gis
Article #12453

problem z GMLem

#12453
From: Mateuszzz
Date: Tue, 24 May 2011 22:59
55 lines
3854 bytes
Witam Grupowiczów,

stworzyłem w sposób "ręczny" plik GML (umieściłem go poniżej). Chciałem, 
aby zawierał on łamane zamknięte ograniczające kwadrat.
Niestety otrzymałem coś, co nie zawiera wszystkich boków. Proszę o 
poradę, w którym miejscu popełniłem błąd:

========================================================================================
<?xml version="1.0" encoding="utf-8" ?>
<ogr:FeatureCollection
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://ogr.maptools.org/ moja_GML.xsd"
      xmlns:ogr="http://ogr.maptools.org/"
      xmlns:gml="http://www.opengis.net/gml">
   <gml:boundedBy>
     <gml:Box>
 
<gml:coord><gml:X>20.007145</gml:X><gml:Y>52.0477439</gml:Y></gml:coord>
 
<gml:coord><gml:X>21.507145</gml:X><gml:Y>52.5477439</gml:Y></gml:coord>
     </gml:Box>
   </gml:boundedBy> 

    <gml:featureMember><ogr:moja_GML 
fid="F1"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.007145,52.5477439 
20.257145,52.5477439 20.257145,52.2977439 20.257145,52.5477439 
20.007145,52.5477439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
<gml:featureMember><ogr:moja_GML 
fid="F2"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.007145,52.2977439 
20.257145,52.2977439 20.257145,52.0477439 20.257145,52.2977439 
20.007145,52.2977439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
<gml:featureMember><ogr:moja_GML 
fid="F3"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.257145,52.5477439 
20.507145,52.5477439 20.507145,52.2977439 20.507145,52.5477439 
20.257145,52.5477439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
<gml:featureMember><ogr:moja_GML 
fid="F4"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.257145,52.2977439 
20.507145,52.2977439 20.507145,52.0477439 20.507145,52.2977439 
20.257145,52.2977439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
<gml:featureMember><ogr:moja_GML 
fid="F5"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.507145,52.5477439 
20.757145,52.5477439 20.757145,52.2977439 20.757145,52.5477439 
20.507145,52.5477439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
<gml:featureMember><ogr:moja_GML 
fid="F6"><ogr:geometryProperty><gml:LineString><gml:coordinates>20.507145,52.2977439 
20.757145,52.2977439 20.757145,52.0477439 20.757145,52.2977439 
20.507145,52.2977439</gml:coordinates></gml:LineString></ogr:geometryProperty><ogr:opis 
/></ogr:moja_GML></gml:featureMember>
=======================i tak dalej====================================
======================================================================
Technical Details
Message-ID: <4ddc3839$0$2454$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!news-out.readnews.com!transit3.readnews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!news-out.readnews.com!transit3.readnews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Date: Wed, 25 May 2011 00:59:22 +0200
From: Mateuszzz <km_wawaUSUNMNIE@vp.pl>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.10
MIME-Version: 1.0
Newsgroups: pl.comp.gis
Subject: problem z GMLem
Lines: 55
Message-ID: <4ddc3839$0$2454$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 83.24.35.213
X-Trace: 1306277949 unt-rea-a-01.news.neostrada.pl 2454 83.24.35.213:36145
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit