From pnaciona at lists.gis.umn.edu Sat May 1 13:42:29 1999 From: pnaciona at lists.gis.umn.edu (Pericles S. Nacionales) Date: Sat, 1 May 1999 15:42:29 -0500 Subject: TIFF/GeoTIFF images on MapServer 3.2 References: <199904291920.OAA23296@philbert.dnr.state.mn.us> Message-ID: <002f01be9413$24c82ae0$5e496580@gis.umn.edu> Thanks, folks for your help on my TIFF/GeoTIFF problem. Thanks specially to Ken Boss. > You can do the color reduction in Imagine using the > Interpreter->Utilities->Adv. RGB Clustering menu option. (You can try > to RGB Clustering option above it, but in my experience the results > are generally unacceptable). Select your input image, choose the > three bands you want to work with, and hit the "Load Image Data" > button. Then go to the "Partition Data" tab and tweak the "(Color) > Sections" values, hitting the "Calculate Number of Classes" button > with each change. Ideally, you'll want a number of classes > approaching, but not exceeding, 256 (and a data type of Unsigned 8 > bit). Usually some combination of 7s and 8s in the Color Sections > will get you there. I've never tried the threshold options, you may > want to experiment with those as well. > > Once you've got the parameters set where you want them, click the > Build LUT button. Then go back to the Image I/O tab, specify your > output image, and hit the "Produce Output" button. You'll get a new, > single-band .img file that you can then convert to GeoTIFF. > > The results are generally pretty good, but the process is a bit > unwieldy and doesn't lend itself to automated processing of large > numbers of images. We use a product called "Image Alchemy" > (http://www.handmadesw.com/) for such purposes - it reads (but doesn't > write) .img files and will output to a huge variety of image formats, > including TIFF. I don't think it does GeoTIFF, though as Steve points > out you can just concoct an ESRI world file in that case. Of course > there are plenty of other packages that could be used as well, but I > don't know of any others off-hand that can read .img files, if that's > an issue. From steve.lime at dnr.state.mn.us Tue May 4 09:32:29 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 04 May 1999 11:32:29 -0500 Subject: A bug. Message-ID: Greetings: Just to let folks know, a bug (a wee little one) was found today that has effectively broken the spatial index support. It was introduced in version 3.205 and will be fixed in the upcomming release. This explains why some folks playing with the indexing were seeing no performance gains, um er, oops. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us From steve.lime at dnr.state.mn.us Fri May 7 14:53:04 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 07 May 1999 16:53:04 -0500 Subject: More info Message-ID: Not really. It's such a broad topic one hardly knows where to begin. In cases when a user is already relying on GIS system (eg. arc/info or mapinfo), there are usually utilities associated with that particular system for creating shapefiles. In addition, ESRI themselves (or ESRI product users) distribute a number of programs for exporting to shapefiles. I know, for instance, that mapinfo (.mif) and Tiger data are supported. Check the ESRI website for more info. The shapefile library distributed with the software also contains a couple of utilities for creating shapefiles and XBase files via the command line. I've used perl to process text files in batch mode writing shapefiles along the way. One area I'm working on is mapscript, a perl interface to the mapserver. With it data from arbitrary database sources could be added to maps. I've no experience with some of the spatial extensions to various databases (eg. oracle spatial data cartridge, SDE, etc.) This is an area of the website that could be developed. Input from other users about getting data ready for the ms would be very helpful. If you have specific needs I'd be glad to discuss strategies. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us >>> 05/07 2:53 PM >>> Is there any more documentation on getting data (maps, sales info) from various formats into the Map server? Any one working with other databases, such as Oracle or text files? From steve.lime at dnr.state.mn.us Thu May 13 14:57:53 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 13 May 1999 16:57:53 -0500 Subject: Version 3.215 Message-ID: Greetings: Been a month or so without a new version. Now that everyone was getting used to 3.211, I figured it's time to drop some new code on folks. Version 3.215 is now available from the Mapserver homepage (http://mapserver.gis.umn.edu). There are several nice enhancements in this version (hence the jump from 11 to 15). Amongst the key features are: - spatial indexing actually works (broke in 3.205) - font antialiasing - font rotation (partially supported) - label filtering by removing duplicates and specifying minimum feature size (lines only presently) - new CGI variable called "layers" for turning on multiple layers with one var (also a template substitution of the same name. this is for Grzegorz. - config.h is gone in favor of a runtime site config file called mapserv.ini. .ini file must live with the mapserver executables. - config.h options interlace and transparent are now mapfile parameters. - zooming too far in or out doesn't generate a generic error. Instead users are returned a map at the minimum or maximum scale specified in the mapfile's web object. Seems complicated, but it's a good thing. Several speed ups with raster drawing and labeling are also part of the new code, as well as several fixes to help the NT port along. You can see a working 3.215 interface at: http://thoreau.dnr.state.mn.us/lakefind/mapsearch.html As always. Comments, suggestions and bug reports always welcome. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us From rob at socialchange.net Thu May 13 16:29:32 1999 From: rob at socialchange.net (Rob Atkinson) Date: Fri, 14 May 1999 09:29:32 +1000 Subject: Version 3.215 References: Message-ID: <373B605B.D5DDBDB7@socialchange.net> Good one Stephen! Particularly the move form the .h to the .ini file. That'll make binary distributions feasible. Q. Is there any way to set the returned projection from the CGI-command line? Regards Rob Atkinson Stephen Lime wrote: > Greetings: Been a month or so without a new version. Now that everyone was > getting used to 3.211, I figured it's time to drop some new code on folks. Version > 3.215 is now available from the Mapserver homepage (http://mapserver.gis.umn.edu). > There are several nice enhancements in this version (hence the jump from 11 to 15). > Amongst the key features are: > > - spatial indexing actually works (broke in 3.205) > > - font antialiasing > > - font rotation (partially supported) > > - label filtering by removing duplicates and specifying > minimum feature size (lines only presently) > > - new CGI variable called "layers" for turning on multiple > layers with one var (also a template substitution of the > same name. this is for Grzegorz. > > - config.h is gone in favor of a runtime site config file > called mapserv.ini. .ini file must live with the mapserver > executables. > > - config.h options interlace and transparent are now mapfile > parameters. > > - zooming too far in or out doesn't generate a generic error. Instead > users are returned a map at the minimum or maximum scale specified > in the mapfile's web object. Seems complicated, but it's a good thing. > > Several speed ups with raster drawing and labeling are also part of > the new code, as well as several fixes to help the NT port along. > > You can see a working 3.215 interface at: > > http://thoreau.dnr.state.mn.us/lakefind/mapsearch.html > > As always. Comments, suggestions and bug reports always welcome. > > Steve > > Stephen Lime > Internet Applications Programmer > MIS Bureau - MN DNR > > (651) 297-2937 > steve.lime at dnr.state.mn.us -- -------------------------------------------------------------------------------- Rob Atkinson rob at socialchange.net Director Mob 0419 202 973 Social Change Online Pty Ltd Ph +61 (2)9557 6500 http://online.socialchange.net Fax +61 (2)9519 8940 From steve.lime at dnr.state.mn.us Thu May 13 21:26:32 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 13 May 1999 23:26:32 -0500 Subject: Version 3.215 Message-ID: Thanks. We may start distributing compiled versions for the platforms we have access to. Those being Sun Solaris, Irix and Linux. Versions with and without projection support make the most sense. Other ideas or important platforms? The NT port is being worked on hard by a couple of other users, hopefully soon. The only way I can think of to toggle map projections is with different map files, one per projection. You could choose using a select list or perhaps using some scale dependent javascript. The bigger problem would be keeping your extents straight as you switch back and forth. I'd need to add the ability to specify imgext or mapext as lat/lon and convert it using the chosen mapfile. Does that make sense? Fairly easy hack, just a couple of new CGI params (imgext_ll, mapext_ll, and mapxy_ll). Steve <<< Rob Atkinson 5/13 6:28p >>> Good one Stephen! Particularly the move form the .h to the .ini file. That'll make binary distributions feasible. Q. Is there any way to set the returned projection from the CGI-command line? Regards Rob Atkinson Stephen Lime wrote: > Greetings: Been a month or so without a new version. Now that everyone was > getting used to 3.211, I figured it's time to drop some new code on folks. Version > 3.215 is now available from the Mapserver homepage (http://mapserver.gis.umn.edu). > There are several nice enhancements in this version (hence the jump from 11 to 15). > Amongst the key features are: > > - spatial indexing actually works (broke in 3.205) > > - font antialiasing > > - font rotation (partially supported) > > - label filtering by removing duplicates and specifying > minimum feature size (lines only presently) > > - new CGI variable called "layers" for turning on multiple > layers with one var (also a template substitution of the > same name. this is for Grzegorz. > > - config.h is gone in favor of a runtime site config file > called mapserv.ini. .ini file must live with the mapserver > executables. > > - config.h options interlace and transparent are now mapfile > parameters. > > - zooming too far in or out doesn't generate a generic error. Instead > users are returned a map at the minimum or maximum scale specified > in the mapfile's web object. Seems complicated, but it's a good thing. > > Several speed ups with raster drawing and labeling are also part of > the new code, as well as several fixes to help the NT port along. > > You can see a working 3.215 interface at: > > http://thoreau.dnr.state.mn.us/lakefind/mapsearch.html > > As always. Comments, suggestions and bug reports always welcome. > > Steve > > Stephen Lime > Internet Applications Programmer > MIS Bureau - MN DNR > > (651) 297-2937 > steve.lime at dnr.state.mn.us -- -------------------------------------------------------------------------------- Rob Atkinson rob at socialchange.net Director Mob 0419 202 973 Social Change Online Pty Ltd Ph +61 (2)9557 6500 http://online.socialchange.net Fax +61 (2)9519 8940 From mapadm at polsl.gliwice.pl Fri May 14 02:43:06 1999 From: mapadm at polsl.gliwice.pl (Grzegorz Myrda) Date: Fri, 14 May 1999 09:45:06 +2 Subject: Version 3.215 In-Reply-To: Message-ID: <199905140741.JAA06387@zeus.polsl.gliwice.pl> > - new CGI variable called "layers" for turning on multiple > layers with one var (also a template substitution of the > same name. this is for Grzegorz. Thanks ! Grzegorz