Reply: [ms4w-users] Mapsize

Wes Westerfeld mrmap at comcast.net
Thu Mar 17 12:30:09 EST 2005


I can think of times when you might want to cut back projection scheme 
min/max values.

The US state plane grid system projections used in vendor projection files 
have (+/-)2,000,000,000 (or such) as their default min/max values.  In 
Maryland, however, one needs lower limits of 0 for both X,Y and upper limits 
of 2,000,000 and 1,000,000.  Using the default min/max values can lead to 
floating point rounding errors making it impossible to maintain proper 
abutting of adjacent boundary areas, or keeping them synchronized with the 
map feature centerlines they follow.  Cutting back to more practical min/max 
limits may eliminate those problems.

Wes Westerfeld
----- Original Message ----- 
From: <ms4w-users-request at lists.maptools.org>
To: <ms4w-users at lists.maptools.org>
Sent: Thursday, March 17, 2005 12:00
Subject: ms4w-users Digest, Vol 11, Issue 7


> Send ms4w-users mailing list submissions to
> ms4w-users at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.maptools.org/mailman/listinfo/ms4w-users
> or, via email, send a message with subject or body 'help' to
> ms4w-users-request at lists.maptools.org
>
> You can reach the person managing the list at
> ms4w-users-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of ms4w-users digest..."
>
>
> Today's Topics:
>
>   1. Mapsize (Charu Verma)
>   2. Re: Mapsize (Jeff McKenna)
>   3. what need to be in apps httpd_*conf (Peter Thomann)
>   4. Re: what need to be in apps httpd_*conf (Jeff McKenna)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Mar 2005 14:51:12 -0500
> From: Charu Verma <charu24 at gmail.com>
> Subject: [ms4w-users] Mapsize
> To: ms4w-users at lists.maptools.org
> Message-ID: <f0194b1205031611511aba48c7 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Yeah u r right..I do not have good idea how to verify my projection
> and extents..Are there defaults that can be used for all ?
> Also if its the whole map I need to show then why do I need to give
> projection dimensions ?
> charu
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 16 Mar 2005 15:52:35 -0500
> From: Jeff McKenna <jmckenna at dmsolutions.ca>
> Subject: Re: [ms4w-users] Mapsize
> To: ms4w-users at lists.maptools.org
> Message-ID: <42389C93.1040509 at dmsolutions.ca>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> - to check the extents of your shapefile, use the ogrinfo.exe utility
> that comes with MS4W
>   - open a command prompt and goto /ms4w/tools/ogr-utils/
>   - run the setenv.bat
>   - now use ogrinfo:
>     e.g.  ogrinfo park.shp park -summary
>     (more info on ogrinfo can be found at
> http://mapserver.gis.umn.edu/doc44/ogr-howto.html#ogrinfo or search the
> MapServer list archives)
>   - it should return something like:
>
> Layer name: park
> Geometry: Polygon
> Feature Count: 46
> Extent: (-2346804.000000, -67422.421875) - (2840366.000000, 
> 3830124.250000)
> ...
>
>   - use the extent values here for the mapfile EXTENT parameter
>
> - if your mapfile contains layers in the same projection, no projection
> object is required.  In your case you probably have 1 shapefile layer so
> you don't have to worry about a projection object.  However you must
> specify the correct UNITS in your map object.  If your shapefile is in
> latlong for example, specify 'DD'.  If you have the correct extents and
> have a projection issue, you should probably use the main mapserver list
> (more help is available there).  But my guess is that your extents are
> wrong only.
>
>
> jeff
>
>
>
>
> Charu Verma wrote:
>
> > Yeah u r right..I do not have good idea how to verify my projection
> > and extents..Are there defaults that can be used for all ?
> > Also if its the whole map I need to show then why do I need to give
> > projection dimensions ?
> > charu
> >
> >
> > On Tue, 15 Mar 2005 17:56:19 -0500, Jeff McKenna
> > <jmckenna at dmsolutions.ca> wrote:
> >
> >> I would make sure that you have specified the correct extents for your
> >> data (using the ogrinfo utility), as well as the proper projection (if
> >> required).
> >>
> >> my thoughts.
> >>
> >>
> >> jeff
> >>
> >>
> >> Charu Verma wrote:
> >>
> >>> Hi All,
> >>> I have developed a script using php/mapscript and am able to open my
> >>> shapefile from it.But to my surprise the size of the map is very
> >>> minute.When I try to increase the SIze option the backgroun dexpands
> >>> and not the map.Please suggest me a wya to increase the size of teh
> >>> actual map.
> >>> Thanx in advance
> >>> Charu
> >
> >
>
>
> -- 
> Jeff McKenna
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 17 Mar 2005 15:19:45 +0100 (MET)
> From: "Peter Thomann" <pameleon at gmx.de>
> Subject: [ms4w-users] what need to be in apps httpd_*conf
> To: ms4w-users at lists.maptools.org
> Message-ID: <18992.1111069185 at www26.gmx.net>
> Content-Type: text/plain; charset="us-ascii"
>
> still have the problem that inside my myapps directory i cant pass 
> variables
> from one php script to another not with get and not with post method
> so my question is do i have to put some line in the http_myapp.conf for
> myapp? or is this an appache conf thing if so or if you have another
> solution please send me
> Thanks Peter
>
> -- 
> SMS bei wichtigen e-mails und Ihre Gedanken sind frei ...
> Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 17 Mar 2005 09:54:20 -0500
> From: Jeff McKenna <jmckenna at dmsolutions.ca>
> Subject: Re: [ms4w-users] what need to be in apps httpd_*conf
> To: Peter Thomann <pameleon at gmx.de>
> Cc: ms4w-users at lists.maptools.org
> Message-ID: <42399A1C.7060608 at dmsolutions.ca>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> again i don't believe this is an MS4W issue.  Try to do this without
> chameleon, with another app in your /ms4w/apps/ directory...do you have
> the same problems without chameleon?
>
>
> jeff
>
>
>
>
> Peter Thomann wrote:
>> still have the problem that inside my myapps directory i cant pass 
>> variables
>> from one php script to another not with get and not with post method
>> so my question is do i have to put some line in the http_myapp.conf for
>> myapp? or is this an appache conf thing if so or if you have another
>> solution please send me
>> Thanks Peter
>>
>
>
> -- 
> Jeff McKenna
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
>
>
>
> ------------------------------
>
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
>
> End of ms4w-users Digest, Vol 11, Issue 7
> ***************************************** 



More information about the ms4w-users mailing list