[Mapserver-users] Looking for working IMGSHAPE/MAPSHAPE sample

Emil Zegers EZS at DeStraat.NL
Tue Feb 24 07:44:08 EST 2004


Hello list,

I'm looking for a sample request to use the IMGSHAPE / MAPSHAPE functionality.

With the requests I've used so far I get various error messages depending on the version of the Mapserver Windows binary used:


Example requests:

IMGSHAPE

http://localhost/cgi-bin/mapserv_41dev.exe?map=C:\websites\Straat\SGWNaaldwijk\StraGISWeb\Ndw\stragisweb.map&layers=bis_rapP&imgext=68985%20439833%2080815%20449154&mode=nquery&scale=2222&mapshape=70000%20440000%2071000%20440000%2071000%20441000%2071000%20440000

MAPSHAPE

http://localhost/cgi-bin/mapserv_40.exe?map=C:\websites\Straat\SGWNaaldwijk\StraGISWeb\Ndw\stragisweb.map&layers=bis_rapP&imgext=74961.228833+445706.696197+75146.098400+445852.351007&mode=nquery&zoom=4&imagetype=jpg&scale=2222&mapshape=60985+429833+70815+429833+70815+439154+60985+439154


Error messages:

version 41dev

msOGRFileOpen(): OGR error. Open failed for OGR connection `D:/websites/DemoData/Naaldwijk/Data/Bis/geo/bis_rap.TAB'. File not found or unsupported format. 

File is available. Is it so that MapInfo TAB's are not supported with IMGSHAPE / MAPSHAPE requests? What geodata formats are supported?

version 40

Memory write error

version 41

Memory read error

Questions:

- Is it so that MapInfo TAB's are not supported with IMGSHAPE / MAPSHAPE requests? What geodata formats are supported?
- How can I check if the Mapserver binary supports use of IMGSHAPE / MAPSHAPE ?
- Should the input polygon coordinates form a closed polygon (first and last coordinate pair should match) or does Mapserver close it if not?
- I now use space or '+' to separate the coordinates, is this correct?
- What other CGI vriables are required to form a complete request with IMGSHAPE / MAPSHAPE ?
- In the list and bugzilla I found that there was a bug but that it should be solved from version 3.7 up. Can somebody confirm this?

A lot of questions, I know, thanks in advance if anyone replies on this.

Best regards,

Emil Zegers



______________________________________________________

 This message has been checked for all known viruses
______________________________________________________




More information about the mapserver-users mailing list