simple tool for conversion

Joseph Norris sirronj at PACBELL.NET
Fri Dec 10 18:55:46 EST 2004


Ed,

Do you know if there is any limit to the number of features that can be put
in a layer?  If there is limit - what are my alternatives?  Create a shape
file of the name labels?

#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at lists.umn.edu]On
Behalf Of Ed McNierney
Sent: Friday, December 10, 2004 1:25 PM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] simple tool for conversion

Joseph -

If all your layers are lat/lon, then those coordinates should be fine -
but why did you put TRANSFORM FALSE in there?  That tells MapServer that
your coordinates are NOT geographic, but image-based coordinates, and
that's not what you have.

I didn't try to do a thorough review, but you have UNITS FEET and UNITS
METERS scattered through there, both of which are incorrect.  The first
UNITS statement at the top of the mapfile should read UNITS DD since
your output projection is lat/lon and therefore the units are decimal
degrees.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Joseph Norris
Sent: Friday, December 10, 2004 3:26 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] simple tool for conversion

Thanks for the help - I have attached the test mapfile.


#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,
14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: Ed McNierney [mailto:ed at topozone.com]
Sent: Friday, December 10, 2004 5:50 AM
To: Joseph Norris; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: RE: [UMN_MAPSERVER-USERS] simple tool for conversion

Joseph -

You can indeed do something like that; please post the entire LAYER
block that you're using to create those points.  Remember that inline
features go in a separate layer, not in your zip point shapefile layer.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 978 251-4242   Fax: +1 978 251-1396

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Joseph Norris
Sent: Friday, December 10, 2004 2:36 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] simple tool for conversion

Eric,

I have one question now that all of my points are showing via lon/lat I
have one other question.

I have tried to put features in but they will not show.  Can I not do
something like

Feature

   Points  mylon mylat end
   Text " my  text "
End

And it should show up on the map?

Thanks.

#Joseph Norris (Perl - what else is there?/Linux/CGI/Mysql) print @c=map
chr
$_+100,(6,17,15,16,-68,-3,10,11,16,4,1,14,-68,12,1,14,8,-68,4,-3,-1,7,1,
14,-
68,-26,11,15,1,12,4,-68,-22,11,14,14,5,15,-90);

-----Original Message-----
From: Eric Bridger [mailto:eric at gomoos.org]
Sent: Thursday, December 09, 2004 2:04 PM
To: Joseph Norris
Cc: UMN MapServerList
Subject: RE: [UMN_MAPSERVER-USERS] simple tool for conversion


On Thu, 2004-12-09 at 16:17, Joseph Norris wrote:
> Eric,
>
> Thank you for this information.  If I have to switch shapefiles to get
this
> to work - then I am all for it.  So as I understand you,
>
> I have obtained the California state map as you indicated on your
link.
> Does this mean that I can build my teacher shape file using the actual

> lat/long that I have and then I would be closer to my new California
> state map knowing about my new teacher shapefile?

Yes. These are zipcode polygons with no projection, in latitude
longitude.

You can use: mapserver-N.N.N/mapscript/perl/examples/shpinfo.pl
-file=zt06_d00  to find the extents and the field names in the DBF.



More information about the mapserver-users mailing list