[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-users] Probleme with WFS Udig and mapserver
|
Quick reply since I am on my mobile.
Go through walkthrough 1 & 2. The demo uses mapserver as a wms - and
later exports the content via a wfs. it will also have you install
geosever and that has a utility to try out describe feature type for
examples.
Even if you just to through the list on the web view you will see
several examples of mapserver ads that work.
On 31/01/2009, at 1:36 AM, "Benjamin Ferlicot" <bfe@xxxxxxxxx> wrote:
Hi,
First i have to thanks you for reading and responding. You confirm
what i thought about the way udig works and i really try to
configure mapserver.
i'm tryng to produce correct shema with the map server
describefeature request. But I can't find correct sample to base me
on
So did you have sample result of descripbefeature request who work
with Udig ?
evenly do you have feedback about people using mapserver as wfs
server for udig ?
in my map file i try to putt he correct geometrie type using
metadata but its don't seem to work well (i will ask mapserver
about this)
I Will be away from my desk for one week but l will resume this when
i be back,to produce a fac about configuring mapserver for udig
Best regards
METADATA
"wfs_featureid" "oid"
"wfs_srs" "epsg:4326"
"wfs_onlineressource" "http://isdas-vm-bfe3/cgi/bin/mapserv.exe?"
"wfs_title" "Coverage"
-> "gml_geometries" "surface"
-> "gml_surface_type" "polygon"
"gml_surface_occurances" "0,UNBOUNDED"
"wfs_extent" "-180 -90 180 90"
"gml_include_items" "all"
END
produce this
<schema targetNamespace="http://mapserver.gis.umn.edu/
mapserver" xmlns:ms="http://mapserver.gis.umn.edu/mapserver"
xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsd="http://www.w3.org/2001/XMLSchema
" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml
" elementFormDefault="qualified" version="0.1" > <import
namespace="http://www.opengis.net/gml" schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
" /> <element name="Coverage"
type="ms:CoverageType" substitutionGroup="gml:_Feature" /
> <complexType name="CoverageType"> <complexContent>
<extension base="gml:AbstractFeatureType"> <sequence>
<element name="surface" type="gml:SurfacePropertyType"
minOccurs="0" maxOccurs="unbounded"/> <element name="name"
type="string"/> <element name="date" type="string"/
> <element name="oid" type="string"/> <element
name="trajectorynumber" type="string"/> </sequence> </
extension> </complexContent> </complexType>
</schema>
-----Message reçu-----
De: Jesse Eichar <jesse.eichar@xxxxxxxxxxxxxx>
À: benjamin ferlicot <benjamin.ferlicot@xxxxxxxxx>
Date: 30/01/2009 08:52
Objet: Re: [udig-users] Probleme with WFS Udig and mapserver
Hi Benjamin, I have not had problems to date, the fact that the
element type is a coverage type and not a "normal"/simple geometry
could be the problem.
I will try to test with this information,
Thank you for this note,
Jesse
On 27-Jan-09, at 4:21 PM, benjamin ferlicot wrote:
Hello,
I have a big problem with udig and mapserver. I have set up a wfs
server with postgis data who work well with QGis and some other Gis
(the one based on gdal), But there's no way to get it work with
udig. Does anyone have already experience the same issue ? if yes is
there particular metadata to set for udig. Or is there a way for
having usable message for troubleshooting ?
Thanks for reading, and eventually answering ;)
Best regards
Ps I use udig 1.1rc14 mapserver 5.2.1
ps 2 sample describefeaturetype
<?xml version='1.0' encoding="ISO-8859-1" ?>
<schema
targetNamespace="http://mapserver.gis.umn.edu/mapserver";
xmlns:ms="http://mapserver.gis.umn.edu/mapserver";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns="http://www.w3.org/2001/XMLSchema";
xmlns:gml="http://www.opengis.net/gml";
elementFormDefault="qualified" version="0.1" >
<import namespace="http://www.opengis.net/gml";
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd
" />
<element name="Coverage"
type="ms:CoverageType"
substitutionGroup="gml:_Feature" />
<complexType name="CoverageType">
<complexContent>
<extension base="gml:AbstractFeatureType">
<sequence>
<element name="msGeometry" type="gml:GeometryPropertyType"
minOccurs="0" maxOccurs="1"/>
<element name="name" type="string"/>
<element name="date" type="string"/>
<element name="oid" type="string"/>
<element name="trajectorynumber" type="string"/>
</sequence>
</extension>
</complexContent>
</complexType>
</schema>
Ps 3 getfeature
<ms:Coverage gml:id="Coverage.11">
−
<gml:boundedBy>
−
<gml:Envelope srsName="epsg:4326">
<gml:lowerCorner>5.320080 43.280301</gml:lowerCorner>
<gml:upperCorner>5.339091 43.286424</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
−
<ms:msGeometry>
−
<gml:MultiSurface srsName="epsg:4326">
−
<gml:surfaceMembers>
−
<gml:Polygon>
−
<gml:exterior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.320480 43.282006 5.321249 43.281990 5.321252 43.282076 5.321961
43.282062 5.321965 43.282148 5.322674 43.282134 5.322679 43.282263
5.323447 43.282248 5.323451 43.282334 5.324278 43.282317 5.324281
43.282404 5.325227 43.282385 5.325229 43.282428 5.325938 43.282413
5.325938 43.282413 5.325993 43.282412 5.326056 43.282411 5.326056
43.282411 5.326884 43.282394 5.326882 43.282351 5.327474 43.282339
5.327474 43.282339 5.327533 43.282338 5.327592 43.282336 5.327592
43.282336 5.328360 43.282321 5.328359 43.282278 5.329068 43.282263
5.329066 43.282220 5.329776 43.282205 5.329777 43.282249 5.330368
43.282237 5.330372 43.282323 5.331022 43.282310 5.331029 43.282482
5.330378 43.282496 5.330377 43.282453 5.329492 43.282471 5.328544
43.282490 5.328546 43.282533 5.327836 43.282548 5.327838 43.282591
5.327070 43.282606 5.327071 43.282650 5.326362 43.282664 5.326364
43.282707 5.325595 43.282723 5.325597 43.282766 5.324947 43.282779
5.324945 43.282736 5.324176 43.282752 5.324173 43.282665 5.323523
43.282679 5.323518 43.282549 5.322749 43.282565 5.322745 43.282435
5.321917 43.282452 5.321915 43.282409 5.321088 43.282425 5.321084
43.282339 5.320080 43.282359 5.320144 43.284044 5.321030 43.284026
5.321032 43.284069 5.321682 43.284056 5.321687 43.284185 5.322515
43.284168 5.322520 43.284298 5.323288 43.284282 5.323291 43.284369
5.324119 43.284352 5.324121 43.284395 5.324948 43.284378 5.324950
43.284422 5.325659 43.284407 5.325659 43.284407 5.325741 43.284405
5.325837 43.284403 5.325837 43.284403 5.326664 43.284387 5.326663
43.284343 5.327431 43.284328 5.327429 43.284285 5.328198 43.284269
5.328196 43.284226 5.328965 43.284210 5.328963 43.284167 5.329495
43.284156 5.329497 43.284199 5.330206 43.284185 5.330211 43.284314
5.330684 43.284305 5.330692 43.284521 5.331283 43.284509 5.331293
43.284768 5.331944 43.284754 5.331953 43.285014 5.332545 43.285002
5.332555 43.285261 5.333264 43.285246 5.333274 43.285505 5.334042
43.285490 5.334051 43.285706 5.334701 43.285692 5.334709 43.285908
5.335418 43.285894 5.335427 43.286110 5.336254 43.286093 5.336261
43.286265 5.336970 43.286251 5.336977 43.286424 5.337746 43.286408
5.337746 43.286408 5.338155 43.286400 5.338218 43.286398 5.338218
43.286398 5.338337 43.286396 5.338274 43.284755 5.338156 43.284757
5.338149 43.284585 5.337380 43.284600 5.337374 43.284428 5.337242
43.284430 5.337906 43.284417 5.337909 43.284503 5.339091 43.284479
5.339025 43.282751 5.338493 43.282762 5.338488 43.282633 5.337779
43.282647 5.337772 43.282474 5.337122 43.282488 5.337115 43.282315
5.336465 43.282328 5.336457 43.282112 5.335807 43.282126 5.335797
43.281867 5.335147 43.281880 5.335137 43.281621 5.334486 43.281634
5.334477 43.281375 5.333826 43.281388 5.333816 43.281129 5.333107
43.281143 5.333097 43.280884 5.332388 43.280899 5.332380 43.280683
5.331493 43.280701 5.331488 43.280571 5.330660 43.280588 5.330657
43.280502 5.329739 43.280521 5.328972 43.280536 5.328174 43.280553
5.328176 43.280596 5.327408 43.280611 5.327409 43.280655 5.326641
43.280670 5.326643 43.280713 5.325929 43.280728 5.325224 43.280742
5.325222 43.280699 5.324572 43.280712 5.324569 43.280626 5.323859
43.280640 5.323854 43.280511 5.323086 43.280526 5.323083 43.280440
5.322255 43.280457 5.322252 43.280370 5.321424 43.280387 5.321421
43.280301 5.320416 43.280321 5.320480 43.282006
</gml:posList>
</gml:LinearRing>
</gml:exterior>
−
<gml:interior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.331159 43.282480 5.331561 43.282472 5.331569 43.282688 5.331332
43.282692 5.331324 43.282476 5.331159 43.282480
</gml:posList>
</gml:LinearRing>
</gml:interior>
−
<gml:interior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.331785 43.282683 5.332219 43.282674 5.332227 43.282890 5.332818
43.282878 5.332830 43.283180 5.332771 43.283182 5.332761 43.282923
5.332052 43.282937 5.332042 43.282678 5.331785 43.282683
</gml:posList>
</gml:LinearRing>
</gml:interior>
−
<gml:interior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.333100 43.283175 5.333480 43.283167 5.333490 43.283426 5.334199
43.283412 5.334209 43.283671 5.334091 43.283673 5.334083 43.283457
5.333433 43.283471 5.333421 43.283168 5.333100 43.283175
</gml:posList>
</gml:LinearRing>
</gml:interior>
−
<gml:interior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.334751 43.283919 5.334741 43.283660 5.334461 43.283666 5.334919
43.283656 5.334927 43.283872 5.335577 43.283859 5.335586 43.284075
5.336295 43.284061 5.336303 43.284277 5.336067 43.284281 5.336060
43.284109 5.335410 43.284122 5.335402 43.283906 5.334751 43.283919
</gml:posList>
</gml:LinearRing>
</gml:interior>
−
<gml:interior>
−
<gml:LinearRing>
−
<gml:posList srsDimension="2">
5.336724 43.284441 5.336717 43.284268 5.336492 43.284273 5.337131
43.284260 5.337137 43.284432 5.336724 43.284441
</gml:posList>
</gml:LinearRing>
</gml:interior>
</gml:Polygon>
</gml:surfaceMembers>
</gml:MultiSurface>
</ms:msGeometry>
<ms:name>Mrspipeb</ms:name>
<ms:date>2008-09-25 14:19:04</ms:date>
<ms:oid>11</ms:oid>
<ms:trajectorynumber>1</ms:trajectorynumber>
</ms:Coverage>
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users