<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>I'm using version
4.10. </FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>I have a postgis
layer that I need to publish as a WFS in both (at least 4326 and
26986 projections). After some reading, it appears that there is no way to
project WFS data as you can with WMS and that you can only have one projection
in the wfs_srs meta data element.</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>I thought if I got
rid of the wfs_srs at the top of my map and moved it into the layer and had a
separate duplicate layer with a different wfs, that would do the trick. It
doesn't seem to work. My data seems to be falling back on using the
projection that my map projection is initialized to or if I specify a wfs_srs at
top of map then it uses that one for all layers.</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>With the below - I
can query both layers in WFS in 4326 but not 26986. WMS works fine in
both projections</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>Here are what I
think are the relevant sections of my map.</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>EXTENT
-71.1914825439453 42.2277870178223 -70.9867935180664 42.396858215332
#EPSG:4326</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2>PROJECTION<BR> "init=epsg:4326"<BR>END</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>LAYER<BR> NAME
"abandoned_private_2006"<BR> CONNECTIONTYPE postgis<BR> CONNECTION
"user=cobuser dbname=dnddts host=10.241.27.5" <BR> DATA "the_point FROM
(SELECT a.gid, a.parcel_id, a.image, a.yrsurvey, a.strno, a.street_name,
a.suffix, a.zipcode, a.neighborhood, a.property_type, pm.the_point FROM
abandoned a INNER JOIN parcelmax pm ON a.parcel_id = pm.pid WHERE yrsurvey =
2006) as foo USING UNIQUE gid USING SRID=2249" <BR> STATUS
OFF<BR> TYPE POINT<BR> CLASS<BR> NAME "Abandoned Private
Property Survey 2006"<BR> SYMBOL 'circle'<BR> COLOR 200 0
100<BR> SIZE
10<BR> END<BR> PROJECTION<BR> "init=epsg:2249"
<BR> END<BR> METADATA<BR> "wms_title" "Abandoned Private
2006"<BR> "wfs_title" "Abandoned Private 2006"<BR>
gml_include_items "all"<BR> END<BR> DUMP TRUE<BR> TOLERANCE
10<BR>END</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>LAYER<BR> NAME
"abandoned_private_2006_wfs_26986"<BR> CONNECTIONTYPE
postgis<BR> CONNECTION "user=cobuser dbname=dnddts host=10.241.27.5"
<BR> DATA "the_point FROM (SELECT a.gid, a.parcel_id, a.image, a.yrsurvey,
a.strno, a.street_name, a.suffix, a.zipcode, a.neighborhood, a.property_type,
pm.the_point FROM abandoned a INNER JOIN parcelmax pm ON a.parcel_id = pm.pid
WHERE yrsurvey = 2006) as foo USING UNIQUE gid USING SRID=2249" <BR> STATUS
OFF<BR> TYPE POINT<BR> CLASS<BR> NAME "Abandoned Private
Property Survey 2006"<BR> SYMBOL 'circle'<BR> COLOR 200 0
100<BR> SIZE
10<BR> END<BR> PROJECTION<BR> "init=epsg:2249"
<BR> END<BR> METADATA<BR> "wfs_title" "Abandoned Private
2006"<BR> "wfs_srs" "EPSG:26986"<BR> gml_include_items
"all"<BR> END<BR> DUMP TRUE<BR> TOLERANCE
10<BR>END</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>Here are some live
queries I have tried</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>(This one doesn't
work)</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2><A
href="http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006_wfs_26986&SRS=EPSG:26986&BBOX=234788.268515625,895544.595390625,235124.914453125,895881.241328125">http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006_wfs_26986&SRS=EPSG:26986&BBOX=234788.268515625,895544.595390625,235124.914453125,895881.241328125</A></FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2>(Both of these
do)</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2><A
href="http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006&SRS=EPSG:4326&BBOX=-71.07845306396486,42.31057708887045,-71.07433319091798,42.31362368943784">http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006&SRS=EPSG:4326&BBOX=-71.07845306396486,42.31057708887045,-71.07433319091798,42.31362368943784</A></FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2><A
href="http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006_wfs_26986&SRS=EPSG:4326&BBOX=-71.07845306396486,42..31057708887045,-71.07433319091798,42.31362368943784">http://dndmaps.cityofboston.gov/mapserv/scripts/mapserv410/mapserv410.exe?map=\mapserv\dndwms\dndbasepg.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0..0&&MAXFEATURES=10&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=abandoned_private_2006_wfs_26986&SRS=EPSG:4326&BBOX=-71.07845306396486,42.31057708887045,-71.07433319091798,42.31362368943784</A></FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2>Regina</FONT></SPAN></DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial size=2> </DIV>
<DIV><BR></DIV></FONT></SPAN>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007></SPAN> </DIV>
<DIV><SPAN class=266355413-24052007> </SPAN></DIV></BODY></HTML>
<HTML><BODY><P><hr size=1></P>
<P><STRONG>
The substance of this message, including any attachments, may be confidential, legally privileged and/or exempt from disclosure pursuant to Massachusetts law. It is intended solely for the addressee. If you received this in error, please contact the sender and delete the material from any computer.
</STRONG></P></BODY></HTML>