From steve.lime at dnr.state.mn.us Tue Apr 4 12:56:57 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 04 Apr 2000 14:56:57 -0500 Subject: version 3.3.010 available Message-ID: Greetings: I posted 3.3.010 on the main U site this afternoon, and will work at finishing the documentation update tonite. 3.3.010 fixes a number of issues brought to my attention via the list over the past few weeks. See the CHANGELOG in the distribution for a complete listing. I believe most everyones problems have been fixed. Note that truetype symbols are not yet supported. On the mapscript side, the constructor for shapeObj has changed slightly. Please check the online docs for details. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From steve.lime at dnr.state.mn.us Tue Apr 4 13:27:04 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 04 Apr 2000 15:27:04 -0500 Subject: Note to Proj.4 users... Message-ID: MapServer 3.3.010 now needs the Proj.4 distribution available from http://www.remotesensing.org/proj. This is a good thing. The original version is no longer actively maintained, the author has retired. Frank Warmerdam is now actively maintaining Proj and has recently made changes for us related to NT compilation, so that should be easier than ever. Any way grab his new version before compiling 3.3.010. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From pgallen at randomlogic.com Tue Apr 4 17:27:19 2000 From: pgallen at randomlogic.com (Paul G. Allen) Date: Tue, 04 Apr 2000 17:27:19 -0700 Subject: version 3.3.010 available References: Message-ID: <38EA8867.21444B9A@randomlogic.com> Stephen Lime wrote: > > Greetings: > > I posted 3.3.010 on the main U site this afternoon, and will work at finishing the documentation > update tonite. 3.3.010 fixes a number of issues brought to my attention via the list over the past > few weeks. See the CHANGELOG in the distribution for a complete listing. I believe most everyones > problems have been fixed. Note that truetype symbols are not yet supported. > > On the mapscript side, the constructor for shapeObj has changed slightly. Please check the online > docs for details. > Boy am I behind. I'm still running 3.3.001!! I really need to find some time to work on this stuff again :) PGA From gm at w.pl Fri Apr 7 10:34:12 2000 From: gm at w.pl (Grzegorz Myrda) Date: Fri, 7 Apr 2000 19:34:12 +0200 Subject: trouble with vector line Message-ID: <000001bfa0b7$7d4e3540$bbcb9e9d@default> When I use "styled" line it's OK. But when I change to vector type symbol, roads disappear. Is this something wrong in line definition (in line.sym) or layer definition in mapfile ? I'm trying this with the last version of mapserv. My definitions: [lines.sym] ... Symbol #17 Type ELLIPSE Filled Points 6 6 End End ... [Mapfile] ... LAYER NAME roads DESCRIPTION Drogi DATA roads TYPE POLYLINE STATUS ON CLASS COLOR 255 0 0 SYMBOL 17 END END ... Thx, GM From bfischer at usgs.gov Fri Apr 7 11:38:49 2000 From: bfischer at usgs.gov (bfischer at usgs.gov) Date: Fri, 7 Apr 2000 13:38:49 -0500 Subject: Error compiling mapserv3.3.010 for NT Message-ID: Has anyone got mapserv3.3.010 compiled for the NT? I am getting an error when I try to compile it in Visual C++ 6.0. It gets to the maplegend.c file and bombs out with a syntax error. Version 3.3.009 compiled just fine with the same steps. I am trying to compile it with libtiff and freetype. I know Steve mentioned something about proj.4. Is this why it is not compiling? Thanks, Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 From steve.lime at dnr.state.mn.us Fri Apr 7 11:33:56 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 07 Apr 2000 13:33:56 -0500 Subject: trouble with vector line Message-ID: I'll try it here with some demo datasets and will let you know what I find. You might try actually setting a size in your class definition and see if that changes things. I'll get back to everyone with test results... Steve <<< "Grzegorz Myrda" 4/ 7 12:34p >>> When I use "styled" line it's OK. But when I change to vector type symbol, roads disappear. Is this something wrong in line definition (in line.sym) or layer definition in mapfile ? I'm trying this with the last version of mapserv. My definitions: [lines.sym] ... Symbol #17 Type ELLIPSE Filled Points 6 6 End End ... [Mapfile] ... LAYER NAME roads DESCRIPTION Drogi DATA roads TYPE POLYLINE STATUS ON CLASS COLOR 255 0 0 SYMBOL 17 END END ... Thx, GM From pnaciona at gis.umn.edu Fri Apr 7 15:13:49 2000 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Fri, 7 Apr 2000 17:13:49 -0500 Subject: Error compiling mapserv3.3.010 for NT References: Message-ID: <00a201bfa0de$8ceab880$9a496580@gis.umn.edu> Brian, Try downloading the proj.4 source and copy projects.h (in the proj-4.4.1/src directory) into VC++'s include directory (usually in C:\Program Files\Microsoft Visual Studio\VC98\include). Hopefully that would fix it. If you can provide the VC++ message associated with the error, I might be able to give you a more definite answer. I compiled 3.3.010 in both gd-1.2 and gd-1.8.1 without much hassle. If anyone need binaries for either GIF or PNG mapserver output, let me know and I'll provide a URL to these binaries. -Perry ----- Original Message ----- From: To: Sent: Friday, April 07, 2000 1:38 PM Subject: Error compiling mapserv3.3.010 for NT > Has anyone got mapserv3.3.010 compiled for the NT? I am getting an error > when I try to compile it in Visual C++ 6.0. It gets to the maplegend.c > file and bombs out with a syntax error. Version 3.3.009 compiled just > fine with the same steps. I am trying to compile it with libtiff and > freetype. I know Steve mentioned something about proj.4. Is this why it > is not compiling? > > Thanks, > > Brian Fischer > bfischer at usgs.gov > USGS WRD > 2280 Woodale Dr. > Mounds View, MN > (612) 783-3133 > > From rob at socialchange.net.au Fri Apr 7 15:21:20 2000 From: rob at socialchange.net.au (Rob Atkinson) Date: Sat, 08 Apr 2000 08:21:20 +1000 Subject: Error compiling mapserv3.3.010 for NT References: <00a201bfa0de$8ceab880$9a496580@gis.umn.edu> Message-ID: <38EE5F60.C16DD35@socialchange.net.au> > I compiled 3.3.010 in both gd-1.2 and gd-1.8.1 without much hassle. If > anyone need binaries for either GIF or PNG mapserver output, let me know and > I'll provide a URL to these binaries. > It would be good to get these binaries if possible - it'll save some time for sure. I'm also very interested in any comparisons you have regarding speed and output file sizes for GIF vs PNG, with each of vector and raster data sources. -- _______________________________________________________________ Rob Atkinson Email: rob at socialchange.net Director 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 From mapadm at polsl.gliwice.pl Sat Apr 8 03:37:29 2000 From: mapadm at polsl.gliwice.pl (Grzegorz Myrda) Date: Sat, 8 Apr 2000 12:37:29 +0200 Subject: Error compiling mapserv3.3.010 for NT In-Reply-To: Message-ID: <200004081031.MAA27567@zeus.polsl.gliwice.pl> It's because of lack of semicolon after "default:" phrase ("CASE" syntax in MS VC is different than in gcc or other). I had the same error. GM From: bfischer at usgs.gov Subject: Error compiling mapserv3.3.010 for NT To: mapserver-users at lists.gis.umn.edu Date sent: Fri, 7 Apr 2000 13:38:49 -0500 > Has anyone got mapserv3.3.010 compiled for the NT? I am getting an error > when I try to compile it in Visual C++ 6.0. It gets to the maplegend.c > file and bombs out with a syntax error. Version 3.3.009 compiled just > fine with the same steps. I am trying to compile it with libtiff and > freetype. I know Steve mentioned something about proj.4. Is this why it > is not compiling? > > Thanks, > > Brian Fischer > bfischer at usgs.gov > USGS WRD > 2280 Woodale Dr. > Mounds View, MN > (612) 783-3133 > > From bfischer at usgs.gov Mon Apr 10 10:01:52 2000 From: bfischer at usgs.gov (bfischer at usgs.gov) Date: Mon, 10 Apr 2000 12:01:52 -0500 Subject: Error compiling mapserv3.3.010 for NT Message-ID: Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 ----- Forwarded by Brian C Fischer/WRD/USGS/DOI on 04/10/00 12:01 PM ----- Brian C Fischer To: "Grzegorz Myrda" cc: 04/10/00 11:56 Subject: Re: Error compiling mapserv3.3.010 for NT(Document link: Brian C AM Fischer) Grzegorz, Thanks, adding that semicolon fixed the problem and mapserver compiled fine after that. Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 "Grzegorz Myrda" To: mapserver-users at lists.gis.umn.edu Sent by: cc: owner-mapserver-users at lists.g Subject: Re: Error compiling mapserv3.3.010 for NT is.umn.edu 04/08/00 05:37 AM It's because of lack of semicolon after "default:" phrase ("CASE" syntax in MS VC is different than in gcc or other). I had the same error. GM From: bfischer at usgs.gov Subject: Error compiling mapserv3.3.010 for NT To: mapserver-users at lists.gis.umn.edu Date sent: Fri, 7 Apr 2000 13:38:49 -0500 > Has anyone got mapserv3.3.010 compiled for the NT? I am getting an error > when I try to compile it in Visual C++ 6.0. It gets to the maplegend.c > file and bombs out with a syntax error. Version 3.3.009 compiled just > fine with the same steps. I am trying to compile it with libtiff and > freetype. I know Steve mentioned something about proj.4. Is this why it > is not compiling? > > Thanks, > > Brian Fischer > bfischer at usgs.gov > USGS WRD > 2280 Woodale Dr. > Mounds View, MN > (612) 783-3133 > > From steve.lime at dnr.state.mn.us Mon Apr 10 12:54:24 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 10 Apr 2000 14:54:24 -0500 Subject: Generalizing shapefiles... Message-ID: Greetings: In case anyone is interested I ported the shapefile generalization Avenue script (Douglas-Peuckert Algorithm) hat comes with ArcView to MapScript. It's little slower, but then again it's free. On test coverages I've processed it produces the exact same output as the Avenue version. I need to add a progress meter, but that's about it. It requires version 3.3.010. I hope someone will find it useful. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 -------------- next part -------------- A non-text attachment was scrubbed... Name: thin.pl Type: application/octet-stream Size: 2782 bytes Desc: not available URL: From trevor at banisterconsulting.com Mon Apr 10 14:26:45 2000 From: trevor at banisterconsulting.com (Trevor Banister) Date: Mon, 10 Apr 2000 15:26:45 -0600 Subject: Generalizing shapefiles... Message-ID: <51BFCC79A3CCD311A2DD0800362C8E0301F780@banister4.conen.net> This looks quite usefull. It runs without the overhead of Arcview/Avenue and will run from the command line. The only scary part is the section that reads: system("rm $outfile.*"); I often have map files and html files that start with the same name as my shapes. The script looks like it will wipe out these and anyhing that starts with $outfile. how about a little safer code that just nukes the output files. system("rm $outfile.shp") system("rm $outfile.shx") system("rm $outfile.dbf") ... etc.. Just my $0.02, Trevor -----Original Message----- From: Stephen Lime To: mapserver-users at lists.gis.umn.edu Sent: 4/10/00 1:54 PM Subject: Generalizing shapefiles... Greetings: In case anyone is interested I ported the shapefile generalization Avenue script (Douglas-Peuckert Algorithm) hat comes with ArcView to MapScript. It's little slower, but then again it's free. On test coverages I've processed it produces the exact same output as the Avenue version. I need to add a progress meter, but that's about it. It requires version 3.3.010. I hope someone will find it useful. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 <> From pnaciona at gis.umn.edu Mon Apr 10 16:34:04 2000 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Mon, 10 Apr 2000 18:34:04 -0500 Subject: Error compiling mapserv3.3.010 for NT References: <00a201bfa0de$8ceab880$9a496580@gis.umn.edu> <38EE5F60.C16DD35@socialchange.net.au> Message-ID: <001701bfa345$431abd40$9a496580@gis.umn.edu> > > > > I compiled 3.3.010 in both gd-1.2 and gd-1.8.1 without much hassle. If > > anyone need binaries for either GIF or PNG mapserver output, let me know and > > I'll provide a URL to these binaries. > > > > > It would be good to get these binaries if possible - it'll save some time for > sure. I'm also very interested in any comparisons you have regarding speed and > output file sizes for GIF vs PNG, with each of vector and raster data sources. > > Binaries for GIF output is available at http://128.101.73.80/projects/mapserver/ms33gif.zip. Binaries for PNG output is available at http://128.101.73.80/projects/mapserver/ms33png.zip. The PNG version requires zlib.dll which needs to be located somewhere in the system path. The safest place to put it is in \winnt\system32 directory. If anybody is interested in qualitative performance comparisons between the two outputs, check http://128.101.73.80/projects/ms_demo (for GIF output) and http://128.101.73.80/projects2/ms_demo (for PNG output). I don't seem to notice much difference. For huge datasets, try http://128.101.73.80/projects/minnesota and http://128.101.73.80/projects2/minnesota. For numbers, PNG output (10-15K output sizes) with vector data is about 2-4K more than the GIF output (14-18K output sizes). With raster data, GIF output (192K) is about 30K more than PNG output (162K). I don't really have time to set up a more formal comparison but perhaps someone who downloads the binaries can do it. It'll be interesting to see how NT compares with UNIX as well. Specs: the system has dual 400Mhz P-II processors, 16Gb RAID level 5 storage (80% full), 256Mb ECC RAM, WinNT 4.0 sp6, IIS 4, MapServer 3.3.010 From carlson14 at llnl.gov Tue Apr 11 12:55:59 2000 From: carlson14 at llnl.gov (John Carlson) Date: Tue, 11 Apr 2000 12:55:59 -0700 Subject: different layers at different scales Message-ID: <4.2.0.58.20000411125303.0118adc0@popcorn.llnl.gov> I've seen examples where different layers appear at different scales, But I don't know how to get at those map files to see what they did. I was wondering if someone could send me an example where, for example, a layer appears when you zoom in. thanks, John From steve.lime at dnr.state.mn.us Tue Apr 11 16:54:57 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 11 Apr 2000 18:54:57 -0500 Subject: CVS Access Message-ID: Greetings: Read-only access to the mapserver CVS is now available. See http://mapserver.gis.umn.edu/cvs.html for more information. Among the new changes are support for queries driven by user defined shapes, and a few bug minor fixes. Nothing to get too excited about unless of course you need to use user defined shapes for queries. Steve From assefa1 at yahoo.com Wed Apr 12 08:13:37 2000 From: assefa1 at yahoo.com (Assefa Yewondwossen) Date: Wed, 12 Apr 2000 08:13:37 -0700 (PDT) Subject: CVS Access Message-ID: <20000412151337.9389.qmail@web1302.mail.yahoo.com> That is awesome. Great job! --- Stephen Lime wrote: > Greetings: Read-only access to the mapserver CVS is > now available. See > http://mapserver.gis.umn.edu/cvs.html for more > information. Among the new changes are support for > queries driven by user defined shapes, and a few bug > minor fixes. Nothing to get too excited about unless > of course you need to use user defined shapes for > queries. > > Steve > __________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com From trem at socialchange.net.au Wed Apr 12 21:59:44 2000 From: trem at socialchange.net.au (Trem Stamp) Date: Thu, 13 Apr 2000 14:59:44 +1000 Subject: MapServ on Linux Message-ID: <38F55440.9433FF9@socialchange.net.au> Does anyone have a clue as to what the following error may indicate: getInteger(): Incorrect data type. (END):(8) We have installed mapserv and the mapserv binary iteslf works, giving the message: No query information to decode. QUERY_STRING is set, but empty. Having added relevant parameters to view the map: ie. mapext=x1,y1,x2,y2 mode=map map=file.map mapsize=400+300 layer=layername (in mapfile), and set up the mapfile to point to the correct shapefiles and their location, I still get the above error message. We currently have this exact map set up on SOLARIS, and we have no problems viewing the map. The shapefile dbf tables have the correct format (checked against our working version). Does anyone have any ideas? Cheers, Trem -- Trem Stamp trem at socialchange.net Application Developer Social Change Online Pty Ltd Ph +61 (2)9557 6500 http://online.socialchange.net Fax +61 (2)9519 8940 -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.koormann at intevation.de Wed Apr 12 23:43:54 2000 From: frank.koormann at intevation.de (Frank Koormann) Date: Thu, 13 Apr 2000 08:43:54 +0200 Subject: MapServ on Linux In-Reply-To: <38F55440.9433FF9@socialchange.net.au>; from trem@socialchange.net.au on Thu, Apr 13, 2000 at 02:59:44PM +1000 References: <38F55440.9433FF9@socialchange.net.au> Message-ID: <20000413084354.A26213@cheops.usf.Uni-Osnabrueck.DE> Trem, * Trem Stamp (trem at socialchange.net.au) [000413 07:08]: > Does anyone have a clue as to what the following error may indicate: > > getInteger(): Incorrect data type. (END):(8) > For me it looks like you have an error in the 8th line of your map file. Mapserver expects an integer but finds something different (maybe the string "END"). Regards, Frank -- Frank Koormann http://intevation.net/~frank/ Professional Service around Free Software http://intevation.net/ FreeGIS Project http://freegis.org/ From marin at here.is Thu Apr 13 12:03:44 2000 From: marin at here.is (Ma) Date: Thu, 13 Apr 2000 20:03:44 +0100 Subject: Cygwin and MapServer Message-ID: <38F61A0F.6A7F12E5@here.is> Is anybody out there who compiled MapServer with Cygwin tools (http://sourceware.cygnus.com/cygwin/) under M$ Windows. If so - how? Can you post step-by-step instructions. Thank you, --- Ma From pnaciona at gis.umn.edu Thu Apr 13 17:54:01 2000 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Thu, 13 Apr 2000 19:54:01 -0500 Subject: Cygwin and MapServer In-Reply-To: <38F61A0F.6A7F12E5@here.is> Message-ID: > > Is anybody out there who compiled MapServer with Cygwin tools > (http://sourceware.cygnus.com/cygwin/) under M$ Windows. If so - how? > Can you post step-by-step instructions. > I tried it before and got it to work. If it's only the basic mapserver components you're trying to compile--gd-1.2 and gdft--then you shouldn't have to change much. Maybe just comment the TIFF stuff and check the paths. If you're trying to compile with TIFF and JPEG support, it's still fairly easy. Just edit the configure file and replace "/bin/sh" with "sh". Do the same thing with config.sub and Makefile.in. You can then just type "./configure". After the configuration is finished just run make. Of course, now you'll want the include paths and libpaths added in your mapserv makefile. That's the extent of my knowledge about Cygwin stuff. The last time I tried Cygwin was with the 3.3.008 distribution. I don't know if anything has changed since. Someone could probably give you a better set of instructions. Good luck! -Perry pnaciona at gis.umn.edu From steve.lime at dnr.state.mn.us Thu Apr 13 21:52:38 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 13 Apr 2000 23:52:38 -0500 Subject: Nightly MapServer builds... Message-ID: I (hopefully) have nightly builds working straight from the CVS. These archives have all the parts found in a normal distribution (i.e. GD, a c lexer and parser etc.) See the download page on the main server for details. Steve From rgu at ems.muenchen.de Fri Apr 14 03:11:08 2000 From: rgu at ems.muenchen.de (Markus Spring) Date: Fri, 14 Apr 2000 12:11:08 +0200 Subject: what is polyline Message-ID: <38F6EEBC.FCD5F7E1@ems.muenchen.de> Hi I tried to figure out what exactly is polyline. Is it true that * I can just display the outlines of a polygon rendered with a specified line symbol * but can not display polygons with fill and a specified outline If yes, then I don't know what's the difference to using TYPE LINE for a polygon shapefile. Any explanation, maybe example would be appreciated. Kind regards - markus From imap at chesapeake.net Fri Apr 14 03:47:11 2000 From: imap at chesapeake.net (imap at chesapeake.net) Date: Fri, 14 Apr 2000 06:47:11 -0400 Subject: what is polyline References: <38F6EEBC.FCD5F7E1@ems.muenchen.de> Message-ID: <38F6F72F.FCF7750D@chesapeake.net> Markus, I believe that Polyline is FROM, TO, TO, TO, TO, etc. Use polyline for rendering outlines and polygons for fills. You can do both like this: LAYER NAME ctycu TYPE POLYGON STATUS ON DATA "ctyindex" CLASS SYMBOL 0 OUTLINECOLOR 0 0 0 COLOR 255 255 204 END END Use both OUTLINECOLOR and COLOR for your CLASS item. Later, -Chris Markus Spring wrote: > > Hi > > I tried to figure out what exactly is polyline. > Is it true that > > * I can just display the outlines of a polygon rendered with a specified > line symbol > * but can not display polygons with fill and a specified outline > > If yes, then I don't know what's the difference to using TYPE LINE for a > polygon shapefile. > > Any explanation, maybe example would be appreciated. > > Kind regards - markus -- Chris Stuber (mapsurfer) Silicon Mapping Solutions, Inc. 410-257-3187 From mochaexpress at yahoo.com Fri Apr 14 04:18:29 2000 From: mochaexpress at yahoo.com (mocha) Date: Fri, 14 Apr 2000 06:18:29 -0500 Subject: tiger/line 98 Message-ID: <4.3.1.2.20000414061748.00a7fbe0@pop.mail.yahoo.com> is there anyway to use tiger/line with mapserver? From steve.lime at dnr.state.mn.us Fri Apr 14 09:18:39 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 14 Apr 2000 11:18:39 -0500 Subject: what is polyline Message-ID: First off, polygon shapes can be drawn as polyline layers, but line shapefiles should not. The reason is in how shape closure is handled. For polygon shapes the difference between type line and polyline is basically a matter of annotation. Line types are labeled on the line whereas polylines are labeled like polygons in the center of the polygon. Steve <<< rgu at ems.muenchen.de 4/14 5:12a >>> Hi I tried to figure out what exactly is polyline. Is it true that * I can just display the outlines of a polygon rendered with a specified line symbol * but can not display polygons with fill and a specified outline If yes, then I don't know what's the difference to using TYPE LINE for a polygon shapefile. Any explanation, maybe example would be appreciated. Kind regards - markus From pnaciona at gis.umn.edu Sun Apr 16 15:21:06 2000 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Sun, 16 Apr 2000 17:21:06 -0500 Subject: Updated gallery and contributed utilities Message-ID: <000a01bfa7f2$0f3307b0$9a496580@gis.umn.edu> Howdy folks, In case you haven't checked lately, the MapServer applications gallery has been updated. There are plenty of links to applications created by Steve Lime himself as well as a few contributed by the MapServer users community. It would be nice to see more of these applications added to the gallery. So, if you have one you'd like to share please send us (me) the URL along with a brief description of the application. You might want to share the hardware and web server specs as well. The user utilities page has also been updated. There are only three utilities there at the moment--Ross Searle's and Steve Lime's contributions--along with two conversion tools. If there are others you'd like to add or want to see added, let us know. The URL for the MapServer gallery is http://mapserver.gis.umn.edu/gallery.html and for the contributed utilities, http://mapserver.gis.umn.edu/user_utilities.html. Cheers! Perry Nacionales pnaciona at gis.umn.edu From danmo at videotron.ca Sun Apr 16 16:05:46 2000 From: danmo at videotron.ca (Daniel Morissette) Date: Sun, 16 Apr 2000 19:05:46 -0400 Subject: PHP/MapScript demo application References: <000a01bfa7f2$0f3307b0$9a496580@gis.umn.edu> Message-ID: <38FA474A.D677D1D9@videotron.ca> "Pericles S. Nacionales" wrote: > > It would be nice to see more of these applications added to the gallery. > So, if you have one you'd like to share please send us (me) the URL along > with a brief description of the application. You might want to share the > hardware and web server specs as well. > Hi Everyone, A couple of weeks ago, we have done some work to implement a PHP module that makes the MapScript functionality available in PHP3. The module is in a stable state now, and we have a demo that tests the PHP/MapScript module using some canadian data. The application also has an option to use a Java applet to add a toolbar and allow dragging rectangles, circles, etc. on top of the map image... use the toggle at the bottom left of the page to enable it. This PHP/MapScript demo is at: http://www2.dmsolutions.on.ca/gmap/gmap75.phtml Also, we are planning to make the PHP/MapScript module publicly available... we just haven't packaged it yet... if any PHP developer out there would like to give it a try then please let us know and we'll make a package available. Best Regards, -- ------------------------------------------------------------ Daniel Morissette danmo at videotron.ca http://pages.infinit.net/danmo/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From imap at chesapeake.net Sun Apr 16 21:00:09 2000 From: imap at chesapeake.net (imap at chesapeake.net) Date: Mon, 17 Apr 2000 00:00:09 -0400 Subject: PHP/MapScript demo application References: <000a01bfa7f2$0f3307b0$9a496580@gis.umn.edu> <38FA474A.D677D1D9@videotron.ca> Message-ID: <38FA8C49.69D07AD3@chesapeake.net> Daniel, tar it up and let's ask Steve to put in his CVS at UMN. I know there are alot of PHP fans out there who will love it. -Chris Daniel Morissette wrote: > > "Pericles S. Nacionales" wrote: > > > > It would be nice to see more of these applications added to the gallery. > > So, if you have one you'd like to share please send us (me) the URL along > > with a brief description of the application. You might want to share the > > hardware and web server specs as well. > > > > Hi Everyone, > > A couple of weeks ago, we have done some work to implement a PHP module > that makes the MapScript functionality available in PHP3. The module is > in a stable state now, and we have a demo that tests the PHP/MapScript > module using some canadian data. > > The application also has an option to use a Java applet to add a toolbar > and allow dragging rectangles, circles, etc. on top of the map image... > use the toggle at the bottom left of the page to enable it. > > This PHP/MapScript demo is at: > http://www2.dmsolutions.on.ca/gmap/gmap75.phtml > > Also, we are planning to make the PHP/MapScript module publicly > available... we just haven't packaged it yet... if any PHP developer out > there would like to give it a try then please let us know and we'll make > a package available. > > Best Regards, > -- > ------------------------------------------------------------ > Daniel Morissette danmo at videotron.ca > http://pages.infinit.net/danmo/ > ------------------------------------------------------------ > Don't put for tomorrow what you can do today, because if > you enjoy it today you can do it again tomorrow. -- Chris Stuber (mapsurfer) Silicon Mapping Solutions, Inc. 410-257-3187 From anguy at geoanalytic.com Mon Apr 17 13:44:29 2000 From: anguy at geoanalytic.com (An Tay Nguy) Date: Mon, 17 Apr 2000 14:44:29 -0600 Subject: legend, newbies question. Message-ID: <000001bfa8ad$ba1d8a90$3a0002c0@dell> Hi everyone, I am trying to create a legend for a shapefile. The legend is created correctly if my layer definition is: LAYER NAME dnnetano_10tm.shp TYPE PolyLine STATUS on DATA 'd:/geodata/1_2million/alberta/dnnetano_10tm' CLASS Name 'Dnnetano_10tm.shp' COLOR 240 118 178 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER If I define my layer definition like the one below, I get a blank legend. Does anyone knows what I did wrong? I would've expected 12 entries in the legend. LAYER NAME alpparkg_10tm.shp TYPE Polygon STATUS on DATA 'd:/geodata/1_2million/alberta/alpparkg_10tm' CLASSITEM Alpparkg_ CLASS EXPRESSION '2' COLOR 192 101 73 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '3' COLOR 255 215 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '4' COLOR 189 183 107 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '5' COLOR 247 181 103 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '6' COLOR 206 195 149 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '7' COLOR 205 155 29 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '8' COLOR 240 230 140 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '9' COLOR 167 175 94 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '10' COLOR 192 144 88 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '11' COLOR 139 69 19 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '12' COLOR 172 150 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '13' COLOR 105 139 105 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER Thanks in advance for your help. An Tay Nguy From steve.lime at dnr.state.mn.us Mon Apr 17 14:18:15 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 17 Apr 2000 16:18:15 -0500 Subject: legend, newbies question. Message-ID: You need a NAME for each class for it to show up in the legend. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "An Tay Nguy" 04/17/00 03:44PM >>> Hi everyone, I am trying to create a legend for a shapefile. The legend is created correctly if my layer definition is: LAYER NAME dnnetano_10tm.shp TYPE PolyLine STATUS on DATA 'd:/geodata/1_2million/alberta/dnnetano_10tm' CLASS Name 'Dnnetano_10tm.shp' COLOR 240 118 178 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER If I define my layer definition like the one below, I get a blank legend. Does anyone knows what I did wrong? I would've expected 12 entries in the legend. LAYER NAME alpparkg_10tm.shp TYPE Polygon STATUS on DATA 'd:/geodata/1_2million/alberta/alpparkg_10tm' CLASSITEM Alpparkg_ CLASS EXPRESSION '2' COLOR 192 101 73 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '3' COLOR 255 215 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '4' COLOR 189 183 107 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '5' COLOR 247 181 103 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '6' COLOR 206 195 149 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '7' COLOR 205 155 29 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '8' COLOR 240 230 140 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '9' COLOR 167 175 94 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '10' COLOR 192 144 88 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '11' COLOR 139 69 19 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '12' COLOR 172 150 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Alpparkg_ CLASS EXPRESSION '13' COLOR 105 139 105 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER Thanks in advance for your help. An Tay Nguy From pnaciona at gis.umn.edu Mon Apr 17 14:31:51 2000 From: pnaciona at gis.umn.edu (Pericles S. Nacionales) Date: Mon, 17 Apr 2000 16:31:51 -0500 Subject: legend, newbies question. References: <000001bfa8ad$ba1d8a90$3a0002c0@dell> Message-ID: <00bf01bfa8b4$589f7c90$9a496580@gis.umn.edu> Try adding names for each class. i.e. CLASSITEM Alpparkg_ CLASS NAME Description of "2" EXPRESSION '2' COLOR 192 101 73 OUTLINECOLOR 0 0 0 END # CLASS -Perry Nacionales pnaciona at gis.umn.edu ----- Original Message ----- From: "An Tay Nguy" To: "Mapserver-Users" Sent: Monday, April 17, 2000 3:44 PM Subject: legend, newbies question. > Hi everyone, > > I am trying to create a legend for a shapefile. The legend is created > correctly if my layer definition is: > > LAYER > NAME dnnetano_10tm.shp > TYPE PolyLine > STATUS on > DATA 'd:/geodata/1_2million/alberta/dnnetano_10tm' > > CLASS > Name 'Dnnetano_10tm.shp' > COLOR 240 118 178 > OUTLINECOLOR 0 0 0 > END # CLASS > > END # LAYER > > If I define my layer definition like the one below, I get a blank legend. > Does anyone knows what I did wrong? I would've expected 12 entries in the > legend. > > LAYER > NAME alpparkg_10tm.shp > TYPE Polygon > STATUS on > DATA 'd:/geodata/1_2million/alberta/alpparkg_10tm' > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '2' > COLOR 192 101 73 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '3' > COLOR 255 215 0 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '4' > COLOR 189 183 107 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '5' > COLOR 247 181 103 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '6' > COLOR 206 195 149 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '7' > COLOR 205 155 29 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '8' > COLOR 240 230 140 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '9' > COLOR 167 175 94 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '10' > COLOR 192 144 88 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '11' > COLOR 139 69 19 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '12' > COLOR 172 150 0 > OUTLINECOLOR 0 0 0 > END # CLASS > > CLASSITEM Alpparkg_ > CLASS > EXPRESSION '13' > COLOR 105 139 105 > OUTLINECOLOR 0 0 0 > END # CLASS > > END # LAYER > > Thanks in advance for your help. > > An Tay Nguy > From steve.lime at dnr.state.mn.us Tue Apr 18 09:24:48 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 18 Apr 2000 11:24:48 -0500 Subject: PHP/MapScript demo application Message-ID: Very nice interface- PHP aside. You'll have to let me know how *compatible* the PHP code is with mapscript. Once stable enough it would seem logical to distribute it with the MapServer. No need to have a common CVS and I can pull from your site into the main dist automatically. This is cool given the size of the PHP audience. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Daniel Morissette 04/16/00 06:05PM >>> "Pericles S. Nacionales" wrote: > > It would be nice to see more of these applications added to the gallery. > So, if you have one you'd like to share please send us (me) the URL along > with a brief description of the application. You might want to share the > hardware and web server specs as well. > Hi Everyone, A couple of weeks ago, we have done some work to implement a PHP module that makes the MapScript functionality available in PHP3. The module is in a stable state now, and we have a demo that tests the PHP/MapScript module using some canadian data. The application also has an option to use a Java applet to add a toolbar and allow dragging rectangles, circles, etc. on top of the map image... use the toggle at the bottom left of the page to enable it. This PHP/MapScript demo is at: http://www2.dmsolutions.on.ca/gmap/gmap75.phtml Also, we are planning to make the PHP/MapScript module publicly available... we just haven't packaged it yet... if any PHP developer out there would like to give it a try then please let us know and we'll make a package available. Best Regards, -- ------------------------------------------------------------ Daniel Morissette danmo at videotron.ca http://pages.infinit.net/danmo/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From anguy at geoanalytic.com Tue Apr 18 15:05:40 2000 From: anguy at geoanalytic.com (An Tay Nguy) Date: Tue, 18 Apr 2000 16:05:40 -0600 Subject: classitem Message-ID: <000001bfa982$3bcb8720$3a0002c0@dell> Hi everyone, Does classitem works with text columns? I tried using a column that is of text type and I keep getting an error: loadString(): Incorrect data type. (Type):(70) LAYER NAME roads_nad27_ll.shp TYPE PolyLine STATUS on DATA 'd:/1_250k/alberta/altalis/ll_nad27/roads_nad27_ll' HEADER 'roads_nad27_ll.shp_header.html' QUERY TEMPLATE roads_nad27_ll.shp_query.html END # QUERY CLASSITEM Type CLASS NAME 'Divided Primary' EXPRESSION 'Divided Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Gravel Primary' EXPRESSION 'Gravel Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Gravel Secondary' EXPRESSION 'Gravel Secondary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Paved Primary' EXPRESSION 'Paved Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Paved Secondary' EXPRESSION 'Paved Secondary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER From steve.lime at dnr.state.mn.us Tue Apr 18 15:22:20 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 18 Apr 2000 17:22:20 -0500 Subject: classitem Message-ID: The value you use for classitem is Type which is a reserved word and needs to be quoted. See the manual for more info... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "An Tay Nguy" 04/18/00 05:05PM >>> Hi everyone, Does classitem works with text columns? I tried using a column that is of text type and I keep getting an error: loadString(): Incorrect data type. (Type):(70) LAYER NAME roads_nad27_ll.shp TYPE PolyLine STATUS on DATA 'd:/1_250k/alberta/altalis/ll_nad27/roads_nad27_ll' HEADER 'roads_nad27_ll.shp_header.html' QUERY TEMPLATE roads_nad27_ll.shp_query.html END # QUERY CLASSITEM Type CLASS NAME 'Divided Primary' EXPRESSION 'Divided Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Gravel Primary' EXPRESSION 'Gravel Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Gravel Secondary' EXPRESSION 'Gravel Secondary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Paved Primary' EXPRESSION 'Paved Primary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS CLASSITEM Type CLASS NAME 'Paved Secondary' EXPRESSION 'Paved Secondary' COLOR 0 0 0 OUTLINECOLOR 0 0 0 END # CLASS END # LAYER From anguy at geoanalytic.com Wed Apr 19 13:34:46 2000 From: anguy at geoanalytic.com (An Tay Nguy) Date: Wed, 19 Apr 2000 14:34:46 -0600 Subject: Order of data(theme) being drawn Message-ID: <000101bfaa3e$b3f056b0$3a0002c0@dell> Hi everyone, I am using Map Server 3.3006 with PROJ4.0 support for a sample web application. The order in which the themes being drawn is very important for this application, raster images being at the bottom...and so on. By arranging the Layer definition in the map file, I was able to control which layer to draw first. When I tried to generate a legend from Map Server, the order of the themes that appear in the legend is backward from what is displayed in the map. Theme that appear at the bottom of the legend is displayed on the top most(the raster image). Is this the intended functionality? Am I missing somthing? Thanks in advance for your help!! An Tay Nguy From steve.lime at dnr.state.mn.us Wed Apr 19 13:41:46 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 19 Apr 2000 15:41:46 -0500 Subject: Order of data(theme) being drawn Message-ID: Never really thought about it. Super easy hack though. Just change the layer loop in maplegend.c, msDrawLegend() to loop backwards and that will fix it. I'll change this behavior in the distribution. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "An Tay Nguy" 04/19/00 03:34PM >>> Hi everyone, I am using Map Server 3.3006 with PROJ4.0 support for a sample web application. The order in which the themes being drawn is very important for this application, raster images being at the bottom...and so on. By arranging the Layer definition in the map file, I was able to control which layer to draw first. When I tried to generate a legend from Map Server, the order of the themes that appear in the legend is backward from what is displayed in the map. Theme that appear at the bottom of the legend is displayed on the top most(the raster image). Is this the intended functionality? Am I missing somthing? Thanks in advance for your help!! An Tay Nguy From ddnebert at usgs.gov Wed Apr 19 14:45:05 2000 From: ddnebert at usgs.gov (Doug Nebert) Date: Wed, 19 Apr 2000 17:45:05 -0400 Subject: How to mapscript a box or two... Message-ID: <38FE28E1.6040507@usgs.gov> For our new Clearinghouse Search gateway (to help people locate geospatial data in approx 200 servers!) we would like to link in the map server to help the user locate their area of interest and also to then show the results that were found "on the map". So the problem at hand is: I have a basemap (lat-long coords) and I have a number of returned rectangle values in N W S E format, one rectangle per data set being flagged. I would like to first define the bounds of the map to be drawn just a bit larger than the sum total extents of the rectangles, then to draw on that basemap several rectangles (each rectangle a different color) one for each data set represented. In effect, if I want to visualize where the current hit list of ten datasets lies, I would have an orientation map with n colored rectangles on it. I sense that mapscript would allow one to do this but don't know where to start. Can someone provide sample code for me to start with? Doug. From mochaexpress at yahoo.com Wed Apr 19 17:25:19 2000 From: mochaexpress at yahoo.com (mocha) Date: Wed, 19 Apr 2000 19:25:19 -0500 Subject: mysql Message-ID: <4.3.1.2.20000419192354.00aaad80@pop.mail.yahoo.com> anyone working on interfacing mapserver to an sql db (mysql?). i think this would speed it up a little. From rchavez at perseus.tufts.edu Wed Apr 19 19:32:25 2000 From: rchavez at perseus.tufts.edu (Robert Chavez) Date: Wed, 19 Apr 2000 22:32:25 -0400 (EDT) Subject: mysql In-Reply-To: <4.3.1.2.20000419192354.00aaad80@pop.mail.yahoo.com> Message-ID: I've used MapScript with some Perl to build interfaces to PostGreSQL databases -- using a database of points, polygons, spatial extents, raster images, etc. Perl and MapScript handle everything quite cleanly and nicely. So far speed hasn't been an issue. What kind of interfaces did you have in mind? Rob Chavez On Wed, 19 Apr 2000, mocha wrote: > anyone working on interfacing mapserver to an sql db (mysql?). i think this > would speed it up a little. > From steve.lime at dnr.state.mn.us Wed Apr 19 19:45:54 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 19 Apr 2000 21:45:54 -0500 Subject: mysql Message-ID: I working on native access to ESRI SDE. No plans other than that. Some other things are possible from within mapscript. Without major extensions to the database to make it spatially aware I see little benefit for pure speed. Steve <<< mocha 4/19 7:42p >>> anyone working on interfacing mapserver to an sql db (mysql?). i think this would speed it up a little. From mochaexpress at yahoo.com Wed Apr 19 20:33:18 2000 From: mochaexpress at yahoo.com (mocha) Date: Wed, 19 Apr 2000 22:33:18 -0500 Subject: mysql In-Reply-To: References: <4.3.1.2.20000419192354.00aaad80@pop.mail.yahoo.com> Message-ID: <4.3.1.2.20000419222943.00a8d840@pop.mail.yahoo.com> basically that was what i was talking about. having a db back end to store the data (points, polygons, features, etc) one can extract that information quickly for what ever purpose. for instance, if i want to do a route from a to b, or find the nearest restaurant to my office etc by zipcode etc.. using lat and long. i'd only need one common db back end. then i can plot all of this to my hearts desire on my map. At 10:32 PM 4/19/00 -0400, Robert Chavez wrote: >I've used MapScript with some Perl to build interfaces to PostGreSQL >databases -- using a database of points, polygons, spatial extents, >raster images, etc. Perl and MapScript handle everything quite >cleanly and nicely. So far speed hasn't been an issue. > >What kind of interfaces did you have in mind? > >Rob Chavez > >On Wed, 19 Apr 2000, mocha wrote: > > > anyone working on interfacing mapserver to an sql db (mysql?). i think > this > > would speed it up a little. > > From SullivanJ at nima.mil Thu Apr 20 05:51:24 2000 From: SullivanJ at nima.mil (Sullivan, James R. ) Date: Thu, 20 Apr 2000 08:51:24 -0400 Subject: mysql Message-ID: Steve, I was talking to some Autometric/Sybase guys about the SQS software (Spatial Query System), and was asking what Unix based Web mapping application has been used with it. The answer was: Mapserver. Purportedly somebody at Fornet has linked Mapserver to data held in the SQS/Sybase database. Are you familiar with this effort? The Autometric/Sybase guys were pretty vague, and did not seem to know much more than that. Jim Sullivan -----Original Message----- From: Stephen Lime [SMTP:steve.lime at dnr.state.mn.us] Sent: Wednesday, April 19, 2000 10:46 PM To: mapserver-users at lists.gis.umn.edu; mochaexpress at yahoo.com Subject: Re: mysql I working on native access to ESRI SDE. No plans other than that. Some other things are possible from within mapscript. Without major extensions to the database to make it spatially aware I see little benefit for pure speed. Steve <<< mocha 4/19 7:42p >>> anyone working on interfacing mapserver to an sql db (mysql?). i think this would speed it up a little. From steve.lime at dnr.state.mn.us Thu Apr 20 07:17:49 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 20 Apr 2000 09:17:49 -0500 Subject: mysql Message-ID: I did that work 5 years ago. We stored Landsat TM scene footprints in SQS and used MapServer as a front end for queries. All MapServer did was pass lat/lon pairs to a small perl/sybperl script that queried SQS. There was no direct connection. With MapScript a direct connection would be possible and a simple extension similar to the SDE stuff could also be done. One of the Sybase/Autometric guys contacted me about 6-9 months ago about some further development. I replied with interest but never heard back. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Sullivan, James R. " 04/20/00 07:51AM >>> Steve, I was talking to some Autometric/Sybase guys about the SQS software (Spatial Query System), and was asking what Unix based Web mapping application has been used with it. The answer was: Mapserver. Purportedly somebody at Fornet has linked Mapserver to data held in the SQS/Sybase database. Are you familiar with this effort? The Autometric/Sybase guys were pretty vague, and did not seem to know much more than that. Jim Sullivan -----Original Message----- From: Stephen Lime [SMTP:steve.lime at dnr.state.mn.us] Sent: Wednesday, April 19, 2000 10:46 PM To: mapserver-users at lists.gis.umn.edu; mochaexpress at yahoo.com Subject: Re: mysql I working on native access to ESRI SDE. No plans other than that. Some other things are possible from within mapscript. Without major extensions to the database to make it spatially aware I see little benefit for pure speed. Steve <<< mocha 4/19 7:42p >>> anyone working on interfacing mapserver to an sql db (mysql?). i think this would speed it up a little. From vrraju at lists.gis.umn.edu Thu Apr 20 07:46:02 2000 From: vrraju at lists.gis.umn.edu (Vatsavai Ranga Raju) Date: Thu, 20 Apr 2000 09:46:02 -0500 (CDT) Subject: mysql Message-ID: <200004201446.JAA27304@lists.gis.umn.edu> We are enhancing mapserver, especially adding geospatial analysis capabilities. One of the ongoing efforts is to add a link between mapserver and RDBMS/SQL, so that users can access mysql tables directly from mapserver. What I am not sure about your posting is that storing extended data types in mysql (like points, lines and polygons, but images - yes)?. My experience shows that object oriented databases (like Jasmine ODBMS), or object relational databases (Oracle 8i, PREDATOR etc) are more suitable to store geographic entities, than systems like mysql. Second problem is to access (speedily) these data types you need some or other extensions (like R+ tree) of indexing structures supported in these databases. Anyway we will let you know once our interface to mysql is complete. Raju ---- Ranga Raju Vatsavai, Research Fellow. ~(oo)~ Remote Sensing & GIS Lab, Dept. of FR. 612-624-7281 SDB Research Group, Dept. of Comp Sci. 612-626-7703 http://www.cs.umn.edu/~vatsavai From ddnebert at usgs.gov Thu Apr 20 08:41:10 2000 From: ddnebert at usgs.gov (Doug Nebert) Date: Thu, 20 Apr 2000 11:41:10 -0400 Subject: mysql References: <4.3.1.2.20000419192354.00aaad80@pop.mail.yahoo.com> <4.3.1.2.20000419222943.00a8d840@pop.mail.yahoo.com> Message-ID: <38FF2516.7090800@usgs.gov> mocha wrote: > basically that was what i was talking about. having a db back end to store > the data (points, polygons, features, etc) one can extract that information > quickly for what ever purpose. for instance, if i want to do a route from a > to b, or find the nearest restaurant to my office etc by zipcode etc.. > using lat and long. i'd only need one common db back end. then i can plot > all of this to my hearts desire on my map. > It would be very nice to have a database storage methodology that could be used against a database, but to invent one that works in all databases might not be so easy. You may wish to look into the OpenGIS Simple Features Access SQL specification that is supported by several vendors. This specifies only the query and result syntax as formalizations in SQL letting the backend database do the support work. By supporting a standard request interface, multiple databases (including SDE and Oracle 8i Spatial) would be supported. Don't let the "simple" aspect dissuade you -- it supports the general range of geometries present in a shapefile. A similar specification is also emerging for raster data (called, ironically, Coverages). Something to consider in your database storage interfaces. Doug. > At 10:32 PM 4/19/00 -0400, Robert Chavez wrote: > > >I've used MapScript with some Perl to build interfaces to PostGreSQL > >databases -- using a database of points, polygons, spatial extents, > >raster images, etc. Perl and MapScript handle everything quite > >cleanly and nicely. So far speed hasn't been an issue. > > > >What kind of interfaces did you have in mind? > > > >Rob Chavez > > > >On Wed, 19 Apr 2000, mocha wrote: > > > > > anyone working on interfacing mapserver to an sql db (mysql?). i think > > this > > > would speed it up a little. > > > > > > > -- Douglas D. Nebert Clearinghouse Coordinator FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755 Pager Messaging: http://clearinghouse3.fgdc.gov/dougmsg.html From cfuhrman at tfcci.com Thu Apr 20 10:44:24 2000 From: cfuhrman at tfcci.com (Chris Fuhrman) Date: Thu, 20 Apr 2000 13:44:24 -0400 (EDT) Subject: mysql In-Reply-To: <4.3.1.2.20000419192354.00aaad80@pop.mail.yahoo.com> Message-ID: On Wed, 19 Apr 2000, mocha wrote: > anyone working on interfacing mapserver to an sql db (mysql?). i think this > would speed it up a little. > Can't say I've gotten mapserver to talk to a SQL server, but i am using PostgreSQL/Perl/MapScript to develop a Geocoding/Address-matching type application. PostgreSQL has the ability to store points, lines, polygons, paths, and such and can even do some operations on them. Not the fastest ORDBMS on the planet, but certainly one of the more featureful for it's price *g* What would be nice is some kind of abstract layer between mapscript and a data base which would make it easy for a programmer to extract layers and display them without having to use shapefiles. Really wish I had more time to write something like that... -- Chris Fuhrman | Twenty First Century Communications cfuhrman at tfcci.com | Software Engineer (W) 614-442-1215 x271 | (F) 614-442-5662 | PGP/GPG Public Key Available on Request From imap at chesapeake.net Thu Apr 20 14:11:29 2000 From: imap at chesapeake.net (imap at chesapeake.net) Date: Thu, 20 Apr 2000 17:11:29 -0400 Subject: mysql References: Message-ID: <38FF7281.C53846C2@chesapeake.net> Hello, That interface between mapscript and database is called PERL DBI/DBD and it works great, and... works with most databases on the market. I use MySQL to plot markers/symbols on-the-fly to a user-defined layer, that is point data that have been geocoded. Regards, Chris Chris Fuhrman wrote: > > On Wed, 19 Apr 2000, mocha wrote: > > > anyone working on interfacing mapserver to an sql db (mysql?). i think this > > would speed it up a little. > > > > Can't say I've gotten mapserver to talk to a SQL server, but i am using > PostgreSQL/Perl/MapScript to develop a Geocoding/Address-matching type > application. PostgreSQL has the ability to store points, lines, polygons, > paths, and such and can even do some operations on them. Not the fastest > ORDBMS on the planet, but certainly one of the more featureful for it's > price *g* > > What would be nice is some kind of abstract layer between mapscript and a > data base which would make it easy for a programmer to extract layers and > display them without having to use shapefiles. > > Really wish I had more time to write something like that... > > -- > Chris Fuhrman | Twenty First Century Communications > cfuhrman at tfcci.com | Software Engineer > (W) 614-442-1215 x271 | > (F) 614-442-5662 | PGP/GPG Public Key Available on Request -- Chris Stuber (mapsurfer) Silicon Mapping Solutions, Inc. 410-257-3187 From steve.lime at dnr.state.mn.us Thu Apr 20 14:59:16 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 20 Apr 2000 16:59:16 -0500 Subject: yet another demo application... Message-ID: Greetings: I've got another MapServer application under development. It's still very much a work in progress, but I'd like to get a feel for what sort of interest there might be in the underlying code. It's a data viewer but it's interesting in that the intial page never changes, only the map displayed in an applet. It also uses flash to control much of the page behavior (thanks Peter!). There are 2 code components I intend to share should there be sufficient interest. One is a new version of the mapimage applet. The second is a javascript library that manages coordinates (zooms, pans etc.) entirely on the client. Again, it's still undergoing frequent change and comments are certainly welcome. Point your version 4 browser (Netscape 6 doesn't work) at: http://www.dnr.state.mn.us/mapping/landview Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From imap at chesapeake.net Thu Apr 20 15:32:17 2000 From: imap at chesapeake.net (imap at chesapeake.net) Date: Thu, 20 Apr 2000 18:32:17 -0400 Subject: and another demo application... References: Message-ID: <38FF8571.13989DE@chesapeake.net> Also, the *DEMO* Census 2000 Tiger Map Server at http://brillig.ssd.census.gov/demos/census a non-production demo/prototype, but displays the Census Questionaire Mail-In "Response Rate" theme down to the Census Tract level. So far Census has captured and processed about 80 million forms. Steve and Peter get credit for helping with the flash. Of course comments are welcome. Regards, -Chris Stephen Lime wrote: > > Greetings: I've got another MapServer application under development. It's still very > much a work in progress, but I'd like to get a feel for what sort of interest there might > be in the underlying code. It's a data viewer but it's interesting in that the intial page > never changes, only the map displayed in an applet. It also uses flash to control much > of the page behavior (thanks Peter!). > > There are 2 code components I intend to share should there be sufficient interest. One > is a new version of the mapimage applet. The second is a javascript library that manages > coordinates (zooms, pans etc.) entirely on the client. > > Again, it's still undergoing frequent change and comments are certainly welcome. > > Point your version 4 browser (Netscape 6 doesn't work) at: > > http://www.dnr.state.mn.us/mapping/landview > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 From mochaexpress at yahoo.com Thu Apr 20 17:33:20 2000 From: mochaexpress at yahoo.com (mocha) Date: Thu, 20 Apr 2000 19:33:20 -0500 Subject: yet another demo application... In-Reply-To: Message-ID: <4.3.1.2.20000420193241.00acde40@pop.mail.yahoo.com> At 04:59 PM 4/20/00 -0500, Stephen Lime wrote: >Greetings: I've got another MapServer application under development. It's >still very >much a work in progress, but I'd like to get a feel for what sort of >interest there might >be in the underlying code. It's a data viewer but it's interesting in that >the intial page >never changes, only the map displayed in an applet. It also uses flash to >control much >of the page behavior (thanks Peter!). i like it. it's very nice. just more plug-ins for users is the only draw back. From berend.veldkamp at aris.nl Fri Apr 21 01:20:13 2000 From: berend.veldkamp at aris.nl (Berend Veldkamp) Date: Fri, 21 Apr 2000 10:20:13 +0200 Subject: Enable/disable a group of layers Message-ID: <39000F3D.30768193@aris.nl> Here's a question concerning groups of layers. What I'm trying to do, is to enable/disable a group of layers with one checkbox. When I do this with a separate layers, there's no problem, this works: Minor Roads
Highway
Other Roads
When I group multiple layers in a group (in my .map file), it works as well, but the checkbox is always unchecked after the map is drawn. Roads
Any ideas, anyone? TIA, Berend -- From mochaexpress at yahoo.com Fri Apr 21 05:29:14 2000 From: mochaexpress at yahoo.com (mocha) Date: Fri, 21 Apr 2000 07:29:14 -0500 Subject: finding nearest businesses [was Re: mysql] In-Reply-To: <38FF7281.C53846C2@chesapeake.net> References: Message-ID: <4.3.1.2.20000421071016.00ad6640@pop.mail.yahoo.com> At 05:11 PM 4/20/00 -0400, imap at chesapeake.net wrote: >Hello, > >That interface between mapscript and database is called PERL DBI/DBD >and it works great, and... works with most databases on the market. >I use MySQL to plot markers/symbols on-the-fly to a user-defined layer, >that is point data that have been geocoded. what do you store in your mysql tables to enable you to do this? lat and long? i'm very new to GIS but i learn fast, so my newbee questions won't continue for long. when you say geocoded point data, what are you referring to? the reason i ask are: 1. given an address, i would like to locate X number of businesses closest to it by address matching (or zipcode?) then plot those on the map with markers 2. given 2 addresses, find the shortest path or route i can develop the shortest path algorithm. what i'm asking you gis expert is what relevant data should i populate a NON ORDMS (mysql) table to accomplish these goals. the data set i'm using is Tiger/Line 98 translated to shape format by the Grass GIS package. I would like to skip the shape file format and go straight to pulling the data from the mysql db. any suggestions are welcome. i will publish some articles regarding this project after i've accomplished it. p.s. i'm in Minneapolis MN. I've seen from some of your addresses and tel# that you are also in MN. if you want to have coffee and talk about GIS or what ever, that would be fun. >Regards, > >Chris > > >Chris Fuhrman wrote: > > > > On Wed, 19 Apr 2000, mocha wrote: > > > > > anyone working on interfacing mapserver to an sql db (mysql?). i > think this > > > would speed it up a little. > > > > > > > Can't say I've gotten mapserver to talk to a SQL server, but i am using > > PostgreSQL/Perl/MapScript to develop a Geocoding/Address-matching type > > application. PostgreSQL has the ability to store points, lines, polygons, > > paths, and such and can even do some operations on them. Not the fastest > > ORDBMS on the planet, but certainly one of the more featureful for it's > > price *g* > > > > What would be nice is some kind of abstract layer between mapscript and a > > data base which would make it easy for a programmer to extract layers and > > display them without having to use shapefiles. > > > > Really wish I had more time to write something like that... > > > > -- > > Chris Fuhrman | Twenty First Century Communications > > cfuhrman at tfcci.com | Software Engineer > > (W) 614-442-1215 x271 | > > (F) 614-442-5662 | PGP/GPG Public Key Available on Request > >-- > >Chris Stuber (mapsurfer) >Silicon Mapping Solutions, Inc. >410-257-3187 From berend.veldkamp at aris.nl Fri Apr 21 07:43:48 2000 From: berend.veldkamp at aris.nl (Berend Veldkamp) Date: Fri, 21 Apr 2000 16:43:48 +0200 Subject: Enable/disable a group of layers (workaround) References: <39000F3D.30768193@aris.nl> Message-ID: <39006924.50093C5A@aris.nl> OK, I found a workaround myself, using JavaScript: and in my HTML code: .... All Roads
.... Still, there must be a better way... Berend Berend Veldkamp wrote: > Here's a question concerning groups of layers. > What I'm trying to do, is to enable/disable a group of layers with one > checkbox. When I do this with a separate layers, there's no problem, > this works: > > Minor > Roads
> [road2_check]>Highway
> Other > Roads
> > When I group multiple layers in a group (in my .map file), it works as > well, but the checkbox is always unchecked after the map is drawn. > > [allroads_check]>Roads
> > Any ideas, anyone? > TIA, Berend > > -- -- From steve.lime at dnr.state.mn.us Fri Apr 21 13:54:51 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 21 Apr 2000 15:54:51 -0500 Subject: Enable/disable a group of layers (workaround) Message-ID: This not working is an oversight in the source. It'll be fixed in the next release... Groups are usefull when using URL base map file mods or when in mapscript. Otherwise a unique layer name is NOT neccessary. So you could name all that layers 'roads' and dump the group attribute for now and the checkbox should be sticky as planned. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Berend Veldkamp 04/21/00 09:43AM >>> OK, I found a workaround myself, using JavaScript: and in my HTML code: .... All Roads
.... Still, there must be a better way... Berend Berend Veldkamp wrote: > Here's a question concerning groups of layers. > What I'm trying to do, is to enable/disable a group of layers with one > checkbox. When I do this with a separate layers, there's no problem, > this works: > > Minor > Roads
> [road2_check]>Highway
> Other > Roads
> > When I group multiple layers in a group (in my .map file), it works as > well, but the checkbox is always unchecked after the map is drawn. > > [allroads_check]>Roads
> > Any ideas, anyone? > TIA, Berend > > -- -- From syurman at mindspring.com Sat Apr 22 15:27:34 2000 From: syurman at mindspring.com (sara yurman) Date: Sat, 22 Apr 2000 18:27:34 -0400 Subject: demo problem Message-ID: <39022756.F5C7399D@mindspring.com> I've just installed mapserv 3.3.010, and have been trying to make the demo work. I am having trouble getting mapserv to display. The .gif files generate, but don't come up. Unlike the online demo, they generate in the ms_demo directory rather than the /tmp directory. I was trying to just display a county outline for starters. At times, I've turned the logging function on, and it runs frustratingly clean. My Apache error log, however, shows the following: script not found or unable to stat: /home/httpd/cgi-bin/DEMO956440138790.gif script not found or unable to stat: /home/httpd/cgi-bin/DEMOsb956441272848.gif script not found or unable to stat: /home/httpd/cgi-bin/DEMOleg956441272848.gif script not found or unable to stat: /home/httpd/cgi-bin/DEMOref956441272848.gif The extents were derived using shpinfo.pl in the ../mapscript/perl/examples directory. I changed the units to DD (decimal degrees) to match the shape file. I've listed the following below: * the forms section of my demo_init.html * my demo.map file * my demo.html file I am running Mandrake Linux 6.1 on an intel box, with a 2.2.14 kernel, using Apache 1.3.9. and Perl 5.6.0. Many thanks for your help. Cheers, Sara ********************Forms section, demo_init.html
********************demo.map # # Start of map file # NAME DEMO STATUS ON SIZE 600 600 SHADESET /home/httpd/html/ms_demo/symbols/shade.sym MARKERSET /home/httpd/html/ms_demo/symbols/marker.sym LINESET symbols/line.sym EXTENT -81.456505 35.148420 -80.922882 35.419616 UNITS DD SHAPEPATH "/home/httpd/html/ms_demo/data" IMAGECOLOR 255 255 255 # # Start of web interface definition # WEB HEADER demo_header.html TEMPLATE demo.html MINSCALE 1000 MAXSCALE 1550000 END # # Start of reference map # #REFERENCE # IMAGE graphics/reference_base.gif # EXTENT 481093.000000 4969319.036682 502271.000000 4997508.3073184 # STATUS ON # COLOR -1 -1 -1 # OUTLINECOLOR 255 0 0 #END # # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END SIZE 350 5 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 UNITS MILES INTERVALS 5 STATUS ON END # # Start of layer definitions # LAYER NAME county TYPE POLYGON STATUS DEFAULT DATA county CLASS SYMBOL 0 OUTLINECOLOR 0 0 0 COLOR 248 248 95 END END END # Layer END # Map File ****************************************demo.html ******************************While I obviously don't have all this stuff, I thought ******************************what I did have would display. Oh well. MapServer Demo Interface

MapServer Demo Interface


Browse map
Query feature
Query multiple features


summarize

Select Layers to Display:

Zoom In Pan Zoom Out

Zoom Size

Legend




-- Sara W. Yurman Spatial Focus, Inc. email: syurman at spatialfocus.com voice: (404) 378-0989 fax: (209) 254-9531 From marin at here.is Sun Apr 23 01:43:46 2000 From: marin at here.is (Ma) Date: Sun, 23 Apr 2000 09:43:46 +0100 Subject: demo problem References: <39022756.F5C7399D@mindspring.com> Message-ID: <3902B7BF.6733E74A@here.is> I think you have to use IMAGEPATH and IMAGEURL in your web interface definition in the map file. For example: # # Start of web interface definition # WEB IMAGEPATH /home/www/tmp/ IMAGEURL "/tmp/" HEADER demo_header.html TEMPLATE demo.html MINSCALE 1000 MAXSCALE 1550000 END # end --- Ma sara yurman wrote: > I've just installed mapserv 3.3.010, and have been trying to make the > demo work. I am having trouble getting mapserv to display. The .gif > files generate, but don't come up. Unlike the online demo, they > generate in the ms_demo directory rather than the /tmp directory. I was > trying to just display a county outline for starters. At times, I've > turned the logging function on, and it runs frustratingly clean. My > Apache error log, however, shows the following: > > script not found or unable to stat: > /home/httpd/cgi-bin/DEMO956440138790.gif > script not found or unable to stat: > /home/httpd/cgi-bin/DEMOsb956441272848.gif > script not found or unable to stat: > /home/httpd/cgi-bin/DEMOleg956441272848.gif > script not found or unable to stat: > /home/httpd/cgi-bin/DEMOref956441272848.gif > > The extents were derived using shpinfo.pl in the > ../mapscript/perl/examples directory. I changed the units to DD > (decimal degrees) to match the shape file. > > I've listed the following below: > > * the forms section of my demo_init.html > * my demo.map file > * my demo.html file > > I am running Mandrake Linux 6.1 on an intel box, with a 2.2.14 kernel, > using Apache 1.3.9. and Perl 5.6.0. > > Many thanks for your help. > > Cheers, > > Sara > > ********************Forms section, demo_init.html > >

> > value="/home/httpd/html/ms_demo/demo.map"> > > > >
> >
> > ********************demo.map > # > # Start of map file > # > NAME DEMO > STATUS ON > SIZE 600 600 > SHADESET /home/httpd/html/ms_demo/symbols/shade.sym > MARKERSET /home/httpd/html/ms_demo/symbols/marker.sym > LINESET symbols/line.sym > EXTENT -81.456505 35.148420 -80.922882 35.419616 > UNITS DD > SHAPEPATH "/home/httpd/html/ms_demo/data" > IMAGECOLOR 255 255 255 > > # > # Start of web interface definition > # > WEB > HEADER demo_header.html > TEMPLATE demo.html > MINSCALE 1000 > MAXSCALE 1550000 > END > > # > # Start of reference map > # > #REFERENCE > # IMAGE graphics/reference_base.gif > # EXTENT 481093.000000 4969319.036682 502271.000000 4997508.3073184 > # STATUS ON > # COLOR -1 -1 -1 > # OUTLINECOLOR 255 0 0 > #END > # > # > # Start of legend > # > LEGEND > KEYSIZE 18 12 > LABEL > TYPE BITMAP > SIZE MEDIUM > COLOR 0 0 89 > END > STATUS ON > END > > # > # Start of scalebar > # > SCALEBAR > IMAGECOLOR 255 255 255 > LABEL > COLOR 0 0 0 > SIZE SMALL > END > SIZE 350 5 > COLOR 255 255 255 > BACKGROUNDCOLOR 0 0 0 > OUTLINECOLOR 0 0 0 > UNITS MILES > INTERVALS 5 > STATUS ON > END > > # > # Start of layer definitions > # > > LAYER > NAME county > TYPE POLYGON > STATUS DEFAULT > DATA county > CLASS > SYMBOL 0 > OUTLINECOLOR 0 0 0 > COLOR 248 248 95 > END > END > > END # Layer > > END # Map File > > ****************************************demo.html > ******************************While I obviously don't have all this > stuff, I thought > ******************************what I did have would display. Oh well. > > MapServer Demo Interface > > >

MapServer Demo Interface

>
>
> >
> > > > > >
>

> >

> >

> > Browse > map
> Query feature
> Query multiple > features > >


>
href="/cgi-bin/mapserv?map=[map]&mapext=[minx]+[miny]+[maxx]+[maxy]&mode=nquery&[get_layers > ]">summarize
>
> >

> Select Layers to Display:
> > >

> > Zoom In > Pan > Zoom Out >

> Zoom Size >

> > Legend


>
> >

>

> >

>
> > > > > >
> >


> > > > > -- > > Sara W. Yurman > Spatial Focus, Inc. > > email: syurman at spatialfocus.com > voice: (404) 378-0989 > fax: (209) 254-9531 From syurman at mindspring.com Sun Apr 23 04:41:41 2000 From: syurman at mindspring.com (sara yurman) Date: Sun, 23 Apr 2000 07:41:41 -0400 Subject: demo problem References: <39022756.F5C7399D@mindspring.com> <3902B7BF.6733E74A@here.is> Message-ID: <3902E175.13C0B56E@mindspring.com> Many thanks for your kind reply. Worked wonders. Best regards, Sara Ma wrote: > > I think you have to use IMAGEPATH and IMAGEURL in your web interface definition in the map > file. -- Sara W. Yurman Spatial Focus, Inc. email: syurman at spatialfocus.com voice: (404) 378-0989 fax: (209) 254-9531 From bfischer at usgs.gov Mon Apr 24 11:39:43 2000 From: bfischer at usgs.gov (bfischer at usgs.gov) Date: Mon, 24 Apr 2000 13:39:43 -0500 Subject: Using query template's and javascript Message-ID: Mapserver users, I am trying to use javascript, with a query header, footer, and template files. I am fairly new to javascript, but maybe other people have some insights on what is happening. What I am trying to do is sum polygons' attributes, from the polygons that get returned by a query. I am using a query header, footer, and template to return the results to the browser inside a HTML table. Here is the part of the HTML files with the JavaScript program. I am using the program within the body of my HTML file. The problem is nothing happens. The code is there when I view the page source in Netscape. One thing I did notice is mapserver adds this between the header and template files. Blank page Is this whats messing up the javascript? header file:
Thanks, Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 From vrraju Mon Apr 24 12:15:22 2000 From: vrraju (Vatsavai Ranga Raju) Date: Mon, 24 Apr 2000 14:15:22 -0500 (CDT) Subject: Using query template's and javascript (fwd) Message-ID: <200004241915.OAA29755@lists.gis.umn.edu> From bfischer at usgs.gov Mon Apr 24 11:39:43 2000 From: bfischer at usgs.gov (bfischer at usgs.gov) Date: Mon, 24 Apr 2000 13:39:43 -0500 Subject: Using query template's and javascript Message-ID: Mapserver users, I am trying to use javascript, with a query header, footer, and template files. I am fairly new to javascript, but maybe other people have some insights on what is happening. What I am trying to do is sum polygons' attributes, from the polygons that get returned by a query. I am using a query header, footer, and template to return the results to the browser inside a HTML table. Here is the part of the HTML files with the JavaScript program. I am using the program within the body of my HTML file. The problem is nothing happens. The code is there when I view the page source in Netscape. One thing I did notice is mapserver adds this between the header and template files. Blank page Is this whats messing up the javascript? header file:
Thanks, Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 From marin at here.is Wed Apr 26 03:30:27 2000 From: marin at here.is (Ma) Date: Wed, 26 Apr 2000 10:30:27 +0000 Subject: Transparent background for legend and scalebar? Message-ID: <3906C543.9B3307FE@here.is> Hi there, is it possible to set transparent background for the legend and scalebar? How? --- Ma From steve.lime at dnr.state.mn.us Wed Apr 26 05:47:02 2000 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 26 Apr 2000 07:47:02 -0500 Subject: Transparent background for legend and scalebar? Message-ID: Scalebar and legend objects both support TRANSPARENT and INTERLACE options themselves. Valid values are TRUE or FALSE. Steve <<< Ma 4/26 5:32a >>> Hi there, is it possible to set transparent background for the legend and scalebar? How? --- Ma From ddnebert at usgs.gov Wed Apr 26 10:12:05 2000 From: ddnebert at usgs.gov (Doug Nebert) Date: Wed, 26 Apr 2000 13:12:05 -0400 Subject: [Fwd: Web Map spec released] Message-ID: <39072365.6050100@usgs.gov> -------- Original Message -------- From: Jeff de La Beaujardiere Subject: Web Map spec released To: depg at digitalearth.gsfc.nasa.gov, tech at digitalearth.gsfc.nasa.gov CC: derm at digitalearth.gsfc.nasa.gov The OpenGIS Consortium publicly posted the Web Map Server Interface Specification on their website with very little fanfare. An official announcement from them is in the works, but in the meantime I just wanted to let you know that the spec is available as a 550kB PDF document at The Web Map Server Interface, by the way, is a core specification adopted by the Digital Earth Reference Model. WM version 1.0 standardizes three things: (1) how to advertise a collection of georeferenced data, including bounding boxes, coordinate systems, etc; (2) how to request a specific georeferenced map of a data layer; and, optionally, (3) how to query the server for information about a feature shown in a map layer. Phase 2 of the Web Mapping Testbed will address issues not yet covered by the spec; a formal RFQ/RFP will be issued soon by OGC. --Jeff DLB Dr Jeff de La Beaujardiere * +1 301-286-1569 NASA Goddard/CESDIS 930.5 * Digital Earth program delabeau at iniki.gsfc.nasa.gov * http://iniki.gsfc.nasa.gov/ ---------------------------------------------------------------------- Digital Earth Reference Model committee discussion list. * To broadcast a message to the group, email derm at digitalEarth.gsfc.nasa.gov with your contribution. * To (un)subscribe, email derm-request at digitalEarth.gsfc.nasa.gov with the phrase '(un)subscribe derm' as the message body. * To contact the list maintainer, email derm-owner at digitalEarth.gsfc.nasa.gov -- Douglas D. Nebert Clearinghouse Coordinator FGDC Secretariat Phone: +1 703 648 4151 Fax: +1 703 648-5755 Pager Messaging: http://clearinghouse3.fgdc.gov/dougmsg.html From bfischer at usgs.gov Wed Apr 26 10:32:44 2000 From: bfischer at usgs.gov (bfischer at usgs.gov) Date: Wed, 26 Apr 2000 12:32:44 -0500 Subject: Using query template's and javascript Message-ID: Thanks to the people who responed to my original question. I figured out what was causing the error in the javascipt. It turns out I had to put an escape character (/) in front of the parenthes used in the table tags. Ex.) document.write("[BASIN_NAME]\n"); Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133 "Stephen Lime" ate.mn.us> cc: Subject: Re: Using query template's and javascript 04/24/00 01:50 PM MapServer doesn't add ANY html code itself. You must have a reference to a blank template someplace, perhaps as a query template for a particular type of result? Steve >>> 04/24/00 01:39PM >>> Mapserver users, I am trying to use javascript, with a query header, footer, and template files. I am fairly new to javascript, but maybe other people have some insights on what is happening. What I am trying to do is sum polygons' attributes, from the polygons that get returned by a query. I am using a query header, footer, and template to return the results to the browser inside a HTML table. Here is the part of the HTML files with the JavaScript program. I am using the program within the body of my HTML file. The problem is nothing happens. The code is there when I view the page source in Netscape. One thing I did notice is mapserver adds this between the header and template files. Blank page Is this whats messing up the javascript? header file:
Thanks, Brian Fischer bfischer at usgs.gov USGS WRD 2280 Woodale Dr. Mounds View, MN (612) 783-3133