Can you share the mapfile? Steve
>>> On 7/24/2008 at 5:06 AM, in message <[EMAIL PROTECTED]>, Derek Bain <[EMAIL PROTECTED]> wrote: > Hi > > I > am using shp2img to test my mapfile.. The functions runs and returns no > error to the console window but the output image file generated is only > 1K in size and shows a vertical line 2x1 pixels, not the expected > output. > > Can anyone give me some help in getting this to work > > Derek > > This is my command line > shp2img.exe -m C:\ms4w\apps\dnc2.map -o C:\ms4w\apps\test.png -all_debug 5 > > and its debug output is > [Thu Jul 24 10:54:45 2008].750000 > msOGRFileOpen(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030)... > [Thu Jul 24 10:54:45 2008].750000 > OGROPen(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030) > [Thu Jul 24 10:54:46 2008].156000 > msConnPoolRegister([EMAIL > PROTECTED](*)_line,gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316 > 030,01D25AE8) > [Thu Jul 24 10:54:46 2008].156000 msOGRFileWhichShapes: Setting spatial > filter to -180.000000 -119.899833 180.000000 119.899833 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=0, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=1, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=2, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=3, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=4, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=5, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=6, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=7, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=8, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=9, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=10, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=11, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=12, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=13, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=14, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=15, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=16, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=17, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=18, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=19, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=20, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=21, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=22, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=23, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=24, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=25, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=26, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=27, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=28, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=29, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=30, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=31, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=32, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=33, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=34, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=35, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=36, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=37, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=38, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=39, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=40, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=41, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=42, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=43, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=44, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=45, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=46, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=47, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=48, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=49, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=50, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=51, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=52, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=53, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=54, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=55, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=56, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=57, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=58, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=59, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=60, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=61, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=62, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=63, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=64, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=65, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=66, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=67, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=68, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=69, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=70, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=71, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=72, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=73, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=74, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=75, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=76, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=77, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=78, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=79, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=80, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=81, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=82, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=83, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=84, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=85, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=86, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=87, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=88, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=89, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=90, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=91, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=92, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=93, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=94, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=95, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=96, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=97, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=98, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=99, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=100, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=101, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning shape=102, > tile=0 > [Thu Jul 24 10:54:46 2008].156000 msOGRFileNextShape: Returning MS_DONE (no > more shapes) > [Thu Jul 24 10:54:46 2008].156000 > msOGRLayerClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030). > [Thu Jul 24 10:54:46 2008].156000 > msOGRFileClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030,7). > [Thu Jul 24 10:54:46 2008].156000 > msConnPoolRelease([EMAIL > PROTECTED](*)_line,gltp:/vrf/C:/ms4w/apps/data/DNC13/H13160 > 30,01D25AE8) > [Thu Jul 24 10:54:46 2008].156000 > msConnPoolClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030,01D25AE8) > [Thu Jul 24 10:54:46 2008].171000 msDrawMap(): Layer 0 ([EMAIL > PROTECTED](*)_line), > 0.421s > [Thu Jul 24 10:54:46 2008].171000 > msOGRFileOpen(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030)... > [Thu Jul 24 10:54:46 2008]..171000 > OGROPen(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030) > [Thu Jul 24 10:54:46 2008].484000 > msConnPoolRegister([EMAIL > PROTECTED](*)_area,gltp:/vrf/C:/ms4w/apps/data/DNC13/H131 > 6030,01D80B40) > [Thu Jul 24 10:54:46 2008].484000 msOGRFileWhichShapes: Setting spatial > filter to -180.000000 -119.899833 180.000000 119.899833 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=0, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=1, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=2, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=3, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=4, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=5, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=6, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=7, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=8, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=9, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=10, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=11, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=12, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=13, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=14, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=15, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=16, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=17, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=18, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=19, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=20, > tile=0 > [Thu Jul 24 10:54:46 2008].484000 msOGRFileNextShape: Returning shape=21, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=22, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=23, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=24, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=25, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=26, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=27, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=28, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=29, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=30, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=31, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=32, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=33, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=34, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=35, > tile=0 > [Thu Jul 24 10:54:46 2008].500000 msOGRFileNextShape: Returning shape=36, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=37, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=38, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=39, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=40, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=41, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=42, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=43, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=44, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=45, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=46, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=47, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=48, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=49, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=50, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=51, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=52, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=53, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=54, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=55, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=56, > tile=0 > [Thu Jul 24 10:54:46 2008].515000 msOGRFileNextShape: Returning shape=57, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning shape=58, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning shape=59, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning shape=60, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning shape=61, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning shape=62, > tile=0 > [Thu Jul 24 10:54:46 2008].531000 msOGRFileNextShape: Returning MS_DONE (no > more shapes) > [Thu Jul 24 10:54:46 2008].531000 > msOGRLayerClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030). > [Thu Jul 24 10:54:46 2008].531000 > msOGRFileClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030,13). > [Thu Jul 24 10:54:46 2008].531000 > msConnPoolRelease([EMAIL > PROTECTED](*)_area,gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316 > 030,01D80B40) > [Thu Jul 24 10:54:46 2008].531000 > msConnPoolClose(gltp:/vrf/C:/ms4w/apps/data/DNC13/H1316030,01D80B40) > [Thu Jul 24 10:54:46 2008].531000 msDrawMap(): Layer 1 > ([EMAIL PROTECTED](*)_area), 0.360s > [Thu Jul 24 10:54:46 2008].531000 msDrawMap(): Drawing Label Cache, 0.000s > [Thu Jul 24 10:54:46 2008].531000 msDrawMap() total time: 0.781s > [Thu Jul 24 10:54:46 2008].546000 msFreeMap(): freeing map at 01365A48. > > > > ________________________________ > Not happy with your email address? > Get the one you really want - millions of new email addresses available now > at Yahoo! > > > __________________________________________________________ > 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 _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users