[mapserver-users] Postgis Function in a Wfs Map File Problem
Ibrahim Saricicek
ibrahimsaricicek at gmail.com
Wed Jun 16 07:08:52 PDT 2010
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-Problem-tp5186640p5186640.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list