[mapserver-users] OGR problems

Derek Bain beartreeyoga at yahoo.co.uk
Fri Jul 25 05:46:27 EDT 2008


Hi

My problem with DNC's were traced to the use of the extents. I use a top level map file with the extents set to the whole world and INCLUDE other map files which define the extents for each layer. This worked okay until I used DNC's. I created a seperate map file for DNC's and had to set the extents at the top of the map file to be the same as the extents for the layers.

Now I can draw the layers onto the test.png file. HOWEVER, this only works with the shp2map file supplied by FWTools (v2.2.0) When I try to get the map from MapServer using my client, this is what appears in the ms_debug.txt file from MapServer

Fri Jul 25 10:36:14 2008].812000 msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/d:/SeeTrack_Missions/MyTestData/data/DNC13/H1316030'.  File not found or unsupported format.
[Fri Jul 25 10:36:14 2008].812000 msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'.
[Fri Jul 25 10:36:14 2008].812000 msFreeMap(): freeing map at 01495F70.
[Fri Jul 25 10:36:15 2008].906000 msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/d:/SeeTrack_Missions/MyTestData/data/DNC13/H1316030'.  File not found or unsupported format.
[Fri Jul 25 10:36:15 2008].906000 msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'.
[Fri Jul 25 10:36:15 2008].906000 msFreeMap(): freeing map at 01495FE8.
[Fri Jul 25 10:36:17 2008].46000 msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/d:/SeeTrack_Missions/MyTestData/data/DNC13/H1316030'.  File not found or unsupported format.
[Fri Jul 25 10:36:17 2008].46000 msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'.
[Fri Jul 25 10:36:17 2008].46000 msFreeMap(): freeing map at 01496008.
[Fri Jul 25 10:36:17 2008].890000 msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/d:/SeeTrack_Missions/MyTestData/data/DNC13/H1316030'.  File not found or unsupported format.
[Fri Jul 25 10:36:17 2008].890000 msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'.
[Fri Jul 25 10:36:17 2008].890000 msFreeMap(): freeing map at 01496028.
[Fri Jul 25 10:36:18 2008].796000 msOGRFileOpen(): OGR error. Open failed for OGR connection `gltp:/vrf/d:/SeeTrack_Missions/MyTestData/data/DNC13/H1316030'.  File not found or unsupported format.
[Fri Jul 25 10:36:18 2008].796000 msDrawMap(): Image handling error. Failed to draw layer named 'hydarea_hyd_area'.
[Fri Jul 25 10:36:18 2008].812000 msFreeMap(): freeing map at 01496048.

The OGR connection is okay because shp2img opens it.

I see that MapServer is at 5.2 but there is no Windows Binary available for this build. 

Can someone inform me if v5.2 uses the latest gdal/ogr source code. Also, can I copy files from FWTools to Mapserver to get this working and if so, which file(s)
I don't want to break Mapserver. 

Derek



      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080725/dc58dd54/attachment.html


More information about the mapserver-users mailing list