|
||||
[Chameleon] Extract WFS DataBart van den Eijnden bartvde@xs4all.nlMon, 22 Mar 2004 20:04:37 +0100
|
Hi, good to hear it is working now. I only have a Windows binary of php_ogr, and I don't know if the source code is (already) available through the Maptools CVS. Hopefully DM Solutions can comment on this one. Best regards, Bart On Mon, 22 Mar 2004 11:01:16 -0800 (PST), we wei <mapgisnewbies@yahoo.com> wrote: > Hi Bart, > > The second one work for me. And i guess I accidently > use mapserver-4.0 in the connection string of the map > file. That's why I couldn't make it get GML because > the executewfsgetfeature method is missing in > php_mapscript.c of version 4.0 of mapserver. So, > right now, it is working. Thanks a lot for you help > :) > > And I got another question about extract WFS data in > shape file. I noticed that my php_ogr.so is missing. > Do you know where I can get or how can I build it? I > am on Linux Redhat 9 perform. > > Thanks, > Wei > > > > > --- Bart van den Eijnden <bartvde@xs4all.nl> wrote: >> Hi, >> >> it should work if you use a properly configured >> sample_wms_wfs_client.map >> in your Chameleon application. >> >> Try the following (for WMS layers): >> >> 1) perform a DescribeLayer request on the road >> layer, i.e. >> > http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=DescribeLayer&layers=road&version=1.1.1 >> >> does this work? >> >> if 1) works try (as the OnlineResource part you >> should normally take the >> response from request 1, but as Mapserver is WMS and >> WFS in one, the >> OnlineResource is normally the same): >> >> 2) >> > http://localhost/cgi-bin/mapserv_41.exe?map=/ms4w/apps/geodan_sample/map/sample_wms_wfs_server.map&request=GetFeature&typename=road&service=WFS&version=1.0.0 >> >> Do you get GML? >> >> This is the exact same way the ExtractWFSData would >> try to get its GML >> from a WMS Layer. So I suspect 1) and 2) won't both >> work. >> >> Best regards, >> Bart >> >> On Mon, 22 Mar 2004 09:33:42 -0800 (PST), we wei >> <mapgisnewbies@yahoo.com> >> wrote: >> >> > Hi all, >> > >> > I have a question about using Extract WFS Data in >> > Chameleon 1.1 alpha 6 sample application. I tried >> to >> > see the actiion of this widget. But when I click >> > extract button on the pop-up window of Extract WFS >> > Data, I got the following error: >> > >> > "Invalid layer or none selected. Please ensure >> that >> > the selected layer is WMS or WFS layer" >> > >> > Then I look in sample.map file and it doesn't not >> seem >> > to have any WFS layer. So, I changed to use >> > sample_wms_wfs_server.map and >> > sample_wms_wfs_client.map; however, I still got >> the >> > above error. >> > >> > I guess I may setup something wrongly. >> > >> > Could anyone give some hints to me so that I could >> > make this functionality work ? >> > >> > Any help would be greatly appreciated. >> > >> > Thanks in advance. >> > >> > >> > __________________________________ >> > Do you Yahoo!? >> > Yahoo! Finance Tax Center - File online. File on >> time. >> > http://taxes.yahoo.com/filing.html >> > _______________________________________________ >> > Chameleon mailing list >> > Chameleon@lists.maptools.org >> > >> http://lists.maptools.org/mailman/listinfo/chameleon >> > >> >> >> >> -- >> >> _______________________________________________ >> Chameleon mailing list >> Chameleon@lists.maptools.org >> http://lists.maptools.org/mailman/listinfo/chameleon > > > __________________________________ > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. > http://taxes.yahoo.com/filing.html > --
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |