[Mapserver-users] Extent units

Mario Servin mservin at tecnoaccion.com.ar
Fri Aug 8 09:57:11 EDT 2003


Thanks everybody!.
    I use the extents as the shpinfo.exe output and it was OK. I succesfully
generate images with POLYGON type. Now, I face another problem and  I cannot
generate any image when I use a POLYLINE. The error message is:
"msDrawShape(): General error message. Only polygon shapes can be drawn
using a POLYGON layer definition. "
     The docs says POLYLINE does not exist as a type so I am not sure how to
manage it.
     Regards,
                    Mario

----- Original Message ----- 
From: "Dean Gadoury" <gadoury at dmsolutions.ca>
To: "Mario Servin" <mservin at tecnoaccion.com.ar>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Friday, August 08, 2003 10:30 AM
Subject: Re: [Mapserver-users] Extent units


> As Ed said, it looks like those are decimal degrees. Try using this as
> your extent:
>
> EXTENT -71.53179836 -41.29253644 -71.14854968 -41.04421467
>
>
>
> Ed McNierney wrote:
>
> >Mario -
> >
> >These data appear to be in decimal degrees, which is fine.  Make sure
> >you use UNITS DD in your MAP file, and set the EXTENT to use the values
> >below.
> >
> >I have seen certain builds of shpinfo that run correctly and then crash
> >after generating their output.  Don't worry about it in this case, as
> >you have the data you need.
> >
> > - Ed
> >
> >Ed McNierney
> >President and Chief Mapmaker
> >TopoZone.com / Maps a la carte, Inc.
> >73 Princeton Street, Suite 305
> >North Chelmsford, MA  01863
> >Phone: (978) 251-4242  Fax: (978) 251-1396
> >ed at topozone.com
> >
> >
> >-----Original Message-----
> >From: Mario Servin [mailto:mservin at tecnoaccion.com.ar]
> >Sent: Thursday, August 07, 2003 5:31 PM
> >To: mapserver-users at lists.gis.umn.edu
> >Subject: [Mapserver-users] Extent units
> >
> >Hi,
> >    I was playing with the demo.map and now I want to use my own
> >shapefiles
> >but I do not know the EXTENT of my map..... I downloaded shapelib from
> >the
> >Internet and with shpinfo.exe I get:
> >Info for calles.shp
> >Polyline(3), 338 Records in file
> >File Bounds: (   -71.53179836,   -41.29253644)
> >        (   -71.14854968,   -41.04421467)
> >
> >Then there is some unknown error . I do not know how to use these values
> >as
> >I never saw something like this values (GG.GGGGGGG) in .map file. Can
> >anybody help me?
> >
> >
> >_______________________________________________
> >Mapserver-users mailing list
> >Mapserver-users at lists.gis.umn.edu
> >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >_______________________________________________
> >Mapserver-users mailing list
> >Mapserver-users at lists.gis.umn.edu
> >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> >
> >
>
> -- 
> ___________________________
>
> Dean Gadoury
>
> DM Solutions Group
> 72 Chamberlain Ave. Third Floor
> Ottawa, Ontario. K1S 1V9
> 613 565-5056 ext. 24
>
> gadoury at dmsolutions.ca
> www.dmsolutions.ca
>
>
>





More information about the mapserver-users mailing list