From mapadm at polsl.gliwice.pl Thu Apr 1 08:42:01 1999 From: mapadm at polsl.gliwice.pl (Grzegorz Myrda) Date: Thu, 1 Apr 1999 16:44:01 +2 Subject: some questions Message-ID: <199904011442.QAA04323@zeus.polsl.gliwice.pl> Hello folks, Maybe I will start ... What is the difference between "imgsize" and "mapsize" parameter for mapserv.cgi ? Is this possible to scale (change size depending on scale) and at the same time classify (also change size) in version 3.2x ? How can I show multiple results of "nitemquery" ? If I use "itemquery" it's simple: I use "shpext" on template. But what if there are more than one result and I would need to place more "shpext's" on template ? Happy Easter! Grzegorz mailto:mapadm at polsl.gliwice.pl From steve.lime at dnr.state.mn.us Fri Apr 2 11:14:23 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 02 Apr 1999 13:14:23 -0600 Subject: some questions Message-ID: > >From mapadm at polsl.gliwice.pl Thu Apr 1 08:42:38 1999 > From: "Grzegorz Myrda" > To: mapserver-users at lists.gis.umn.edu > Date: Thu, 1 Apr 1999 16:44:01 +2 > MIME-Version: 1.0 > Content-transfer-encoding: 7BIT > Subject: some questions > > Hello folks, > > Maybe I will start ... > > What is the difference between "imgsize" and "mapsize" parameter > for mapserv.cgi ? imgsize, and all parameters starting with "img" refer to an existing image in a users web browser. mapsize, and all parameters starting with "map" refer to the map/image to be created. The reason for both parameters is to allow for changing of image sizes without editing a mapfile. A common use would be to use one size for an interactive application and then switch to a larger size for printing. > Is this possible to scale (change size depending on scale) and at > the same time classify (also change size) in version 3.2x ? If I understand the question, then sure. The only difference between older versions and 3.2 is that now you can't control color, symbol and size independently, i.e. with separate attribute lookups. In exchange you get much better label control. To turn on scaling set the parameter SYMBOLSCALE for a layer. This will scale symbols and fonts based on the ratio between the scale of the map being created and the value for SYMBOLSCALE. This is true for all defined classes. Note that only certain types of symbols (ellipse and vector) are scalable. > How can I show multiple results of "nitemquery" ? If I use > "itemquery" it's simple: I use "shpext" on template. > But what if there are more than one result and I would need to > place more "shpext's" on template ? URL templates cannot be used for presenting multiple results. The page a user see's when multiple results are returned is actually built from a number of files. Here's the order they are sent: 1) web HEADER 2) layer HEADER 3) query TEMPLATE 4) repeat 3) for each result for a given layer 5) layer FOOTER 6) repeat 2) through 5) for each layer with results 7) web FOOTER Note that feature attributes are only available for substitution in step 3). In general, HEADERs and FOOTERs are small files that inject section titles or other HTML spacing code. It's possible to use 1) through 6) to initialize a bunch of javascript and actually build the page in 7). It's not too hard, and very flexible, once you get the hang of it. Here's an example URL that show's off many of the query options in 3.2. The interface uses javascript/java so a version 4.x browser is recommended. http://ftp.dnr.state.mn.us/cgi-bin/mapserv?map=search/search.map&layer_select=county&category=10 It's a front-end for a large GIS data distribution site we're running. It uses an out-of-the-box version of 3.2 and javascript to make the UI more friendly. Java is used to support box zooming and queries. I'll glady share any config files with interested users. The java applet will be posted on the mapserver homepage. > Happy Easter! > > Grzegorz > mailto:mapadm at polsl.gliwice.pl Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us From sdlime at mninter.net Sun Apr 4 22:05:41 1999 From: sdlime at mninter.net (Stephen Lime) Date: Mon, 05 Apr 1999 00:05:41 -0500 Subject: MapServer Priorities Message-ID: <370844A5.6718DB32@mninter.net> Greetings: As always, I'm adding new features or trying to make old ones work better. Here are some ideas I've got and I'd like to get some feedback from users as to what you would like to see. If you've got some comments or might be willing to work on some of these please let me know. In no particular order: - On-the-fly data projection. Actually this is done, but needs testing. Volunteers? - NT port. Actually this has be done (not by me), but the procedures etc. need to be formallized and the package tested on that platform. - Although labeling has come a long way recently there is still alot to do, namely string rotation, simple anti-aliasing. I've got code to do this but it needs to be adapted to work with some of the mapserver options like multiline strings and justification. - Improved spatial indexing. Mapserver uses a simple, but effective gridding system to build spatial indexes. The grid is not optimized and a number of performance gains could be made here. - 24-bit output. (i.e. bye-bye GIF). Gets rid of a bunch of limitations and opens up tons of possiblities (at a price). PNG would be the leading candidate. Again, I've almost completed a full color version of the GD library but it needs PNG/JPEG decode and encode pieces and a host of other things. Actually we'd need a new library that supports things like antialiasing... - MapScript, make maps from your favorite scripting language (i.e. perl, TK/TCL) and add to them from generic sources like relational databases. Any SWIGers out there (www.swig.org)? Again, these are just things I'd like to see. Thanks. Steve From mapadm at polsl.gliwice.pl Tue Apr 6 10:53:46 1999 From: mapadm at polsl.gliwice.pl (Grzegorz Myrda) Date: Tue, 6 Apr 1999 19:53:46 +0200 Subject: MapServer Priorities In-Reply-To: <370844A5.6718DB32@mninter.net> Message-ID: <000001be8056$6b8d07a0$a7cb9e9d@g> > -----Oryginalna wiadomo??----- > Od: owner-mapserver-users at lists.gis.umn.edu > [mailto:owner-mapserver-users at lists.gis.umn.edu]W imieniu Stephen Lime > Wys?ano: 5 kwietnia 1999 07:06 > Do: mapserver-users at lists.gis.umn.edu > Temat: MapServer Priorities > > Greetings: As always, I'm adding new features or trying to make old ones > work better. Here > are some ideas I've got and I'd like to get some feedback from users as > to what you would like > to see. If you've got some comments or might be willing to work on some > of these please let > me know. The problem lies in that, I don't know what about others, but I still use v3.1, because upgrading my Map Server application will take a little work, and additionaly I made some individual customization to MS. But when I do it, I can help with NT port (even W95 port !, because I use W95 to develop and test my application and then when everything works OK copy it to HP-UX). The only correction needed in code is to replace pid by more unique number (for example pid+time). I have also adopted gdtclft to draw labels with string rotation (however without multiline strings and justification). To a list of suggestions I would add support of multifields itemquery. I have done it for my own purposes but it's very unformal. Grzegorz From Jonathon.Root at agso.gov.au Thu Apr 8 20:15:29 1999 From: Jonathon.Root at agso.gov.au (Jonathon.Root at agso.gov.au) Date: Fri, 9 Apr 1999 13:15:29 +1000 Subject: automatically generating color luts Message-ID: <0B22652400E4D211829A0060B0570D9B2F55D8@agsomail1.agso.gov.au> G'day, I was wondering whether anyone has tackled the problem of generating mapserver lookup tables for layers automatically from arcview avl files? Our corporate GIS environment revolves around arc/info and arcview. Consequently I have no end of shape files to serve, unfortunately some of them have up to 394 different classes to be shaded per layer and up to 30 layers per coverage and it's a bit of a drag to convert them manually to colorlut, symbollut and legendlabels tables, it's a bit of double-handling too, considering the avl files have already been created. I'm about to try automating the process but I thought I'd find out if anyone else has tackled it first? I'm particularly wondering about mapping the colorlut to the colorindex file. I can get RGB values out of arcview but they may not correspond with any of the 256 I've got in the color index file. Regards, Jonathon Root Australian Geological Survey www.agso.gov.au jonathon.root at agso.gov.au From Biza at muhb.cz Fri Apr 9 04:50:35 1999 From: Biza at muhb.cz (Josef Biza) Date: Fri, 9 Apr 1999 13:50:35 +0200 Subject: MAKEFILE.NT Message-ID: <41B85C531ED8D1119D510060086D865E084FA9@INTRANET> Good day, I downloaded mapserver 3.2 and I want use it with Microsoft IIS. There is not unfortunately a makefile for NT in this distribution. I would like to know if I can find this makefile somewhere or where i can find older version mapserver with makefile for NT. I have version mapserver 2.3 now. Thank you very much. Josef ing. Josef Biza City hall Brod Havlickovo namesti 57 580 01 Havlickuv Brod Czech Republic tel:420 451 353 228 email: biza at muhb.cz -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at dnr.state.mn.us Fri Apr 9 06:38:33 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 09 Apr 1999 08:38:33 -0500 Subject: automatically generating color luts Message-ID: I have the the beginings of an avenue script that takes a view and spits out a mapfile and a colorfile. I wrote it for version 3.1 files so it would take some tweaking, not much though, to make it create version 3.2 files. The nice thing about 3.2 is that you don't have colorfiles anymore, rather you just specify RGB values and the mapserver builds a palette for you. I've attached the script in case someone will find it usefull. Works ok, I got bogged down on capturing symbols from ArcView (i.e. creating symbol files). I ain't much of a Avenue programmer... Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us >>> 04/08 10:15 PM >>> G'day, I was wondering whether anyone has tackled the problem of generating mapserver lookup tables for layers automatically from arcview avl files? Our corporate GIS environment revolves around arc/info and arcview. Consequently I have no end of shape files to serve, unfortunately some of them have up to 394 different classes to be shaded per layer and up to 30 layers per coverage and it's a bit of a drag to convert them manually to colorlut, symbollut and legendlabels tables, it's a bit of double-handling too, considering the avl files have already been created. I'm about to try automating the process but I thought I'd find out if anyone else has tackled it first? I'm particularly wondering about mapping the colorlut to the colorindex file. I can get RGB values out of arcview but they may not correspond with any of the 256 I've got in the color index file. Regards, Jonathon Root Australian Geological Survey www.agso.gov.au jonathon.root at agso.gov.au -------------- next part -------------- A non-text attachment was scrubbed... Name: makemapf.ave Type: application/octet-stream Size: 5737 bytes Desc: not available URL: From steve.lime at dnr.state.mn.us Fri Apr 9 06:43:50 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 09 Apr 1999 08:43:50 -0500 Subject: MAKEFILE.NT Message-ID: Josef: I know of one user who has ported the code to NT. I made a few changes to accomodate him, so it should be good to go. He did not use Makefiles but set it up directly as a project in MS VC++, which is really all you use the Makefile for anyway. I'm not sure if he's on the list, if so I hope he'll respond as well. If not I'll contact him and ask that he posts compilation steps for NT to the list. I believe the main trick was finding a regex library for win32. I know one can be found at: http://www.mis2.udel.edu/~terence/regex/. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us >>> Josef Biza 04/09 6:50 AM >>> Good day, I downloaded mapserver 3.2 and I want use it with Microsoft IIS. There is not unfortunately a makefile for NT in this distribution. I would like to know if I can find this makefile somewhere or where i can find older version mapserver with makefile for NT. I have version mapserver 2.3 now. Thank you very much. Josef ing. Josef Biza City hall Brod Havlickovo namesti 57 580 01 Havlickuv Brod Czech Republic tel:420 451 353 228 email: biza at muhb.cz From mapadm at polsl.gliwice.pl Tue Apr 13 11:36:38 1999 From: mapadm at polsl.gliwice.pl (Grzegorz Myrda) Date: Tue, 13 Apr 1999 20:36:38 +0200 Subject: layername_hidden ? Message-ID: <000001be85dc$91702de0$a4cb9e9d@g> If someone knows how to pass on a list of active layers the same way as "get_layers" but as hidden variables (not visible list) ? else my suggestion to You Steven is to constitute [layername_hidden] template substitution (analogous to [layername_check] or [layername_select]). It would be useful in case of returning from itemquery results without changing active (visible) layers (and without showing the list). By the way: is there a possibility to define a vector (scalable) symbol combined of circle in circle ? Thx Grzegorz From bfraser at digitalscience.com Tue Apr 13 13:57:18 1999 From: bfraser at digitalscience.com (Brent Fraser) Date: Tue, 13 Apr 1999 14:57:18 -0600 Subject: Mapserver on NT Message-ID: <000f01be85f0$391cb320$390002c0@servo> Fellow MapServer Implementers, Steven Lime asked me to write a summary on implementing Mapserv on Windows NT. Below is a short note on my experiences. I've taken a few short cuts just to get it up and running (especially with the regex stuff), so if anyone else has suggestions, improvements etc, I'm all ears! And since I haven't tested all the functionality yet, some of the those short cuts may cause problems. Brent Fraser GeoAnalytic Inc. 1150 , 633 - 6th Avenue SW Calgary, AB T2P 2Y5 Tel: (403)213-2700 Fax: (403)213-2707 info at geoanalytic.com www.geoanalytic.com =================================================== Implementing University of Minnesota MapServer 1. Software Configuration The software I use for actually running the Mapserver (once it is compiled) are: Windows NT Workstation 4.0 Apache 1.3 Webserver MapServer 3.211 I use Visual C++ 5.0 for building Mapserver, and the following components: freetype-1.2 from http://www.freetype.org/download.htm tiff-v3_4beta035-tar.gz from ftp://ftp.sgi.com/graphics/tiff (I see that beta37 is now available) hs_regex from http://people.delphi.com/gjc/winregex.html proj4 4.3.3 from ftp://kai.er.usgs.gov/pub/proj.4 Other components used are from the Mapserver distribution (gd, shapelib) although they are available on the Internet as well. I compile each of the components into libraries using a separate VC++ project for each. I also make a library out of most of the mapserver files, all except mapserv.c. Mapserv.c is in it's own project with the compiled libraries from the other projects. 2. Changes to Source Code Changes to Mapserver source MAPFILE.C, function msLoadMap, (around line 1120), comment out the "if" block that starts with: if(regexec(&re, filename, 0, NULL, 0) != 0) { /* no match */ It has problems with Windows style paths MAPSHAPE.C, at the top of the file insert #include for Windows compatibility MAPSERV.C, function ReturnHTML, (around line 740?), comment out the "if" block that starts with if(regexec(&re, html, 0, NULL, 0) != 0) { /* no match */ again, problems with Windows paths Changes to Proj4 source In PARAM.C and PROJECTS.H, change all occurrences of PVALUE (there is four of them) to something like PJVALUE, since Windows already uses PVALUE Changes to regex source In REGEXEC.C and REGEX.H, remove any occurrences of __stdcall. Windows now has a different default calling convention. Changes to libtiff source In TIF_WIN32.C, in function _tiffUnmapProc, comment out the following line: CloseHandle((HANDLE)map_handle); For some reason, this causes mapserv to crash on NT. ===================== That's all there is to making mapserv.exe for Windows NT. -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at dnr.state.mn.us Wed Apr 14 07:40:35 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 14 Apr 1999 09:40:35 -0500 Subject: layername_hidden ? Message-ID: Grzegorz: Hadn't thought of this particular use. Queries tend to deadends with respect to maps so there usually isn't a need. [layername_hidden] won't work but I could see something like [post_layers] which would create a series of hidden variables called layer each with a different value. That should get you what you need. I'll add to the next beta update due out late this week or early next week. As for symbol. No, although you could draw the layer twice. Once with a big circle of one color and once with a little circle of another color. Symbols in general, to be blunt, suck. I'd like to try and move to a standard format like CGM. If anyone has thoughts or experiences let me know. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us >>> "Grzegorz Myrda" 04/13 1:36 PM >>> If someone knows how to pass on a list of active layers the same way as "get_layers" but as hidden variables (not visible list) ? else my suggestion to You Steven is to constitute [layername_hidden] template substitution (analogous to [layername_check] or [layername_select]). It would be useful in case of returning from itemquery results without changing active (visible) layers (and without showing the list). By the way: is there a possibility to define a vector (scalable) symbol combined of circle in circle ? Thx Grzegorz From steve.lime at dnr.state.mn.us Fri Apr 16 15:23:12 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Apr 1999 17:23:12 -0500 Subject: Font list format. Message-ID: Hi all: Seems my README for TrueType font lists is backwards. The format of the file should be [font alias] [font file] (eg. times times.ttf). I believe it listed as the other way around in the README. Sorry for the confusion. Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us From pnaciona at gis.umn.edu Wed Apr 28 18:43:47 1999 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Wed, 28 Apr 1999 20:43:47 -0500 Subject: TIFF/GeoTIFF images on MapServer 3.2 Message-ID: <004901be91e1$b9f346b0$5e496580@gis.umn.edu> Hi Folks, This is probably more for Steve but I thought I'd send it through here in case others have suggestions, or might have ran into the same problem. The question, as stupid as it may sound, is how does one create a colormapped TIFF or geoTIFF? I thought that a GeoTIFF is a GeoTIFF so I created an image through Imagine. Alas!, this is what I got when I tried using it with MapServer 3.2: An error has occurred in drawTIFF(): Image handling error. Only colormapped and grayscale images are supported. Any ideas, tips, suggestions? Thanks, Pericles S. Nacionales GIS and Remote Sensing Lab Department of Forest Resources University of Minnesota (612) 624-3459 pnaciona at gis.umn.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Pericles S. Nacionales.vcf Type: text/x-vcard Size: 832 bytes Desc: not available URL: From steve.lime at dnr.state.mn.us Thu Apr 29 07:27:15 1999 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 29 Apr 1999 09:27:15 -0500 Subject: TIFF/GeoTIFF images on MapServer 3.2 Message-ID: Perry: Nope, TIFF is an incredibly flexible format, with many variations (pixel depth, compression). That's why some folks don't like it, it's sometimes too flexible. Imagine can kick out collormapped GeoTIFF, although I believe you need to do the color reduction (i.e. 24bit -> 8bit) as a separate process and then go to GeoTIFF. (I know there are other list users more adept at the color reduction step than I. Perhaps they'll post a how-to.) Other packages like Photoshop, XV, PaintShop Pro and PBMPlus can do the color reduction on a TIFF but you'll likely loose the GeoTIFF tags. You could always just go with an ESRI world file in that case. (Note: Images MUST be in the same projection as the output map. PROJ.4 projection capabilities extend only to vector data, not raster data. Just too slow (although feasible). GeoTIFF support does not make use of the rotation coeficients, just the UL coordinates and cellsizes.) Steve Stephen Lime Internet Applications Programmer MIS Bureau - MN DNR (651) 297-2937 steve.lime at dnr.state.mn.us >>> "Pericles S. Nacionales" 04/28 8:43 PM >>> Hi Folks, This is probably more for Steve but I thought I'd send it through here in case others have suggestions, or might have ran into the same problem. The question, as stupid as it may sound, is how does one create a colormapped TIFF or geoTIFF? I thought that a GeoTIFF is a GeoTIFF so I created an image through Imagine. Alas!, this is what I got when I tried using it with MapServer 3.2: An error has occurred in drawTIFF(): Image handling error. Only colormapped and grayscale images are supported. Any ideas, tips, suggestions? Thanks, Pericles S. Nacionales GIS and Remote Sensing Lab Department of Forest Resources University of Minnesota (612) 624-3459 pnaciona at gis.umn.edu From kenboss at dilbert.dnr.state.mn.us Thu Apr 29 12:20:05 1999 From: kenboss at dilbert.dnr.state.mn.us (kenboss at dilbert.dnr.state.mn.us) Date: Thu, 29 Apr 1999 14:20:05 -0500 (CDT) Subject: TIFF/GeoTIFF images on MapServer 3.2 Message-ID: <199904291920.OAA23296@philbert.dnr.state.mn.us> > Imagine can kick out collormapped GeoTIFF, although I believe you > need to do the color reduction (i.e. 24bit -> 8bit) as a separate > process and then go to GeoTIFF. > (I know there are other list users more adept at the color reduction > step than I. Perhaps they'll post a how-to.) I'll give it a shot, though this is veering a bit off-topic so I won't dwell on it at length. 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. ============================================================================ Ken Boss Digital Image Analyst / Web Stuff Forestry Resource Assessment ken.boss at dnr.state.mn.us Minnesota Dept. of Natural Resources Voice: 218 327 4449 ext. 237 413 SE 13th Street Fax: 218 327 4517 Grand Rapids, MN 55744 USA ============================================================================ From rob at socialchange.net Thu Apr 29 17:34:39 1999 From: rob at socialchange.net (Rob Atkinson) Date: Fri, 30 Apr 1999 10:34:39 +1000 Subject: Reprojection Message-ID: <3728FA9E.6662ABEE@socialchange.net> Hi folks, does anybody have information regarding the use of PROJ.4 within the latest Mapserver (3.211). Trying to use the same technique as per Fornet 2.3 creates a lexical scanning error on the "=" signs. Looking at the code I suspect this is a problem in 3.211 map file parsing. PROJECTION proj=utm ... END Also, with 2.3 I was unable to make the thing reproject when all I wanted to do was a datum shift. Any clues on how to force it, and is this problem fixed in 3.2? Regards -- -------------------------------------------------------------------------------- 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 bfraser at digitalscience.com Thu Apr 29 19:37:04 1999 From: bfraser at digitalscience.com (Brent Fraser) Date: Thu, 29 Apr 1999 20:37:04 -0600 Subject: Reprojection References: <3728FA9E.6662ABEE@socialchange.net> Message-ID: <002201be92b2$bd50dda0$500202c0@cghh1.ab.wave.home.com> Rob, Try putting the parameters in quotes: PROJECTION "proj=utm" ... END I was able to re-project in 2.3, but it did not do datum shifts. Neither does 3.211 (there's no code in Proj4 nor Mapserver to do datum shifts). If there's a big enough demand, I might be able to find some source code for the Molodensky datum transformation... Brent Fraser GeoAnalytic Inc. 1150 , 633 - 6th Avenue SW Calgary, AB T2P 2Y5 Tel: (403)213-2700 Fax: (403)213-2707 bfraser at geoanalytic.com www.geoanalytic.com ----- Original Message ----- From: Rob Atkinson To: Sent: Thursday, April 29, 1999 6:34 PM Subject: Reprojection > > Hi folks, > > does anybody have information regarding the use of PROJ.4 within the > latest Mapserver (3.211). > > Trying to use the same technique as per Fornet 2.3 creates a lexical > scanning error on the "=" signs. Looking at the code I suspect this is a > problem in 3.211 map file parsing. > > PROJECTION > proj=utm > ... > END > > Also, with 2.3 I was unable to make the thing reproject when all I > wanted to do was a datum shift. Any clues on how to force it, and is > this problem fixed in 3.2? > > Regards > -- > -------------------------------------------------------------------------- ------ > > 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 rob at socialchange.net Thu Apr 29 20:11:31 1999 From: rob at socialchange.net (Rob Atkinson) Date: Fri, 30 Apr 1999 13:11:31 +1000 Subject: Reprojection References: <3728FA9E.6662ABEE@socialchange.net> <002201be92b2$bd50dda0$500202c0@cghh1.ab.wave.home.com> Message-ID: <37291F63.690260A9@socialchange.net> Thats done the trick! Many thanks. I'll have some interesting stuff to show the list soon - anybody else here interested in the OpenGIS Web Mapping standards process? Brent Fraser wrote: > Rob, > > Try putting the parameters in quotes: > > PROJECTION > "proj=utm" > ... > END > > I was able to re-project in 2.3, but it did not > do datum shifts. Neither does 3.211 (there's > no code in Proj4 nor Mapserver to do datum > shifts). > > If there's a big enough demand, I might be able > to find some source code for the Molodensky > datum transformation... > > Brent Fraser > > GeoAnalytic Inc. > 1150 , 633 - 6th Avenue SW Calgary, AB T2P 2Y5 > Tel: (403)213-2700 Fax: (403)213-2707 > bfraser at geoanalytic.com > www.geoanalytic.com > > ----- Original Message ----- > From: Rob Atkinson > To: > Sent: Thursday, April 29, 1999 6:34 PM > Subject: Reprojection > > > > > Hi folks, > > > > does anybody have information regarding the use of PROJ.4 within the > > latest Mapserver (3.211). > > > > Trying to use the same technique as per Fornet 2.3 creates a lexical > > scanning error on the "=" signs. Looking at the code I suspect this is a > > problem in 3.211 map file parsing. > > > > PROJECTION > > proj=utm > > ... > > END > > > > Also, with 2.3 I was unable to make the thing reproject when all I > > wanted to do was a datum shift. Any clues on how to force it, and is > > this problem fixed in 3.2? > > > > Regards > > -- > > -------------------------------------------------------------------------- > ------ > > > > 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 > > > > > > -- -------------------------------------------------------------------------------- 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 rob at socialchange.net Fri Apr 30 15:23:03 1999 From: rob at socialchange.net (Rob Atkinson) Date: Sat, 01 May 1999 08:23:03 +1000 Subject: Reprojection References: <199904301527.KAA24301@mallit.fr.umn.edu> Message-ID: <372A2D47.68B507EE@socialchange.net> Will keep the list posted then! In the meantime there is cute prototype project using ForNet 2.3 at http://www.nccnsw.org.au/mapping/bushland This illustrates the use of distributed data layers accessed via a middleware application. We have a far more sophisticated production version which we'll be presenting to the OGC next week. -- _______________________________________________________________ Rob Atkinson Email: rob at socialchange.net Director Thomas E. Burk wrote: > > From rob at socialchange.net Thu Apr 29 22:07:07 1999 > > Date: Fri, 30 Apr 1999 13:11:31 +1000 > > From: Rob Atkinson > > X-Accept-Language: en > > MIME-Version: 1.0 > > To: Brent Fraser > > CC: mapserver-users > > Subject: Re: Reprojection > > Content-Transfer-Encoding: 7bit > > > > Thats done the trick! Many thanks. > > > > I'll have some interesting stuff to show the list soon - anybody else here > > interested in the OpenGIS Web Mapping standards process? > > > > We are very interested. The current NASA program supporting some MapServer > development is keen on interoperability and OpenGIS. We look forward to seeing > your work. > > ======================= > Thomas E. Burk > Professor > University of Minnesota > tburk at forestry.umn.edu Social Change Online Mob: 0419 202 973 6A Nelson Street Tel: +61 (0) 2 9557 6500 Annandale NSW 2038 Fax: +61 (0) 2 9519 8940 Sydney, Australia WWW: http://online.socialchange.net.au