[mapserver-users] Postgis Function in a Wfs Map File Problem
Barend Köbben
kobben at itc.nl
Wed Jun 16 07:35:20 PDT 2010
You probably should put
"ows_name" " Company_Routes"
or
"wfs_name" " Company_Routes"
In the Web block of your LAYER
--
Barend Köbben
Senior Lecturer
ITC University of Twente, Faculty of Geo-Information Science and
Earth Observation
PO Box 6, 7500AA Enschede, The Netherlands
+31 (0)53 4874253
On 16-06-10 16:08, "Ibrahim Saricicek" <ibrahimsaricicek at gmail.com> wrote:
>
>
> Hi All;
>
> I ve a function in Postgis that returns a geometry;
> findroute_multiplepoints_sp.
>
> select findroute_multiplepoints_sp('{{3647479.442976,
> 4852451.8659522},{3652677.1608985,4848094.9553407},{3647577.5,4850086.5}}');
> returns dijkstra (shortest path) results of given points.
>
>
> And my layer definition is as tihs;
>
> LAYER
> NAME 'Company_Routes'
> METADATA
> ...
> ..
> ..
> CONNECTIONTYPE postgis
> CONNECTION 'host=192.168.... user=postgres password=xxxxx dbname=mapserver'
> DATA "findroute_multiplepoints_sp FROM
> (select findroute_multiplepoints_sp('{{3647479.442976,
> 4852451.8659522},{3652677.1608985,4848094.9553407},{3647577.5,4850086.5}}'))"
>
> The wfs result is;
>
> msWFSGetFeature(): WFS server error. TYPENAME 'Company_Routes' doesn't exist
> in this server. Please check the capabilities and reformulate your request.
>
> Why?
>
> Thanks in Advance...
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Postgis-Function-in-a-Wfs-Map-File-Prob
> lem-tp5186640p5186640.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
Faculty of Geo-Information Science and Earth Observation (ITC)
University of Twente
E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.
More information about the MapServer-users
mailing list