[Mapserver-users] Extent units
Mario Servin
mservin at tecnoaccion.com.ar
Fri Aug 8 07:44:58 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0078_01C35DA2.7E768ED0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear Dean,
You are right. Now I got it!. Thanks again to everybody. Of course =
I'll be back as I get more involved with this fantastic tool.
Regards,
Mario
----- Original Message -----=20
From: Dean Gadoury=20
To: Mario Servin=20
Cc: mapserver-users at lists.gis.umn.edu=20
Sent: Friday, August 08, 2003 11:17 AM
Subject: Re: [Mapserver-users] Extent units
I'm not 100% sure what you mean, but it sounds like you have a =
polyline shapefile and you are trying to define it as a polygon in your =
map file. You can't do that and that is what the error message is =
telling you. If your data are polyline, specify the TYPE in your layer =
definition as LINE.
Mario Servin wrote:
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 -----=20
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
--=20
___________________________
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
=20
=20
--=20
___________________________
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
------=_NextPart_000_0078_01C35DA2.7E768ED0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear Dean,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> You are right. Now I =
got it!.=20
Thanks again to everybody. Of course I'll be back as I get more involved =
with=20
this fantastic tool.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =20
Mario</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dgadoury at dmsolutions.ca =
href=3D"mailto:gadoury at dmsolutions.ca">Dean=20
Gadoury</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmservin at tecnoaccion.com.ar=20
href=3D"mailto:mservin at tecnoaccion.com.ar">Mario Servin</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A=20
title=3Dmapserver-users at lists.gis.umn.edu=20
=
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, August 08, 2003 =
11:17=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users] =
Extent=20
units</DIV>
<DIV><BR></DIV>I'm not 100% sure what you mean, but it sounds like you =
have a=20
polyline shapefile and you are trying to define it as a polygon in =
your map=20
file. You can't do that and that is what the error message is telling =
you. If=20
your data are polyline, specify the TYPE in your layer definition as=20
LINE.<BR><BR>Mario Servin wrote:<BR>
<BLOCKQUOTE cite=3Dmid005e01c35db4$f71cebb0$9105a8c0 at mariolaptop =
type=3D"cite"><PRE wrap=3D"">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 -----=20
From: "Dean Gadoury" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:gadoury at dmsolutions.ca"><gadoury at dmsolutions.ca></A>=
To: "Mario Servin" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:mservin at tecnoaccion.com.ar"><mservin at tecnoaccion.com.ar=
></A>
Cc: <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:mapserver-users at lists.gis.umn.edu"><mapserver-users at lis=
ts.gis.umn.edu></A>
Sent: Friday, August 08, 2003 10:30 AM
Subject: Re: [Mapserver-users] Extent units
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">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:
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">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
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:ed at topozone.com">ed at topozone.com</A>
-----Original Message-----
From: Mario Servin [<A class=3Dmoz-txt-link-freetext =
href=3D"mailto:mservin at tecnoaccion.com.ar">mailto:mservin at tecnoaccion.com=
.ar</A>]
Sent: Thursday, August 07, 2003 5:31 PM
To: <A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>
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
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.g=
is.umn.edu</A>
<A class=3Dmoz-txt-link-freetext =
href=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users">http:/=
/lists.gis.umn.edu/mailman/listinfo/mapserver-users</A>
_______________________________________________
Mapserver-users mailing list
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:Mapserver-users at lists.gis.umn.edu">Mapserver-users at lists.g=
is.umn.edu</A>
<A class=3Dmoz-txt-link-freetext =
href=3D"http://lists.gis.umn.edu/mailman/listinfo/mapserver-users">http:/=
/lists.gis.umn.edu/mailman/listinfo/mapserver-users</A>
</PRE></BLOCKQUOTE><PRE wrap=3D"">--=20
___________________________
Dean Gadoury
DM Solutions Group
72 Chamberlain Ave. Third Floor
Ottawa, Ontario. K1S 1V9
613 565-5056 ext. 24
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:gadoury at dmsolutions.ca">gadoury at dmsolutions.ca</A>
<A class=3Dmoz-txt-link-abbreviated =
href=3D"http://www.dmsolutions.ca">www.dmsolutions.ca</A>
</PRE></BLOCKQUOTE><PRE wrap=3D""><!---->
</PRE></BLOCKQUOTE><BR><PRE class=3Dmoz-signature cols=3D"72">--=20
___________________________
Dean Gadoury
DM Solutions Group
72 Chamberlain Ave. Third Floor
Ottawa, Ontario. K1S 1V9
613 565-5056 ext. 24
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:gadoury at dmsolutions.ca">gadoury at dmsolutions.ca</A>
<A class=3Dmoz-txt-link-abbreviated =
href=3D"http://www.dmsolutions.ca">www.dmsolutions.ca</A></PRE></BLOCKQUO=
TE></BODY></HTML>
------=_NextPart_000_0078_01C35DA2.7E768ED0--
More information about the MapServer-users
mailing list