From frosch at cs.tu-berlin.de Thu Feb 1 03:37:31 2001 From: frosch at cs.tu-berlin.de (Thorsten Fischer) Date: Thu, 1 Feb 2001 12:37:31 +0100 (MET) Subject: PHP MapScript queries In-Reply-To: Message-ID: > I think you need a QUERY with a QUERYITEM in you map file. I would see > the accompanying information about map files and especially layers in the > mapserver documentation on their web site. How do I have to refine this? There is only one layer in my map, which comes from a single shapefile. How do I have to refine the following query: I want the user to click into the image. That point I use to create a box with the point in the center. Now I want to know which shapes are under this box. btw, This does not explain why the thing segfaults? Thorsten Fischer From vkurnosov at st.infotecstt.ru Thu Feb 1 05:51:22 2001 From: vkurnosov at st.infotecstt.ru (Vladislav Kurnosov) Date: Thu, 1 Feb 2001 16:51:22 +0300 Subject: http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl In-Reply-To: <200101311955.NAA18195@mallit.fr.umn.edu> References: <200101311955.NAA18195@mallit.fr.umn.edu> Message-ID: <4702.010201@softech.ru> Dear teb: Thank you. You see, the http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl URL is resided at: http://maps.dnr.state.mn.us/mapserver_demos/tests/ And, it still doesn't work :). (HTTP 404 error) Best regards, Vladislav Kurnosov Wednesday, January 31, 2001, 10:55:59 PM, you wrote: >>Date: Wed, 31 Jan 2001 15:55:48 +0300 >>From: Vladislav Kurnosov >>X-Priority: 3 (Normal) >>To: mapserver-users at lists.gis.umn.edu >>Subject: Re: java mapimage communication without page reloads >>Mime-Version: 1.0 >>Content-Transfer-Encoding: 7bit >> >>It seems as the following URL doesn't work: >> >>http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl >> >> >>Best regards, >>Vladislav Kurnosov >> >> > Date: Mon, 29 Jan 2001 15:05:40 -0600 > From: "Stephen Lime" > To: > Cc: > Subject: Re: Test Suite Down > Mime-Version: 1.0 > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > X-MIME-Autoconverted: from quoted-printable to 8bit by > lists.gis.umn.edu id PAA29375 > The test suite has been moved to: > http://maps.dnr.state.mn.us/mapserver_demos/tests/ > I believe everything but the MapScript quakes demo is > working under the nightly build version (3.4). > Steve From teb at mallit.fr.umn.edu Thu Feb 1 10:33:15 2001 From: teb at mallit.fr.umn.edu (teb at mallit.fr.umn.edu) Date: Thu, 1 Feb 2001 12:33:15 -0600 (CST) Subject: http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl In-Reply-To: <4702.010201@softech.ru> from "Vladislav Kurnosov" at Feb 01, 2001 04:51:22 PM Message-ID: <200102011833.MAA18649@mallit.fr.umn.edu> Correct. See that the message I included says evrything BUT the quake demo is working. Tom > > Dear teb: > > Thank you. > You see, the http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl URL > is resided at: > > http://maps.dnr.state.mn.us/mapserver_demos/tests/ > > And, it still doesn't work :). (HTTP 404 error) > > Best regards, > Vladislav Kurnosov > > > Wednesday, January 31, 2001, 10:55:59 PM, you wrote: > > >>Date: Wed, 31 Jan 2001 15:55:48 +0300 > >>From: Vladislav Kurnosov > >>X-Priority: 3 (Normal) > >>To: mapserver-users at lists.gis.umn.edu > >>Subject: Re: java mapimage communication without page reloads > >>Mime-Version: 1.0 > >>Content-Transfer-Encoding: 7bit > >> > >>It seems as the following URL doesn't work: > >> > >>http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl > >> > >> > >>Best regards, > >>Vladislav Kurnosov > >> > >> > > Date: Mon, 29 Jan 2001 15:05:40 -0600 > > From: "Stephen Lime" > > To: > > Cc: > > Subject: Re: Test Suite Down > > Mime-Version: 1.0 > > Content-Disposition: inline > > Content-Transfer-Encoding: 8bit > > X-MIME-Autoconverted: from quoted-printable to 8bit by > > lists.gis.umn.edu id PAA29375 > > > The test suite has been moved to: > > > http://maps.dnr.state.mn.us/mapserver_demos/tests/ > > > I believe everything but the MapScript quakes demo is > > working under the nightly build version (3.4). > > > Steve > > > From frosch at cs.tu-berlin.de Thu Feb 1 14:06:32 2001 From: frosch at cs.tu-berlin.de (Thorsten Fischer) Date: Thu, 1 Feb 2001 23:06:32 +0100 (MET) Subject: PHP MapScript queries In-Reply-To: Message-ID: Maybe I should clarify my question: I already have a rectObj, and I got a mapObj with a layer and a shapefile loaded. What do I have to build into the map file and/or my php mapscript to get hold on a queryResultObj that answers the question: what shapes are visible in that rectangle? I am quite clueless at that point right now, and I know there must be a - simple? - way to make it work. Thorsten From steve.lime at dnr.state.mn.us Thu Feb 1 14:16:23 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 01 Feb 2001 16:16:23 -0600 Subject: PHP MapScript queries Message-ID: Here's a perl sample that does a rectangle query on a layer. I assume the PHP/MapScript code would look *very* similar. Note that this will get easier in the upcoming release since result objects are gone and the results of a query are part of a layer. # # This function uses an arbitrary rectangle object to query against # a USGS map series (e.g. 24k, 100k, or 250k) to compile a list of # all maps that cover a certain area. Once the query is done the results # are stepped through and a field from the shapefile .dbf file is extracted # for each matching record. # # (taken from drgs.pl - http://maps.dnr.state.mn.us/tomo/) # sub maplist() { my($extent, $layername) = @_; my $map = new mapObj($searchmap) or &error('Unable to load $searchmap.'); my $layer = $map->getLayerByName($layername) or &error("Layer $layername not found in $searchmap."); $layer->{status} = $mapscript::MS_ON; my $results = $layer->queryUsingRect($map, $extent) or &error('Query failed.'); my $table = ''; my @list = ''; for(my $i=0; $i<$results->{numresults}; $i++) { my $data = $results->next(); if(!$table) { $table = new XBase $map->{shapepath}.'/'.$layer->{data}.'.dbf' or &error(XBase->errstr); } (my $deleted, $list[$i]) = $table->get_record($data->{shape}, 'TILE_NAME'); } $table->close(); $results->free(); undef $map; return(join(', ', @list)); } Hope this helps. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Thorsten Fischer 02/01/01 04:06PM >>> Maybe I should clarify my question: I already have a rectObj, and I got a mapObj with a layer and a shapefile loaded. What do I have to build into the map file and/or my php mapscript to get hold on a queryResultObj that answers the question: what shapes are visible in that rectangle? I am quite clueless at that point right now, and I know there must be a - simple? - way to make it work. Thorsten From s371538 at student.uq.edu.au Thu Feb 1 14:31:28 2001 From: s371538 at student.uq.edu.au (Robert Ofarrell) Date: Fri, 2 Feb 2001 08:31:28 +1000 (GMT+1000) Subject: PHP MapScript queries In-Reply-To: Message-ID: To get your hands on the queryResultObj object you need the following: In the single layer you need a query object. Here is an example from one of my map files: # Layer: "pla06037" LAYER NAME "pla06037" DESCRIPTION "Places (1995)" TYPE POLYGON STATUS ON DATA "pla06037" CLASS EXPRESSION (1 eq 1) NAME "pla06037" COLOR 150 120 00 OUTLINECOLOR 0 0 0 END #Class QUERYITEM 'NAME' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer Then in the code that you have, you need to do either a queryUsingRect, queryUsingPoint, queryUsingFeatures or queryUsingShape. Ex. $mapQuery = $map->queryUsingPoint($point, MS_MULTIPLE, -1); The $mapQuery part of the previous expression is the queryResultObj. From there you can pull your results. For your purposes you would need to use a queryUsingRect(); Also take a look at the gmap example that comes with PHP-MapScript as it gives an example of doing the query with a point on the shapefiles. On Thu, 1 Feb 2001, Thorsten Fischer wrote: > > Maybe I should clarify my question: I already have a > rectObj, and I got a mapObj with a layer and a shapefile loaded. > > What do I have to build into the map file and/or my php mapscript to > get hold on a queryResultObj that answers the question: what shapes are > visible in that rectangle? > > I am quite clueless at that point right now, and I know there must > be a - simple? - way to make it work. > > > Thorsten > > Robert O'Farrell University of Queensland, Brisbane, Australia From andreag at crs4.it Fri Feb 2 00:48:39 2001 From: andreag at crs4.it (A. Giacomelli) Date: Fri, 02 Feb 2001 09:48:39 +0100 Subject: problems making PHP mapscript Message-ID: <3A7A7467.618F22B6@crs4.it> Hi, I am getting problems building the php mapscript module... This is an excerpt from my make output: -- cd mapscript/php3; make; cd ../.. make[1]: Entering directory `/opt/gislab/src/mapserv_new/mapserver/mapscript/php3' ld -assert nodefinitions -o php_mapscript.so php_mapscript_util.o php_mapscript.o mapscript_i.o -L/opt/gislab/src/mapserv_new/maps erver -lmap -L/opt/gislab/src/mapserv_new/mapserver/gd-1.2 -lgd -lm ld: warning: cannot find entry symbol _start; defaulting to 00011494 php_mapscript_util.o: In function `_phpms_report_mapserver_error': php_mapscript_util.o(.text+0x28): undefined reference to `php3_error' php_mapscript_util.o: In function `_phpms_fetch_handle2': php_mapscript_util.o(.text+0x58): undefined reference to `php3_error' php_mapscript_util.o(.text+0x74): undefined reference to `_php3_hash_find' php_mapscript_util.o(.text+0x90): undefined reference to `php3_error' ......... ......... ......... etc. I have noticed that the references are all to the functions contained in my libphp3.so. I have tried forcing the linker to read this file (adding -L and -l...), but this in turn returns other undefined references to functions with an ap_ prefix (presumably related to Apache) ...one thing I had to change to the Makefile is that, although I am using gcc, the configure script generates for the PHP mapscript Makefile a CC=cc (which I changed to gcc). I don't know whether this may be related to the above problem... Any suggestions ? Regards, p.s. I am in a Solaris environment; Apache and PHP are working. ========================================= Andrea Giacomelli Centre for Advanced Studies, Research and Development in Sardinia Environment Group http://www.crs4.it/~andreag ========================================= From jameson at topozone.com Fri Feb 2 07:32:56 2001 From: jameson at topozone.com (Jameson Tweedie) Date: Fri, 2 Feb 2001 10:32:56 -0500 Subject: two mapscript questions Message-ID: <13858AA1A74F30419F319ACB66A9D122022784@mercator.topozone.com> hi, i have two quick (and presumably incredibly simple, pardon my stupidity) questions: 1. can you remove a layer from a mapObj using mapscript? 2. can you change a layers position within a mapObj using mapscript? i've checked through all the mapscript documentation i can get my hands on and haven't seen an solution. it would seem logical that they both exist and to me the most logical option for the changing layers would be to simply be able to change a layers index value, but that seems to be read only. how do i go about doing these? thanks jameson. From steve.lime at dnr.state.mn.us Fri Feb 2 08:18:18 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 02 Feb 2001 10:18:18 -0600 Subject: two mapscript questions Message-ID: Not stupid questions, and not possible directly with the current mapscript implementation. Deletion isn't that big of a deal since you can always turn a layer off. Changing order is harder and is complicated by the underlying storage in C. There are work arounds. In MapScript you could manage order in the scripting language using a list of layer names and then use that to direct drawing order. For example in perl: @layers = ('roads', 'landcover', 'cities'); foreach $layername (@layers); $layer = $map->getLayerByName($layername); $layer->draw(...); } draws layers in an order defined by you and not the order in the mapfile. In what context (i.e. drawing, writing mapfiles) are you needing these functions? I see where improvements could be made with respect to writing. There is only a single method for writing and I see a need to expose object specific write() methods, at least for layers. I have experimented with an "ORDER ..." parameter that allowed you to change processing order by shuffling that array. It proved cumbersome to use though in practice so I removed it. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Jameson Tweedie" 02/02/01 09:32AM >>> hi, i have two quick (and presumably incredibly simple, pardon my stupidity) questions: 1. can you remove a layer from a mapObj using mapscript? 2. can you change a layers position within a mapObj using mapscript? i've checked through all the mapscript documentation i can get my hands on and haven't seen an solution. it would seem logical that they both exist and to me the most logical option for the changing layers would be to simply be able to change a layers index value, but that seems to be read only. how do i go about doing these? thanks jameson. From steve.lime at dnr.state.mn.us Fri Feb 2 08:29:48 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 02 Feb 2001 10:29:48 -0600 Subject: query result map Message-ID: Remember that all layers are turned OFF by default as soon as the mapserv cgi fires. Layers with status DEFAULT are untouched. You must explicitly turn layers ON using either the LAYER/LAYERS or QLAYER CGI parameters. These can be hidden vars or controlled via form elements. If no layers have been turned on then there is nothing to query and there can be no query map, rather an error message. QLAYER is used to isolate a query to a single layer. In short, the behavior you notice is intentional. What were you expecting? Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Yeewen Sat" 01/25/01 03:18PM >>> Hi, I've implemented something similar to Case #3 in http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html but the user query by dragging a box with the mouse over a map to query objects. I display a query result and result map in a popup window. Anyway, I noticed this behaviour: If I set the STATUS of the layer I'm querying on to be OFF, the result map doesn't show up. If STATUS is set to DEFAULT, the result map shows up. My problem is that I have to set the LAYER STATUS to OFF in order to be able to turn layer on and off. Does anyone has any idea on how to resolve this problem? ie to get both (query result map and layer on/off) to work? Here's my mapfile, ywseis.map, showing only the layer that I query on. ... # # Start of layer definitions # LAYER NAME ss1l TYPE LINE STATUS OFF DATA ss1l CLASSITEM 'ID' MAXSCALE 3000000 CLASS EXPRESSION /.*/ COLOR 230 0 0 SYMBOL 0 END CLASS EXPRESSION /xxx/ COLOR 0 0 255 END QUERY TEMPLATE "../www/lineinfo.html" END TOLERANCE 10 END ... lineinfo.html Layer: Seismic Lines

IDSIZESTYLECOLORFILL PATTERNANGLETEXTATTR
[ID][SIZE][STYLE][COLOR][FILL][PATTERN][ANGLE][TEXT][ATTR]

-- Yeewen From jameson at topozone.com Fri Feb 2 09:28:20 2001 From: jameson at topozone.com (Jameson Tweedie) Date: Fri, 2 Feb 2001 12:28:20 -0500 Subject: two mapscript questions Message-ID: <13858AA1A74F30419F319ACB66A9D1220255B2@mercator.topozone.com> Thanks Steve, I am dealing entirely with simply user functionality on the web i.e. interactivity and drawing to the browser. I was wondering about deletion, because it seemed to me that drawing performance was effected by simply having a layer in a map, even if it was turned off (recently i was using MapXtreme and that was a serious problem there when there were raster images in the geoset, even if those layers were turned off) but i just tested this and it's not a problem in MapServer so that's good! Reordering the layers was again just for user functionality, and having the ability for the user to reorder layers on the fly can be quite handy especially when new layers are being added by the user and the existing map order may no longer make sense, although using a list to draw each layer in order would be entirely simple, i just hadn't thought of it yet! Thanks, although i do think having an order function could be quite useful. Jameson. -----Original Message----- From: Stephen Lime [mailto:steve.lime at dnr.state.mn.us] Sent: Friday, February 02, 2001 11:18 AM To: Mapserver User Listserve (E-mail); Jameson Tweedie Subject: Re: two mapscript questions Not stupid questions, and not possible directly with the current mapscript implementation. Deletion isn't that big of a deal since you can always turn a layer off. Changing order is harder and is complicated by the underlying storage in C. There are work arounds. In MapScript you could manage order in the scripting language using a list of layer names and then use that to direct drawing order. For example in perl: @layers = ('roads', 'landcover', 'cities'); foreach $layername (@layers); $layer = $map->getLayerByName($layername); $layer->draw(...); } draws layers in an order defined by you and not the order in the mapfile. In what context (i.e. drawing, writing mapfiles) are you needing these functions? I see where improvements could be made with respect to writing. There is only a single method for writing and I see a need to expose object specific write() methods, at least for layers. I have experimented with an "ORDER ..." parameter that allowed you to change processing order by shuffling that array. It proved cumbersome to use though in practice so I removed it. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Jameson Tweedie" 02/02/01 09:32AM >>> hi, i have two quick (and presumably incredibly simple, pardon my stupidity) questions: 1. can you remove a layer from a mapObj using mapscript? 2. can you change a layers position within a mapObj using mapscript? i've checked through all the mapscript documentation i can get my hands on and haven't seen an solution. it would seem logical that they both exist and to me the most logical option for the changing layers would be to simply be able to change a layers index value, but that seems to be read only. how do i go about doing these? thanks jameson. From candrsn at fultonecd.org Fri Feb 2 10:13:26 2001 From: candrsn at fultonecd.org (Carl Anderson) Date: Fri, 02 Feb 2001 13:13:26 -0500 Subject: lib GD problem Message-ID: <3A7AF8C6.94ED1EFD@fultonecd.org> I needed to patch configure.in to compile mapserver against a shared version of GD-1.8.3 on a Solaris2.7-gcc 73a74 > test -f $GD_DIR/.libs/libgd.a && GD_LIBDIR="$GD_DIR/.libs" then autoconf then ./configure some users may need test -f $GD_DIR/_libs/libgd.a && GD_LIBDIR="$GD_DIR/_libs" I also compiled freetype support into my GD as well as XPM support so in the end I had to set CFLAGS to "-ltiff -lz -ljpeg -lpng -lttf -lXpm -lX11" to get configure to work without changing more of configure.in -- ----------------------------------------------- Carl Anderson Fulton County, Georgia Environment & Community Development GIS 404 730-8026 candrsn at mindspring.com From Alexspringer at aol.com Sat Feb 3 05:14:27 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Sat, 3 Feb 2001 08:14:27 EST Subject: Angle label Message-ID: <15.f58702f.27ad5e33@aol.com> 1) I am unable to get the ANGLE AUTO to function with the CGI version for a LINE layer. Could someone help me with the exact syntax (labeling works fine otherwise). 2) How can I get two fields in the same record (address and streetname) to display together as a label on a line segment? LABELITEM with one field works fine; I have tried multiple different setups and cannot get two labels to display. Thank you. From steve.lime at dnr.state.mn.us Sat Feb 3 10:28:29 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Sat, 03 Feb 2001 12:28:29 -0600 Subject: Angle label Message-ID: 1) The syntax is simply 'ANGLE AUTO', but note that it only works with truetype fonts. 2) Use class text expressions. That is, don't use label item. Use the TEXT parameter with a value like: TEXT ([ADDRESS] [STREET]) where ADDRESS and STREET are shapefile variables. Steve >>> 02/03/01 07:15 AM >>> 1) I am unable to get the ANGLE AUTO to function with the CGI version for a LINE layer. Could someone help me with the exact syntax (labeling works fine otherwise). 2) How can I get two fields in the same record (address and streetname) to display together as a label on a line segment? LABELITEM with one field works fine; I have tried multiple different setups and cannot get two labels to display. Thank you. From Alexspringer at aol.com Sat Feb 3 15:06:46 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Sat, 3 Feb 2001 18:06:46 EST Subject: point file filter Message-ID: Using the mapserver cgi, I have a point file in use. I would like to add a select [drop down box] that has values for a filter to be applied to one field in the point file dbf so that only those records with the field value equal to that filter display. Does anyone have an example of the .map and .htm that can demonstrate how this is implemented? Thank you. From s371538 at student.uq.edu.au Sun Feb 4 17:36:44 2001 From: s371538 at student.uq.edu.au (Robert Ofarrell) Date: Mon, 5 Feb 2001 11:36:44 +1000 (GMT+1000) Subject: scale and query problems In-Reply-To: <3A6E6C05.16FD84FB@dmsolutions.ca> Message-ID: Daniel, A few weeks ago I asked this question, but really didn't get around to looking into the problem furthur until now. However I am still have the same problem as before. I am sure that my layers are setup properly and have included the mapfile that I am using below this message. Your suggestions would be greatly appreciated. Robert > > A couple of problems that I have run into when using MapScript with PHP3. > > 1. When doing a query on a map with multiple layers, the result of a > msqueryUsingPoint() only returns the shapes in the first two layers and > seems to ignore the other layers on the map. I have a nice tolerance so > that all the layers have some shape where I click but only the first two > layers respond. > Robert, This probably has more to do with your .map layers setup than with MapScript itself. Are all the layers you want to query with STATUS=ON, and do they all contain a QUERY object? We've used queries with multiple layers before and I don't remember noticing a problem... but a bug is always possible. If you're sure that your layers are setup properly, then please send me your .map file and I'll try to reproduce/fix the problem. // Map File NAME NSW SIZE 300 300 SYMBOLSET symbols/symbols.sym EXTENT 150.000000 -34.000000 152.000000 -32.000000 UNITS KILOMETERS SHAPEPATH data/ IMAGECOLOR 238 238 255 # # Web Object # WEB MINSCALE 100 MAXSCALE 100000 IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END #Web # # Legend Object # LEGEND STATUS OFF IMAGECOLOR 238 238 255 KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END #Label END #Legend # # ScaleBar Object # SCALEBAR STATUS ON IMAGECOLOR 238 238 255 SIZE 150 5 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 INTERVALS 5 UNITS KILOMETERS LABEL COLOR 0 0 0 SIZE SMALL END END #Scalebar # # Reference Map # REFERENCE STATUS ON COLOR -1 -1 -1 EXTENT 150.000000 -34.000000 152.000000 -32.000000 IMAGE "graphics/refmap.gif" OUTLINECOLOR 0 0 0 SIZE 100 100 END #Reference # # QueryMap Object # QUERYMAP COLOR 192 192 192 STYLE HILITE END #QueryMap # # Layer Objects # # Layer: "nsw1_pal2_poly" LAYER NAME "nsw1_pal2_poly" DESCRIPTION "nsw1_pal2_poly" TYPE POLYGON STATUS ON DATA "nsw1_pal2_poly" CLASSITEM 'NSW1P_ID' CLASSITEM 'AREA' CLASSITEM 'PERIMETER' CLASSITEM 'NSW1_PAL2_' CLASSITEM 'IDENT' CLASSITEM 'NAME' CLASSITEM 'RES_TYPE' CLASSITEM 'RES_AREA' CLASSITEM 'STATE' CLASSITEM 'AUTHORITY' CLASSITEM 'RES_NUMBER' CLASSITEM 'PROCLAIMED' CLASSITEM 'LATEST_GAZ' CLASSITEM 'SOURCE' CLASSITEM 'REVISED' CLASSITEM 'FEATURE' CLASS EXPRESSION (1 eq 0) NAME "nsw1_pal2_poly" COLOR 192 192 192 OUTLINECOLOR 0 0 0 LABEL FORCE true PARTIALS true POSITION auto SIZE small COLOR 255 255 255 OUTLINECOLOR 0 0 0 END #Label END #Class CLASS EXPRESSION (1 eq 1) NAME "nsw1_pal2_poly" COLOR 120 170 69 OUTLINECOLOR 0 0 0 END #Class QUERYITEM 'NSW1P_ID' QUERYITEM 'AREA' QUERYITEM 'PERIMETER' QUERYITEM 'NSW1_PAL2_' QUERYITEM 'IDENT' QUERYITEM 'NAME' QUERYITEM 'RES_TYPE' QUERYITEM 'RES_AREA' QUERYITEM 'STATE' QUERYITEM 'AUTHORITY' QUERYITEM 'RES_NUMBER' QUERYITEM 'PROCLAIMED' QUERYITEM 'LATEST_GAZ' QUERYITEM 'SOURCE' QUERYITEM 'REVISED' QUERYITEM 'FEATURE' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer # Layer: "nsw1_pal2_line" LAYER NAME "nsw1_pal2_line" DESCRIPTION "nsw1_pal2_line" TYPE LINE STATUS ON DATA "nsw1_pal2_line" CLASSITEM 'NSW_ID' CLASSITEM 'FNODE_' CLASSITEM 'TNODE_' CLASSITEM 'LPOLY_' CLASSITEM 'RPOLY_' CLASSITEM 'LENGTH' CLASSITEM 'NSW1_PAL2_' CLASSITEM 'FEATURE' CLASSITEM 'STATE' CLASS EXPRESSION (1 eq 0) NAME "nsw1_pal2_line" COLOR 192 192 192 OUTLINECOLOR 0 0 0 LABEL FORCE true PARTIALS true POSITION auto SIZE small COLOR 255 255 255 OUTLINECOLOR 0 0 0 END #Label END #Class CLASS EXPRESSION (1 eq 1) NAME "nsw1_pal2_line" COLOR 70 120 69 OUTLINECOLOR 0 0 0 END #Class QUERYITEM 'NSW_ID' QUERYITEM 'FNODE_' QUERYITEM 'TNODE_' QUERYITEM 'LPOLY_' QUERYITEM 'RPOLY_' QUERYITEM 'LENGTH' QUERYITEM 'NSW1_PAL2_' QUERYITEM 'FEATURE' QUERYITEM 'STATE' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer # Layer: "nsw2_pal2_poly" LAYER NAME "nsw2_pal2_poly" DESCRIPTION "nsw2_pal2_poly" TYPE POLYGON STATUS ON DATA "nsw2_pal2_poly" CLASSITEM 'NSW_ID' CLASSITEM 'AREA' CLASSITEM 'PERIMETER' CLASSITEM 'NSW2_PAL2_' CLASSITEM 'IDENT' CLASSITEM 'NAME' CLASSITEM 'RES_TYPE' CLASSITEM 'RES_AREA' CLASSITEM 'STATE' CLASSITEM 'AUTHORITY' CLASSITEM 'RES_NUMBER' CLASSITEM 'PROCLAIMED' CLASSITEM 'LATEST_GAZ' CLASSITEM 'SOURCE' CLASSITEM 'REVISED' CLASSITEM 'FEATURE' CLASS EXPRESSION (1 eq 0) NAME "nsw2_pal2_poly" COLOR 192 192 192 OUTLINECOLOR 0 0 0 LABEL FORCE true PARTIALS true POSITION auto SIZE small COLOR 255 255 255 OUTLINECOLOR 0 0 0 END #Label END #Class CLASS EXPRESSION (1 eq 1) NAME "nsw2_pal2_poly" COLOR 200 0 0 OUTLINECOLOR 0 0 0 END #Class QUERYITEM 'NSW_ID' QUERYITEM 'AREA' QUERYITEM 'PERIMETER' QUERYITEM 'NSW2_PAL2_' QUERYITEM 'IDENT' QUERYITEM 'NAME' QUERYITEM 'RES_TYPE' QUERYITEM 'RES_AREA' QUERYITEM 'STATE' QUERYITEM 'AUTHORITY' QUERYITEM 'RES_NUMBER' QUERYITEM 'PROCLAIMED' QUERYITEM 'LATEST_GAZ' QUERYITEM 'SOURCE' QUERYITEM 'REVISED' QUERYITEM 'FEATURE' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer # Layer: "nsw2_pal2_line" LAYER NAME "nsw2_pal2_line" DESCRIPTION "nsw2_pal2_line" TYPE LINE STATUS ON DATA "nsw2_pal2_line" CLASSITEM 'NSW_ID' CLASSITEM 'FNODE_' CLASSITEM 'TNODE_' CLASSITEM 'LPOLY_' CLASSITEM 'RPOLY_' CLASSITEM 'LENGTH' CLASSITEM 'NSW2_PAL2_' CLASSITEM 'FEATURE' CLASSITEM 'STATE' CLASS EXPRESSION (1 eq 0) NAME "nsw2_pal2_line" COLOR 192 192 192 OUTLINECOLOR 0 0 0 LABEL FORCE true PARTIALS true POSITION auto SIZE small COLOR 255 255 255 OUTLINECOLOR 0 0 0 END #Label END #Class CLASS EXPRESSION (1 eq 1) NAME "nsw2_pal2_line" COLOR 0 0 0 OUTLINECOLOR 0 0 0 END #Class QUERYITEM 'NSW_ID' QUERYITEM 'FNODE_' QUERYITEM 'TNODE_' QUERYITEM 'LPOLY_' QUERYITEM 'RPOLY_' QUERYITEM 'LENGTH' QUERYITEM 'NSW2_PAL2_' QUERYITEM 'FEATURE' QUERYITEM 'STATE' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer # Layer: "nsw_pnt2_point" LAYER NAME "nsw_pnt2_point" DESCRIPTION "nsw_pnt2_point" TYPE POINT STATUS ON DATA "nsw_pnt2_point" CLASSITEM 'NSW_ID' CLASSITEM 'AREA' CLASSITEM 'PERIMETER' CLASSITEM 'NSW_PNT2_' CLASSITEM 'NSW_PNT2_I' CLASSITEM 'IDENT' CLASSITEM 'NAME' CLASSITEM 'RES_TYPE' CLASSITEM 'RES_AREA' CLASSITEM 'STATE' CLASSITEM 'AUTHORITY' CLASSITEM 'RES_NUMBER' CLASSITEM 'PROCLAIMED' CLASSITEM 'LATEST_GAZ' CLASSITEM 'SOURCE' CLASSITEM 'REVISED' CLASSITEM 'FEATURE' CLASS EXPRESSION (1 eq 0) NAME "nsw_pnt2_point" COLOR 192 192 192 OUTLINECOLOR 0 0 0 LABEL FORCE true PARTIALS true POSITION auto SIZE small COLOR 255 255 255 OUTLINECOLOR 0 0 0 END #Label END #Class CLASS EXPRESSION (1 eq 1) SYMBOL 4 SIZE 5 COLOR 0 0 255 END #Class QUERYITEM 'NSW_ID' QUERYITEM 'AREA' QUERYITEM 'PERIMETER' QUERYITEM 'NSW_PNT2_' QUERYITEM 'NSW_PNT2_I' QUERYITEM 'IDENT' QUERYITEM 'NAME' QUERYITEM 'RES_TYPE' QUERYITEM 'RES_AREA' QUERYITEM 'STATE' QUERYITEM 'AUTHORITY' QUERYITEM 'RES_NUMBER' QUERYITEM 'PROCLAIMED' QUERYITEM 'LATEST_GAZ' QUERYITEM 'SOURCE' QUERYITEM 'REVISED' QUERYITEM 'FEATURE' TOLERANCE 0 QUERY EXPRESSION (1 eq 1) TEMPLATE "" END #Query END #Layer END #MapFile From steve.lime at dnr.state.mn.us Mon Feb 5 07:28:22 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 05 Feb 2001 09:28:22 -0600 Subject: point file filter Message-ID: You can use dynamic expressions to do that. Let's say you have a mapfile with a point layer called "mypoints" with a single class. You can set up a select list to set the expression for that class: The expressions can be any valid MapServer (i.e. string, logical or regular) expression. Syntax of the expression is identical to that entered in a map file. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> 02/03/01 05:06PM >>> Using the mapserver cgi, I have a point file in use. I would like to add a select [drop down box] that has values for a filter to be applied to one field in the point file dbf so that only those records with the field value equal to that filter display. Does anyone have an example of the .map and .htm that can demonstrate how this is implemented? Thank you. From steve.lime at dnr.state.mn.us Mon Feb 5 08:17:16 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 05 Feb 2001 10:17:16 -0600 Subject: release information Message-ID: Greetings: In an effort to totally confuse people I'd like to announce that 3.4 is available for download. DON'T GET TOO EXCITED! This is simply an official release of what has been refered to as the "nightly build". It's being made available because the msWorkBench utilities are based on it. I will be uploading my development version to the CVS tonight so that others working on MapServer can start looking at the new code. This version is broken at the moment and will be undergoing a great deal of change in the next couple of weeks. ;-) Bottom line is don't bother with the nightly's unless you have some special need to do so. The next release will be labeled 3.5. So to recap: - 3.3.011 is the stable, documented release on the website - 3.4 is also *very* stable but documented only via the user list - 3.5 is in development and should be released yet this month Please bear with us, I believe 3.5 will be worth the wait especially if you are interested in non-single shapefile layers. Later... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From andreag at geoplan.ufl.edu Mon Feb 5 08:33:15 2001 From: andreag at geoplan.ufl.edu (Andrea Goethals) Date: Mon, 05 Feb 2001 11:33:15 -0500 Subject: example of new symbolset file Message-ID: <3A7ED5CB.5BB629AB@geoplan.ufl.edu> Yes another symbolset email... I too am having trouble trying to figure out what the new symbolset files are supposed to look like. Just like another mapserver user sent to the list, I too followed the directions in taking out the words SHADESET, etc and the end END words but still can't get it to work. It doesn't like the STYLED word in the line symbol definitions so I tried changing them to vector but get the error: loadSymbol(): Symbol definition error. Symbol of type VECTOR or ELLIPSE has no point data. If someone has a symbolset file that works with a fairly recent nightly build, could you please send it to the list? Thanks, Andrea -- @-------------------------@ | Andrea Goethals | | andreag at geoplan.ufl.edu | | GeoPlan Center | | University of Florida | @-------------------------@ From s371538 at student.uq.edu.au Mon Feb 5 14:18:22 2001 From: s371538 at student.uq.edu.au (Robert Ofarrell) Date: Tue, 6 Feb 2001 08:18:22 +1000 (GMT+1000) Subject: example of new symbolset file In-Reply-To: <3A7ED5CB.5BB629AB@geoplan.ufl.edu> Message-ID: Andrea, I found the best thing to do was to use the symbols.sym file that comes with the gmap example, provided by DMSolutions. Takes the hassle of trying to concatenate the three files together yourself. Robert On Mon, 5 Feb 2001, Andrea Goethals wrote: > Yes another symbolset email... > > I too am having trouble trying to figure out what the new > symbolset files are supposed to look like. Just like another > mapserver user sent to the list, I too followed the directions > in taking out the words SHADESET, etc and the end END words > but still can't get it to work. It doesn't like the STYLED > word in the line symbol definitions so I tried changing > them to vector but get the error: > > loadSymbol(): Symbol definition error. Symbol of type VECTOR or ELLIPSE > has no point data. > > If someone has a symbolset file that works with a fairly recent > nightly build, could you please send it to the list? > > Thanks, > Andrea > > -- > @-------------------------@ > | Andrea Goethals | > | andreag at geoplan.ufl.edu | > | GeoPlan Center | > | University of Florida | > @-------------------------@ > Robert O'Farrell University of Queensland, Brisbane, Australia From Egon.Kuster at dsto.defence.gov.au Mon Feb 5 15:45:23 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Tue, 6 Feb 2001 10:15:23 +1030 Subject: win32 build with SDE support Message-ID: Does anyone have a binary build of mapserver with ESRI SDE support compiled into the build? If you do could you please email it to me. Egon Kuster Defence Science & Technology Organisation Information Technology Division Phone: +61 8 8259 5175 Fax:+61 8 8259 5619 Email: egon.kuster at dsto.defence.gov.au From kames at keyspanenergy.com Tue Feb 6 06:26:08 2001 From: kames at keyspanenergy.com (Kieran J. Ames) Date: Tue, 06 Feb 2001 09:26:08 -0500 Subject: Mapfile REGEXPs (was Re: point file filter) References: Message-ID: <3A80097F.DDE5C24C@keyspanenergy.com> Maybe I could add my own question here... I'd like to try using REGEXPs in a mapfile to do the same thing. I have a list of hospital facilities where I'm enumerating the total number of beds. I want to render the data based on the number of beds. I tried evaluating the number of TOTAL_BEDS, but can only get it to work as follows. What I'd like to do is say something like: EXPRESSION/> 400/ as opposed to EXPRESSION /[4-9][1-9][0-9]/ Thanks, Kieran snippet follows... CLASSITEM TOTAL_BEDS CLASS NAME 'Greater than 401 Beds' SIZE 5 EXPRESSION /[4-9][1-9][0-9]/ COLOR 0 0 0 SYMBOL 1 END CLASS NAME '250-400 Beds' SIZE 4 EXPRESSION /^[2-3][5-9][0-9]$|^3[0-9][0-9]$/ COLOR 0 0 255 SYMBOL 1 END # CLASS Stephen Lime wrote: > You can use dynamic expressions to do that. Let's say you have a mapfile with > a point layer called "mypoints" with a single class. You can set up a select list > to set the expression for that class: > > > > The expressions can be any valid MapServer (i.e. string, logical or regular) > expression. Syntax of the expression is identical to that entered in a map > file. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > > >>> 02/03/01 05:06PM >>> > Using the mapserver cgi, I have a point file in use. I would like to add a > select [drop down box] that has values for a filter to be applied to one > field in the point file dbf so that only those records with the field value > equal to that filter display. Does anyone have an example of the .map and > .htm that can demonstrate how this is implemented? > > Thank you. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From morissette at dmsolutions.ca Tue Feb 6 06:46:48 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 06 Feb 2001 09:46:48 -0500 Subject: scale and query problems References: Message-ID: <3A800E58.B29D7F2F@dmsolutions.ca> Robert Ofarrell wrote: > > Daniel, > A few weeks ago I asked this question, but really didn't get around to > looking into the problem furthur until now. However I am still have the > same problem as before. I am sure that my layers are setup properly and > have included the mapfile that I am using below this message. > Robert, Things seem OK in the .map file... I have no idea what's wrong. Perhaps the problem is in the way you call queryUsing...() or the way you interpret the queryResultObj in your script? If the whole project (incl. scripts and data) is not too big, then perhaps you could zip it up and make it available for download and we could try it ourselves and try to figure what the problem is. BTW, a small note unrelated to the problem you're having: you can have only one CLASSITEM and QUERYITEM per layer... when you have multiple ones like you did, then I would think that they just overwrite each other and only the last one remains. Best Regards, -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From steve.lime at dnr.state.mn.us Tue Feb 6 08:13:51 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 06 Feb 2001 10:13:51 -0600 Subject: Mapfile REGEXPs (was Re: point file filter) Message-ID: Use logical expressions here, not regex. The expression for 'Greater than 401 Beds' would be EXPRESSION ([TOTAL_BEDS] > 400) and so on. It's possible to do this with regex but it's easier the logicals. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Kieran J. Ames" 02/06/01 08:26AM >>> Maybe I could add my own question here... I'd like to try using REGEXPs in a mapfile to do the same thing. I have a list of hospital facilities where I'm enumerating the total number of beds. I want to render the data based on the number of beds. I tried evaluating the number of TOTAL_BEDS, but can only get it to work as follows. What I'd like to do is say something like: EXPRESSION/> 400/ as opposed to EXPRESSION /[4-9][1-9][0-9]/ Thanks, Kieran snippet follows... CLASSITEM TOTAL_BEDS CLASS NAME 'Greater than 401 Beds' SIZE 5 EXPRESSION /[4-9][1-9][0-9]/ COLOR 0 0 0 SYMBOL 1 END CLASS NAME '250-400 Beds' SIZE 4 EXPRESSION /^[2-3][5-9][0-9]$|^3[0-9][0-9]$/ COLOR 0 0 255 SYMBOL 1 END # CLASS Stephen Lime wrote: > You can use dynamic expressions to do that. Let's say you have a mapfile with > a point layer called "mypoints" with a single class. You can set up a select list > to set the expression for that class: > > > > The expressions can be any valid MapServer (i.e. string, logical or regular) > expression. Syntax of the expression is identical to that entered in a map > file. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > > >>> 02/03/01 05:06PM >>> > Using the mapserver cgi, I have a point file in use. I would like to add a > select [drop down box] that has values for a filter to be applied to one > field in the point file dbf so that only those records with the field value > equal to that filter display. Does anyone have an example of the .map and > .htm that can demonstrate how this is implemented? > > Thank you. > From morissette at dmsolutions.ca Tue Feb 6 10:50:44 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 06 Feb 2001 13:50:44 -0500 Subject: PHP MapScript queries References: <01013119042202.00958@grobi> Message-ID: <3A804784.C042C5DF@dmsolutions.ca> Thorsten, I'm not sure if this is related to your problem or not, but you need to have a QUERYITEM and a QUERY object in your layer definition for your layer to be queryable. However, I'm still concerned by the seg. fault and would like to be able to track it... if you're using a recent version of MapServer (less than a month old) and still get the seg. fault, then perhaps you could zip your PHP script and data and send it to me and I'll see if I can reproduce the crash. Daniel Thorsten Fischer wrote: > > Ladies and gentlemen, > > I am trying to do a query on a map. The result is a segmentation fault in the > mapserver. Please show where to look for errors, maybe in my compiled mapserver. > > I got a map file with a valid extent and a single layer: > > name mmplz > status on > size 600 600 > symbolset "symbols/newsym.sym" > extent > units meters > shapepath "data" > imagecolor 255 255 255 > > layer > name leger > type polygon > status on > data plz > classitem "plz5" > class > symbol 2 > outlinecolor 0 0 0 > color 255 255 255 > end > end > > In php I write: > > $map = ms_newMapObj ("raderg.map"); > $mylayer = $map -> getLayerByName ("leger"); > > which works fine. Then: > > $qres = $mylayer -> queryUsingRect ($rect); > > where $rect is a valid rectangle -- segfault. > > MapServer was configured as follows: > > ./configure --with-apxs=/usr/sbin/apxs --with-tiff=/usr --with-jpeg > --with-eppl --with-ttf --without-gif --with-gd=/opt/GIS --with-proj=/opt/GIS > --with-php=/home/frosch/src/GIS/mapserver/php-4.0.3pl1 > > php was configured as follows: > > ./configure --prefix=/usr/lib/apache --without-ttf --disable-debug > --with-mysql --enable-calendar --enable-dbase --without-zlib > --with-regex=system --with-gd=/opt/GIS --with-apxs=/usr/sbin/apxs > > Thanks in advance, > > Thorsten > > -- > > Thorsten Fischer thfischer at mapmedia.de > > --------------------------------------------------------- > MapMedia - Kartographie und raumbezogene Informationssysteme > Am Borsigturm 42 > 13507 Berlin > Deutschland > http://www.mapmedia.de tel: +49 (0)30 43032102 > --------------------------------------------------------- -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From morissette at dmsolutions.ca Tue Feb 6 11:16:14 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 06 Feb 2001 14:16:14 -0500 Subject: problems making PHP mapscript References: <3A7A7467.618F22B6@crs4.it> Message-ID: <3A804D7E.A7FB3333@dmsolutions.ca> "A. Giacomelli" wrote: > > Hi, > > I am getting problems building the php mapscript module... > > This is an excerpt from my make output: > > -- > cd mapscript/php3; make; cd ../.. > make[1]: Entering directory > `/opt/gislab/src/mapserv_new/mapserver/mapscript/php3' > ld -assert nodefinitions -o php_mapscript.so php_mapscript_util.o > php_mapscript.o mapscript_i.o -L/opt/gislab/src/mapserv_new/maps > erver -lmap -L/opt/gislab/src/mapserv_new/mapserver/gd-1.2 -lgd > -lm > ld: warning: cannot find entry symbol _start; defaulting to 00011494 > php_mapscript_util.o: In function `_phpms_report_mapserver_error': > php_mapscript_util.o(.text+0x28): undefined reference to `php3_error' > php_mapscript_util.o: In function `_phpms_fetch_handle2': > php_mapscript_util.o(.text+0x58): undefined reference to `php3_error' > php_mapscript_util.o(.text+0x74): undefined reference to > `_php3_hash_find' > php_mapscript_util.o(.text+0x90): undefined reference to `php3_error' > ......... > ......... > ......... > etc. > Andrea, When building a .so on Unix, it is normal to have undefined symbols, i.e. when libphp3.so loads php_mapscript.so at runtime then the php3_error and other symbols will become available. By default ld does not complain about undefined symbols so I suspect that the problem must be coming from the "-assert nodefinitions" in your ld line... try removing it. BTW, I am already aware that the configure stuff for the PHP MapScript has a number of problems outside of the Linux world (at least on AIX and Solaris)... improving the PHP configure stuff is on the ToDo list. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From ems174 at email.psu.edu Tue Feb 6 11:44:24 2001 From: ems174 at email.psu.edu (Eric Steele) Date: Tue, 6 Feb 2001 14:44:24 -0500 Subject: On-the-fly projection problem. Message-ID: Hello, I'm toying with doing some on-the-fly projection in my project and I ran into a problem. I added a layer of roads to my project and set the projections for both the map and roads layer. When viewing the map at full extent, it works beautifully. Once the extent of the view does not completely contain the projected layer, that layer is no longer drawn (this includes zooming in past the extent of the projected layer and also panning so that only part of that layer is within the view extent). I've done a search in the listserv archives, but I haven't come up with anything that looks relevant. Any help would be greatly appreciated. Thanks, Eric Eric M. Steele Senior Research Technologist Land Analysis Laboratory, Penn State University EricSteele at psu.edu 814-863-8717 From morissette at dmsolutions.ca Tue Feb 6 11:42:39 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 06 Feb 2001 14:42:39 -0500 Subject: lib GD problem References: <3A7AF8C6.94ED1EFD@fultonecd.org> Message-ID: <3A8053AF.E06E812F@dmsolutions.ca> Carl Anderson wrote: > > I needed to patch configure.in > to compile mapserver against a shared version of GD-1.8.3 on a > Solaris2.7-gcc > Hi Carl, Thanks for the patch... I've added the 2 lines you suggested to configure.in (in the 3.5 CVS source): test -f $GD_DIR/.libs/libgd.a && GD_LIBDIR="$GD_DIR/.libs" test -f $GD_DIR/_libs/libgd.a && GD_LIBDIR="$GD_DIR/_libs" > > I also compiled freetype support into my GD > as well as XPM support > > so in the end I had to set CFLAGS to "-ltiff -lz -ljpeg -lpng -lttf > -lXpm -lX11" > to get configure to work without changing more of configure.in > We would need to detect that GD contains TTF and/or XPM using the AC_CHECK_LIB() macro to add those CFLAGS in the configure stuff... e.g. AC_CHECK_LIB(gd, gdImageJpeg, GD_DEF=-DUSE_GD_1_8,, $GD_LIB -ljpeg -lpng -lz) I don't have that version of GD running here, so I can't (at the moment) add the AC_CHECK_LIB() macros that will detect TTF and XPM... but if you do find them then please forward them to me and I'll update the configure.in. Thanks, -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From steve.lime at dnr.state.mn.us Tue Feb 6 15:06:10 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 06 Feb 2001 17:06:10 -0600 Subject: send in your apps/demo's... Message-ID: Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer gallery. I know there are some nice apps out there that are not listed. Thanks. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From aelwardani at lizardtech.com Tue Feb 6 17:02:42 2001 From: aelwardani at lizardtech.com (Alexia Elwardani) Date: Tue, 6 Feb 2001 17:02:42 -0800 Subject: LizardTech Message-ID: <874D0CB6A1C2AF4CAD96E24974764987810C27@cayman.lizardtech.com> Map Server Users, LizardTech is currently conducting a market study to ensure the next release of its product, LizardTech Content Server (LTCS) 4.0, contains the features companies desire to efficiently manage and serve high resolution digital assets. In LTCS 3.0, assets are currently managed on a flat file system. While this provides a simple method for storing and managing files, it does not provide a very robust infrastructure for relating other information that may be associated with the files. LTCS 4.0 will solve this issue by allowing the assets to be managed within the context of a relational database management system. To ensure the rdbms implementation will be easily integratable into existing workflows, we are gathering information from companies like yours that have experience with the difficulties of managing digital assets. I am not attempting to sell anything. I want to gather information for future generation of products. If you would like to share your experiences and/or have any suggestions for feature implementations, I would like to hear from you. Please email me or contact me at the number below. Thanks for your help, Alexia ElWardani Alexia ElWardani Project Manager 858-704-1290 ex. 25 Direct Line 858-704-1291 Fax www.lizardtech.com We Make Imaging Work. Everywhere!(tm) This transmission is intended for the sole use of the individual(s) to whom it is addressed. Please contact the sender if this transmission is received in error and return or destroy the original transmission. LizardTech Confidential Information. Copyright 2001, LizardTech, Inc. All Rights Reserved. Unauthorized duplication or distribution prohibited. From andrew.luger at daterra.ab.ca Tue Feb 6 19:27:25 2001 From: andrew.luger at daterra.ab.ca (Andrew Luger) Date: Tue, 06 Feb 2001 20:27:25 -0700 Subject: Map Extent Question Message-ID: <000701c090b5$e477f140$fc004f18@stn1> Hi all How is map extent determined? Please bear with me here , I'm new to both this and GIS stuff? What am I seeing in the demo.map extent definition for example? Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: From blackmail at snafu.de Wed Feb 7 00:32:03 2001 From: blackmail at snafu.de (Peter Brack) Date: Wed, 07 Feb 2001 09:32:03 +0100 Subject: What about license rights? Message-ID: <3A810803.7A1388F9@snafu.de> Dear listers, if I use the mapserver on a inter/intranet site, what about the license? And can I take money for building a homepage using mapserver? Thanks a lot Peter From jan at intevation.de Wed Feb 7 01:12:03 2001 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 7 Feb 2001 10:12:03 +0100 Subject: What about license rights? In-Reply-To: <3A810803.7A1388F9@snafu.de>; from blackmail@snafu.de on Wed, Feb 07, 2001 at 09:32:03AM +0100 References: <3A810803.7A1388F9@snafu.de> Message-ID: <20010207101203.A13831@abnoba.intevation.de> Hi Peter, On Wed, Feb 07, 2001 at 09:32:03AM +0100, Peter Brack wrote: > if I use the mapserver on a inter/intranet site, what about the license? > And can I take money for building a homepage using mapserver? of course you can, because MapServer is Free Software! You are offering service based on Free Software which is the core idea of the business model of Free Software. Cheers Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From nwerneck at yahoo.com.br Wed Feb 7 03:42:29 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Wed, 7 Feb 2001 08:42:29 -0300 (ART) Subject: send in your apps/demo's... Message-ID: <20010207114229.1896.qmail@web4305.mail.yahoo.com> > I know there are some nice apps out there > that are not listed. OK, I don't think it's "nice" yet, it's still under development, but it looks cute :> http://ils.io.inf.br/ier_map/ierf.htm There's an interesting... I don't know how do you say in english, when you fix something in a way to be at the same time shame and proud of :). The fact is that there's a "location search engine" (in the lower-right corner) wich sends an HTML page redirecting to a normal map-browse page, so the user can continue to navigate after a query... I don't know how did the rest of you did it, but mine is working just fine! ;) --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From cnielsen at co.tillamook.or.us Wed Feb 7 09:23:43 2001 From: cnielsen at co.tillamook.or.us (Chad Nielsen) Date: Wed, 7 Feb 2001 09:23:43 -0800 Subject: send in your apps/demo's... In-Reply-To: Message-ID: <000201c0912a$b88df960$a14368aa@co.tillamook.or.us> here's mine. http://gisweb.co.tillamook.or.us/mapping/culverts/culverts_init.html still working on it... Chad Chad Nielsen GIS Programmer/Analyst Tillamook Coastal Watershed Resource Center 6385 Tillamook Ave Bay City, OR 97107 503-377-4000 > -----Original Message----- > From: owner-mapserver-users at lists.gis.umn.edu > [mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Stephen > Lime > Sent: Tuesday, February 06, 2001 3:06 PM > To: mapserver-users at lists.gis.umn.edu > Subject: send in your apps/demo's... > > > Greetings: Please pass along any application/demo urls you'd like > to have included with in the MapServer > gallery. I know there are some nice apps out there that are not > listed. Thanks. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > From lrn at zeppo.geosurv.gov.nf.ca Wed Feb 7 10:48:10 2001 From: lrn at zeppo.geosurv.gov.nf.ca (Larry Nolan) Date: Wed, 7 Feb 2001 15:18:10 -0330 Subject: send in your apps/demo's... References: Message-ID: <001101c09136$84d61ce0$0a29070a@ln2000> Traveler's Guide to the Geology of Newfoundland & Labrador http://www.gac-nfld.com/gacmap/nframe.htm From bitner at gyttja.org Wed Feb 7 11:59:42 2001 From: bitner at gyttja.org (David W Bitner) Date: Wed, 7 Feb 2001 13:59:42 -0600 Subject: send in your apps/demo's... Message-ID: <001a01c09140$85c9c020$6f6c2ec0@yardarm.nohrsc.nws.gov> The National Operational Hydrologic Remote Sensing Center has put together a MapServer site to access operational reference information for the National Weather Service. Of interest to the general MapServer crowd may be the use of JavaScript to set up one click zooming/panning/querying (rather than using drop downs and radio buttons to select modes). JavaScript is also used to control the form target location so that query results can be directed to either a new window or to a second frame. This site automatically detects screen resolution to redirect the user to an interface best suited to their screen size. Any critical comments are welcomed and appreciated. http://www.nohrsc.nws.gov/mapserv/ms_refmp/ ********************************************************************* David William Bitner -- GIS/ Remote Sensing Specialist National Operational Hydrologic Remote Sensing Center National Weather Service, Chanhassen, MN 55317 work: bitner at nws.gov, http://www.nohrsc.nws.gov 952-361-6610 x231, fax: 952-361-6634 personal: bitner at gyttja.org, http://www.gyttja.org 651-335-5232 ********************************************************************* -----Original Message----- From: Stephen Lime To: mapserver-users at lists.gis.umn.edu Date: Tuesday, February 06, 2001 6:51 PM Subject: send in your apps/demo's... >Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer >gallery. I know there are some nice apps out there that are not listed. Thanks. > >Steve > >Stephen Lime >Internet Applications Analyst > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > From nwerneck at yahoo.com.br Wed Feb 7 13:03:12 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Wed, 7 Feb 2001 18:03:12 -0300 (ART) Subject: truncatting in zoomsize/zoomdir Message-ID: <20010207210312.26511.qmail@web4306.mail.yahoo.com> Hello It seems to me that, while zooming with the zoom CGI variable works allright, with a zoomsize/zoomdir pair the value is being truncated to a non-floating point type. Also, it seems to me that the [zoomsize__to__{check|select}] template atribute is not working properly, at least with floating-point types... Have anybody else here tried to work with real zoom values???? --Nicolau PS: Hey! I would like to say something else too! :) To me, this idea of zoom=2 means duplicatting the scale, while zoom=-2 means divide by two is higly unmathematical! Couldn't we create something like a macho-coeficient-zoom=0.5 for dividing the zoom by two? To make negative values mean zooming back, we could also implement an exponential zoom! exp2zoom=0 would mantain the aspect ratio, while 1 would duplicate and -1 would divide by two... ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From steve.lime at dnr.state.mn.us Wed Feb 7 13:19:25 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 07 Feb 2001 15:19:25 -0600 Subject: truncatting in zoomsize/zoomdir Message-ID: Floating point numbers are impossible to deal with in the template setting. Integers are much more useful in that case. There's nothing stopping you from not using the _check/_select replacement strings and using a little bit of javascript to maintain state. You can also use a text box to enter zoom values, works fine. The +/- is easier to understand for most folks and is certainly more ammenable to substitution. Internally the math is handled basically like you outline. The zoomfactor is used for division so 2 halves and -2 => ? multiplies. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Nicolau Werneck 02/07/01 03:03PM >>> Hello It seems to me that, while zooming with the zoom CGI variable works allright, with a zoomsize/zoomdir pair the value is being truncated to a non-floating point type. Also, it seems to me that the [zoomsize__to__{check|select}] template atribute is not working properly, at least with floating-point types... Have anybody else here tried to work with real zoom values???? --Nicolau PS: Hey! I would like to say something else too! :) To me, this idea of zoom=2 means duplicatting the scale, while zoom=-2 means divide by two is higly unmathematical! Couldn't we create something like a macho-coeficient-zoom=0.5 for dividing the zoom by two? To make negative values mean zooming back, we could also implement an exponential zoom! exp2zoom=0 would mantain the aspect ratio, while 1 would duplicate and -1 would divide by two... ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From vramos at geocad.com.ve Wed Feb 7 13:26:33 2001 From: vramos at geocad.com.ve (Virgilio Ramos) Date: Wed, 07 Feb 2001 17:26:33 -0400 Subject: send in your apps/demo's... References: Message-ID: <3A81BD89.9EB30E67@geocad.com.ve> Here is another from Venezuela www.siglava.info.ve Stephen Lime wrote: > Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer > gallery. I know there are some nice apps out there that are not listed. Thanks. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 From Jean-Francois.Doyon at CCRS.NRCan.gc.ca Wed Feb 7 14:20:02 2001 From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca (Doyon, Jean-Francois) Date: Wed, 7 Feb 2001 17:20:02 -0500 Subject: send in your apps/demo's... Message-ID: <2951561DB3DDD0118FEC00805FFE980504942227@s5-ccr-r1> Here we go : The Canadian Federal Election stuff: http://atlas.gc.ca/english/facts/elections/elections2000/index.htm (The first link/button is what you really want). There also the one I wrote using the PHP Module: http://cgdi.gc.ca/ccatlas/search/index.php3?lang=en Perform a search, and check out the mapped results :) There will be more coming in the future too :) J.F. > ---------- > From: Stephen Lime[SMTP:steve.lime at dnr.state.mn.us] > Sent: Tuesday, February 06, 2001 6:06 PM > To: mapserver-users at lists.gis.umn.edu > Subject: send in your apps/demo's... > > Greetings: Please pass along any application/demo urls you'd like to have > included with in the MapServer > gallery. I know there are some nice apps out there that are not listed. > Thanks. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > From michalak at hwr.arizona.edu Wed Feb 7 16:45:58 2001 From: michalak at hwr.arizona.edu (Zolla Michalak) Date: Wed, 7 Feb 2001 17:45:58 -0700 (MST) Subject: class with join Message-ID: We are using JOIN to bring in new attributes to a layer, and need to make classes based on the joined attributes, but just discovered by reading the archives that this is not possible, directly. I'm trying to figure out what our options are. One option would be to edit the dbf file of the shape file, adding our new attributes directly, rather than using JOIN. But I wanted to see if there is an easier way before I go that route. Here is a copy of resonse to a previous question about class with join that we found in the archives. Steve, could you explain in more detail the options listed here in the following message? >>Um, nope. No joins are supported for classification purposes. You can only use directly attached attributes. This was done for performance reasons. It's technically feasible though. There are a couple of work arounds. The most straight forward would be assign a shape to each record in the taxa dataset. You'll have duplicate shapes (shapefile spec allows it) but with the maps you want to make that won't be an issue. You can use mapscript to build the shapefile using your taxa .dbf file as the new attribute table. Here's the approach 1) open sites shapefile and taxa dbf file 2) create a new taxa shapefile (type=point) 3) for each taxa record - find the appropriate shape in sites - read it from sites - write it to taxa It's redundant but space it cheap and it will certainly be a lot faster. You may also want to add some metrics to sites.dbf as you go like number of taxa, date range or whatever. Steve Stephen Lime Internet Applications Analyst --------------------------------------------------------------------------- -Thanks! *************************************************** Zolla Michalak Support Systems Analyst Hydrology, University of Arizona (520) 626-8746 http://hydis.hwr.arizona.edu *************************************************** From cameron at socialchange.net.au Wed Feb 7 16:56:49 2001 From: cameron at socialchange.net.au (Cameron Shorter) Date: Thu, 08 Feb 2001 11:56:49 +1100 Subject: send in your apps/demo's... References: Message-ID: <3A81EED1.CE06E628@socialchange.net.au> I'm not sure if anyone else has put up a digital chart of the world. Ours is here: http://mapserver.socialchange.net.au/world/init.html - yes it needs a bit of polish, but it works. Stephen Lime wrote: > > Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer > gallery. I know there are some nice apps out there that are not listed. Thanks. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 -- Cameron Shorter Web Mapping Manager Social Change Online 248 Johnson St Tel: +61 (0) 2 9692 5115 Annandale NSW 2038 Fax: +61 (0) 2 9692 5192 Sydney, Australia http://webmap.socialchange.net.au From mschulz at webgis.de Thu Feb 8 02:09:09 2001 From: mschulz at webgis.de (Michael Schulz) Date: Thu, 08 Feb 2001 11:09:09 +0100 Subject: send in your apps/demo's... References: <3A81EED1.CE06E628@socialchange.net.au> Message-ID: <3A827044.F97AB613@webgis.de> Dear List, here is our small application. It is just a demo for a regional it-fair. So don't expect too much: http://www.webgis.de/teleregion Cheers, Michael > Stephen Lime wrote: > > > > Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer > > gallery. I know there are some nice apps out there that are not listed. Thanks. > > > > Steve > > > > Stephen Lime > > Internet Applications Analyst > > > > Minnesota DNR > > 500 Lafayette Road > > St. Paul, MN 55155 > > 651-297-2937 -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de From michael.kleih at jrc.it Thu Feb 8 02:59:43 2001 From: michael.kleih at jrc.it (Michael Kleih) Date: Thu, 08 Feb 2001 11:59:43 +0100 Subject: send in your apps/demo's... References: Message-ID: <3A827C1F.F2073CE0@jrc.it> > Here is the rewritten version of our map composition tool, now called Melilla: http://opengis.jrc.it Most of the layers you see in this JAVA-applet are GIF images created with PERL & MapServer. (Only the raster data layers are not created with MapServer). Michael -- __________________________________ Michael Kleih Centro Comune di Ricerca-JRC Commissione Europea Via Fermi 1 TP 270 Tel. 0039/0332785039 __________________________________ From ricmar at pro.via-rs.com.br Thu Feb 8 04:05:25 2001 From: ricmar at pro.via-rs.com.br (Ricardo Wagner Martins) Date: Thu, 08 Feb 2001 10:05:25 -0200 Subject: send in your apps/demo's... Message-ID: <3A828B85.3BC090BB@pro.via-rs.com.br> Dear List, Here is our application. It is a government application for all counties of the state of Rio Grande do Sul - BRAZIL . http://geolivre.procergs.com.br/rs_procergs/start.html Cheers, Ricardo PROCERGS Cia Proc Dados do RGS Rio Grande do Sul - BRAZIL > Stephen Lime wrote: > > > > Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer > > gallery. I know there are some nice apps out there that are not listed. Thanks. > > > > Steve > > > > Stephen Lime > > Internet Applications Analyst > > > > Minnesota DNR > > 500 Lafayette Road > > St. Paul, MN 55155 > > 651-297-2937 From stepan.kafka at oku-kh.cz Thu Feb 8 06:08:26 2001 From: stepan.kafka at oku-kh.cz (Stepan Kafka) Date: Thu, 8 Feb 2001 15:08:26 +0100 Subject: Symbols in 3.4. In-Reply-To: <3A827C1F.F2073CE0@jrc.it> Message-ID: <000f01c091d8$9abd6200$fb01a8c0@gis2.oku-kh.cz> Dear mapserver users! I have several problems: 1. I tried new truetype line symbol support in 3.4. version, but the result wasn't too nice (standard Arial "-" for dashed lines). Steve you wrote about special truetype font for line features. It is possible to get it? Or what is the solution? 2. With ITEMQUERY mode and using MAPEXT=SHAPE I would like to show the result on certain scale, but BUFFER or SCALE parameter does nothing. I tried the MAPXY=SHAPE, but with the same result. With point layers the result is not usable. 3. In version 3.010 I use inline features this way: In map file: LAYER NAME 'pin' TYPE Point STATUS default FEATURE POINTS END END CLASS SYMBOL 8 SIZE 10 LABEL TYPE truetype POSITION cr OFFSET -5 0 FONT arial SIZE 8 COLOR 0 0 0 BACKGROUNDCOLOR 255 255 220 END #Label END # CLASS END # LAYER and thru CGI I call: ...&map_pin_feature_poits=-683920+-1065907&map_feature_text=something&.... It works well, but in 3.4. version I get error message "internal server error". Where is the mistake? Here is full URL: http://www.oku-kh.cz/cgi-bin/mapserv?s=i&zoomdir=1&imgxy=&mapext=-686657+-10 68138+-681184+-1063676&imgext=-715708.120401+-1093562.000000+-661129.879599+ -1057286.000000&map=%2F%2Fhome%2Fhttpd%2Fhtml%2Fgis%2Fprojekt%2Ftopo.map&mod e=browse&map_pin_feature_points=-683920.5+-1065907&map_pin_feature_text=&map _web_template=topo.html&zoomsize=2&mapsize=450+300&qlayer=domy&layer=siln&la yer=zelez&layer=cesty&layer=hran_l&layer=vrst10&layer=vodp&layer=vodl&layer= mokriny&layer=les&layer=sidla Thank you Stepan Kafka From schulz at gaf.de Thu Feb 8 08:48:52 2001 From: schulz at gaf.de (Matthias Schulz) Date: Thu, 08 Feb 2001 17:48:52 +0100 Subject: send in your apps/demo's... References: Message-ID: <3A82CDF4.D72EF12@gaf.de> Hi, here is a small prototype application from our side: SIPA: A Prototype of a Project and Accident Information System for the Region around Santiago de Chile http://gafweb.gaf.de/chile/sipa_tp.htm cheers, Matthias Stephen Lime wrote: > Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer > gallery. I know there are some nice apps out there that are not listed. Thanks. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 -- Matthias Schulz GAF mbH Arnulfstr. 197 80634 Muenchen Germany tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 mailto:schulz at gaf.de URL: http://www.gaf.de From steve.lime at dnr.state.mn.us Thu Feb 8 09:30:25 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 08 Feb 2001 11:30:25 -0600 Subject: Symbols in 3.4. Message-ID: 1) TTF line symbols are mean't as a way to annotate a line at regular intervals to create effects like train tracks or weather symbols (fronts). They are not a replacement for normal lines and are really just an experimental feature at this moment. I hope to polish them off for the 3.5 release. At this point I have no fonts, other than a test font or two for distribution. 2) Using mapxy=shapes + a buffer or scale *should* work. I'll have a look. 3) I'm not sure why the error in 3.4, there were some implementation changes made in that version that represent inline features using the same structures that hold any other shape from shapefiles, SDE or whatever. There may be a bug in the code. However, there is an error in your mapfile. There is no need to pre-define an empty feature. Remove the section: FEATURE POINTS END END and see if that fixes things. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Stepan Kafka" 02/08/01 08:08AM >>> Dear mapserver users! I have several problems: 1. I tried new truetype line symbol support in 3.4. version, but the result wasn't too nice (standard Arial "-" for dashed lines). Steve you wrote about special truetype font for line features. It is possible to get it? Or what is the solution? 2. With ITEMQUERY mode and using MAPEXT=SHAPE I would like to show the result on certain scale, but BUFFER or SCALE parameter does nothing. I tried the MAPXY=SHAPE, but with the same result. With point layers the result is not usable. 3. In version 3.010 I use inline features this way: In map file: LAYER NAME 'pin' TYPE Point STATUS default FEATURE POINTS END END CLASS SYMBOL 8 SIZE 10 LABEL TYPE truetype POSITION cr OFFSET -5 0 FONT arial SIZE 8 COLOR 0 0 0 BACKGROUNDCOLOR 255 255 220 END #Label END # CLASS END # LAYER and thru CGI I call: ...&map_pin_feature_poits=-683920+-1065907&map_feature_text=something&.... It works well, but in 3.4. version I get error message "internal server error". Where is the mistake? Here is full URL: http://www.oku-kh.cz/cgi-bin/mapserv?s=i&zoomdir=1&imgxy=&mapext=-686657+-10 68138+-681184+-1063676&imgext=-715708.120401+-1093562.000000+-661129.879599+ -1057286.000000&map=%2F%2Fhome%2Fhttpd%2Fhtml%2Fgis%2Fprojekt%2Ftopo.map&mod e=browse&map_pin_feature_points=-683920.5+-1065907&map_pin_feature_text=&map _web_template=topo.html&zoomsize=2&mapsize=450+300&qlayer=domy&layer=siln&la yer=zelez&layer=cesty&layer=hran_l&layer=vrst10&layer=vodp&layer=vodl&layer= mokriny&layer=les&layer=sidla Thank you Stepan Kafka From teb at mallit.fr.umn.edu Thu Feb 8 12:22:06 2001 From: teb at mallit.fr.umn.edu (teb) Date: Thu, 8 Feb 2001 14:22:06 -0600 (CST) Subject: fwd: Re: input RGB based on class... Message-ID: <200102082022.OAA22166@mallit.fr.umn.edu> >From: "Stender, Amy ERDC-CRREL-NH" >To: "'mapserver-info at lists.gis.umn.edu'" >Subject: input RGB based on class... >Date: Thu, 8 Feb 2001 13:48:27 -0500 >MIME-Version: 1.0 > >I have a rather large DBF while 3 cols devoted to Red, Green and Blue >integers that apply to certain types in a layer. I'm doing a CLASSITEM based >on the "TYPE" and for each type, there's a certain color it needs to be >shown at. Rather than enter it all in by hand, I tried something like: > >COLOR [RED][GREEN][BLUE] > >and I keep on getting the getInteger() error. I've tried "RED" /RED/ (RED) >and many other combinations but MapServer's looking for a number. Is there >any logical/regular expression I can use for this? > >Amy L. Stender >Remote Sensing / Geographic Information System Center >Cold Regions Research and Engineering Laboratory >United States Army Corps of Engineers >72 Lyme Road, Hanover, New Hampshire, 03755-1290 >astender at crrel.usace.army.mil >(603)643-4733 > From Egon.Kuster at dsto.defence.gov.au Thu Feb 8 17:16:23 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Fri, 9 Feb 2001 11:46:23 +1030 Subject: SDE problems Message-ID: I am trying to compile mapserver with SDE option turned on but the compiler complains that it can not find the sdetype.h or sdeerno.h files, which I do not have and can not find in the Mapserver distributions, does anyone have the SDE files that I need to compile mapserver with the SDE option. Egon Kuster From Egon.Kuster at dsto.defence.gov.au Thu Feb 8 17:27:57 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Fri, 9 Feb 2001 11:57:57 +1030 Subject: SDE problems Message-ID: Ignore my last message I have found the SDE libraries on the SDE client disks, I have one thing to say OOPS Egon Kuster Wrote before: I am trying to compile mapserver with SDE option turned on but the compiler complains that it can not find the sdetype.h or sdeerno.h files, which I do not have and can not find in the Mapserver distributions, does anyone have the SDE files that I need to compile mapserver with the SDE option. Egon Kuster From rand at meridian-enviro.com Thu Feb 8 19:08:16 2001 From: rand at meridian-enviro.com (rand at meridian-enviro.com) Date: Thu, 08 Feb 2001 21:08:16 -0600 Subject: New Proj.4 perl bindings Message-ID: <87wvb0sgdb.wl@delta.meridian-enviro.com> I had found the proj.pm that Steven Lime let leak out on to the mapserver mailing list (http://mapserver.gis.umn.edu/majordom_lists/archives/mapserver-users/html/0006/msg00131.html) was somewhat awkward to use, so I decided to wrap my own. Good ol' free software thinking. :) I've just finished my first pass at wrapping the proj.4 library, here is a summary: use Projection; my $pj = new Prection(["proj=merc", "ellps=clrk66", "lon_0=-96"], $DEGREES); ($u, $v) = $pj->Forward(-97.0667, 47.9000); ($lat, $lon) = $pj->Inverse($y, $v); Thats it. The projection is automatically destroyed, so there isn't a need to free it. Also, I got rid of the projUV structure. Oh, and the arguments to making a new projection are automatically counted. (If you want the default behaviour of using (ugh) radians, just make the second argument to Projection "$RADIANDS".) If anybody has any suggestions on improving this, please let me know. (Does anybody *really* want that projUV structure exported out into perl?) I've no documentation, test suite, or much else, yet. But go ahead, hold your breath, I'll get back to you. ;^) Oh, the standard perl Makefile.PL make make install should work. From Egon.Kuster at dsto.defence.gov.au Thu Feb 8 19:42:39 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Fri, 9 Feb 2001 14:12:39 +1030 Subject: SDE Message-ID: Has anyone on this list used the SDE support within mapserver? If you have could you send me an email, as I can not get it working at all. I am not able to get mapserver compiled with the SDE support. Egon Kuster Defence Science & Technology Organisation Information Technology Division Phone: +61 8 8259 5175 email: egon.kuster at dsto.defence.gov.au From m.meier at spiekermann.de Thu Feb 8 21:18:43 2001 From: m.meier at spiekermann.de (Manfred Meier) Date: Fri, 09 Feb 2001 06:18:43 +0100 Subject: mapserv seems hanging with query on point theme Message-ID: <3A837DB3.F76CC435@spiekermann.de> Hello everybody, I'm new to this list and new to mapserver. I'm trying to use mapserver for displaying ESRI shapefiles. It works fine and querying on a line theme works too. But after clicking on an object from a point theme for querying, the mapserv process seems to hang. Perhaps this problem is known and well discussed or documented. Can anybody give me a small hint, where I have to look for information. Thank you for help. Manfred Meier m.meier at spiekermann.de From stepan.kafka at oku-kh.cz Fri Feb 9 04:50:29 2001 From: stepan.kafka at oku-kh.cz (Stepan Kafka) Date: Fri, 9 Feb 2001 13:50:29 +0100 Subject: Symbols in 3.4. In-Reply-To: Message-ID: <001d01c09296$e1ad8910$fb01a8c0@gis2.oku-kh.cz> Thank you very much for help. But some more questions: ad 1) 3.4. does'nt support styled lines. But how can I draw dashed line without TTF? ad 3) Removing the section helped me. Now it works well. (But it did not work even if section "POINTS 14256 56556 END" was filled in the map file) Stepan Kafka > 1) TTF line symbols are mean't as a way to annotate a line at > regular intervals to create > effects like train tracks or weather symbols (fronts). They are > not a replacement for normal > lines and are really just an experimental feature at this moment. > I hope to polish them off > for the 3.5 release. At this point I have no fonts, other than a > test font or two for distribution. > > 2) Using mapxy=shapes + a buffer or scale *should* work. I'll have a look. > > 3) I'm not sure why the error in 3.4, there were some > implementation changes made in that > version that represent inline features using the same structures > that hold any other shape > from shapefiles, SDE or whatever. There may be a bug in the code. > However, there is an > error in your mapfile. There is no need to pre-define an empty > feature. Remove the section: > > FEATURE > POINTS END > END > > and see if that fixes things. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > > >>> "Stepan Kafka" 02/08/01 08:08AM >>> > Dear mapserver users! > > I have several problems: > > 1. I tried new truetype line symbol support in 3.4. version, but > the result > wasn't too nice (standard Arial "-" for dashed lines). Steve you > wrote about > special truetype font for line features. It is possible to get it? Or what > is the solution? > > 2. With ITEMQUERY mode and using MAPEXT=SHAPE I would like to show the > result on certain scale, but BUFFER or SCALE parameter does > nothing. I tried > the MAPXY=SHAPE, but with the same result. With point layers the result is > not usable. > > 3. In version 3.010 I use inline features this way: > > In map file: > LAYER > NAME 'pin' > TYPE Point > STATUS default > FEATURE > POINTS END > END > CLASS > SYMBOL 8 > SIZE 10 > LABEL > TYPE truetype > POSITION cr > OFFSET -5 0 > FONT arial > SIZE 8 > COLOR 0 0 0 > BACKGROUNDCOLOR 255 255 220 > END #Label > END # CLASS > END # LAYER > > and thru CGI I call: > ...&map_pin_feature_poits=-683920+-1065907&map_feature_text=something&.... > > It works well, but in 3.4. version I get error message "internal server > error". Where is the mistake? > > Here is full URL: > http://www.oku-kh.cz/cgi-bin/mapserv?s=i&zoomdir=1&imgxy=&mapext=- 686657+-10 68138+-681184+-1063676&imgext=-715708.120401+-1093562.000000+-661129.879599+ -1057286.000000&map=%2F%2Fhome%2Fhttpd%2Fhtml%2Fgis%2Fprojekt%2Ftopo.map&mod e=browse&map_pin_feature_points=-683920.5+-1065907&map_pin_feature_text=&map _web_template=topo.html&zoomsize=2&mapsize=450+300&qlayer=domy&layer=siln&la yer=zelez&layer=cesty&layer=hran_l&layer=vrst10&layer=vodp&layer=vodl&layer= mokriny&layer=les&layer=sidla Thank you Stepan Kafka From teb at mallit.fr.umn.edu Fri Feb 9 06:52:05 2001 From: teb at mallit.fr.umn.edu (teb) Date: Fri, 9 Feb 2001 08:52:05 -0600 (CST) Subject: 2 Color(1 bit) tiff files (fwd) Message-ID: <200102091452.IAA22629@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: hana.jirsova at oku-pce.cz Date: Fri, 9 Feb 2001 9:46:12 +0100 To: mapserver-info at lists.gis.umn.edu Subject: 2 Color(1 bit) tiff files I tried to display 2 color's files (1 bit) in different colors, but unsuccessfully. I have rasters for various themes (one raster for rivers, second for seats, third for forest,....) and all are drawn only with black and white(transparent) color. Maybe I'm doing some mistakes in code. Please, be so kind and look at it : #********************** This is the raster of forest LAYER NAME 'cl2421' DATA cl2421.tif TYPE RASTER CLASS EXPRESSION "1" COLOR 0 255 0 END # CLASS OFFSITE 0 END # LAYER # this upper example works only in black and white #********************** # I need to do it with the group of rasters ... rivers, # it works only in black and white , I don't know how to # change it LAYER NAME 'cv2421' TYPE RASTER STATUS off TILEINDEX 'kl50' TILEITEM RIVERS MAXSCALE 200000 OFFSITE 0 END # LAYER Thank you very much. Hana Jirsova ------------- End Forwarded Message ------------- From rand at meridian-enviro.com Fri Feb 9 08:59:07 2001 From: rand at meridian-enviro.com (rand at meridian-enviro.com) Date: Fri, 09 Feb 2001 10:59:07 -0600 Subject: New Proj.4 perl bindings In-Reply-To: References: Message-ID: <87vgqjssh0.wl@delta.meridian-enviro.com> Stephen> Cool, but for some reason I didn't receive an attachment. Thats because I forgot to send it. Sigh. Stephen> Did you build the wrapper by hand or using SWIG? I did it with SWIG, we hope to be using it with Tcl and Python also. Here is the atachment. -------------- next part -------------- A non-text attachment was scrubbed... Name: Projection.tgz Type: application/octet-stream Size: 10347 bytes Desc: not available URL: From raanders at tincan.org Fri Feb 9 14:47:59 2001 From: raanders at tincan.org (Roderick A. Anderson) Date: Fri, 9 Feb 2001 14:47:59 -0800 (PST) Subject: Symbols in 3.4. In-Reply-To: Message-ID: On Thu, 8 Feb 2001, Stephen Lime wrote: > 1) TTF line symbols are mean't as a way to annotate a line at regular > intervals to create effects like train tracks or weather symbols > (fronts). They are not a replacement for normal lines and are really > just an experimental feature at this moment. I hope to polish them off > for the 3.5 release. At this point I have no fonts, other than a test > font or two for distribution. I'm just getting started with Mapserver - mostly lurking on this list - and am very interested in the TTF support. I'm a font junky so have collected many including some symbols. The point I'm trying to get at is will any TTF font I have (within reason) work? Rod -- From kames at optonline.net Fri Feb 9 18:07:54 2001 From: kames at optonline.net (Kieran Ames) Date: Fri, 09 Feb 2001 21:07:54 -0500 Subject: Tiling, Rasters and geotiffs Message-ID: <3A84A27A.CEE1E1F8@optonline.net> Hello List. I've begun learning about geotiffs and rasters and such. Is there anyone who could talk about tiling multiple 1:24000 quads as a basemap? I can't find anything in the archives on how to do this. Example: I have shape files that cover different themes for Long Island, NY. roads.shp lakes.shp buildings.shp These individual shape files cover the whole of Long Island. Now, I found planimetrics of Long Island, but can't figure out how to point to the one appropriate to where the user has zoomed in to. Thanks, Kieran From tomkralidis at hotmail.com Sun Feb 11 06:15:20 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Sun, 11 Feb 2001 09:15:20 -0500 Subject: mapscript problem... Message-ID: I would like to use mapscript (via Perl) to add functionality to my application, and have a few questions. 1./ How does mapscript interact w/ web applications. ie does it replace the mapserv binary, acting as an interface to it? I have an app underway without mapscript, so how does one integrate it into a web app? 2./ I tried the online example under the mapscript documentation page: #!/usr/bin/perl use mapscript; $map = new mapObj('/www/docs/mapserv/example.map') or die('Unable to open mapfile: $!'); $img = $map->draw() or die('Unable to draw map'); mapscript::msSaveImage($img, '/www/docs/images/example.gif', $map->{interlace}, $map->{transparent}); ..and received this error: Unable to open mapfile: Inappropriate ioctl for device I tried this both through a CGI and command-line mode. Any idea what could be causing this (using Linux RedHat6.2). Thanks ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From andreag at crs4.it Mon Feb 12 04:51:24 2001 From: andreag at crs4.it (A. Giacomelli) Date: Mon, 12 Feb 2001 13:51:24 +0100 Subject: Anybody using PHP mapscript on Solaris ? (was: Re: problems making PHP mapscript) References: <3A7A7467.618F22B6@crs4.it> <3A804D7E.A7FB3333@dmsolutions.ca> Message-ID: <3A87DC4C.3083420B@crs4.it> Thanks to Daniel Morissette for his feedback. Following Daniel's hint, I changed the options for ld to conform to my ld's syntax (from -assert nodefinitions to -z nodefs would seem to make sense), but the result is identical. I would like to know if there is anybody on the list who has successfully built PHP mapscript on Solaris, just to check how they got it working. Regards, Daniel Morissette wrote: > > "A. Giacomelli" wrote: > > > > Hi, > > > > I am getting problems building the php mapscript module... > > > > This is an excerpt from my make output: > > > > -- > > cd mapscript/php3; make; cd ../.. > > make[1]: Entering directory > > `/opt/gislab/src/mapserv_new/mapserver/mapscript/php3' > > ld -assert nodefinitions -o php_mapscript.so php_mapscript_util.o > > php_mapscript.o mapscript_i.o -L/opt/gislab/src/mapserv_new/maps > > erver -lmap -L/opt/gislab/src/mapserv_new/mapserver/gd-1.2 -lgd > > -lm > > ld: warning: cannot find entry symbol _start; defaulting to 00011494 > > php_mapscript_util.o: In function `_phpms_report_mapserver_error': > > php_mapscript_util.o(.text+0x28): undefined reference to `php3_error' > > php_mapscript_util.o: In function `_phpms_fetch_handle2': > > php_mapscript_util.o(.text+0x58): undefined reference to `php3_error' > > php_mapscript_util.o(.text+0x74): undefined reference to > > `_php3_hash_find' > > php_mapscript_util.o(.text+0x90): undefined reference to `php3_error' > > ......... > > ......... > > ......... > > etc. > > > > Andrea, > > When building a .so on Unix, it is normal to have undefined symbols, > i.e. when libphp3.so loads php_mapscript.so at runtime then the > php3_error and other symbols will become available. By default ld does > not complain about undefined symbols so I suspect that the problem must > be coming from the "-assert nodefinitions" in your ld line... try > removing it. -- ========================================= Andrea Giacomelli Centre for Advanced Studies, Research and Development in Sardinia Environment Group http://www.crs4.it/~andreag ========================================= From yeewen at petromap.com Mon Feb 12 12:50:58 2001 From: yeewen at petromap.com (Yeewen Sat) Date: Mon, 12 Feb 2001 13:50:58 -0700 Subject: send in your apps/demo's... In-Reply-To: Message-ID: www.divestco.com Click on Land tab (on the right). The link "Jump to map" will display our auction lands in Western Canada map using mapserver cgi engine. Thanks, Yeewen Divestco.com Inc. -----Original Message----- From: owner-mapserver-users at lists.gis.umn.edu [mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Stephen Lime Sent: February 6, 2001 4:06 PM To: mapserver-users at lists.gis.umn.edu Subject: send in your apps/demo's... Greetings: Please pass along any application/demo urls you'd like to have included with in the MapServer gallery. I know there are some nice apps out there that are not listed. Thanks. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From kames at keyspanenergy.com Tue Feb 13 09:23:38 2001 From: kames at keyspanenergy.com (Kieran J. Ames) Date: Tue, 13 Feb 2001 12:23:38 -0500 Subject: Projections Message-ID: <3A896D9A.CBB6D393@keyspanenergy.com> List, I want to try projecting some planimetric data with my own data. Would someone review the following and tell me if I'm on the right track? In a mapfile, I can state an output projection at the beginning of the mapfile, outside of any other class or layer section. I have planimetric raster files that I want to use as a basemap. They are UTM, NAD27, Zone18. I have therefore put the following into my mapfile: PROJECTION "proj=utm" # I understand this "ellps=clrk66"# I understand this "zone=18" # I understand this "north" # No Clue! "no_defs" # No Clue! END I want to add point and line data on top on the basemap, but they are in Decimal Degrees. Therefore, for each DD layer, I need to add the following: PROJECTION "GEOGRAPHIC" END That will make the LAT/LON data line up properly with the basemap. How am I doing? BTW, can someone point me to documentation on the PROJ4 Projection arguments? I can't fine anything on the use of "north" and "no_defs" or any of the other arguments I've seen in the archives. Thanks much for any input. Kieran Ames From steve.lime at dnr.state.mn.us Tue Feb 13 09:35:40 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 13 Feb 2001 11:35:40 -0600 Subject: class with join Message-ID: I assuming you're refering to the part: 1) open sites shapefile and taxa dbf file 2) create a new taxa shapefile (type=point) 3) for each taxa record - find the appropriate shape in sites - read it from sites - write it to taxa It's just a way to build a shapefile around an existing dbf file. If I remember right each site maps to multiple records in the taxa file, and the taxa records are unique to a particular point. My suggestion was to create a point file (based on sites) for the taxa dbf file. So, the taxa file would end up containing the same site point many times. Does this make sense? Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Zolla Michalak 02/07/01 06:45PM >>> We are using JOIN to bring in new attributes to a layer, and need to make classes based on the joined attributes, but just discovered by reading the archives that this is not possible, directly. I'm trying to figure out what our options are. One option would be to edit the dbf file of the shape file, adding our new attributes directly, rather than using JOIN. But I wanted to see if there is an easier way before I go that route. Here is a copy of resonse to a previous question about class with join that we found in the archives. Steve, could you explain in more detail the options listed here in the following message? >>Um, nope. No joins are supported for classification purposes. You can only use directly attached attributes. This was done for performance reasons. It's technically feasible though. There are a couple of work arounds. The most straight forward would be assign a shape to each record in the taxa dataset. You'll have duplicate shapes (shapefile spec allows it) but with the maps you want to make that won't be an issue. You can use mapscript to build the shapefile using your taxa .dbf file as the new attribute table. Here's the approach 1) open sites shapefile and taxa dbf file 2) create a new taxa shapefile (type=point) 3) for each taxa record - find the appropriate shape in sites - read it from sites - write it to taxa It's redundant but space it cheap and it will certainly be a lot faster. You may also want to add some metrics to sites.dbf as you go like number of taxa, date range or whatever. Steve Stephen Lime Internet Applications Analyst --------------------------------------------------------------------------- -Thanks! *************************************************** Zolla Michalak Support Systems Analyst Hydrology, University of Arizona (520) 626-8746 http://hydis.hwr.arizona.edu *************************************************** From vrraju at labibm-170.gis.umn.edu Tue Feb 13 10:08:35 2001 From: vrraju at labibm-170.gis.umn.edu (Vatsavai Ranga Raju) Date: Tue, 13 Feb 101 12:06:25 -0600 (CST) Subject: testing Message-ID: <200102131806.MAA48228@center.gis.umn.edu> Test message, ignore .. From vatsavai at cs.umn.edu Tue Feb 13 10:11:57 2001 From: vatsavai at cs.umn.edu (Ranga Raju Vatsavai) Date: Tue, 13 Feb 2001 12:11:57 -0600 (CST) Subject: ignore Message-ID: <200102131811.MAA06578@plato.cs.umn.edu> Testing, please ignore this message .. From vrraju at labibm-170.gis.umn.edu Tue Feb 13 10:10:39 2001 From: vrraju at labibm-170.gis.umn.edu (Vatsavai Ranga Raju) Date: Tue, 13 Feb 101 12:08:29 -0600 (CST) Subject: testing Message-ID: <200102131808.MAA48773@center.gis.umn.edu> Ignore ... From ems174 at email.psu.edu Tue Feb 13 11:46:20 2001 From: ems174 at email.psu.edu (Eric Steele) Date: Tue, 13 Feb 2001 14:46:20 -0500 Subject: send in your apps/demo's... Message-ID: I wanted to throw a demo of what we're doing into the mix. Mike Anderson and myself have been working on this for a while now and wanted to show it off since it's a bit different than the other MapServer applications we've seen. The interface is done entirely in HTML, DHTML, and Javascript, there's no Java involved. Use is currently only available to Internet Explorer 5.0 or greater, but we hope to remedy that soon. Questions, comments, and/or suggestions would be greatly appreciated. Feel free to contact myself (EricSteele at psu.edu) or Mike Anderson (m_anderson14 at hotmail.com). Thanks, Eric Eric M. Steele Senior Research Technologist Land Analysis Laboratory, Penn State University EricSteele at psu.edu 814-863-8717 From ems174 at email.psu.edu Tue Feb 13 11:47:45 2001 From: ems174 at email.psu.edu (Eric Steele) Date: Tue, 13 Feb 2001 14:47:45 -0500 Subject: send in your apps/demo's... (URL included this time) Message-ID: It'd help if I included the url... http://cegis1.cas.psu.edu/Map Eric Eric M. Steele Senior Research Technologist Land Analysis Laboratory, Penn State University EricSteele at psu.edu 814-863-8717 From ems174 at email.psu.edu Tue Feb 13 13:39:35 2001 From: ems174 at email.psu.edu (Eric Steele) Date: Tue, 13 Feb 2001 16:39:35 -0500 Subject: Log file fields? Message-ID: Hi, I'm curious what each of the fields are within the log file. Here's my guess: Date ? IP address Application 0/8 (0-browse, 8-query)? Extent Visible Layers ? It'll show the visible layers, but is there any way to tell which layer is being queried? (I'm getting a "getNumeric(): Incorrect data type" error people query, but I'm not sure which layers is causing it). I'd appreciate any help you could give me. Thanks, Eric Eric M. Steele Senior Research Technologist Land Analysis Laboratory, Penn State University EricSteele at psu.edu 814-863-8717 From vatsavai at cs.umn.edu Tue Feb 13 15:38:21 2001 From: vatsavai at cs.umn.edu (Ranga Raju Vatsavai) Date: Tue, 13 Feb 2001 17:38:21 -0600 (CST) Subject: list problem Message-ID: <200102132338.RAA16505@deci.cs.umn.edu> Hello mapserver-users Due to some server problem (Feb'8th to Feb'13), posting of messages to mapserver-users list havn't been forwarded to all subscribers. But these messages have been archived and can be accessed through mapserver web home. In case if any one wants, they can repost the messages. Thanks Raju ---- http://mapserver.gis.umn.edu/ From mschulz at webgis.de Wed Feb 14 03:34:24 2001 From: mschulz at webgis.de (Michael Schulz) Date: Wed, 14 Feb 2001 12:34:24 +0100 Subject: Use of tiled data... Message-ID: <3A8A6D40.C9429EA3@webgis.de> Dear List, I know this subject has been mentioned a lot in the archive, but i still need some advice. I have datsets that are organised by directory structure. In each subdirectory i have a set of shapes always with the same name. So far, it looks as if it's just the normal case when you would use a tiled data layer (.ie TILEINDEX). But for each "MapServer-Session" I only want to access exactly one subdirectoy (the county the user has chosen) no information about adjacent counties has to be displayed or queried. But i need the displayed layer to be queryable. At the moment, I am thinking of using php/mapscript calls to change the source of the layer, after the user has chosen a county. Could it be done diffenrently? Via the URL (cgi-bin/mapserv?...&map_layername_data=./main_dir/sub_dir/shapefile&...)? Any comments will be appreciated! Thanks, Michael -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de From blackmail at snafu.de Wed Feb 14 03:40:08 2001 From: blackmail at snafu.de (Peter Brack) Date: Wed, 14 Feb 2001 12:40:08 +0100 Subject: Mapserver and license... Message-ID: <3A8A6E98.32D3A5FD@snafu.de> Dear Listers, got no response to the following question: If I use mapserver on a homepage of a customer what about the license? Can i take money for this? If I change the code of mapserver, do I have to make it public and where? Is there a license I have to sign (GNU orr OpenGIS)? Thanks a lot! Peter From jan at intevation.de Wed Feb 14 05:03:47 2001 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 14 Feb 2001 14:03:47 +0100 Subject: Mapserver and license... In-Reply-To: <3A8A6E98.32D3A5FD@snafu.de>; from blackmail@snafu.de on Wed, Feb 14, 2001 at 12:40:08PM +0100 References: <3A8A6E98.32D3A5FD@snafu.de> Message-ID: <20010214140347.B4128@abnoba.intevation.de> On Wed, Feb 14, 2001 at 12:40:08PM +0100, Peter Brack wrote: > got no response to the following question: > > If I use mapserver on a homepage of a customer what about the license? > Can i take money for this? If I change the code of mapserver, do I have > to make it public and where? > > Is there a license I have to sign (GNU orr OpenGIS)? there was a response. It is archived at http://mapserver.gis.umn.edu/majordom_lists/archives/mapserver-users/html/0102/msg00032.html Cheers Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From Michael.Hearne at noaa.gov Wed Feb 14 05:08:10 2001 From: Michael.Hearne at noaa.gov (Michael Hearne) Date: Wed, 14 Feb 2001 08:08:10 -0500 Subject: Mapserver and license... References: <3A8A6E98.32D3A5FD@snafu.de> Message-ID: <3A8A833A.C5B1E38@noaa.gov> Peter - Not the world's biggest expert on The Law, but as I understand it, mapserver's license is essentially the MIT license, which should allow you to get paid for building something (even GPL should allow that), you can change the code, and (little uncertain about this) I don't think you have to make the code public, although it would certainly be nice. I'm not sure where you post the code - look on the website for instructions on using the CVS server... I don't think you have to sign anything. -Mike Peter Brack wrote: > > Dear Listers, > > got no response to the following question: > > If I use mapserver on a homepage of a customer what about the license? > Can i take money for this? If I change the code of mapserver, do I have > to make it public and where? > > Is there a license I have to sign (GNU orr OpenGIS)? > > Thanks a lot! > > Peter -- Michael G. Hearne email: Michael.Hearne at noaa.gov Coastal Remote Sensing phone: 843 740-1281 TPMC/NOAA Coastal Services Center fax: 843 740-1312 2234 S. Hobson Ave., Charleston, SC 29407 From m.lowry at medschool.hull.ac.uk Wed Feb 14 07:39:21 2001 From: m.lowry at medschool.hull.ac.uk (Martin Lowry) Date: Wed, 14 Feb 2001 15:39:21 +0000 Subject: Problems with ms_newFeatureObj in PHP3 MapScript Message-ID: <3A8AA6A9.7BC64136@medschool.hull.ac.uk> Hi All, I've been struggling for a while now to make automatic inline feature addition work, but with no success. Maybe somebody can tell me what's wrong with the following script. $qry = "SELECT * FROM FieldData"; $qry .= " WHERE ID=".$id; $qry .= " ORDER BY 1,2,3"; $result = mysql_query($qry, $conn); if ($result): // Load MapScript module. dl("php_mapscript.so"); // Load MapServer .map file $map = ms_newMapObj("NW_Arg.map"); // Get a handle to the 'Sites' layer // The layer properties are defined in the map file $lyr_Sites = $map->getLayerByName("sites"); // Add a feature for every record in the result set // The result set will contain about 20 rows while ( $row = mysql_fetch_array($result) ): $lng = (double)$row["Lng"]; $lat = (double)$row["Lat"]; ..... $line = ms_newLineObj(); $retval = $line->addXY($lng, $lat); $feature = ms_newFeatureObj($lyr_Sites); $retval = $feature->shape->add($line); // $retval is always 0, i.e. success $feature->set("text", "H".$row["FieldNo"]); endwhile; mysql_free_result($result); $lyr_Sites->set("status", 1); ..... $img = $map->draw(); $url = $img->saveWebImage(0, 0); printf("
\n", $url, $map->width, $map->height); ..... endif; The problem now shows itself, viz: even though there may be 20 entries in the result set ONLY ONE ever appears on the map image! The one that does appear is ALWAYS the first in the result set. (I've even used $map->Save("/some/file/name.map") with the same result, the "sites" layer only contains one FEATURE element. I have a feeling that ms_newFeatureObj() is not properly linking the new feature into the layer->features linked list. To see this in action, go to http://www.med-phys.hull.ac.uk/~Lobivia/Search.php3?id=1150 and click the 'Show Map' link. All the sites under Field Data should be plotted but only the first is seen! Any help would be greatly appreciated. -- ------------------------------------------------------------------------------ Martin Lowry Voice: +44 (0)1482 674075 Fax: +44 (0)1482 320137 Email: mailto:m.lowry at medschool.hull.ac.uk WWW : http://www.med-phys.hull.ac.uk/~martin/Lobivia ------------------------------------------------------------------------------- From steve.lime at dnr.state.mn.us Wed Feb 14 10:42:24 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 14 Feb 2001 12:42:24 -0600 Subject: Use of tiled data... Message-ID: The easiest way would be just to modify the value of SHAPEPATH to point to the desired directory. You could use the form variable map_shapepath to change it whatever you'd like. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Michael Schulz 02/14/01 05:34AM >>> Dear List, I know this subject has been mentioned a lot in the archive, but i still need some advice. I have datsets that are organised by directory structure. In each subdirectory i have a set of shapes always with the same name. So far, it looks as if it's just the normal case when you would use a tiled data layer (.ie TILEINDEX). But for each "MapServer-Session" I only want to access exactly one subdirectoy (the county the user has chosen) no information about adjacent counties has to be displayed or queried. But i need the displayed layer to be queryable. At the moment, I am thinking of using php/mapscript calls to change the source of the layer, after the user has chosen a county. Could it be done diffenrently? Via the URL (cgi-bin/mapserv?...&map_layername_data=./main_dir/sub_dir/shapefile&...)? Any comments will be appreciated! Thanks, Michael -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de From morissette at dmsolutions.ca Wed Feb 14 10:44:55 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 14 Feb 2001 13:44:55 -0500 Subject: Problems with ms_newFeatureObj in PHP3 MapScript References: <3A8AA6A9.7BC64136@medschool.hull.ac.uk> Message-ID: <3A8AD227.F2F4E246@dmsolutions.ca> Martin Lowry wrote: > > Hi All, > > I've been struggling for a while now to make automatic inline feature > addition work, but with no success. Maybe somebody can tell me what's > wrong with the following script. > ... > $line = ms_newLineObj(); > $retval = $line->addXY($lng, $lat); > $feature = ms_newFeatureObj($lyr_Sites); > $retval = $feature->shape->add($line); // $retval is > always 0, i.e. success > $feature->set("text", "H".$row["FieldNo"]); Martin, Which version of PHP MapScript are you using? I think ms_NewFeatureObj() has been removed after the 3.3.011 release and it may well have been broken in version 3.3.011. I suggest that you get version 3.4 (it is much more stable anyways) and use layerObj's addFeature(shapeObj shape) method which replaced the ms_NewFeatureObj(). Best Regards, -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From jan at intevation.de Wed Feb 14 11:25:13 2001 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 14 Feb 2001 20:25:13 +0100 Subject: Mapserver and license... In-Reply-To: <3A8A833A.C5B1E38@noaa.gov>; from Michael.Hearne@noaa.gov on Wed, Feb 14, 2001 at 08:08:10AM -0500 References: <3A8A6E98.32D3A5FD@snafu.de> <3A8A833A.C5B1E38@noaa.gov> Message-ID: <20010214202513.A11633@abnoba.intevation.de> Hi, just clearifying some uncertain points. On Wed, Feb 14, 2001 at 08:08:10AM -0500, Michael Hearne wrote: > Peter - Not the world's biggest expert on The Law, but as I understand > it, mapserver's license is essentially the MIT license, which should > allow you to get paid for building something (even GPL should allow > that), you can change the code, and (little uncertain about this) I MIT license as well as BSD and MapServer license allow all to disclose improved code and make distribute it (or sell it) as a proprietary product. > don't think you have to make the code public, although it would > certainly be nice. you don't have to. > I don't think you have to sign anything. you don't have to. Cheers Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From jan at intevation.de Wed Feb 14 11:41:25 2001 From: jan at intevation.de (Jan-Oliver Wagner) Date: Wed, 14 Feb 2001 20:41:25 +0100 Subject: MapServer Homepage usability bug Message-ID: <20010214204125.D11633@abnoba.intevation.de> Hi, just realized that if you have a browser without javascript, you have no navigation opportunities on the mapserver homepage (try it out with disabling javascript in your browser). If no javascript is available in the browser, that homepage should offer an alternative navigation (can be simple, I just need some hooks). Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From teb at mallit.fr.umn.edu Wed Feb 14 11:42:17 2001 From: teb at mallit.fr.umn.edu (teb) Date: Wed, 14 Feb 2001 13:42:17 -0600 (CST) Subject: 2 Color(1 bit) tiff files (fwd) Message-ID: <200102141942.NAA25345@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: hana.jirsova at oku-pce.cz Date: Fri, 9 Feb 2001 9:46:12 +0100 To: mapserver-info at lists.gis.umn.edu Subject: 2 Color(1 bit) tiff files I tried to display 2 color's files (1 bit) in different colors, but unsuccessfully. I have rasters for various themes (one raster for rivers, second for seats, third for forest,....) and all are drawn only with black and white(transparent) color. Maybe I'm doing some mistakes in code. Please, be so kind and look at it : #********************** This is the raster of forest LAYER NAME 'cl2421' DATA cl2421.tif TYPE RASTER CLASS EXPRESSION "1" COLOR 0 255 0 END # CLASS OFFSITE 0 END # LAYER # this upper example works only in black and white #********************** # I need to do it with the group of rasters ... rivers, # it works only in black and white , I don't know how to # change it LAYER NAME 'cv2421' TYPE RASTER STATUS off TILEINDEX 'kl50' TILEITEM RIVERS MAXSCALE 200000 OFFSITE 0 END # LAYER Thank you very much. Hana Jirsova ------------- End Forwarded Message ------------- From tomkralidis at hotmail.com Wed Feb 14 11:47:59 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Wed, 14 Feb 2001 14:47:59 -0500 Subject: OGC / MapScript questions Message-ID: Hi, I'v been working w/ MapServer to build a basic application. Until now, I have not used any MapScript. I would like to integrate layers called from OGC-type servers (eg. clearinghouse dcw data), to overlay onto my datasets. I have a script to return an OGC-style response of data BBOX, and would like to glue this into mapserver. I understand OGC compliance is forthcoming, but is this possible in MapScript in the interim? Does anyone have any examples of this working? I tried running the site example for MapScript on my web server: #!/usr/bin/perl -w use mapscript; my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die "Unable to open mapfile: $!\n"; my $img = $map->draw() or die('Unable to draw map'); mapscript::msSaveImage($img, '/tmp/imgfile', $map->{interlace}, $map->{transparent}); and get the following error in my error_log: Unable to open mapfile: Inappropriate ioctl for device I'm running mapserver on a RedHat6.2 with Apache-1.3.14 Anyone had this type of issue? How does one deal w/ MapScript? Does it replace the mapserv binary as the driving application, calling everthing through there? Any advice would be appreciated. Thanks ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From teb at mallit.fr.umn.edu Wed Feb 14 11:43:09 2001 From: teb at mallit.fr.umn.edu (teb) Date: Wed, 14 Feb 2001 13:43:09 -0600 (CST) Subject: SDE HELP! (fwd) Message-ID: <200102141943.NAA25349@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: "Kuster, Egon" To: "'mapserver-info at lists.gis.umn.edu'" Subject: SDE HELP! Date: Mon, 12 Feb 2001 14:46:18 +1030 MIME-Version: 1.0 I am trying to compile mapserver with the SDE support, I get the following compile errors: C:\mapserver\source\mapserver>nmake Makefile.vc Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cd gd-1.2 nmake /f makefile.nt OPTFLAGS="/nologo /Zi /W3 /DDEBUG" Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl gddemo.obj -o gddemo /link /LIBPATH:. gd.lib Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. /out:gddemo.exe /out:gddemo.exe /LIBPATH:. gd.lib gddemo.obj cl giftogd.obj -o giftogd /link /LIBPATH:. gd.lib Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. /out:giftogd.exe /out:giftogd.exe /LIBPATH:. gd.lib giftogd.obj cl webgif.obj -o webgif /link /LIBPATH:. gd.lib Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Microsoft (R) Incremental Linker Version 6.00.8447 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. /out:webgif.exe /out:webgif.exe /LIBPATH:. gd.lib webgif.obj cd .. cd gdft nmake /f makefile.vc OPTFLAGS="/nologo /Zi /W3 /DDEBUG" Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cd .. cl /nologo /Zi /W3 /DDEBUG -I./gd-1.2 -I../freetype/lib -I./gdft -I./regex-0.12 -IC:\arcgis\arcexe81\arcsde\include -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DUSE_EPPL -DUSE_TTF -DUSE_GD_1_2 -DUSE_SDE mapserv.c mapserver.lib gd-1.2/gd.lib ../freetype/lib/freetype.lib ./gdft/gdft.lib C:\arcgis\arcexe81\arcsde\lib\*.lib mapserv.c mapserv.c(165) : warning C4018: '!=' : signed/unsigned mismatch mapserv.c(230) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data mapserv.c(239) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data mapserv.c(579) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data mapserv.c(580) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data mapserv.c(605) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data mapserv.c(606) : warning C4244: '=' : conversion from 'double ' to 'int ', possible loss of data LIBC.lib(crt0init.obj) : warning LNK4098: defaultlib "libcd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_connection_free mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_free mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_free mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_clip mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_is_nil mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_fetch mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_execute mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_describe_column mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_bind_output_column mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_set_spatial_constraints mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_query mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_stream_create mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_sql_construct_alloc mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_generate_rectangle mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_create mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_layerinfo_get_envelope mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_layerinfo_get_coordref mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_coordref_create mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_layer_get_info mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_layerinfo_create mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_connection_create mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_error_get_string mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_get_all_points mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_get_num_points mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_get_type mapserver.lib(mapsde.obj) : error LNK2001: unresolved external symbol _SE_shape_get_num_parts mapserv.exe : fatal error LNK1120: 26 unresolved externals NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. What version of the SDE API did you use when writing mapserver, do you have a distribution of mapserver that I can use that contains SDE support or do you have any pointers for trying to run mapserver with connecting to the ESRI SDE. I have also attached a copy of the make file that I am using. <> Egon Kuster Defence, Science & Technology Organisation Information Technology Division Australia Phone: +61 8 8259 5175 Fax: +61 8 8259 5169 Email: egon.kuster at dsto.defence.gov.au ------------- End Forwarded Message ------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile.vc Type: text/x-sun-makefile Size: 5279 bytes Desc: Makefile.vc URL: From jgehring at solant.com Wed Feb 14 13:57:31 2001 From: jgehring at solant.com (Gehring, John) Date: Wed, 14 Feb 2001 14:57:31 -0700 Subject: newbie question Message-ID: <6D98540C0CD2D311808500E018C1EBFEF6CFC4@novant1> Is there an FAQ? I'm trying to learn how to put together a map file. I'm looking over the demo.map file and have that whole demo running fine, but still have some questions. Thanks. John L. Gehring Software Engineer Avolent (303) 583-3129 jgehring at solant.com From Lars-goran.Edholm at sandviken.se Wed Feb 14 23:41:54 2001 From: Lars-goran.Edholm at sandviken.se (Lars-goran Edholm) Date: Thu, 15 Feb 2001 08:41:54 +0100 Subject: Mapserver license Message-ID: Hi. I have been testing Mapserver for some months and is now ready to use it in some applications on Internet and Intranet. I'm working at the Municipality of Sandviken in Sweden and my question is: In the license: Permission is hereby granted, free of charge, to any person obtaining... Is it OK to use in an organisation when the license says "person"? Lars-G?ran Edholm lars-goran.edholm at sandviken.se From m.lowry at medschool.hull.ac.uk Thu Feb 15 02:19:25 2001 From: m.lowry at medschool.hull.ac.uk (Martin Lowry) Date: Thu, 15 Feb 2001 10:19:25 +0000 Subject: Problems with ms_newFeatureObj in PHP3 MapScript Message-ID: <3A8BAD2D.8ABE3305@medschool.hull.ac.uk> Hello Daniel, Many thanks for your reply. I've been using MS 3.3.011 so no wonder I was having problems! I will immediately upgrade to 3.4. > Which version of PHP MapScript are you using? > I think ms_NewFeatureObj() has been removed after the 3.3.011 release > and it may well have been broken in version 3.3.011. > > I suggest that you get version 3.4 (it is much more stable anyways) and > use layerObj's addFeature(shapeObj shape) method which replaced the > ms_NewFeatureObj(). Cheers! -- ------------------------------------------------------------------------------ Martin Lowry Voice: +44 (0)1482 674075 Fax: +44 (0)1482 320137 Email: mailto:m.lowry at medschool.hull.ac.uk WWW : http://www.med-phys.hull.ac.uk/~martin/Lobivia ------------------------------------------------------------------------------- From angus at 3wsi.com Thu Feb 15 03:39:38 2001 From: angus at 3wsi.com (Angus D Madden) Date: Thu, 15 Feb 2001 18:39:38 +0700 Subject: problem with 3.4 Message-ID: <3A8BBFFA.FA96C9BB@3wsi.com> Ok, I have mapserver 3.3.011 running without problems. The demo works fine and I am convinced that this is the software I need. When I try 3.4, though, i get the following error message: msLoadMap(): Unknown identifier. (SHADESET):(6) Everything else is the same, except that with 3.4 I included PHP/Mapscript I have double-checked the paths, permissions, read the docs, and searched with google, and come up empty. I am running apache-1.3.17 with php-4.0.4pl1 on Debian GNU/Linux 2.2.17 . Mapserver configuration args: ./configure --with-php=../php-4.0.4pl1 --with-apache=/usr/local/apache/include --with-tiff=../tiff-v3.5.6-beta --with-jpeg=../jpeg-6b Any ideas? Thanks, angus From Alexspringer at aol.com Thu Feb 15 04:54:10 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Thu, 15 Feb 2001 07:54:10 EST Subject: shapefile viewer Message-ID: Greetings -- I am seeking a freeware, Delphi (5) based, basic shape file viewer, with source code, for execution on windows 98/NT platforms (non-web), that we can redistribute to a user community that downloads our no-fee, no-strings attached, Census 2000 TIGER file based shape files (organized by state and county, covering the US). Most of these files (counties, school districts, roads, census tracts, block groups, blocks) are now available. A message will be posted soon with more information. Of course, these files can be used for display directly with MapServer. :) I am familiar with the good work of InovaGIS and that shapefile viewer. It is in VB and we need the ability to display geocodes. Can anyone provide me with Delphi-based software or suggest a source? Thank you. From romi96 at img.gd.itb.ac.id Thu Feb 15 05:17:52 2001 From: romi96 at img.gd.itb.ac.id (Romi Hardiyanto) Date: Thu, 15 Feb 2001 20:17:52 +0700 (JAVT) Subject: problem with 3.4 In-Reply-To: <3A8BBFFA.FA96C9BB@3wsi.com> Message-ID: I think it's changed to SYMBOLSET(? since 3.4). I do not know why but I look at the source code there is no SHADESET. On Thu, 15 Feb 2001, Angus D Madden wrote: --cutted -- > msLoadMap(): Unknown identifier. (SHADESET):(6) > --cutted-- From vvg at spider.ru Thu Feb 15 06:37:45 2001 From: vvg at spider.ru (Vitaly V. Guba) Date: Thu, 15 Feb 2001 17:37:45 +0300 Subject: send in your apps/demo's... Message-ID: <000701c0975c$dc996640$1100000a@lip.local.net.ru> www.23region.ru Krasnodar regional information portal -------------- next part -------------- An HTML attachment was scrubbed... URL: From rand at meridian-enviro.com Thu Feb 15 09:22:15 2001 From: rand at meridian-enviro.com (Douglas K. Rand) Date: 15 Feb 2001 11:22:15 -0600 Subject: Passing lat/lon to URL Message-ID: <877l2rq2t4.fsf@delta.meridian-enviro.com> I'm working on a fairly simple map browser that I need to pass a latitude and longitude to another URL. I've got the browser working using mapserv with zoom in/out and pan/recenter. What I need to figure out is how to have another button/selection labled "Select Location" that will cause the user to be forwarded either to a URL like "http://www.com/form?lat=47.899474?lon=-96,843673" or to filter a HTML document changing [maplat] and [maplon] to the lat/lon. I seem to be stuck on this, any suggestions would be welcome. Thanks. From Michael.Hearne at noaa.gov Thu Feb 15 09:34:11 2001 From: Michael.Hearne at noaa.gov (Michael Hearne) Date: Thu, 15 Feb 2001 12:34:11 -0500 Subject: shapefile viewer References: Message-ID: <3A8C1313.56D639EA@noaa.gov> Alex - It's not in Delphi, and it's not open source, but ESRI has a free Java version of ArcExplorer that can view shapefiles. It even works on Linux, sort of (can't get geotiff's [at least] to draw). You may not be able to distribute it either, but people could download it for free. I don't know if it displays geocodes. -Mike Hearne Alexspringer at aol.com wrote: > > Greetings -- > > I am seeking a freeware, Delphi (5) based, basic shape file viewer, with > source code, for execution on windows 98/NT platforms (non-web), that we can > redistribute to a user community that downloads our no-fee, no-strings > attached, Census 2000 TIGER file based shape files (organized by state and > county, covering the US). Most of these files (counties, school districts, > roads, census tracts, block groups, blocks) are now available. A message > will be posted soon with more information. Of course, these files can be > used for display directly with MapServer. :) > > I am familiar with the good work of InovaGIS and that shapefile viewer. It > is in VB and we need the ability to display geocodes. > > Can anyone provide me with Delphi-based software or suggest a source? > > Thank you. -- Michael G. Hearne email: Michael.Hearne at noaa.gov Coastal Remote Sensing phone: 843 740-1281 TPMC/NOAA Coastal Services Center fax: 843 740-1312 2234 S. Hobson Ave., Charleston, SC 29407 From jan at intevation.de Thu Feb 15 10:57:24 2001 From: jan at intevation.de (Jan-Oliver Wagner) Date: Thu, 15 Feb 2001 19:57:24 +0100 Subject: Mapserver license In-Reply-To: ; from Lars-goran.Edholm@sandviken.se on Thu, Feb 15, 2001 at 08:41:54AM +0100 References: Message-ID: <20010215195724.A23010@abnoba.intevation.de> On Thu, Feb 15, 2001 at 08:41:54AM +0100, Lars-goran Edholm wrote: > I have been testing Mapserver for some months and is now ready to use it > in some applications on Internet and Intranet. > I'm working at the Municipality of Sandviken in Sweden and my question is: > In the license: > Permission is hereby granted, free of charge, to any person obtaining... > > Is it OK to use in an organisation when the license says "person"? sure! "person" is not meaning "human being". Any organization is a "legal person" :-) Jan -- Jan-Oliver Wagner http://intevation.de/~jan/ Intevation GmbH http://intevation.de/ FreeGIS http://freegis.org/ From cnielsen at co.tillamook.or.us Thu Feb 15 11:34:15 2001 From: cnielsen at co.tillamook.or.us (Chad Nielsen) Date: Thu, 15 Feb 2001 11:34:15 -0800 Subject: shapefile viewer In-Reply-To: Message-ID: <000201c09786$48112970$a14368aa@co.tillamook.or.us> Alex, Here's another free viewer. I really don't know much about it. I've only played around with it briefly. It's very similar to ArcExplorer. I don't know if the code is available. There are some development libraries on their site. Might be worth checking out. http://www.pcigeomatics.com/freeware/freeware.html Chad > -----Original Message----- > From: owner-mapserver-users at lists.gis.umn.edu > [mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of > Alexspringer at aol.com > Sent: Thursday, February 15, 2001 4:54 AM > To: mapserver-users at lists.gis.umn.edu > Subject: shapefile viewer > > > Greetings -- > > I am seeking a freeware, Delphi (5) based, basic shape file viewer, with > source code, for execution on windows 98/NT platforms (non-web), > that we can > redistribute to a user community that downloads our no-fee, no-strings > attached, Census 2000 TIGER file based shape files (organized by > state and > county, covering the US). Most of these files (counties, school > districts, > roads, census tracts, block groups, blocks) are now available. A message > will be posted soon with more information. Of course, these files can be > used for display directly with MapServer. :) > > I am familiar with the good work of InovaGIS and that shapefile > viewer. It > is in VB and we need the ability to display geocodes. > > Can anyone provide me with Delphi-based software or suggest a source? > > Thank you. > From JBarot at digmap.com Thu Feb 15 12:18:02 2001 From: JBarot at digmap.com (Jaynika Barot) Date: Thu, 15 Feb 2001 12:18:02 -0800 Subject: getting exact extent... Message-ID: <31284D87E5C7D411984300E0296E6541021238@DMPSERVER> hi, i want to get the GIF image with exact extent..in my applet window of 600x400 through mapserver. i.e StrURL="http://localhost/mapserver/bin/mapserv.exe?mode=map&layer=layer1&zoo mdir=1&zoomsize=1&imgext="+Double.toString(leftX)+"+"+Double.toString(bottom Y)+"+"+Double.toString(rightX)+"+"+Double.toString(topY)+"&map=c%3A%5CInetpu b%5Cwwwroot%5Cms_demo%5Cdmpdemo.map&mapext=shapes&img.x=250&img.y=100"; here, what this img.x and img.y means?? From where do they come?? do i need to specify the zoom size - zoom dir ect??? or simply say i want only a gif image of the size sizeX-sizeY spcefied by the leftX,rightX,topY,bottomY extent from mapserver, how do i do that?? thanks. JB From s371538 at student.uq.edu.au Thu Feb 15 13:47:13 2001 From: s371538 at student.uq.edu.au (Robert Ofarrell) Date: Fri, 16 Feb 2001 07:47:13 +1000 (GMT+1000) Subject: problem with 3.4 In-Reply-To: <3A8BBFFA.FA96C9BB@3wsi.com> Message-ID: Here is an email that was sent to the list sometime before. It should explain the answer to your problem. I also find it best to use the symbols.sym from the GMap example. The new version uses a unified symbol file format which means you can store all symbols in one file. This allows for inline definitions (i.e. within a mapfile) of symbols and more straight forward mapscript access. Anyway here's what's needed to switch: 1) SHADESET, MARKERSET, LINESET are gone and replaced by SYMBOLSET 2) the keywords SHADESET, MARKERSET, LINESET need to be removed from symbol files, and so should the last END keyword 3) you can "cat" them all together That should do it. Steve On Thu, 15 Feb 2001, Angus D Madden wrote: > > Ok, I have mapserver 3.3.011 running without problems. The demo works > fine and I am convinced that this is the software I need. > > When I try 3.4, though, i get the following error message: > > msLoadMap(): Unknown identifier. (SHADESET):(6) > > Everything else is the same, except that with 3.4 I included > PHP/Mapscript > > I have double-checked the paths, permissions, read the docs, and > searched with google, and come up empty. I am running apache-1.3.17 > with php-4.0.4pl1 on Debian GNU/Linux 2.2.17 . Mapserver configuration > args: > > ./configure --with-php=../php-4.0.4pl1 > --with-apache=/usr/local/apache/include --with-tiff=../tiff-v3.5.6-beta > --with-jpeg=../jpeg-6b > > Any ideas? > > Thanks, > > angus > Robert O'Farrell University of Queensland, Brisbane, Australia From bertha_bonita at yahoo.com Thu Feb 15 16:09:42 2001 From: bertha_bonita at yahoo.com (=?iso-8859-1?q?bertha=20amalia=20serrato=20de=20la=20cruz?=) Date: Thu, 15 Feb 2001 16:09:42 -0800 (PST) Subject: problems with compilation ms_3.4 Message-ID: <20010216000942.5540.qmail@web4206.mail.yahoo.com> Hi list. i'm installing ms_3.4 i followed the steps in the file README.CONFIGURE for the impatient: ./configure make then in the directory cgi/bin i have to copy the mapserv file but i dont have it!! in my directory mapserver only i have the files mapserv.c and mapserv.h i don't know where is the mapserv file please help me.. thanks!! ===== *--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Lic. Ciencias Computacionales Bertha A. Serrato bserrato at cicese.mx CICESE,Divisi?n de Ciencias de la Tierra. Ensenada, B.C. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ From joela at joelhq.com Thu Feb 15 20:24:08 2001 From: joela at joelhq.com (Joel Anderson) Date: Thu, 15 Feb 2001 22:24:08 -0600 Subject: Landview reference map Message-ID: <000f01c097d0$4dfa1280$1400a8c0@joelhq.com> Hi! OK, I'm stumped: how the heck does the LandView application (http://www.dnr.state.mn.us/mapping/landview/) get the reference map to display the red box in the mapplet? I'm trying to do something similar, and am stuck here. Any help here is much appreciated! Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhearne at bellsouth.net Thu Feb 15 20:29:59 2001 From: mhearne at bellsouth.net (Michael Hearne) Date: Thu, 15 Feb 2001 23:29:59 -0500 Subject: compiling _without_ png Message-ID: <3A8CACC7.38947760@bellsouth.net> Users - How do you turn _off_ PNG support when compiling Mapserver 3.4? I tried following the instructions in the Makefile, making my GD_LIB line look like this: GD_LIB= -lgd but the executable still makes PNG images! I wouldn't even care, except that I want to use Steve's applet and it won't work with PNG (will it?) From fnievinski at cpovo.net Fri Feb 16 00:18:03 2001 From: fnievinski at cpovo.net (Felipe G. Nievinski) Date: Fri, 16 Feb 2001 05:18:03 -0300 Subject: Landview reference map References: <000f01c097d0$4dfa1280$1400a8c0@joelhq.com> Message-ID: <094101c097f0$fc0eafa0$0f0110ac@felipe> The reference map definition (/landview/reference.map) has two layers defining both the backgroung and the red box: LAYER NAME background TYPE RASTER DATA graphics/reference.gif STATUS DEFAULT TRANSFORM OFF END LAYER NAME box STATUS OFF TYPE POLYGON CLASS COLOR 255 0 0 OUTLINECOLOR 0 0 0 END END Simply that. Hope this helps. Felipe Nievinski UFRGS - Universidade Federal do Rio Grande do Sul ----- Original Message ----- From: Joel Anderson To: mapserver-users at lists.gis.umn.edu Sent: Friday, February 16, 2001 1:24 AM Subject: Landview reference map Hi! OK, I'm stumped: how the heck does the LandView application (http://www.dnr.state.mn.us/mapping/landview/) get the reference map to display the red box in the mapplet? I'm trying to do something similar, and am stuck here. Any help here is much appreciated! Joel From mark.wilson at rohoel.at Thu Feb 15 23:43:22 2001 From: mark.wilson at rohoel.at (mark.wilson at rohoel.at) Date: Fri, 16 Feb 2001 08:43:22 +0100 Subject: shapefile viewer Message-ID: Alex, JShape is another Java based viewer which is either free or very cheap to distribute, (depending upon the version). You can find details at http://www.jshape.com Mark W. Michael Hearne on 15.02.2001 18:34:11 To: Alexspringer at aol.com, mapserver-users at lists.gis.umn.edu cc: (bcc: Mark H Wilson/RAG/AT) Subject: Re: shapefile viewer Alex - It's not in Delphi, and it's not open source, but ESRI has a free Java version of ArcExplorer that can view shapefiles. It even works on Linux, sort of (can't get geotiff's [at least] to draw). You may not be able to distribute it either, but people could download it for free. I don't know if it displays geocodes. -Mike Hearne Alexspringer at aol.com wrote: > > Greetings -- > > I am seeking a freeware, Delphi (5) based, basic shape file viewer, with > source code, for execution on windows 98/NT platforms (non-web), that we can > redistribute to a user community that downloads our no-fee, no-strings > attached, Census 2000 TIGER file based shape files (organized by state and > county, covering the US). Most of these files (counties, school districts, > roads, census tracts, block groups, blocks) are now available. A message > will be posted soon with more information. Of course, these files can be > used for display directly with MapServer. :) > > I am familiar with the good work of InovaGIS and that shapefile viewer. It > is in VB and we need the ability to display geocodes. > > Can anyone provide me with Delphi-based software or suggest a source? > > Thank you. -- Michael G. Hearne email: Michael.Hearne at noaa.gov Coastal Remote Sensing phone: 843 740-1281 TPMC/NOAA Coastal Services Center fax: 843 740-1312 2234 S. Hobson Ave., Charleston, SC 29407 From michael.kleih at jrc.it Fri Feb 16 00:30:10 2001 From: michael.kleih at jrc.it (Michael Kleih) Date: Fri, 16 Feb 2001 09:30:10 +0100 Subject: send in your apps/demo's... References: <000701c0975c$dc996640$1100000a@lip.local.net.ru> Message-ID: <3A8CE512.7B4EFDBD@jrc.it> "Vitaly V. Guba" wrote: > www.23region.ru Krasnodar regional information portal A really nice one! Probably one of the best ! (Click on the map in the middle) Bus and Tram are not working yet? Michael -- __________________________________ Michael Kleih TP 270 Centro Comune di Ricerca-JRC Commissione Europea Via Fermi 1 21020 ISPRA - ITALIA Tel. 0039/0332785039 __________________________________ From frank.koormann at intevation.de Fri Feb 16 01:04:52 2001 From: frank.koormann at intevation.de (Frank Koormann) Date: Fri, 16 Feb 2001 10:04:52 +0100 Subject: shapefile viewer In-Reply-To: ; from Alexspringer@aol.com on Thu, Feb 15, 2001 at 07:54:10AM -0500 References: Message-ID: <20010216100452.A28106@abnoba.intevation.de> Hi, * Alexspringer at aol.com (Alexspringer at aol.com) [010215 14:46]: > Greetings -- > > I am seeking a freeware, Delphi (5) based, basic shape file viewer, with > source code, for execution on windows 98/NT platforms (non-web), that we can > redistribute to a user community that downloads our no-fee, no-strings > attached, Census 2000 TIGER file based shape files (organized by state and > county, covering the US). Most of these files (counties, school districts, > roads, census tracts, block groups, blocks) are now available. A message > will be posted soon with more information. Of course, these files can be > used for display directly with MapServer. :) > > I am familiar with the good work of InovaGIS and that shapefile viewer. It > is in VB and we need the ability to display geocodes. > > Can anyone provide me with Delphi-based software or suggest a source? > Why are you focusing on a Delphi-based application? Are you planning to extend an existing program for your needs? In that case the tools already mentioned in this thread won't help you: Although some are gratis, none of them is free. IMHO also ESRI's MapObjects won't help you, as I understand their licence strategy you are charged for each run-time you distribute. You might have a look at OpenMap: http://openmap.bbn.com/ a JavaBeans based programmer's toolkit. Regards, Frank -- Frank Koormann http://intevation.net/~frank/ Professional Service around Free Software http://intevation.net/ FreeGIS Project http://freegis.org/ From mcilhagga at dmsolutions.ca Fri Feb 16 07:19:52 2001 From: mcilhagga at dmsolutions.ca (Dave McIlhagga) Date: Fri, 16 Feb 2001 10:19:52 -0500 Subject: Upcoming developments & New applications Message-ID: <3A8D4518.8C6E2592@dmsolutions.ca> Hi everyone, If I may take a quick moment of your time, I would like to pass along some important recent developments that I think will have significant impacts on the MapServer software and user-base. Several recent opportunities have come through for our organization which are allowing us to take a much more significant role in the ongoing development, enhancements and support for MapServer. Over the next 6 to 9 months, DM Solutions Group will be developing or collaborating with the UMN to include: 1. OGR Integration with MapServer: - this will allow for direct access to several new vector formats, of the greatest interest being MapInfo, Tiger, and SDTS files 2. GDAL integration with MapServer: - this will extend the direct access to raster formats to 20 new formats including Arc/Info Grids and USGS DEMs 3. Image Warping: - this allows for on-the-fly reprojection of rasters 4. OGC Web Mapping Specification Compliance: - we will be collaborating with UMN in terms of development, testing, and documentation. In addition, we will be adding "cascading" capability that allows MapServer to act as a client to multiple WMS MapServers - this allows applications to include data from multiple remote sources in a single web application. 5. Web-based .MAP Editor - this will be a web equivalent to Tom Poindexter's excellent new workbench utility. And of course, it will all be released as Open source :) If anyone happens to be going to the GIS show in Vancouver, I will be making a presentation on Open Source tools for Web Mapping - featuring MapServer. I will be talking much more about these upcoming developments. I encourage you to pop by and introduce yourself. I'm always interested in learning about what users are doing with this great technology. For a write up on some of our activities pertaining to MapServer see: http://www.web-mapper.com/articles/tech/internet/dmsolutions/mapserver.cfm Also, a couple of applications we have recently launched (I don't think I sent this out to the list before, if I did, my apologies) Health Canada's Disease Surveillance Online: http://www.hc-sc.gc.ca/hpb/lcdc/webmap/index.html Health Canada's FluWatch: http://www.hc-sc.gc.ca/hpb/lcdc/bid/respdis/fluwatch/index.html Happy mapping everyone. We're really excited but these upcoming developments and in seeing them used throughout the community. Dave -- Dave McIlhagga President, DM Solutions Group http://www.dmsolutions.ca ---------------------------- Innovative Spatial Solutions ---------------------------- EMail : McIlhagga at DMSolutions.ca Phone : 613-565-5056 Cell : 613-261-3913 Fax : 707-222-1943 Address : 116 Lisgar St., Suite 400, Ottawa, Ontario K2P 0C2 From steve.lime at dnr.state.mn.us Fri Feb 16 07:23:40 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 09:23:40 -0600 Subject: Landview reference map Message-ID: There 's a bit more to it. The mapfile can be viewed at: http://maps.dnr.state.mn.us/landview/reference.map Note that this is not a traditional reference map, that is there is no use of a REFERENCE section. Rather it is a second map that is always rendered using the same map extent. The thing that changes is the feature (i.e. a box or point) that is added to the map via a URL. If the scale of the main map is such that a box can be seen then a feature is defined for the 'box' layer, if in real close then a point feature is defined for the 'marker' layer, if way out then neither is drawn. In practice I use javascript to construct the URLs depending on scale. The application found at this URL also uses this way of doing things. http://maps.dnr.state.mn.us/cgi-bin/mapserv?map=/usr/local/www/docs/compass/snowmobile/view.map&zoomsize=3&zoomdir=1&init=true View the source in Netscape to see the resulting URLs for the reference image or view in MSIE to see the Javascript. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Felipe G. Nievinski" 02/16/01 02:18AM >>> The reference map definition (/landview/reference.map) has two layers defining both the backgroung and the red box: LAYER NAME background TYPE RASTER DATA graphics/reference.gif STATUS DEFAULT TRANSFORM OFF END LAYER NAME box STATUS OFF TYPE POLYGON CLASS COLOR 255 0 0 OUTLINECOLOR 0 0 0 END END Simply that. Hope this helps. Felipe Nievinski UFRGS - Universidade Federal do Rio Grande do Sul ----- Original Message ----- From: Joel Anderson To: mapserver-users at lists.gis.umn.edu Sent: Friday, February 16, 2001 1:24 AM Subject: Landview reference map Hi! OK, I'm stumped: how the heck does the LandView application (http://www.dnr.state.mn.us/mapping/landview/) get the reference map to display the red box in the mapplet? I'm trying to do something similar, and am stuck here. Any help here is much appreciated! Joel From steve.lime at dnr.state.mn.us Fri Feb 16 07:31:45 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 09:31:45 -0600 Subject: compiling _without_ png Message-ID: You need to compile against the right version of GD. If there is a version of GD in your system libs that supports GD (often the case on Linux installs) then the linker will ALWAYS use that version. The only way I've gotten around it is to temporarily move the system version, build MapServer against the distributed version of GD and the move the system version back. (Dan: perhaps we could rename things in the version of gd-1.2 so that it could be asked for specifically with configure (that is use -lgd1.2 instead of -lgd. Ideas?) Java 1.1 doesn't natively support PNG but there are 3rd party readers out there that could be added to the applet. Of course that will make the download a bit longer but shouldn't be too bad. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Michael Hearne 02/15/01 10:29PM >>> Users - How do you turn _off_ PNG support when compiling Mapserver 3.4? I tried following the instructions in the Makefile, making my GD_LIB line look like this: GD_LIB= -lgd but the executable still makes PNG images! I wouldn't even care, except that I want to use Steve's applet and it won't work with PNG (will it?) From steve.lime at dnr.state.mn.us Fri Feb 16 09:06:25 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 11:06:25 -0600 Subject: OGC / MapScript questions Message-ID: OGC compliance is coming, but first it will exist on the server level and then perhaps at the client level. That is, initially MapServer will be able to act as a compliant WMT server and will not be a WMT client. That said you should be able to integrate other WMT server output into your maps using MapScript. The basic algorithm would be: 1) open map, set extents etc. 2) step through layers, rendering each in turn, if the layer is to be retrieved elsewhere then nab the image, save it and alter the layer definition to use it. remember you can use gif/png in images without world files (TRANSFORM FALSE). 3) write output image/page 4) cleanup MapScript is intended as a way to replace the MapServer CGI. It's possible to rewrite the CGI version in perl or whatever. By the same token you can write very custom applications that do things the generic CGI C implementation can't do. You could also use the C library, but scripting seems to appeal to a larger audience. There are ways to integrate MapScript apps with the CGI version such as writing custom mapfiles or retrieving/creating custom data before passing a request to the CGI piece. That would save re-writing template processing functionality. I've not seen the error you mention before. Try searching perl.com... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Tom Kralidis" 02/14/01 01:47PM >>> Hi, I'v been working w/ MapServer to build a basic application. Until now, I have not used any MapScript. I would like to integrate layers called from OGC-type servers (eg. clearinghouse dcw data), to overlay onto my datasets. I have a script to return an OGC-style response of data BBOX, and would like to glue this into mapserver. I understand OGC compliance is forthcoming, but is this possible in MapScript in the interim? Does anyone have any examples of this working? I tried running the site example for MapScript on my web server: #!/usr/bin/perl -w use mapscript; my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die "Unable to open mapfile: $!\n"; my $img = $map->draw() or die('Unable to draw map'); mapscript::msSaveImage($img, '/tmp/imgfile', $map->{interlace}, $map->{transparent}); and get the following error in my error_log: Unable to open mapfile: Inappropriate ioctl for device I'm running mapserver on a RedHat6.2 with Apache-1.3.14 Anyone had this type of issue? How does one deal w/ MapScript? Does it replace the mapserv binary as the driving application, calling everthing through there? Any advice would be appreciated. Thanks ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve.lime at dnr.state.mn.us Fri Feb 16 09:52:18 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 11:52:18 -0600 Subject: Passing lat/lon to URL Message-ID: I'm not quite sure I see the problem. If I understand right, then you're using the map for the user to identify a point correct? There are several ways to deal with this. The easiest I think would be to create a second, really simple map file that basically looks like: MAP STATUS OFF # important, you don't want a map created UNITS meters # whatever matches the projection PROJECTION .. set your projection ... END WEB TEMPLATE "http://www.com/form?lat=[maplat]?lon=[maplon]" END END Then when the user clicks the "Select Location" button you switch mapfiles to the above one. Then when the user clicks the process uses the simple mapfile above which simply echos the click as lat/lon. You could also do it with a query where you have a big simple shapefile that catches clicks any where and has a similar template to the one above. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Douglas K. Rand 02/15/01 11:22AM >>> I'm working on a fairly simple map browser that I need to pass a latitude and longitude to another URL. I've got the browser working using mapserv with zoom in/out and pan/recenter. What I need to figure out is how to have another button/selection labled "Select Location" that will cause the user to be forwarded either to a URL like "http://www.com/form?lat=47.899474?lon=-96,843673" or to filter a HTML document changing [maplat] and [maplon] to the lat/lon. I seem to be stuck on this, any suggestions would be welcome. Thanks. From Alexspringer at aol.com Fri Feb 16 11:15:40 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Fri, 16 Feb 2001 14:15:40 EST Subject: file does not display Message-ID: <12.8dee8e8.27bed65c@aol.com> I have been using mapserver right along but have now tried to use a shape file that is not in decimal degrees. The shape file appears in the legend but will not show on map. When I open this in arcview, it appears okay on the map display; but the properties (view properties) are described as unknown. We speculate this is a DEM format but do not know how to tell. Does anyone know how to convert this so that it can be displayed with mapserver? Thank you. From bogus@does.not.exist.com Fri Feb 16 18:27:22 2001 From: bogus@does.not.exist.com (Tim Sutton) Date: Fri, 16 Feb 2001 21:27:22 -0500 Subject: Upcoming developments & New applications In-Reply-To: <3A8D4518.8C6E2592@dmsolutions.ca>; from mcilhagga@dmsolutions.ca on Fri, Feb 16, 2001 at 10:19:52AM -0500 References: <3A8D4518.8C6E2592@dmsolutions.ca> Message-ID: <20010216212722.A5934@cncjnk> Hi I think the work you are planning looks fantastic. I was just wondering if there any plans afoot to support compressed imagery such as MrSid or ErMapper's ECW format? I realise these are proprietry formats and there may not be open specifications but it can't hurt to ask can it? We have a couple of largish datasets in .ecw format that ould be nice to be able to 'serve up'. There is also an interesting image compression project called fiasco which _is_ open source and may be a good candidate for incorporation into MapServer. Tim Sutton GIS Technician Cape Nature Conservation South Africa From Pietro.Musella at Informsrl.it Fri Feb 16 11:44:47 2001 From: Pietro.Musella at Informsrl.it (Musella Pietro) Date: Fri, 16 Feb 2001 20:44:47 +0100 Subject: Map File Message-ID: I must to shade a polygon?layer with transparent fill but I am not able it. I cannot find examples with solution for this problem. Help me, please Thanks ??? Pietro -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.lime at dnr.state.mn.us Fri Feb 16 12:06:39 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 14:06:39 -0600 Subject: Upcoming developments & New applications Message-ID: Frank (the person doing the GDAL addition) can comment further but I've done checking one both those products and their APIs are limited to win32 platforms which has turned me off to adding them in the past. Perhaps this has changed. Also add jpeg2000 to the mix, C libraries are already available. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> owner-mapserver-users at lists.gis.umn.edu 02/16/01 08:27PM >>> Hi I think the work you are planning looks fantastic. I was just wondering if there any plans afoot to support compressed imagery such as MrSid or ErMapper's ECW format? I realise these are proprietry formats and there may not be open specifications but it can't hurt to ask can it? We have a couple of largish datasets in .ecw format that ould be nice to be able to 'serve up'. There is also an interesting image compression project called fiasco which _is_ open source and may be a good candidate for incorporation into MapServer. Tim Sutton GIS Technician Cape Nature Conservation South Africa From steve.lime at dnr.state.mn.us Fri Feb 16 12:12:10 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 16 Feb 2001 14:12:10 -0600 Subject: Map File Message-ID: So you just want polygon outlines? Then use TYPE POLYLINE instead of POLYGON. Steve >>> Musella Pietro 02/16/01 01:44PM >>> I must to shade a polygon layer with transparent fill but I am not able it. I cannot find examples with solution for this problem. Help me, please Thanks Pietro From Matt.Wilkie at gov.yk.ca Fri Feb 16 12:39:14 2001 From: Matt.Wilkie at gov.yk.ca (Matt.Wilkie) Date: Fri, 16 Feb 2001 12:39:14 -0800 Subject: send in your apps/demo's... Message-ID: <6DD7370C9452D31192A10008C75D075308ABC8F9@raptor.gov.yk.ca> I just want to tell everybody I'm impressed with the quality of the demos sent in so far and wonderfully surprised that so many of them are non-us and non-english. Kudos all around. -matt ----------------------------------------------------------------- Yukon Renewable Resources GIS http://renres.gov.yk.ca/pubs/rrgis/ From warmerdam at pobox.com Fri Feb 16 13:28:57 2001 From: warmerdam at pobox.com (Frank Warmerdam) Date: Fri, 16 Feb 2001 16:28:57 -0500 Subject: Upcoming developments & New applications References: <3A8D4518.8C6E2592@dmsolutions.ca> <20010216212722.A5934@cncjnk> Message-ID: <3A8D9B99.B0EDC15C@pobox.com> Tim Sutton wrote: > > Hi > > I think the work you are planning looks fantastic. I was just > wondering if there any plans afoot to support compressed > imagery such as MrSid or ErMapper's ECW format? I realise these are > proprietry formats and there may not be open specifications but it > can't hurt to ask can it? > > We have a couple of largish datasets in .ecw format that ould be nice > to be able to 'serve up'. Tim, The GDAL library doesn't currently support ECW, but I have been intending to add it in the future. ERMapper does provide a free (as in no cost, but without source) decompression library for use on some platforms. In the past MrSid has been much harder to deal with. > There is also an interesting image compression project called fiasco > which _is_ open source and may be a good candidate for incorporation > into MapServer. I looked into this briefly a few weeks ago, and found that compression was extremely slow, and took more than my 128MB of ram for a 512x512 image. Decompression was faster, but I am not sure it is "web mapping" fast. As such, I am not sure how practical fiasco is. BTW, do you have a current url for this project? My old one doesn't respond today. Best regards, ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerda and watch the world go round - Rush | Geospatial Programmer for Rent From teb at mallit.fr.umn.edu Fri Feb 16 14:40:48 2001 From: teb at mallit.fr.umn.edu (teb) Date: Fri, 16 Feb 2001 16:40:48 -0600 (CST) Subject: minimum hardware configuration (fwd) Message-ID: <200102162240.QAA26972@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- X-Originating-IP: [132.236.154.76] From: "David Raitzer" To: mapserver-info at lists.gis.umn.edu Subject: minimum hardware configuration Date: Fri, 16 Feb 2001 17:32:46 -0500 Mime-Version: 1.0 X-OriginalArrivalTime: 16 Feb 2001 22:32:46.0979 (UTC) FILETIME=[62E85D30:01C09868] Hello, What is the minimum necessary hardware requirement for implementing Mapserver on a Linux server running Apache, serving a 100 meg TIFF raster layer, on which a simple point event theme is projected (sourced via an ODBC connection to a Sybase database server)? What is the hardware requirement to serve the same purpose under NT with IIS 4.0? The site won't experience truly heavy traffic, so it will probably rarely have more than 8 simultaneous users. Thanks for any info. -David _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com ------------- End Forwarded Message ------------- From bogus@does.not.exist.com Fri Feb 16 22:39:02 2001 From: bogus@does.not.exist.com (Tim Sutton) Date: Sat, 17 Feb 2001 01:39:02 -0500 Subject: Upcoming developments & New applications (fiasco) In-Reply-To: <3A8D9B99.B0EDC15C@pobox.com>; from warmerdam@pobox.com on Fri, Feb 16, 2001 at 04:28:57PM -0500 References: <3A8D4518.8C6E2592@dmsolutions.ca> <20010216212722.A5934@cncjnk> <3A8D9B99.B0EDC15C@pobox.com> Message-ID: <20010217013902.A6420@cncjnk> Well, the Linux journal ran an article on fiasco (Jan 2001) and cites http://ulli.linuxave.net/fiasco amongst the resources. When I tried to verify the link, I got no response though so I am not sure if the site is still running. I first heard about fiasco when it was announced on freshmeat (www.freshmeat.net), and a quick search there produced the following (working) address: http://ulli.on.openave.net/fiasco/ Hope that helps, Regards Tim Sutton From paul at tei.or.th Fri Feb 16 17:04:22 2001 From: paul at tei.or.th (Paul Hastings) Date: Sat, 17 Feb 2001 08:04:22 +0700 Subject: newbie questions Message-ID: <001c01c0987d$90f6a0f0$0a729acb@tei.or.th> 1) trying to get the 1st demo going but keep getting "msLoadMap(): Unknown identifier. (SHADESET):(6) " error messages. running nt4, iis4, using the PNG version of mapServ (converted all the GIF graphics to PNG already). simple calls to the mapServ (src="/Scripts/mapserv.exe?map=...") seem to work fine. 2) is anyone working with coldfusion with mapServ? i would appreciate hearing any experiences, approaches taken, dead ends, etc. thanks. From epk at netsitemail.com.br Sat Feb 17 10:51:08 2001 From: epk at netsitemail.com.br (epk at netsitemail.com.br) Date: Sat, 17 Feb 2001 15:51:08 -0300 Subject: example1 displays a blank .gif Message-ID: <3a8ec81c.820.0@netsitemail.com.br> hi there i'm a newbie with MapServer. i've just finished to install it and the 'ms_demo' application is running very well. now i'm trying to do a simple test based on example1 of the doc-page at mapserver site, but only a blank .gif is displayed. does anybody know what is wrong with my files? [-test740.html-START]

--> [-test740.html-END] [-test740.map-START] NAME mymaps EXTENT 74000 4775000 798000 5500000 #could be this parameter my problem? SIZE 300 300 # SHAPEPATH "C:\Inetpub\websites\mapas\c740" #here are my .shp files LAYER NAME "talhoes" DATA C740 #my shapes files are C740.shp, C740.shx and C740.dbf STATUS ON # TYPE POLYGON #it's a polygan layer. it's a farm CLASS # COLOR 128 128 255 # END # end of class object END # end of layer object END # end of map file [-test740.map-END] -- Eduardo Patto Kanegae eduardo at 4networks.com.br UIN : 71431064 http://www.4networks.com.br ForNetworks - Sistemas e Conectividade http://www.netsitemail.com.br - Tenha seu e-mail gr?tis! From don at dlsilvia.ne.mediaone.net Sat Feb 17 13:27:35 2001 From: don at dlsilvia.ne.mediaone.net (Don Silvia) Date: Sat, 17 Feb 2001 16:27:35 -0500 Subject: Creating shape file for tiled images Message-ID: <5.0.0.25.2.20010217153322.00ae7810@ratbert> Hi, I'm trying to use tiled images with mapserver and I've seen some previous posts on this list that refer to tileindex. I get the basic idea of what I need to do, but how can I create an index shape file for my images? Thanks, Don Silvia From Alexspringer at aol.com Sun Feb 18 04:53:07 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Sun, 18 Feb 2001 07:53:07 EST Subject: highlighting one polygon Message-ID: Using mapserver cgi, I need this feature and cannot determine how to implement: I want to enable the user to type into a box on the screen the value (say Smith) of a field (say NAME) that is believed to exist in a dbf record corresponding to a shape file. I then want the display to show that layer and have highlighted the polygon corresponding to the dbf record with some special color that I have set. Can anyone help me with a sample of what the code would appear like in the .map and .htm to enable this feature? Thank you. From paul.jacobs at javel.nl Mon Feb 19 00:13:08 2001 From: paul.jacobs at javel.nl (Paul Jacobs) Date: Mon, 19 Feb 2001 09:13:08 +0100 Subject: a problem with mapscript Message-ID: <01021909130800.26138@paul> Hi, i am trying to use mapscript (ms_3.4) and have the following problem. Mapscript compiles ok and i am able to use the example files in the perl directory. The problem is that i can't open any mapfile. $map = new mapObj fails every time. Can anybody help? regards Paul Jacobs From mschulz at webgis.de Mon Feb 19 01:22:36 2001 From: mschulz at webgis.de (Michael Schulz) Date: Mon, 19 Feb 2001 10:22:36 +0100 Subject: Creating shape file for tiled images References: <5.0.0.25.2.20010217153322.00ae7810@ratbert> Message-ID: <3A90E5DC.1B0F643F@webgis.de> Hi Don and List, since i also have to incorporate tiled image data, i was starting to write a small Arcview avenue script that would create a mapserver tileindex shapefile from an imgcat. I wanted to post it later on, when it's finished, but if anyone wants the first draft, please contact me. Michael Don Silvia schrieb: > Hi, > > I'm trying to use tiled images with mapserver and I've seen some previous > posts on this list that refer to tileindex. I get the basic idea of what I > need to do, but how can I create an index shape file for my images? > > Thanks, > > Don Silvia -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de From armin.burger at territoriumonline.com Mon Feb 19 03:54:37 2001 From: armin.burger at territoriumonline.com (Armin Burger) Date: Mon, 19 Feb 2001 12:54:37 +0100 Subject: highlighting one polygon In-Reply-To: Message-ID: <5.0.2.1.1.20010219124551.00b36690@box.nettz.com> Alex, maybe have a look at http://maps.dnr.state.mn.us/mapserver_demos/tests/itemquery/test.html case 3 or 4 should be like that what you're looking for. Armin At 18/02/01, 07:53, Alexspringer at aol.com wrote: >Using mapserver cgi, I need this feature and cannot determine how to >implement: > >I want to enable the user to type into a box on the screen the value (say >Smith) of a field (say NAME) that is believed to exist in a dbf record >corresponding to a shape file. I then want the display to show that layer >and have highlighted the polygon corresponding to the dbf record with some >special color that I have set. > >Can anyone help me with a sample of what the code would appear like in the >.map and .htm to enable this feature? Thank you. From suttont at cncjnk.wcape.gov.za Mon Feb 19 14:39:13 2001 From: suttont at cncjnk.wcape.gov.za (Tim Sutton) Date: Mon, 19 Feb 2001 14:39:13 -0800 Subject: Problems compiling with PHP support Message-ID: <000101c09ac4$c884ae60$e101a8c0@TimLaptop> Hi I am trying to compile the 3.4 build. I am compiling with php4.02 support on redhat 7. ./configure --with-gd --with-jpg --with-ttf --with-proj --with-apxs --with-p hp=/usr/local/src/php-4.0.2 During the configure process, I get the following: checking for location of config.h or php_config.h... /usr/local/src/php-4.0.2/php_config.h checking whether we have PHP3 or PHP4... -DPHP4 checking whether we should use PHP's regex... no PHP/MapScript module configured. checking for location of Apache headers using apxs... -I/usr/include/apache creating ./config.status creating Makefile sed: file conftest.s1 line 74: Unterminated `s' command creating gdft/Makefile sed: file conftest.s1 line 74: Unterminated `s' command creating mapscript/php3/Makefile sed: file conftest.s1 line 74: Unterminated `s' command I tried to find the file conftest.s1 (find / -name conftest.s1) but was unable to locate it. Can anyone help me out here? As an aside, are their any compiled binaries for redhat 7 lurking around? I checked the DMSolutions download area but the rpm's are not current. Many thanks, /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ TIM SUTTON - GIS TECHNICIAN Western Cape Nature Conservation Board P Bag x5014 Stellenbosch 7599 ph +27 (0)21 8891560 fax +27 (0)21 8891523 email suttont at cncjnk.wcape.gov.za \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ From doug at starss.net Mon Feb 19 07:19:30 2001 From: doug at starss.net (Doug Bryant) Date: Mon, 19 Feb 2001 10:19:30 -0500 Subject: Problems compiling with PHP support In-Reply-To: <000101c09ac4$c884ae60$e101a8c0@TimLaptop> References: <000101c09ac4$c884ae60$e101a8c0@TimLaptop> Message-ID: <01021910193000.16164@cartman.netinlet.com> I have had this same problem. I believe the only options I was supplying was --with-apxs=/usr/sbin/apxs --with-php=/usr/local/src/php-4.0.4pl1 Also running RH7 Thanks, Doug On Monday 19 February 2001 17:39, Tim Sutton wrote: > Hi > > I am trying to compile the 3.4 build. I am compiling with php4.02 support > on redhat 7. > > ./configure --with-gd --with-jpg --with-ttf --with-proj --with-apxs > --with-p hp=/usr/local/src/php-4.0.2 > > During the configure process, I get the following: > > checking for location of config.h or php_config.h... > /usr/local/src/php-4.0.2/php_config.h > checking whether we have PHP3 or PHP4... -DPHP4 > checking whether we should use PHP's regex... no > PHP/MapScript module configured. > checking for location of Apache headers using apxs... -I/usr/include/apache > creating ./config.status > creating Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > creating gdft/Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > creating mapscript/php3/Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > > > I tried to find the file conftest.s1 (find / -name conftest.s1) but was > unable to locate it. > > Can anyone help me out here? > > As an aside, are their any compiled binaries for redhat 7 lurking around? I > checked the DMSolutions download area but the rpm's are not current. > > Many thanks, > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > TIM SUTTON - GIS TECHNICIAN > Western Cape Nature Conservation Board > P Bag x5014 > Stellenbosch > 7599 > ph +27 (0)21 8891560 > fax +27 (0)21 8891523 > email suttont at cncjnk.wcape.gov.za > \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ From tomkralidis at hotmail.com Mon Feb 19 07:51:05 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Mon, 19 Feb 2001 10:51:05 -0500 Subject: a problem with mapscript Message-ID: >Hi, > >i am trying to use mapscript (ms_3.4) and have the following problem. >Mapscript compiles ok and i am able to use the example files in the perl >directory. The problem is that i can't open any mapfile. $map = new mapObj >fails every time. Can anybody help? > >regards >Paul Jacobs I have the *identical* problem. I altered the line which open the mapfile to check for errors, ie: my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die "Unable to open map file: $!\n"; and get: Unable to open mapfile: Inappropriate ioctl for device ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From jgehring at solant.com Mon Feb 19 08:16:30 2001 From: jgehring at solant.com (Gehring, John) Date: Mon, 19 Feb 2001 09:16:30 -0700 Subject: example of new symbolset file Message-ID: <6D98540C0CD2D311808500E018C1EBFEF6CFE3@novant1> I located DMSolutions symbols.sym file (http://www2.dmsolutions.ca/gmap/symbols/symbols.sym). It still uses the STYLED identifier; Symbol Type STYLED Style -1 6 6 1 6 6 END END When msworkbench is loading up, it chokes on 'STYLED'. -code: 4 -routine: getSymbol() -message: (STYLED):(94) Line 94 is where STYLED is used in my symbols.sym file. I'm running 3.4. Any suggestions? Thanks! John L. Gehring Software Engineer Avolent (303) 583-3129 jgehring at solant.com Andrea, I found the best thing to do was to use the symbols.sym file that comes with the gmap example, provided by DMSolutions. Takes the hassle of trying to concatenate the three files together yourself. Robert On Mon, 5 Feb 2001, Andrea Goethals wrote: > Yes another symbolset email... > > I too am having trouble trying to figure out what the new > symbolset files are supposed to look like. Just like another > mapserver user sent to the list, I too followed the directions > in taking out the words SHADESET, etc and the end END words > but still can't get it to work. It doesn't like the STYLED > word in the line symbol definitions so I tried changing > them to vector but get the error: > > loadSymbol(): Symbol definition error. Symbol of type VECTOR or ELLIPSE > has no point data. > > If someone has a symbolset file that works with a fairly recent > nightly build, could you please send it to the list? > > Thanks, > Andrea From don at dlsilvia.ne.mediaone.net Mon Feb 19 09:09:06 2001 From: don at dlsilvia.ne.mediaone.net (Don Silvia) Date: Mon, 19 Feb 2001 12:09:06 -0500 Subject: Creating shape file for tiled images In-Reply-To: <3A90E5DC.1B0F643F@webgis.de> References: <5.0.0.25.2.20010217153322.00ae7810@ratbert> Message-ID: <5.0.0.25.2.20010219094425.02758008@ratbert> Michael, Thanks, I'd be interested in any way to automate the process. I've never created an image catalog in ArcView, and the help documentation makes me think that it's pretty labor intensive. I've started working on creating the shapefile using the Shape perl module, which is a worthwhile exercise for me. But I can't help thinking there has to be an easier way. I know others have done this, and I'd appreciate hearing their solutions too. An example of a tileindex shapefile would be really helpful. Thanks, Don Silvia At 10:22 AM Monday 2/19/2001, Michael Schulz wrote: >Hi Don and List, > >since i also have to incorporate tiled image data, i was starting to write a >small Arcview avenue script that would create a mapserver tileindex shapefile >from an imgcat. I wanted to post it later on, when it's finished, but if >anyone >wants the first draft, please contact me. > >Michael > > >Don Silvia schrieb: > > > Hi, > > > > I'm trying to use tiled images with mapserver and I've seen some previous > > posts on this list that refer to tileindex. I get the basic idea of what I > > need to do, but how can I create an index shape file for my images? > > > > Thanks, > > > > Don Silvia > >-- >----------------------------------------------------------- >Michael Schulz in medias res >Dipl.-Geologe Gesellschaft f?r > Informationstechnologie mbH > Sautierstr. 38, 79104 Freiburg > 0761 55695-95 (Fax 96) >mschulz at webgis.de www.webgis.de From wgwallace at students.wisc.edu Mon Feb 19 09:46:35 2001 From: wgwallace at students.wisc.edu (Woody Wallace) Date: Mon, 19 Feb 2001 11:46:35 -0600 Subject: Problems compiling with PHP support References: <000101c09ac4$c884ae60$e101a8c0@TimLaptop> Message-ID: <3A915BFB.8E7EC032@students.wisc.edu> Allow me to supply another example of this error: command: ./configure --with-php=../php-4.0.4pl1 response: loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking for ranlib... (cached) ranlib checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking for bison... (cached) bison -y checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... (cached) yes checking for exp in -lm... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for strdup... (cached) yes checking which version of GD to use... checking for gdImageGif in -lgd... no checking for gdImageString16 in -lgd... yes checking for gdImagePng in -lgd... yes checking for gdImageJpeg in -lgd... yes using GD (-DUSE_GD_1_8) from system libs. checking whether we should include TIFF support... checking for TIFFOpen in -ltiff... yes using libtiff from system libs. checking whether we should include JPEG support... checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. checking whether we should include EPPL7 support... including EPPL7 support. checking whether we should include Freetype (TTF) support... checking for TT_Init_FreeType in -lttf... no checking for freetype.h... (cached) no checking for TT_Init_FreeType in -lttf... (cached) no Freetype support not included. checking whether we should include PROJ.4 support... PROJ.4 support not requested. checking whether we should include ESRI SDE support... ESRI SDE support not requested. checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... OGR support not requested. Compiling with -DIGNORE_MISSING_DATA. checking for PHP/MapScript module options... checking whether 'perl -V' works... yes ------------------------- ----- IMPORTANT !!! ----- ------------------------- To use PHP extensions on your OS, you will need to recompile PHP. You need to edit the Makefile in the php3 directory and add -des-Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Uuselargefiles -rdynamic to the start of the LDFLAGS line at the top of the Makefile. Then type: 'make clean; make' You can still go ahead and build the extensions now by typing 'make' in this directory. They just won't work correctly until you recompile your PHP. If you are compiling php as a module, you should also add -des-Doptimize=-O2 -march=i386 -mcpu=i686 -Dcc=gcc -Dcccdlflags=-fPIC -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dd_dosuid -Dd_semctl_semun -Di_db -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Uuselargefiles -rdynamic to the start of the EXTRA_LDFLAGS in Apache Configuration file. Note that if you are using the APACI build mechanism you should make this change in the Configuration.tmpl file instead. ------------------------- ------------------------- ------------------------- checking for location of config.h or php_config.h... /home/wud/ms_install/mapserver/../php-4.0.4pl1/main/php_config.h checking whether we have PHP3 or PHP4... -DPHP4 checking whether we should use PHP's regex... no PHP/MapScript module configured. creating ./config.status creating Makefile sed: file conftest.s1 line 74: Unterminated `s' command creating gdft/Makefile sed: file conftest.s1 line 74: Unterminated `s' command creating mapscript/php3/Makefile sed: file conftest.s1 line 74: Unterminated `s' command Any help would be appreciated. Thanks. Woody Wallace Wisconsin State Cartographer's Office From lrn at zeppo.geosurv.gov.nf.ca Mon Feb 19 11:04:10 2001 From: lrn at zeppo.geosurv.gov.nf.ca (Larry Nolan) Date: Mon, 19 Feb 2001 15:34:10 -0330 Subject: Creating shape file for tiled images References: <5.0.0.25.2.20010217153322.00ae7810@ratbert> <5.0.0.25.2.20010219094425.02758008@ratbert> Message-ID: <013a01c09aa6$bdd0f2d0$0a29070a@ln2000> Don, I have a tiled index of NTS mapsheets (similar to the quads in the US) the attached file contains the index. I then use the table columns to select each of my data themes. I have a dummy shapefile for map tiles which do not have a file for that layer. The dummy needs to have extents which cover the whole map area. LAYER NAME "lakes" TYPE POLYGON STATUS DEFAULT MINSCALE 150001 MAXSCALE 600000 TILEINDEX NTS_NFLD_250 TILEITEM WATERP CLASSITEM DESCRIPTIO CLASS EXPRESSION ('[FEATURE]' eq 'WABOFW' OR '[FEATURE]' eq 'WARI' OR '[FEATURE]' eq 'WAFL' OR '[FEATURE]' eq 'WAFA') COLOR 255 255 255 OUTLINECOLOR 142 205 247 END END # Layer LAYER NAME "Water" TYPE LINE STATUS DEFAULT TILEINDEX NTS_NFLD_250 TILEITEM WATER MINSCALE 150001 MAXSCALE 600000 CLASSITEM DESCRIPTIO CLASS EXPRESSION ('[DESCRIPTIO]' ne 'Virtual Line') SYMBOL 0 OUTLINECOLOR 0 0 255 COLOR 0 0 255 END # CLASS END # Layer LAYER NAME "vegetation" TYPE POLYGON STATUS DEFAULT MINSCALE 100 MAXSCALE 600000 TILEINDEX NTS_NFLD_250 TILEITEM VEGETATP CLASSITEM DESCRIPTIO CLASS EXPRESSION ('[DESCRIPTIO]' eq 'Wooded Area') COLOR 125 242 187 OUTLINECOLOR 125 242 187 END END # Layer Larry Nolan Project Geologist - GIS Geological Survey of Newfoundland lrn at zeppo.geosurv.gov.nf.ca 709-729-2168 ----- Original Message ----- From: "Don Silvia" To: "Michael Schulz" Cc: Sent: Monday, February 19, 2001 1:39 PM Subject: Re: Creating shape file for tiled images > Michael, > > Thanks, I'd be interested in any way to automate the process. I've never > created an image catalog in ArcView, and the help documentation makes me > think that it's pretty labor intensive. > > I've started working on creating the shapefile using the Shape perl module, > which is a worthwhile exercise for me. But I can't help thinking there has > to be an easier way. > > I know others have done this, and I'd appreciate hearing their solutions > too. An example of a tileindex shapefile would be really helpful. > > Thanks, > > Don Silvia > > At 10:22 AM Monday 2/19/2001, Michael Schulz wrote: > >Hi Don and List, > > > >since i also have to incorporate tiled image data, i was starting to write a > >small Arcview avenue script that would create a mapserver tileindex shapefile > >from an imgcat. I wanted to post it later on, when it's finished, but if > >anyone > >wants the first draft, please contact me. > > > >Michael > > > > > >Don Silvia schrieb: > > > > > Hi, > > > > > > I'm trying to use tiled images with mapserver and I've seen some previous > > > posts on this list that refer to tileindex. I get the basic idea of what I > > > need to do, but how can I create an index shape file for my images? > > > > > > Thanks, > > > > > > Don Silvia > > > >-- > >----------------------------------------------------------- > >Michael Schulz in medias res > >Dipl.-Geologe Gesellschaft f?r > > Informationstechnologie mbH > > Sautierstr. 38, 79104 Freiburg > > 0761 55695-95 (Fax 96) > >mschulz at webgis.de www.webgis.de > > -------------- next part -------------- A non-text attachment was scrubbed... Name: NTS_NFLD_250.SHX Type: application/octet-stream Size: 244 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NTS_NFLD_250.SHP Type: application/octet-stream Size: 6004 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NTS_NFLD_250.DBF Type: application/octet-stream Size: 7430 bytes Desc: not available URL: From wgwallace at students.wisc.edu Mon Feb 19 11:41:01 2001 From: wgwallace at students.wisc.edu (Woody Wallace) Date: Mon, 19 Feb 2001 13:41:01 -0600 Subject: Problems compiling with PHP support Message-ID: <3A9176CD.D40712F9@students.wisc.edu> Hi, once more. I had the same problem compiling php support. I did a search on google and found the following message, then followed the directions and it eventually worked. Other more adept linux users may already know this, but I found out you also have to be logged in as root in order for everything to work right as well. http://mapserver.gis.umn.edu/majordom_lists/archives/mapserver-users/html/0011/msg00059.html Woody Wallace Wisconsin State Cartographer's Office From michalak at hwr.arizona.edu Mon Feb 19 11:48:02 2001 From: michalak at hwr.arizona.edu (Zolla Michalak) Date: Mon, 19 Feb 2001 12:48:02 -0700 (MST) Subject: class with join In-Reply-To: Message-ID: We ending up doing this by taking the existing dbf file, converting it to text, combining it in a new text file with the new data, then converting the whole thing back into a dbf file, and it works with the original shape file! All this was with a perl script and using an open source text to dbf converter we found on the web (http://www.usf.uni-osnabrueck.de/~fkoorman/software/dbftools.en.html) -zolla On Tue, 13 Feb 2001, Stephen Lime wrote: > I assuming you're refering to the part: > > 1) open sites shapefile and taxa dbf file > 2) create a new taxa shapefile (type=point) > 3) for each taxa record > - find the appropriate shape in sites > - read it from sites > - write it to taxa > > It's just a way to build a shapefile around an existing dbf file. If I remember > right each site maps to multiple records in the taxa file, and the taxa records > are unique to a particular point. My suggestion was to create a point file (based > on sites) for the taxa dbf file. So, the taxa file would end up containing the > same site point many times. Does this make sense? > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > > >>> Zolla Michalak 02/07/01 06:45PM >>> > > We are using JOIN to bring in new attributes to a layer, and need to make > classes based on the joined attributes, but just discovered by reading the > archives that this is not possible, directly. > > I'm trying to figure out what our options are. One option would be to edit > the dbf file of the shape file, adding our new attributes directly, rather > than using JOIN. But I wanted to see if there is an easier way before I go > that route. > > Here is a copy of resonse to a previous question about class with join > that we found in the archives. Steve, could you explain in more detail the > options listed here in the following message? > > > >>Um, nope. No joins are supported for classification purposes. You can > only use directly attached attributes. This was done for performance > reasons. It's technically feasible though. > > There are a couple of work arounds. The most straight forward would be > assign a shape to each record in the taxa dataset. You'll have duplicate > shapes (shapefile spec allows it) but with the maps you want to make that > won't be an issue. You can use mapscript to build the shapefile using your > taxa .dbf file as the new attribute table. Here's the approach > > 1) open sites shapefile and taxa dbf file > 2) create a new taxa shapefile (type=point) > 3) for each taxa record > - find the appropriate shape in sites > - read it from sites > - write it to taxa > > It's redundant but space it cheap and it will certainly be a lot faster. > You may also > want to add some metrics to sites.dbf as you go like number of taxa, date > range > or whatever. > > Steve > > Stephen Lime > Internet Applications Analyst > --------------------------------------------------------------------------- > > > -Thanks! > > *************************************************** > Zolla Michalak > Support Systems Analyst > Hydrology, University of Arizona > (520) 626-8746 http://hydis.hwr.arizona.edu > *************************************************** > > > > From morissette at dmsolutions.ca Mon Feb 19 11:59:24 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 19 Feb 2001 14:59:24 -0500 Subject: Problems compiling with PHP support References: <000101c09ac4$c884ae60$e101a8c0@TimLaptop> Message-ID: <3A917B1C.A7076042@dmsolutions.ca> Tim Sutton wrote: > > I am trying to compile the 3.4 build. I am compiling with php4.02 support on > redhat 7. > > ./configure --with-gd --with-jpg --with-ttf --with-proj --with-apxs --with-p > hp=/usr/local/src/php-4.0.2 > > During the configure process, I get the following: > ... > creating Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > creating gdft/Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > creating mapscript/php3/Makefile > sed: file conftest.s1 line 74: Unterminated `s' command > This is a problem that has been reported several times but I was never able to reproduce it before... I think I've fixed it this time... try the following 'configure' script and see if it works: http://www2.dmsolutions.ca/mapserver/dl/ms34_configure-RH7-20010219.tar.gz (Note that the same fixed configure script is also committed as part of the 3.5 source in CVS) -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From rand at meridian-enviro.com Mon Feb 19 12:34:59 2001 From: rand at meridian-enviro.com (Douglas K. Rand) Date: Mon, 19 Feb 2001 14:34:59 -0600 Subject: Passing lat/lon to URL References: Message-ID: <3A918373.A958F2FD@meridian-enviro.com> Douglas K. Rand wrote: > I'm working on a fairly simple map browser that I need to pass a > latitude and longitude to another URL. [...] Stephen Lime wrote: > I'm not quite sure I see the problem. If I understand right, then you're using > the map for the user to identify a point correct? There are several ways to > deal with this. The easiest I think would be to create a second, really simple > map file that basically looks like: > > MAP > STATUS OFF # important, you don't want a map created > UNITS meters # whatever matches the projection > > PROJECTION > .. set your projection ... > END > > WEB > TEMPLATE "http://www.com/form?lat=[maplat]?lon=[maplon]" > END > END Right on the money. I hadn't considered using a different map. This works like a champ (after I also figured out I need the image size in the form). Thanks. From assefa at dmsolutions.ca Mon Feb 19 12:46:26 2001 From: assefa at dmsolutions.ca (Assefa Yewondwossen) Date: Mon, 19 Feb 2001 15:46:26 -0500 Subject: example of new symbolset file References: <6D98540C0CD2D311808500E018C1EBFEF6CFE3@novant1> Message-ID: <3A918622.2860E163@dmsolutions.ca> Hi There, You should use this link http://www2.dmsolutions.ca/mapserver/dl/ to get a new version of the gmap application as well as a new symbol file. Best Regards, "Gehring, John" wrote: > I located DMSolutions symbols.sym file > (http://www2.dmsolutions.ca/gmap/symbols/symbols.sym). It still uses the > STYLED identifier; > > Symbol > Type STYLED > Style > -1 6 6 > 1 6 6 > END > END > > When msworkbench is loading up, it chokes on 'STYLED'. > > -code: 4 > -routine: getSymbol() > -message: (STYLED):(94) > > Line 94 is where STYLED is used in my symbols.sym file. I'm running 3.4. Any > suggestions? > > Thanks! > > John L. Gehring > Software Engineer > Avolent > (303) 583-3129 > jgehring at solant.com > > Andrea, > > I found the best thing to do was to use the symbols.sym file that comes > with the gmap example, provided by DMSolutions. Takes the hassle of > trying to concatenate the three files together yourself. > > Robert > > On Mon, 5 Feb 2001, Andrea Goethals wrote: > > > Yes another symbolset email... > > > > I too am having trouble trying to figure out what the new > > symbolset files are supposed to look like. Just like another > > mapserver user sent to the list, I too followed the directions > > in taking out the words SHADESET, etc and the end END words > > but still can't get it to work. It doesn't like the STYLED > > word in the line symbol definitions so I tried changing > > them to vector but get the error: > > > > loadSymbol(): Symbol definition error. Symbol of type VECTOR or ELLIPSE > > has no point data. > > > > If someone has a symbolset file that works with a fairly recent > > nightly build, could you please send it to the list? > > > > Thanks, > > Andrea -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 ---------------------------------------------------------------- From paul.jacobs at javel.nl Mon Feb 19 14:46:44 2001 From: paul.jacobs at javel.nl (Paul Jacobs) Date: Mon, 19 Feb 2001 23:46:44 +0100 Subject: a question about mapscript Message-ID: <01021923464402.16013@paul> Hi, i am using the perl mapscript module and have a quistion about it. Is there a function like getcolorbyindex as in php_mapscript? regards Paul Jacobs From Lars-goran.Edholm at sandviken.se Tue Feb 20 02:32:46 2001 From: Lars-goran.Edholm at sandviken.se (Lars-goran Edholm) Date: Tue, 20 Feb 2001 11:32:46 +0100 Subject: Nightly builds with GDAL support for Win32 Message-ID: Hi, I have tested http://mapserver.gis.umn.edu/win32bin/ms34gif_gdal_nightly.zip but there is some problems with the use of POLYGON. If you only use OUTLINECOLOR theres no problem but if you use COLOR or/and any SYMBOL you have to wait a long time for the map to show up. Lars-G?ran Edholm lars-goran.edholm at sandviken.se From morissette at dmsolutions.ca Tue Feb 20 06:32:55 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 20 Feb 2001 09:32:55 -0500 Subject: Nightly builds with GDAL support for Win32 References: Message-ID: <3A928017.E7A7AD9A@dmsolutions.ca> Lars-goran Edholm wrote: > > I have tested > http://mapserver.gis.umn.edu/win32bin/ms34gif_gdal_nightly.zip but there > is some problems with the use of POLYGON. > If you only use OUTLINECOLOR theres no problem but if you use COLOR or/and > any SYMBOL you have to wait a long time for the map to show up. > The support for vector file formats via OGR was experimental in version 3.4 and even though I never noticed this kind of performance issues it may well have had some problems with some types of polygons. This OGR support is being completely rewritten for version 3.5 which should be available in the next few weeks, so I suggest that you wait for version 3.5 and try it with your data, and if you still notice those issues then please let us know. BTW, which file format is your data in? Can you verify that the polygons are properly closed in your source data? -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From morissette at dmsolutions.ca Tue Feb 20 06:42:39 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 20 Feb 2001 09:42:39 -0500 Subject: 1 more problem compiling with PHP support References: <000901c09b59$839923e0$e101a8c0@TimLaptop> Message-ID: <3A92825F.54CDFC2C@dmsolutions.ca> Tim Sutton wrote: > > I got throught the configure / make part ok & then copied the .so to > /usr/lib/apache > > When I run the phpinfo_mapscript.phtml script I get the following: > > Warning: Unable to load dynamic library './php_mapscript.so' - > ??6N????v-#@?u 6N: cannot open shared object file: No such file or > directory in > /home/suttont/public_html/Mapserver/examples/phpinfo_mapscript.phtml on line > 21 > PHP Version 4.0.2 > Tim, Make sure the extension_dir directive in your php.ini is set to "/usr/lib/apache" ... right now it's probably set to "." (the PHP default). If you don't have a php.ini, then use the php.ini-dist that came with your PHP source and install it at the right location on your system. You can find the location where PHP looks for php.ini by looking at the phpinfo() output. You can also specify the location of php.ini yourself at compile time using the --with-config-file-path= PHP configure option. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From fuerp at atlas.gis.univie.ac.at Tue Feb 20 07:14:50 2001 From: fuerp at atlas.gis.univie.ac.at (Christian Fuerpasz) Date: Tue, 20 Feb 2001 16:14:50 +0100 Subject: Question about creating transparent Layers Message-ID: <3A9289EA.663109D5@atlas.gis.univie.ac.at> Hi everybody! I have a question if its possible to create transparent layers. In my Project i have a backgroundimage like a Hillshading and some different layers like National Parks which would look much better if they would be transparent, so i can see some of the hillshading through. I think this is not so a special problem because it should appear often in cartographic applications, but i didnt found a solution in the .Map File Dokumentation. I hope to get some positiv Answers and that my request is possible. Best Regards Christian Fuerpasz -- __________________________________________________________ INSTITUT fuer GEOGRAFIE der UNIVERSITAET WIEN Kartografie und Geoinformation Tel: (+43 1) 4277 48658 Fax: (+43 1) 4277 48649 E-Mail: mailto:fuerp at atlas.gis.univie.ac.at Snail-Mail: Universitaetstr. 7, A-1010 Wien, AUSTRIA WWW: http://www.gis.univie.ac.at/karto/ __________________________________________________________ From steve.lime at dnr.state.mn.us Tue Feb 20 07:48:21 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 20 Feb 2001 09:48:21 -0600 Subject: a question about mapscript Message-ID: Nope, could be added very easily though... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Paul Jacobs 02/19/01 04:46PM >>> Hi, i am using the perl mapscript module and have a quistion about it. Is there a function like getcolorbyindex as in php_mapscript? regards Paul Jacobs From Lars-goran.Edholm at sandviken.se Tue Feb 20 07:57:19 2001 From: Lars-goran.Edholm at sandviken.se (Lars-goran Edholm) Date: Tue, 20 Feb 2001 16:57:19 +0100 Subject: Re(2): Nightly builds with GDAL support for Win32 In-Reply-To: <3A928017.E7A7AD9A@dmsolutions.ca> References: <3A928017.E7A7AD9A@dmsolutions.ca> Message-ID: Hi, we are currently using Mapinfo 6.0 and there's no problem with the polygons. I have exported the files into shp-format. The shapefiles work fine. The problems with the Mapinfofiles in Mapserver is the filling of the polygons. Lars-G?ran Edholm lars-goran.edholm at sandviken.se From benlewis1 at hotmail.com Tue Feb 20 22:33:19 2001 From: benlewis1 at hotmail.com (Ben Lewis) Date: Tue, 20 Feb 2001 22:33:19 Subject: Upcoming developments & New applications Message-ID: Frank, I recently ran across an open source wavelet compression application that might be worth checking out: http://www.cs.kuleuven.ac.be/~wavelets/ Ben Lewis Advanced Technology Solutions, Inc. Lancaster, Pennsylvania Phone:(717)399-7007 http://www.atsincorp.com >From: Frank Warmerdam >Reply-To: warmerdam at pobox.com >CC: mapserver-users at lists.gis.umn.edu >Subject: Re: Upcoming developments & New applications >Date: Fri, 16 Feb 2001 16:28:57 -0500 > >Tim Sutton wrote: > > > > Hi > > > > I think the work you are planning looks fantastic. I was just > > wondering if there any plans afoot to support compressed > > imagery such as MrSid or ErMapper's ECW format? I realise these are > > proprietry formats and there may not be open specifications but it > > can't hurt to ask can it? > > > > We have a couple of largish datasets in .ecw format that ould be nice > > to be able to 'serve up'. > >Tim, > >The GDAL library doesn't currently support ECW, but I have been intending >to add it in the future. ERMapper does provide a free (as in no cost, but >without source) decompression library for use on some platforms. In the >past MrSid has been much harder to deal with. > > > There is also an interesting image compression project called fiasco > > which _is_ open source and may be a good candidate for incorporation > > into MapServer. > >I looked into this briefly a few weeks ago, and found that compression was >extremely slow, and took more than my 128MB of ram for a 512x512 image. >Decompression was faster, but I am not sure it is "web mapping" fast. As >such, I am not sure how practical fiasco is. BTW, do you have a current >url >for this project? My old one doesn't respond today. > >Best regards, > >---------------------------------------+-------------------------------------- >I set the clouds in motion - turn up | Frank Warmerdam, >warmerdam at pobox.com >light and sound - activate the windows | http://pobox.com/~warmerda >and watch the world go round - Rush | Geospatial Programmer for Rent _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From Horst.Duester at bd.so.ch Wed Feb 21 02:17:15 2001 From: Horst.Duester at bd.so.ch (=?ISO-8859-1?Q?D=FCster_Horst?=) Date: Wed, 21 Feb 2001 11:17:15 +0100 Subject: msDrawLegend(): Memory allocation error Message-ID: <5B025B1F39D6D4119F5700508BEEEC66011F6C@srsofaioi4546.ktso.ch> Hi I try to draw a legend but MapServer bails out with the error message: msDrawLegend(): Memory allocation error. Error allocating heights array. The LEGEND key looks like: # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE SMALL COLOR 0 0 89 END STATUS ON END Can anybody help me to solve this problem. Horst From steve.lime at dnr.state.mn.us Wed Feb 21 07:15:01 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 21 Feb 2001 09:15:01 -0600 Subject: msDrawLegend(): Memory allocation error Message-ID: That's an obscure error, really should never happen as the heights array is only a few bytes in size. What version, platform, etc? How many layers are you using? Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> D?ster Horst 02/21/01 04:17AM >>> Hi I try to draw a legend but MapServer bails out with the error message: msDrawLegend(): Memory allocation error. Error allocating heights array. The LEGEND key looks like: # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE SMALL COLOR 0 0 89 END STATUS ON END Can anybody help me to solve this problem. Horst From cinco at xs4all.nl Wed Feb 21 07:02:38 2001 From: cinco at xs4all.nl (cinco) Date: Wed, 21 Feb 2001 16:02:38 +0100 (CET) Subject: No subject Message-ID: <200102211502.QAA18247@webmail1.xs4all.nl> Dear Steve, I, myself am having some difficulties with the color stuff in perl also. I wish to create a custom legend, so I figured I need the color index to obtain the color object to obtain the RGB-values for that color. Is this possible or is there a way around this ? If not, can you give me some directives as to how to add a getColorByIndex sub in the Perl source ? Regards Cinco Veldman -------------------------------------------------------------------------------- [Date Prev][Date Next] [Chronological] [Thread] [Top] Re: a question about mapscript -------------------------------------------------------------------------------- To: , Subject: Re: a question about mapscript From: "Stephen Lime" Date: Tue, 20 Feb 2001 09:48:21 -0600 Content-Disposition: inline -------------------------------------------------------------------------------- Nope, could be added very easily though... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Paul Jacobs 02/19/01 04:46PM >>> Hi, i am using the perl mapscript module and have a quistion about it. Is there a function like getcolorbyindex as in php_mapscript? regards Paul Jacobs From steve.lime at dnr.state.mn.us Wed Feb 21 07:33:37 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 21 Feb 2001 09:33:37 -0600 Subject: a problem with mapscript Message-ID: As near as I can tell this isn't a MapScript issue but is related somehow to communications- sockets, communications ports or console/shell. I haven't been able to track down any possible causes or fixes. Try searching Google for the phrase "Inappropriate ioctl for device" and you'll see what I mean. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Tom Kralidis" 02/19/01 09:51AM >>> >Hi, > >i am trying to use mapscript (ms_3.4) and have the following problem. >Mapscript compiles ok and i am able to use the example files in the perl >directory. The problem is that i can't open any mapfile. $map = new mapObj >fails every time. Can anybody help? > >regards >Paul Jacobs I have the *identical* problem. I altered the line which open the mapfile to check for errors, ie: my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die "Unable to open map file: $!\n"; and get: Unable to open mapfile: Inappropriate ioctl for device ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From vanderwalm at peligroso.gaiaenv.com Wed Feb 21 08:39:34 2001 From: vanderwalm at peligroso.gaiaenv.com (Mel VanderWal) Date: Wed, 21 Feb 2001 09:39:34 -0700 Subject: Creating shape file for tiled images In-Reply-To: <5.0.0.25.2.20010219094425.02758008@ratbert> Message-ID: >-----Original Message----- >From: owner-mapserver-users at lists.gis.umn.edu >[mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Don Silvia >Sent: Monday, February 19, 2001 10:09 AM >To: Michael Schulz >Cc: mapserver-users at lists.gis.umn.edu >Subject: Re: Creating shape file for tiled images > ... >Thanks, I'd be interested in any way to automate the process. I've never >created an image catalog in ArcView, and the help documentation makes me >think that it's pretty labor intensive. > ... Don; There's a sample script which comes with ArcView (can be found in the help files - Sample Scripts & Extensions > Sample Scripts > Views > Image Themes > Creates image catalog from...) which will automatically build an image catalogue from all the loaded images in a view. Way faster and more accurate than doing it manually. Regards, Mel From wgwallace at students.wisc.edu Wed Feb 21 12:11:53 2001 From: wgwallace at students.wisc.edu (Woody Wallace) Date: Wed, 21 Feb 2001 14:11:53 -0600 Subject: PHP MapScript queries Message-ID: <3A942109.F5B0BDE9@students.wisc.edu> Hi. Was there ever a resolution of the segmentation fault problem mentioned here? I am having a similar problem now, though I have exhausted all of the leads presented in this thread. Thanks. Woody Wallace Wisconsin State Cartographer's Office > Thorsten, > > I'm not sure if this is related to your problem or not, but you need to > have a QUERYITEM and a QUERY object in your layer definition for your > layer to be queryable. > > However, I'm still concerned by the seg. fault and would like to be able > to track it... if you're using a recent version of MapServer (less than > a month old) and still get the seg. fault, then perhaps you could zip > your PHP script and data and send it to me and I'll see if I can > reproduce the crash. > > Daniel > > > Thorsten Fischer wrote: > > > > Ladies and gentlemen, > > > > I am trying to do a query on a map. The result is a segmentation fault in the > > mapserver. Please show where to look for errors, maybe in my compiled mapserver. > > > > I got a map file with a valid extent and a single layer: > > > > name mmplz > > status on > > size 600 600 > > symbolset "symbols/newsym.sym" > > extent > > units meters > > shapepath "data" > > imagecolor 255 255 255 > > > > layer > > name leger > > type polygon > > status on > > data plz > > classitem "plz5" > > class > > symbol 2 > > outlinecolor 0 0 0 > > color 255 255 255 > > end > > end > > > > In php I write: > > > > $map = ms_newMapObj ("raderg.map"); > > $mylayer = $map -> getLayerByName ("leger"); > > > > which works fine. Then: > > > > $qres = $mylayer -> queryUsingRect ($rect); > > > > where $rect is a valid rectangle -- segfault. > > > > MapServer was configured as follows: > > > > ./configure --with-apxs=/usr/sbin/apxs --with-tiff=/usr --with-jpeg > > --with-eppl --with-ttf --without-gif --with-gd=/opt/GIS --with-proj=/opt/GIS > > --with-php=/home/frosch/src/GIS/mapserver/php-4.0.3pl1 > > > > php was configured as follows: > > > > ./configure --prefix=/usr/lib/apache --without-ttf --disable-debug > > --with-mysql --enable-calendar --enable-dbase --without-zlib > > --with-regex=system --with-gd=/opt/GIS --with-apxs=/usr/sbin/apxs > > > > Thanks in advance, > > > > Thorsten > > > > -- > > > > Thorsten Fischer thfischer at mapmedia.de > > > > --------------------------------------------------------- > > MapMedia - Kartographie und raumbezogene Informationssysteme > > Am Borsigturm 42 > > 13507 Berlin > > Deutschland > > http://www.mapmedia.de tel: +49 (0)30 43032102 > > --------------------------------------------------------- > > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > http://www.dmsolutions.ca/ > ------------------------------------------------------------ > Don't put for tomorrow what you can do today, because if > you enjoy it today you can do it again tomorrow. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.fawcett at moea.state.mn.us Wed Feb 21 12:43:11 2001 From: david.fawcett at moea.state.mn.us (Fawcett, David) Date: Wed, 21 Feb 2001 14:43:11 -0600 Subject: MapServer with Cold Fusion? Message-ID: I would also be interested to know if anyone has run MapServer apps in conjunction with Cold Fusion. Can anyone see any potential problems? David J. Fawcett GIS / Databases MN Office of Environmental Assistance 520 Lafayette Rd N St. Paul, MN 55155 651.215.0200 From steve.lime at dnr.state.mn.us Wed Feb 21 13:41:08 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 21 Feb 2001 15:41:08 -0600 Subject: quake mapscript example... Message-ID: should anyone care, i found a few minutes to get the mapscript earthquake example working again. visit: http://maps.dnr.state.mn.us/cgi-bin/mapquakes.pl steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 From Jean-Francois.Doyon at CCRS.NRCan.gc.ca Wed Feb 21 14:23:14 2001 From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca (Doyon, Jean-Francois) Date: Wed, 21 Feb 2001 17:23:14 -0500 Subject: MapServer with Cold Fusion? Message-ID: <2951561DB3DDD0118FEC00805FFE98050494225E@s5-ccr-r1> Hmmmm I've thought of that myself. Unfortunately right now MapServer isn't ported to CF, so there would be no direct link between your ColdFusion code, and the MapServer engine. There are a variety of tricks to make it happen though, such as using CFHTTPGET to query a remote MapServer and seemlessly incorporate the resulting gif into your CF page. This very cool technique works with a lot of languages too, and almost creates a form of "API", we use it to provide MapServer served maps to clients who create the pages and content, and simply embed our maps into their own pages. Although a CFX version of MapServer would be very cool indeed :) Anybody ? J.F. > ---------- > From: Fawcett, David[SMTP:david.fawcett at moea.state.mn.us] > Sent: Wednesday, February 21, 2001 3:43 PM > To: mapserver-users at lists.gis.umn.edu > Subject: MapServer with Cold Fusion? > > I would also be interested to know if anyone has run MapServer apps in > conjunction with Cold Fusion. Can anyone see any potential problems? > > David J. Fawcett > GIS / Databases > > MN Office of Environmental Assistance > 520 Lafayette Rd N > St. Paul, MN 55155 > 651.215.0200 > From yecarrillo at hotmail.com Wed Feb 21 15:33:48 2001 From: yecarrillo at hotmail.com (Eduin Yesid Carrillo) Date: Wed, 21 Feb 2001 18:33:48 -0500 Subject: Apache+Win2k Message-ID: Hello. I am having problems accessing shape files form my network. In win Nt 4, mapserver can read the shape files: ---- DATA "\\SERVERS\somedir\shapefile" ---- Using Win2k and the same DATA , I get: ---- msOpenSHPFile(): Unable to access file. (shapefile) ---- I use Apache 1.3, Win2k OS, Mapserver 3.4. ---------------------------- Eduin Yesid Carrillo Ingeniero Civil yecarrillo at hotmail.com #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From yecarrillo at hotmail.com Wed Feb 21 17:16:29 2001 From: yecarrillo at hotmail.com (Eduin Yesid Carrillo) Date: Wed, 21 Feb 2001 20:16:29 -0500 Subject: Compiling MS on Win32+SDE Message-ID: This question was posted before without concrete answers: I am trying to compile mapserver in my win32 pc with sde support without success. Somewhere in the source, I find the need of this client libraries: Include files: sdetype.h and sdeerno.h in -------- $SDE_DIR/arcsde/coverages/include/sdetype.h $SDE_DIR/include/sdetype.h $SDE_DIR/sdetype.h -------- Client libs: libsde30.a (sde 3.0) or libsde80.a (arcSDE 8) in -------- $SDE_DIR/lib/libsde80.a $SDE_DIR/libsde80.a ------- I have the client cds for: sde 3.0.2 sde 3.0.2.1 sde 3.0.2.2 arcsde 8.0 for Oracle 8i Installing this clients I found this common structure: sdeexe30(or ora8iexe) | |-------bin | |-------include | |-----sdeerno.h | |-----sdetype.h | |-------lib | |-----sde30.lib (or sde80.lib) The questions... Is sde30.lib (or sde80.lib)equivalent to libsde30.a (or libsde80.a) for compile? Somebody in the list have compiled MS with SDE enabled for Win32? ---------------------------- Eduin Yesid Carrillo Ingeniero Civil yecarrillo at hotmail.com #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From angus at 3wsi.com Wed Feb 21 22:22:23 2001 From: angus at 3wsi.com (Angus D Madden) Date: Thu, 22 Feb 2001 13:22:23 +0700 Subject: gmap demo : Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 Message-ID: <3A94B01F.110001FC@3wsi.com> Hello All, I've got ms_demo up and running on Debian GNU/Linux 2.2.17 running Apache 1.3.14 and php 4.0.4pl1. The mapserver compiled without a problem and I was able to build the php/mapscript module as well. All of the demos for php/mapscript work fine. The next step was to try and get the gmap demo from dmsolutions to work. Great software, btw. When I first load gmap75.phtml, everything runs fine, the images are created, and the applet loads. However, as soon as I click on anything, I get the following error: Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 I have looked at the code and couldn't see anything obvious. Has anyone seen this before - searches of the mailing list haven't turned up anything ... thanks, angus From steve.lime at dnr.state.mn.us Thu Feb 22 08:17:50 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 22 Feb 2001 10:17:50 -0600 Subject: Adding color access to mapscript Message-ID: Ok, it's a kludge but should work. Untar the attached file someplace and move map.h to the main source directory, mapscript.i to the mapscript directory and the other two files to mapscript/perl. Then rebuild as normal. That should expose the palette to mapscript and add a method to get at colors. Usage is: $color = $map->getColor($i); print "Color is: ". $color->{red} ." ". $color->{green} ." ". $color->{blue} ."\n"; print "Number of colors is: ". $map->{palette}->{numcolors} ."\n"; Note that the palette only contains colors as assigned to features. No raster color information is present. Only use this code if you *really* need the functionallity. 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 Thu Feb 22 08:27:06 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 22 Feb 2001 10:27:06 -0600 Subject: PROJ4, PHP and projection of a single point Message-ID: The solution with MapScript and scripting languages is to use the proj4 modules written first by be and a better version was recently posted to the mailing list. Perhaps the folks at DMSolutions could dicuss how to create a php/proj module. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Stein Runar Bergheim" 02/22/01 03:05AM >>> I am retreiving a set of points from a database, and am drawing them onto the image object of a map via a layer that is projected from lat/long to WGS84 coordinates. This is easy going, my problem occurs when I want to collect a pair of coordinates from the map, perform an inverse projection of them and use them to query the database... Is this possible or should I try some alternate approach... Regards SRB From Jean-Francois.Doyon at CCRS.NRCan.gc.ca Thu Feb 22 08:40:30 2001 From: Jean-Francois.Doyon at CCRS.NRCan.gc.ca (Doyon, Jean-Francois) Date: Thu, 22 Feb 2001 11:40:30 -0500 Subject: MapServer with Cold Fusion? Message-ID: <2951561DB3DDD0118FEC00805FFE980504942260@s5-ccr-r1> David, You CANNOT use MapServer with ColdFusion in the same way that you would with PHP or Perl. If you NEED to have a ColdFusion page with a mapserver tool, here is what I suggest: Setup a seperate mapserver (CGI Version) Somewhere. Create a mapfile and so on to suit your needs. Also, create a template that ONLY returns a fully qualified URL to the temporary image. THEN, from CF, all you have to do is use CFHTTPGET to send a query to the mapserver, with all appropriate parameters. MapServer will generate the map, and return the world accessible URL to reach it. You can then use this URL to embed it into your HTML output, and the webbrowser will fetch the map from the said server (Could be the same box, or half way accross the world). Using the flexibility of the CGI parameters and the really great system that allows you to set almost any mapfile parameter from the URL, you can do pretty much anything remotely, assuming the data you want is available on the said server of course. This basically turns MapServer into a OGC WMT like server, only with a completely non-standard Web API :) (Which is actually much more powerfull than the WMT in many ways). You can achieve this functionality with any server side scripting language that can do HTTP GET's, such as Perl, PHP, ASP, ColdFusion, and probably more. I'm sending this to the list, they might find this handy as well. Looks like paul at tei.or.th is looking into a MapServer for CF using WDDX ?. This stuff is a bit over my head, but it would definitely be very cool, and make it (MapServer) even more accessible to the masses. Cheers, J.F. > ---------- > From: Fawcett, David[SMTP:david.fawcett at moea.state.mn.us] > Sent: Thursday, February 22, 2001 10:43 AM > To: 'Doyon, Jean-Francois'; 'paul at tei.or.th' > Subject: RE: MapServer with Cold Fusion? > > Jean Francois and Paul, > > From JF's message, I get the impression that if you use MapServer with > Cold Fusion, it will work, but you are not able to take advantage of any > of the CF features, like reading the CF variables. > > After Paul's message, it sounds like a MapServer app will likely crash or > crash the CF server when run. Could either of you clarify for me? > Experience / examples? > > Would it work if you built a standard html MapServer app (still on the > same server), and just hit it from a link on a CF page? I will probably > run some tests soon, but we don't have a test server, and our only server > with CF on it is our live Web server. I really don't want to crash that! > > Thanks, > > David. > > David J. Fawcett > GIS / Databases > > MN Office of Environmental Assistance > 520 Lafayette Rd N > St. Paul, MN 55155 > 651.215.0200 > > > > ---------- > > From: Doyon, > Jean-Francois[SMTP:Jean-Francois.Doyon at CCRS.NRCan.gc.ca] > > Sent: Wednesday, February 21, 2001 4:23 PM > > To: mapserver-users at lists.gis.umn.edu; 'Fawcett, David' > > Subject: RE: MapServer with Cold Fusion? > > > > Hmmmm I've thought of that myself. > > > > Unfortunately right now MapServer isn't ported to CF, so there would be > no > > direct link between your ColdFusion code, and the MapServer engine. > > > > There are a variety of tricks to make it happen though, such as using > > CFHTTPGET to query a remote MapServer and seemlessly incorporate the > > resulting gif into your CF page. This very cool technique works with a > lot > > of languages too, and almost creates a form of "API", we use it to > provide > > MapServer served maps to clients who create the pages and content, and > > simply embed our maps into their own pages. > > > > Although a CFX version of MapServer would be very cool indeed :) Anybody > ? > > > > J.F. > > > > > ---------- > > > From: Fawcett, David[SMTP:david.fawcett at moea.state.mn.us] > > > Sent: Wednesday, February 21, 2001 3:43 PM > > > To: mapserver-users at lists.gis.umn.edu > > > Subject: MapServer with Cold Fusion? > > > > > > I would also be interested to know if anyone has run MapServer apps in > > > conjunction with Cold Fusion. Can anyone see any potential problems? > > > > > > David J. Fawcett > > > GIS / Databases > > > > > > MN Office of Environmental Assistance > > > 520 Lafayette Rd N > > > St. Paul, MN 55155 > > > 651.215.0200 > > > > > > From teb at mallit.fr.umn.edu Thu Feb 22 08:47:06 2001 From: teb at mallit.fr.umn.edu (teb) Date: Thu, 22 Feb 2001 10:47:06 -0600 (CST) Subject: PROJ4, PHP and projection of a single point (fwd) Message-ID: <200102221647.KAA00148@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: "Stein Runar Bergheim" To: Subject: PROJ4, PHP and projection of a single point Date: Thu, 22 Feb 2001 10:05:37 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 I am retreiving a set of points from a database, and am drawing them onto the image object of a map via a layer that is projected from lat/long to WGS84 coordinates. This is easy going, my problem occurs when I want to collect a pair of coordinates from the map, perform an inverse projection of them and use them to query the database... Is this possible or should I try some alternate approach... Regards SRB ------------- End Forwarded Message ------------- From morissette at dmsolutions.ca Thu Feb 22 09:44:47 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Thu, 22 Feb 2001 12:44:47 -0500 Subject: gmap demo : Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 References: <3A94B01F.110001FC@3wsi.com> Message-ID: <3A95500F.46A11EE8@dmsolutions.ca> Angus D Madden wrote: > > I've got ms_demo up and running on Debian GNU/Linux 2.2.17 running > Apache 1.3.14 and php 4.0.4pl1. ... > When I first load gmap75.phtml, everything runs > fine, the images are created, and the applet loads. However, as soon as > I click on anything, I get the following error: > > Fatal error: Object expected as argument. in > /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 > What do you have on line 696? Is it a call to $gpoMap->SetExtent()? The error means that the $gpoMap PHP object is corrupted or has been flushed somehow by the PHP engine... I never saw this before... it could be related to new variables management features (like reference counting) added recently in PHP4... but I'm surprised because I know that the module has been used without problems by others using PHP4.0.4pl1. I'll keep a note about that bug and will try to have a look as soon as I can (not sure when though!). BTW, the following info could probably help in reproducing the problem: - Do you use the default php.ini-dist settings or did you edit php.ini? - Is PHP4's thread-safe and/or debug enabled? (See phpinfo() output) - What are your PHP configure options? -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From assefa at dmsolutions.ca Thu Feb 22 11:12:59 2001 From: assefa at dmsolutions.ca (Assefa Yewondwossen) Date: Thu, 22 Feb 2001 14:12:59 -0500 Subject: PROJ4, PHP and projection of a single point References: Message-ID: <3A9564BB.D25EEBCD@dmsolutions.ca> Hi There, I am assuming here that you use php/mapscript. There is a php/proj module available in the mapserver distribution (.../mapserver/mapscript/php3/php_proj.c). This module give access to basic Proj4 fonctionalities. So in your case you colud use the functions to convert the Georeferenced coordinated to Lat/Long coordinates. Are you building mapserver/mapscrtipt yourself or do you download the binary versions ? Which platform are you on ? I am asking this so I could post the binary versions on our download site. Later, PS : Here is a little bit of docs on how to use it : /* * PHP PROJ4 Module * * This is a PHP module that gives acces to basic PROJ4 projection * functionalities. * * There are four functions available in this module : * * 1) pj_init : create and initializes a projection structures * * PJ pj_init(array_of_parameters) * * Example : $projarray[0] = "proj=lcc"; * $projarray[1] = "ellps=GRS80"; * $projarray[2] = "lat_0=49"; * $projarray[3] = "lon_0=-95"; * $projarray[4] = "lat_1=49"; * $projarray[5] = "lat_2=77"; * * $pj = pj_init($projarray); * * 2) pj_fwd : Performs a projection from lat/long coordinates to * cartesian coordinates. * * retrun_array pj_fwd(double lat, double long, PJ pj) * * Example : $lat = 45.25; * $long = -75.42; * * $ret = pj_fwd($ingeox, $ingeoy, $pj); * printf("geo x = %f
\n", $ret["u"]); * printf("geo y = %f
\n",$ret["v"]); * * 3) pj_inv : Performs a projection from cartesian coordinates to * lat/long coordinates . * * retrun_array pj_fwd(double geox, double geoy, PJ pj) * * Example : $ingeox = 1537490.335842; * $ingeoy = -181633.471555; * * $ret = pj_inv($ingeox, $ingeoy, $pj); * printf("lat = %f
\n", $ret["u"]); * printf("lon = %f
\n",$ret["v"]); * * 4) pj_free : frees PJ structure * * void pj_free(PJ pj); * **********************************************************************/ Stephen Lime wrote: > The solution with MapScript and scripting languages is to use the proj4 modules written first by > be and a better version was recently posted to the mailing list. Perhaps the folks at DMSolutions > could dicuss how to create a php/proj module. > > Steve > > Stephen Lime > Internet Applications Analyst > > Minnesota DNR > 500 Lafayette Road > St. Paul, MN 55155 > 651-297-2937 > > >>> "Stein Runar Bergheim" 02/22/01 03:05AM >>> > I am retreiving a set of points from a database, and am drawing them onto the image object of a map via a layer that is projected from lat/long to WGS84 coordinates. > > This is easy going, my problem occurs when I want to collect a pair of coordinates from the map, perform an inverse projection of them and use them to query the database... > > Is this possible or should I try some alternate approach... > > Regards > SRB -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 ---------------------------------------------------------------- From M.Spring at gmx.de Thu Feb 22 11:20:51 2001 From: M.Spring at gmx.de (Markus W. Spring) Date: 22 Feb 2001 20:20:51 +0100 Subject: german website using mapserver Message-ID: Hello list, our german website DREAM - http://dream.lrrl.arch.tu-muenchen.de is online. DREAM is the short form for "Digitaler REgionalAtlas M?nchen" and the site offers environmental and planning information for the city and region of Munich/Bavaria. It uses the mapserver for at the moment 10 maps, but the next 70 are already "work in progress" - as DREAM is going to provide the map service for the department of environment and health of the city of munich. DREAM is hosted by the "Lehrstuhl fuer Raumforschung, Raumordnung und Landesplanung" of the technical university of munich and is developed in cooperation with the department of environment and health. The textual documents in DREAM are written in XML and served with AxKit (http://axkit.org), a XML Application Server written in PERL and running under apache. Mapserver was the topic of a speech my colleague Andreas Fritzsche held at CORP 2001 in Vienna. You can find the german document at http://dream.lrrl.arch.tu-muenchen.de/a_katalog/info/corp2001/corp01.xml?portal=cap2000 we hope to have an english version soon. I want to thank everybody on this list who helped me with my questions, but especially Steve for this really fine piece of software! Markus ---------------------------------------------------------------------- Markus W. Spring Department of Environment and Health City of Munich Bayerstr. 28a D-80335 M?nchen From Egon.Kuster at dsto.defence.gov.au Thu Feb 22 14:29:59 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Fri, 23 Feb 2001 08:59:59 +1030 Subject: Compiling MS on Win32+SDE Message-ID: Yeah I have been able to compile mapserver with SDE support in win32 but there are other problems after you have the program compiled and running. When you try and use a normal shapefile the compiled program works fine but as soon as you try and use the SDE support you get the following error: The instruction at "0x00423d96" reference memory at "0x00000004". The memory could not be "read" I currently have Stephen Lime who is working for University of Minnesota to look into this problem, if you would like more information drop stephen a line on steve.lime at dnr.state.mn.us So here is where I stand, yes I can get it to compile and run on win32 but when you use the SDE support a memory error is produced. Sorry but that is where it is at the moment. Egon Kuster Defence Science & Technology Organisation Information Technology Division Phone: +61 8 8259 5175 Fax: +61 8 8259 5619 -----Original Message----- From: Eduin Yesid Carrillo [mailto:yecarrillo at hotmail.com] Sent: Thursday, 22 February 2001 11:46 AM To: mapserver-users at lists.gis.umn.edu Subject: Compiling MS on Win32+SDE This question was posted before without concrete answers: I am trying to compile mapserver in my win32 pc with sde support without success. Somewhere in the source, I find the need of this client libraries: Include files: sdetype.h and sdeerno.h in -------- $SDE_DIR/arcsde/coverages/include/sdetype.h $SDE_DIR/include/sdetype.h $SDE_DIR/sdetype.h -------- Client libs: libsde30.a (sde 3.0) or libsde80.a (arcSDE 8) in -------- $SDE_DIR/lib/libsde80.a $SDE_DIR/libsde80.a ------- I have the client cds for: sde 3.0.2 sde 3.0.2.1 sde 3.0.2.2 arcsde 8.0 for Oracle 8i Installing this clients I found this common structure: sdeexe30(or ora8iexe) | |-------bin | |-------include | |-----sdeerno.h | |-----sdetype.h | |-------lib | |-----sde30.lib (or sde80.lib) The questions... Is sde30.lib (or sde80.lib)equivalent to libsde30.a (or libsde80.a) for compile? Somebody in the list have compiled MS with SDE enabled for Win32? ---------------------------- Eduin Yesid Carrillo Ingeniero Civil yecarrillo at hotmail.com #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve.lime at dnr.state.mn.us Thu Feb 22 14:52:57 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Thu, 22 Feb 2001 16:52:57 -0600 Subject: Compiling MS on Win32+SDE Message-ID: Would be nice to verify the error on another machine though so it might be worth it to compile and try it anyway. Might not even be my fault! ;-) Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Kuster, Egon" 02/22/01 04:29PM >>> Yeah I have been able to compile mapserver with SDE support in win32 but there are other problems after you have the program compiled and running. When you try and use a normal shapefile the compiled program works fine but as soon as you try and use the SDE support you get the following error: The instruction at "0x00423d96" reference memory at "0x00000004". The memory could not be "read" I currently have Stephen Lime who is working for University of Minnesota to look into this problem, if you would like more information drop stephen a line on steve.lime at dnr.state.mn.us So here is where I stand, yes I can get it to compile and run on win32 but when you use the SDE support a memory error is produced. Sorry but that is where it is at the moment. Egon Kuster Defence Science & Technology Organisation Information Technology Division Phone: +61 8 8259 5175 Fax: +61 8 8259 5619 -----Original Message----- From: Eduin Yesid Carrillo [mailto:yecarrillo at hotmail.com] Sent: Thursday, 22 February 2001 11:46 AM To: mapserver-users at lists.gis.umn.edu Subject: Compiling MS on Win32+SDE This question was posted before without concrete answers: I am trying to compile mapserver in my win32 pc with sde support without success. Somewhere in the source, I find the need of this client libraries: Include files: sdetype.h and sdeerno.h in -------- $SDE_DIR/arcsde/coverages/include/sdetype.h $SDE_DIR/include/sdetype.h $SDE_DIR/sdetype.h -------- Client libs: libsde30.a (sde 3.0) or libsde80.a (arcSDE 8) in -------- $SDE_DIR/lib/libsde80.a $SDE_DIR/libsde80.a ------- I have the client cds for: sde 3.0.2 sde 3.0.2.1 sde 3.0.2.2 arcsde 8.0 for Oracle 8i Installing this clients I found this common structure: sdeexe30(or ora8iexe) | |-------bin | |-------include | |-----sdeerno.h | |-----sdetype.h | |-------lib | |-----sde30.lib (or sde80.lib) The questions... Is sde30.lib (or sde80.lib)equivalent to libsde30.a (or libsde80.a) for compile? Somebody in the list have compiled MS with SDE enabled for Win32? ---------------------------- Eduin Yesid Carrillo Ingeniero Civil yecarrillo at hotmail.com #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From adm at imexis.com Thu Feb 22 15:59:03 2001 From: adm at imexis.com (Angus D Madden) Date: Fri, 23 Feb 2001 06:59:03 +0700 Subject: gmap demo : Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 References: <3A94B01F.110001FC@3wsi.com> <3A95500F.46A11EE8@dmsolutions.ca> Message-ID: <3A95A7C7.75371AAA@imexis.com> Daniel Morissette wrote: > > > What do you have on line 696? Is it a call to $gpoMap->SetExtent()? Yes, same as default install. > > The error means that the $gpoMap PHP object is corrupted or has been > flushed somehow by the PHP engine... I never saw this before... it could > be related to new variables management features (like reference > counting) added recently in PHP4... but I'm surprised because I know > that the module has been used without problems by others using > PHP4.0.4pl1. I tried changing the path to gmap75.map, no effect. The really strange thing is that it works the first time it is called in the browser, but then stops working after that. very wierd. > > I'll keep a note about that bug and will try to have a look as soon as I > can (not sure when though!). Thanks. This is a good opportunity for me to learn the code, which I'll have to do anyway. I was just hoping that someone had seen this before and there was a quick fix. > > BTW, the following info could probably help in reproducing the problem: > - Do you use the default php.ini-dist settings or did you edit php.ini? > - Is PHP4's thread-safe and/or debug enabled? (See phpinfo() output) > - What are your PHP configure options? > php.ini is the same as php.ini-dist except that the setting for extension_dir has changed. php configure: './configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-regex=system' '--with-config-file-path=/etc/php4/apache' '--disable-rpath' '--enable-memory-limit' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--disable-debug' '--disable-static' '--with-curl=shared,/usr' '--with-db2' '--with-ndbm' '--with-dom=shared,/usr' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-jpeg-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-ldap=shared,/usr' '--with-mm' '--with-mhash=shared' '--with-mysql=shared,/usr' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--with-ttf' '--with-t1lib' '--with-xml=shared,/usr' '--with-yp' '--enable-dbase' mapserver configure: './configure' '--with-tiff=/usr' '--with-jpeg=/usr' '--with-ttf=/usr' '--with-php=../php-4.0.4pl1' '--with-axps=/usr/bin/axps' Thanks, Angus From runarbe at online.no Thu Feb 22 16:15:22 2001 From: runarbe at online.no (Stein Runar Bergheim) Date: Fri, 23 Feb 2001 01:15:22 +0100 Subject: PROJ4, PHP and projection of a single point Message-ID: <3A92B32A@epostleser.online.no> Thanks a lot - if I had bothered to look in the sources I might even eventually have found it, but hey - as long as there are enough of you that are actually supplied with your very own brains I won't have to use my own... :-) However, I am on the following plattform: WindowsNT 4.0 Q: Could the php_proj_module be compiled with the djgpp C/CPP libraries??? Best regards SRB >===== Original Message From Assefa Yewondwossen ===== >Hi There, > > I am assuming here that you use php/mapscript. > > There is a php/proj module available in the mapserver distribution (.../mapserver/mapscript/php3/php_proj.c). This module give access to basic Proj4 fonctionalities. So in >your case you colud use the functions to convert the Georeferenced coordinated to Lat/Long coordinates. > >Are you building mapserver/mapscrtipt yourself or do you download the binary versions ? Which platform are you on ? I am asking this so I could post the binary versions on our >download site. > >Later, > > >PS : > >Here is a little bit of docs on how to use it : > > /* > * PHP PROJ4 Module > * > * This is a PHP module that gives acces to basic PROJ4 projection > * functionalities. > * > * There are four functions available in this module : > * > * 1) pj_init : create and initializes a projection structures > * > * PJ pj_init(array_of_parameters) > * > * Example : $projarray[0] = "proj=lcc"; > * $projarray[1] = "ellps=GRS80"; > * $projarray[2] = "lat_0=49"; > * $projarray[3] = "lon_0=-95"; > * $projarray[4] = "lat_1=49"; > * $projarray[5] = "lat_2=77"; > * > * $pj = pj_init($projarray); > * > * 2) pj_fwd : Performs a projection from lat/long coordinates to > * cartesian coordinates. > * > * retrun_array pj_fwd(double lat, double long, PJ pj) > * > * Example : $lat = 45.25; > * $long = -75.42; > * > * $ret = pj_fwd($ingeox, $ingeoy, $pj); > * printf("geo x = %f
\n", $ret["u"]); > * printf("geo y = %f
\n",$ret["v"]); > * > * 3) pj_inv : Performs a projection from cartesian coordinates to > * lat/long coordinates . > * > * retrun_array pj_fwd(double geox, double geoy, PJ pj) > * > * Example : $ingeox = 1537490.335842; > * $ingeoy = -181633.471555; > * > * $ret = pj_inv($ingeox, $ingeoy, $pj); > * printf("lat = %f
\n", $ret["u"]); > * printf("lon = %f
\n",$ret["v"]); > * > * 4) pj_free : frees PJ structure > * > * void pj_free(PJ pj); > * > **********************************************************************/ > > >Stephen Lime wrote: > >> The solution with MapScript and scripting languages is to use the proj4 modules written first by >> be and a better version was recently posted to the mailing list. Perhaps the folks at DMSolutions >> could dicuss how to create a php/proj module. >> >> Steve >> >> Stephen Lime >> Internet Applications Analyst >> >> Minnesota DNR >> 500 Lafayette Road >> St. Paul, MN 55155 >> 651-297-2937 >> >> >>> "Stein Runar Bergheim" 02/22/01 03:05AM >>> >> I am retreiving a set of points from a database, and am drawing them onto the image object of a map via a layer that is projected from lat/long to WGS84 coordinates. >> >> This is easy going, my problem occurs when I want to collect a pair of coordinates from the map, perform an inverse projection of them and use them to query the database... >> >> Is this possible or should I try some alternate approach... >> >> Regards >> SRB > >-- >---------------------------------------------------------------- >Assefa Yewondwossen >Software Analyst > >Email: assefa at dmsolutions.ca >http://www.dmsolutions.ca/ > >Phone: (613) 565-5056 >---------------------------------------------------------------- **************************************************** Sogn og Fjordane County Municipality Regionaldevelopment Department Phone: (+ 0047) 57 65 62 57 E-mail: runar at bergheim.dk Home: http://www.sf-f.kommune.no **************************************************** From paul at tei.or.th Thu Feb 22 17:18:12 2001 From: paul at tei.or.th (Paul Hastings) Date: Fri, 23 Feb 2001 08:18:12 +0700 Subject: MapServer with Cold Fusion? References: <2951561DB3DDD0118FEC00805FFE980504942260@s5-ccr-r1> Message-ID: <03cd01c09d36$7e8a94e0$0a729acb@tei.or.th> > Looks like paul at tei.or.th is looking into a MapServer for CF using WDDX ?. > This stuff is a bit over my head, but it would definitely be very cool, and > make it (MapServer) even more accessible to the masses. yeah if i can find a couple of c kids w/the time & interest. we're using WDDX between apps/sites with some success & little effort so it seems a natural place to start. if anyone can see any gotchas, deadends, etc. we'd appreciate hearing about them. From adm at imexis.com Thu Feb 22 20:30:33 2001 From: adm at imexis.com (Angus D Madden) Date: Fri, 23 Feb 2001 11:30:33 +0700 Subject: gmap demo : Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 References: <3A94B01F.110001FC@3wsi.com> <3A95500F.46A11EE8@dmsolutions.ca> <3A95A7C7.75371AAA@imexis.com> Message-ID: <3A95E769.B46C8A@imexis.com> Angus D Madden wrote: > > > > > The error means that the $gpoMap PHP object is corrupted or has been > > flushed somehow by the PHP engine... I never saw this before... it could > > be related to new variables management features (like reference > > counting) added recently in PHP4... but I'm surprised because I know > > that the module has been used without problems by others using > > PHP4.0.4pl1. > FYI, I have added the following code to GMap75CheckClick() function - $foo = get_declared_classes(); for($i=0;$i\n"; } - This gives me the following list of classes: - stdClass OverloadedTestClass Directory map img rect color web reference layer label class queryresult query point line shape shapefile - which is then followed by the same error as before. does that help? maybe i'll have to recompile. the strange thing is, it works on the first call to gmap75.phtml - why would it work the first time and not on any following times? -angus From st.fuest at web.de Fri Feb 23 05:39:44 2001 From: st.fuest at web.de (Stefan Fuest) Date: Fri, 23 Feb 2001 14:39:44 +0100 Subject: Problems with Symbol files and php_mapscript.dll for PHP4 Message-ID: <3A966820.41C37C71@web.de> Dear all, I was using php3 and php3_mapscript.dll. Now I am trying to use php4 and the php_mapscript.dll (for php4 from 20010109) and run into errors regarding the symbol files. Script and mapfile are identical and leaving out the symbol file definition all works fine (without symbols...). Similar experiences or any ideas? Thanks, Stefan From laz at gonefishing.sk.ca Fri Feb 23 00:18:52 2001 From: laz at gonefishing.sk.ca (Larry Zimmerman) Date: Fri, 23 Feb 2001 02:18:52 -0600 Subject: Multiple Shape Paths Message-ID: <200102230818.CAA12002@walleye.GoneFishing.sk.ca> Hi, I have the MapServer running on my UDB (aka Multia) with Debian 2.2 Considering that this is roughly equivalent to a P90, I'm impressed with response times. I'm also impressed that Mapserver actually runs on a 64-bit CPU. I have 2 applications running that share a common base, so I was thinking it would be nice if SHAPEPATH was able to list alternate search directories for shape files. The code changes to do this seem pretty trivial. Here's the patch to mapshape.c to make it work: ---------------------------- int msOpenSHPFile(shapefileObj *shpfile, char *path, char *tile, char *filename) { char *dbfFilename; char newpath[BUFSIZ], *bp; char old_path[MS_PATH_LENGTH]; getcwd(old_path, MS_PATH_LENGTH); /* save old working directory */ /* make local copy of path for parsing */ bzero(newpath,BUFSIZ); if(path) strcpy(newpath,path); if(tile) strcpy(newpath,tile); if(newpath[0] == '\0') return(-1); /* both path names are NULL */ /* break path into alternates */ bp = strtok(newpath,": ;"); while(bp != NULL) { chdir(bp); /* ---- open the shapefile file and get basic info ---- */ if((shpfile->hSHP = SHPOpen(filename, "rb" )) != NULL) break; /* found it */ chdir(old_path); /* restart at old path */ bp = strtok(NULL,":"); }; if((!shpfile->hSHP) || (bp == NULL)) { msSetError(MS_IOERR, NULL, "msOpenSHPFile()"); sprintf(ms_error.message, "(%s)", filename); chdir(old_path); return(-1); } -------------------------------- END OF patch You can check that this works at: The "geograph" data is under this directory, but the base is elsewhere. Larry Z. From nwerneck at yahoo.com.br Fri Feb 23 09:34:42 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Fri, 23 Feb 2001 14:34:42 -0300 (ART) Subject: Label priority Message-ID: <20010223173442.9636.qmail@web4304.mail.yahoo.com> Hi, ppl The manual says that the first labels declared have priority when caching is on, but that's not happening in my application. When I turn on another layar wich is declared *after* the "cities" layer, the names in it (the "cities" layer, declared first) are not getting drawn. Did anybody have this problem? ...And since we are talking about the priorities on the map file, shouldn't the labels enter in the cache on the reverse order?? Because, since the last layer to be declared stay on top, their labels should be the most important in the cache. --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From steve.lime at dnr.state.mn.us Fri Feb 23 10:01:02 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 23 Feb 2001 12:01:02 -0600 Subject: Label priority Message-ID: Labels are placed into the cache as layers are processed- they have to be, and then the cache is processed in reverse order so that features in the last layer drawn (i.e. the top layer) are labeled first. I've not had problems with it. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Nicolau Werneck 02/23/01 11:34AM >>> Hi, ppl The manual says that the first labels declared have priority when caching is on, but that's not happening in my application. When I turn on another layar wich is declared *after* the "cities" layer, the names in it (the "cities" layer, declared first) are not getting drawn. Did anybody have this problem? ...And since we are talking about the priorities on the map file, shouldn't the labels enter in the cache on the reverse order?? Because, since the last layer to be declared stay on top, their labels should be the most important in the cache. --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From tomkralidis at hotmail.com Fri Feb 23 11:34:18 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Fri, 23 Feb 2001 14:34:18 -0500 Subject: a problem with mapscript Message-ID: I tried this out using the ms_demo mapfile, and did not get an ioctl error, yet a file not found error on a RedHat6.2: [naboo:~/mapscript_test]{170}% pwd /home/tkralidi/mapscript_test [naboo:~/mapscript_test]{171}% cat ./test.pl #!/usr/bin/perl -w use mapscript; use strict; my $map = new mapObj('/home/tkralidi/mapscript_test/demo.map') or die "Unable to open mapfile: $!\n"; my $img = $map->draw() or die('Unable to draw map $!'); mapscript::msSaveImage($img, '/tmp/imgfile', $map->{interlace}, $map->{transparent}); [naboo:~/mapscript_test]{172}% perl ./test.pl Unable to open mapfile: No such file or directory [naboo:~/mapscript_test]{173}% a run with a -d switch gives me this: [naboo:~/mapscript_test]{173}% perl -d test.pl Loading DB routines from perl5db.pl version 1.0402 Emacs support available. Enter h or `h h' for help. main::(test.pl:6): my $map = new mapObj('/home/tkralidi/mapscript_test/demo.map') or die "Unable to ope n mapfile: $!\n"; DB<1> next Exiting eval via next at (eval 7) line 2. eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop; next; ;' called at /usr/lib/perl5/5.00503/perl5db.pl line 1239 DB::eval called at /usr/lib/perl5/5.00503/perl5db.pl line 1133 DB::DB called at test.pl line 6 What gives here? ..Tom >From: "Stephen Lime" >To: ,, > >Subject: Re: a problem with mapscript >Date: Wed, 21 Feb 2001 09:33:37 -0600 >MIME-Version: 1.0 >Received: from [156.98.35.249] by hotmail.com (3.2) with ESMTP id >MHotMailBC5D2BBF00744004311F9C6223F93BE90; Wed Feb 21 07:37:36 2001 >Received: from DNR-Message_Server by co5.dnr.state.mn.uswith >Novell_GroupWise; Wed, 21 Feb 2001 09:34:13 -0600 >From steve.lime at dnr.state.mn.us Wed Feb 21 07:37:40 2001 >Message-Id: >X-Mailer: Novell GroupWise Internet Agent 5.5.3.1 > >As near as I can tell this isn't a MapScript issue but is related somehow >to >communications- sockets, communications ports or console/shell. I haven't >been able to track down any possible causes or fixes. Try searching >Google for the phrase "Inappropriate ioctl for device" and you'll see what >I mean. > >Steve > > >Stephen Lime >Internet Applications Analyst > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > >>> "Tom Kralidis" 02/19/01 09:51AM >>> > >Hi, > > > >i am trying to use mapscript (ms_3.4) and have the following problem. > >Mapscript compiles ok and i am able to use the example files in the perl > >directory. The problem is that i can't open any mapfile. $map = new >mapObj > >fails every time. Can anybody help? > > > >regards > >Paul Jacobs > >I have the *identical* problem. I altered the line which open the mapfile >to check for errors, ie: > >my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die >"Unable to open map file: $!\n"; > >and get: > >Unable to open mapfile: Inappropriate ioctl for device > >..Tom > >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve.lime at dnr.state.mn.us Fri Feb 23 11:41:26 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Fri, 23 Feb 2001 13:41:26 -0600 Subject: a problem with mapscript Message-ID: Probably a parsing error in the mapfile. Use the shp2img utility to test the mapfile syntax and see what's wrong. There are error strings exported for mapscript but I can't remember the syntax at the moment. The os error ($!) probably could be set elsewhere in the process of loading the mapfile (eg. opening a symbol or font file) and doesn't necessarily mean that it can't open the mapfile itself. Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Tom Kralidis" 02/23/01 01:34PM >>> I tried this out using the ms_demo mapfile, and did not get an ioctl error, yet a file not found error on a RedHat6.2: [naboo:~/mapscript_test]{170}% pwd /home/tkralidi/mapscript_test [naboo:~/mapscript_test]{171}% cat ./test.pl #!/usr/bin/perl -w use mapscript; use strict; my $map = new mapObj('/home/tkralidi/mapscript_test/demo.map') or die "Unable to open mapfile: $!\n"; my $img = $map->draw() or die('Unable to draw map $!'); mapscript::msSaveImage($img, '/tmp/imgfile', $map->{interlace}, $map->{transparent}); [naboo:~/mapscript_test]{172}% perl ./test.pl Unable to open mapfile: No such file or directory [naboo:~/mapscript_test]{173}% a run with a -d switch gives me this: [naboo:~/mapscript_test]{173}% perl -d test.pl Loading DB routines from perl5db.pl version 1.0402 Emacs support available. Enter h or `h h' for help. main::(test.pl:6): my $map = new mapObj('/home/tkralidi/mapscript_test/demo.map') or die "Unable to ope n mapfile: $!\n"; DB<1> next Exiting eval via next at (eval 7) line 2. eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $^D = $^D | $DB::db_stop; next; ;' called at /usr/lib/perl5/5.00503/perl5db.pl line 1239 DB::eval called at /usr/lib/perl5/5.00503/perl5db.pl line 1133 DB::DB called at test.pl line 6 What gives here? ..Tom >From: "Stephen Lime" >To: ,, > >Subject: Re: a problem with mapscript >Date: Wed, 21 Feb 2001 09:33:37 -0600 >MIME-Version: 1.0 >Received: from [156.98.35.249] by hotmail.com (3.2) with ESMTP id >MHotMailBC5D2BBF00744004311F9C6223F93BE90; Wed Feb 21 07:37:36 2001 >Received: from DNR-Message_Server by co5.dnr.state.mn.uswith >Novell_GroupWise; Wed, 21 Feb 2001 09:34:13 -0600 >From steve.lime at dnr.state.mn.us Wed Feb 21 07:37:40 2001 >Message-Id: >X-Mailer: Novell GroupWise Internet Agent 5.5.3.1 > >As near as I can tell this isn't a MapScript issue but is related somehow >to >communications- sockets, communications ports or console/shell. I haven't >been able to track down any possible causes or fixes. Try searching >Google for the phrase "Inappropriate ioctl for device" and you'll see what >I mean. > >Steve > > >Stephen Lime >Internet Applications Analyst > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > >>> "Tom Kralidis" 02/19/01 09:51AM >>> > >Hi, > > > >i am trying to use mapscript (ms_3.4) and have the following problem. > >Mapscript compiles ok and i am able to use the example files in the perl > >directory. The problem is that i can't open any mapfile. $map = new >mapObj > >fails every time. Can anybody help? > > > >regards > >Paul Jacobs > >I have the *identical* problem. I altered the line which open the mapfile >to check for errors, ie: > >my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die >"Unable to open map file: $!\n"; > >and get: > >Unable to open mapfile: Inappropriate ioctl for device > >..Tom > >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From assefa at dmsolutions.ca Fri Feb 23 12:50:37 2001 From: assefa at dmsolutions.ca (Assefa Yewondwossen) Date: Fri, 23 Feb 2001 15:50:37 -0500 Subject: PROJ4, PHP and projection of a single point References: <3A92B32A@epostleser.online.no> <3A967B0F.786D638C@dmsolutions.ca> <000901c09daa$9b7437e0$671d9dc1@wooster> Message-ID: <3A96CD1D.C8E65C62@dmsolutions.ca> Hi There, I have posted on our site the dll for the php/proj module. It was compiled using php4.0.3. Please give it a try and let me know how it goes. http://www2.dmsolutions.ca/mapserver/dl/php4.0.3_php_proj_dll.zip Later, Stein Runar Bergheim wrote: > Im after a PHP4.0.4 version - and I should probably have supplied as much > when I answered your last message! > > ----- Original Message ----- > From: "Assefa Yewondwossen" > To: "Stein Runar Bergheim" > Sent: Friday, February 23, 2001 4:00 PM > Subject: Re: PROJ4, PHP and projection of a single point > > > Hi, > > > > I never tried to compile it with other compilers except Microsoft VC++ so > I can > > not say much about the other compilers. > > > > I forgot yesterday to ask you the version of PHP your are using. I > already have a > > php3 version of the dll, but I could also provide the php4 version. Please > let me > > know. > > > > Best Regards, > > > > Stein Runar Bergheim wrote: > > > > > Thanks a lot - if I had bothered to look in the sources I might even > > > eventually have found it, but hey - as long as there are enough of you > that > > > are actually supplied with your very own brains I won't have to use my > own... > > > :-) > > > > > > However, I am on the following plattform: > > > WindowsNT 4.0 > > > > > > Q: Could the php_proj_module be compiled with the djgpp C/CPP > libraries??? > > > > > > Best regards > > > SRB > > > > > > >===== Original Message From Assefa Yewondwossen > ===== > > > >Hi There, > > > > > > > > I am assuming here that you use php/mapscript. > > > > > > > > There is a php/proj module available in the mapserver distribution > > > (.../mapserver/mapscript/php3/php_proj.c). This module give access to > basic > > > Proj4 fonctionalities. So in > > > >your case you colud use the functions to convert the Georeferenced > > > coordinated to Lat/Long coordinates. > > > > > > > >Are you building mapserver/mapscrtipt yourself or do you download the > binary > > > versions ? Which platform are you on ? I am asking this so I could post > the > > > binary versions on our > > > >download site. > > > > > > > >Later, > > > > > > > > > > > >PS : > > > > > > > >Here is a little bit of docs on how to use it : > > > > > > > > /* > > > > * PHP PROJ4 Module > > > > * > > > > * This is a PHP module that gives acces to basic PROJ4 projection > > > > * functionalities. > > > > * > > > > * There are four functions available in this module : > > > > * > > > > * 1) pj_init : create and initializes a projection structures > > > > * > > > > * PJ pj_init(array_of_parameters) > > > > * > > > > * Example : $projarray[0] = "proj=lcc"; > > > > * $projarray[1] = "ellps=GRS80"; > > > > * $projarray[2] = "lat_0=49"; > > > > * $projarray[3] = "lon_0=-95"; > > > > * $projarray[4] = "lat_1=49"; > > > > * $projarray[5] = "lat_2=77"; > > > > * > > > > * $pj = pj_init($projarray); > > > > * > > > > * 2) pj_fwd : Performs a projection from lat/long coordinates to > > > > * cartesian coordinates. > > > > * > > > > * retrun_array pj_fwd(double lat, double long, PJ pj) > > > > * > > > > * Example : $lat = 45.25; > > > > * $long = -75.42; > > > > * > > > > * $ret = pj_fwd($ingeox, $ingeoy, $pj); > > > > * printf("geo x = %f
\n", $ret["u"]); > > > > * printf("geo y = %f
\n",$ret["v"]); > > > > * > > > > * 3) pj_inv : Performs a projection from cartesian coordinates to > > > > * lat/long coordinates . > > > > * > > > > * retrun_array pj_fwd(double geox, double geoy, PJ pj) > > > > * > > > > * Example : $ingeox = 1537490.335842; > > > > * $ingeoy = -181633.471555; > > > > * > > > > * $ret = pj_inv($ingeox, $ingeoy, $pj); > > > > * printf("lat = %f
\n", $ret["u"]); > > > > * printf("lon = %f
\n",$ret["v"]); > > > > * > > > > * 4) pj_free : frees PJ structure > > > > * > > > > * void pj_free(PJ pj); > > > > * > > > > > **********************************************************************/ > > > > > > > > > > > >Stephen Lime wrote: > > > > > > > >> The solution with MapScript and scripting languages is to use the > proj4 > > > modules written first by > > > >> be and a better version was recently posted to the mailing list. > Perhaps > > > the folks at DMSolutions > > > >> could dicuss how to create a php/proj module. > > > >> > > > >> Steve > > > >> > > > >> Stephen Lime > > > >> Internet Applications Analyst > > > >> > > > >> Minnesota DNR > > > >> 500 Lafayette Road > > > >> St. Paul, MN 55155 > > > >> 651-297-2937 > > > >> > > > >> >>> "Stein Runar Bergheim" 02/22/01 03:05AM >>> > > > >> I am retreiving a set of points from a database, and am drawing them > onto > > > the image object of a map via a layer that is projected from lat/long to > WGS84 > > > coordinates. > > > >> > > > >> This is easy going, my problem occurs when I want to collect a pair > of > > > coordinates from the map, perform an inverse projection of them and use > them > > > to query the database... > > > >> > > > >> Is this possible or should I try some alternate approach... > > > >> > > > >> Regards > > > >> SRB > > > > > > > >-- > > > >---------------------------------------------------------------- > > > >Assefa Yewondwossen > > > >Software Analyst > > > > > > > >Email: assefa at dmsolutions.ca > > > >http://www.dmsolutions.ca/ > > > > > > > >Phone: (613) 565-5056 > > > >---------------------------------------------------------------- > > > > > > **************************************************** > > > Sogn og Fjordane County Municipality > > > Regionaldevelopment Department > > > Phone: (+ 0047) 57 65 62 57 > > > E-mail: runar at bergheim.dk > > > Home: http://www.sf-f.kommune.no > > > **************************************************** > > > > -- > > ---------------------------------------------------------------- > > Assefa Yewondwossen > > Software Analyst > > > > Email: assefa at dmsolutions.ca > > http://www.dmsolutions.ca/ > > > > Phone: (613) 565-5056 > > ---------------------------------------------------------------- > > > > > > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 ---------------------------------------------------------------- From bertha_bonita at yahoo.com Fri Feb 23 13:29:55 2001 From: bertha_bonita at yahoo.com (=?iso-8859-1?q?bertha=20amalia=20serrato=20de=20la=20cruz?=) Date: Fri, 23 Feb 2001 13:29:55 -0800 (PST) Subject: A Little question about HTML Tag Message-ID: <20010223212956.27160.qmail@web4204.mail.yahoo.com> Hi list.. Somebody can explain me what that's mean the next line..??
summarize
thanks ===== *--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Lic. Ciencias Computacionales Bertha A. Serrato bserrato at cicese.mx CICESE,Divisi?n de Ciencias de la Tierra. Ensenada, B.C. *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/ From jrpatton at northcoast.com Fri Feb 23 16:06:54 2001 From: jrpatton at northcoast.com (Jason R. Patton) Date: Fri, 23 Feb 2001 16:06:54 -0800 Subject: posting of .map files, etc... Message-ID: <3A96FB1D.6F98ABB9@northcoast.com> greetings all, i have been using your various mapserver pages to help myself learn about mapserver and its capabilities. this also helps me when i am troubleshooting (i can see how others solved the same problems) i have an idea that may help others (as well as me). if people could post their .map files (as well as other files, like javascript files fro example), we could view these. the site i am working on (it will be officially online soon, "that darn metadata"), will hopefully have a mapserver "technical" page that shoudl have .map files posted there. anyhow, just an idea that may encourage the growth of this fine application. thanks for all your help, jay From morissette at dmsolutions.ca Fri Feb 23 19:55:51 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 23 Feb 2001 22:55:51 -0500 Subject: Problems with Symbol files and php_mapscript.dll for PHP4 References: <3A966820.41C37C71@web.de> Message-ID: <3A9730C7.26F241AE@dmsolutions.ca> Stefan Fuest wrote: > > Now I am trying to use php4 and the php_mapscript.dll (for php4 from > 20010109) > and run into errors regarding the symbol files. > > Script and mapfile are identical and leaving out the symbol file > definition > all works fine (without symbols...). > 2 things have changed with respect to symbols between MapServer version 3.3.011 and version 3.4: 1- SHADESET, MARKERSET and LINESET have been replaced by a single SYMBOLSET parameter in the map files. 2- "STYLED" symbols are gone. You can combine your shade, marker and line symbol files into one single file after taking out the words SHADESET, etc and the final END from each file. You'll also have to remove all the STYLED symbols since they're not supported any more. If you don't want to go through all that, I've also placed a copy of the symbols.sym that we use with the latest GMap demo at http://www2.dmsolutions.ca/mapserver/dl/symbols-for-ms34.sym -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From Alexspringer at aol.com Sat Feb 24 05:26:18 2001 From: Alexspringer at aol.com (Alexspringer at aol.com) Date: Sat, 24 Feb 2001 08:26:18 EST Subject: Mac Java Interface Error Accessing MapServer CGI Message-ID: <1e.11bbf6da.27c9107a@aol.com> A Mac user attempting to access our Mapserver CGI with Java interface, which works fine with IE5 on Windows, fails to connect and gets this error ... anyone know the solution? Incurred while using Internet Explorer 4.5 for Mac using OS 9.1. Java Exception: java.lang.ClassNotFoundException - netscape.javascript.JSObject Stack Trace: java.lang.ClassNotFoundException: netscape.javascript.JSObject at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderO ld.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at map_display.init(map_display.java:7 An exception occurred: java.lang.ClassNotFoundException: netscape.javascript.JSObject for netscape.javascript.JSObject 2/24/2001 @ 8:1:3 Java Exception: java.lang.ClassNotFoundException - netscape.javascript.JSObject Stack Trace: java.lang.ClassNotFoundException: netscape.javascript.JSObject at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderO ld.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at map_display.init(map_display.java:7 From steve.lime at dnr.state.mn.us Sat Feb 24 08:02:43 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Sat, 24 Feb 2001 10:02:43 -0600 Subject: Mac Java Interface Error Accessing MapServer CGI Message-ID: Other than figuring out how to install those classes a mac client I know of no workaround. I don't have a mac to test with unfourtunately. Incompatatability with Mac and live connect (i.e. java => javascript) has always been an issue. I do have another non-java box drawing option that I'll share next week. It is MSIE only and still may not work on the Mac. Steve >>> 02/24/01 07:32 AM >>> A Mac user attempting to access our Mapserver CGI with Java interface, which works fine with IE5 on Windows, fails to connect and gets this error ... anyone know the solution? Incurred while using Internet Explorer 4.5 for Mac using OS 9.1. Java Exception: java.lang.ClassNotFoundException - netscape.javascript.JSObject Stack Trace: java.lang.ClassNotFoundException: netscape.javascript.JSObject at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderO ld.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at map_display.init(map_display.java:7 An exception occurred: java.lang.ClassNotFoundException: netscape.javascript.JSObject for netscape.javascript.JSObject 2/24/2001 @ 8:1:3 Java Exception: java.lang.ClassNotFoundException - netscape.javascript.JSObject Stack Trace: java.lang.ClassNotFoundException: netscape.javascript.JSObject at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderO ld.java) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java) at map_display.init(map_display.java:7 From nwerneck at yahoo.com.br Sat Feb 24 09:10:16 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Sat, 24 Feb 2001 14:10:16 -0300 (ART) Subject: Client-side vector-based internet-browser-embedded map viewer Message-ID: <20010224171016.28084.qmail@web4304.mail.yahoo.com> Hello. Kind of off-topic, sorry, but have anybody here ever worked with any of those map browsers in the topic? I have seen some flash map viewers, with scalabel graphics, layer control and feature search, but I've only seen applications for small areas... Is it reasonably fast for more detailed areas, say, the size of Portugal, with some 800 rivers, roads and etc? I know there are other solutions for this kind of application... This flash one can't handle labels and symbols :Q Well, bye! :) --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From nwerneck at yahoo.com.br Sat Feb 24 09:43:49 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Sat, 24 Feb 2001 14:43:49 -0300 (ART) Subject: scalebar Message-ID: <20010224174349.24975.qmail@web4301.mail.yahoo.com> Hey, who is winning the contest of newbie questions posting?? OK, I'm trying to install the scalebar on my application... But It's not working allright. It's showing in tens-of-thousends of kilometers (10**7 meters). Whe I ask for showing in *meters*, it shows in hundreds of kilometers! :Q Have anybody ever had this kind of mapserver disease??? And I some kind of informatic-hipocondriac??? :O Well, enought for today! thanks.. bye! --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From rchavez at perseus.tufts.edu Sun Feb 25 11:49:25 2001 From: rchavez at perseus.tufts.edu (Robert Chavez) Date: Sun, 25 Feb 2001 14:49:25 -0500 (EST) Subject: Mapscript - java - Rosa applet question In-Reply-To: Message-ID: I was wondering if any users had implemented DM Soulution's Rosa java applet with Mapserver/Mapscript. I've incorporated the applet with my mapscript project and it works great on Netscape, but I'm running into some funky errors with IE (specifically 5.5 -- haven't gone back to 4.0 yet). The applet loads just fine in IE but after a user tries to pan zoom in, zoom out, draw a rectangle, etc (all operations that should automatically submit the form data back to the server), no joy. This works with Netscape so I'm wondering if there's some LiveConnect issue in IE. I can supply a URL is anyone is interested. I receive the following errors from the IE Java Console: Exception occurred during event dispatching: com.ms.com.ComFailException: (0x80020006) Unknown name. at com/ms/com/Dispatch.NInvokeReal And in my apache error log I read: [error]File does not exist: /web/docs/rosa/applet/Rosa2000BeanInfo.class [error] File does not exist: /web/docs/rosa/applet/Rosa2000$COMClassObject.class IE seems to be expecting a BeanInfo.class file in the rosa.jar file, and the COMClassObject.class error suggests IE doesn't recognize LiveConnect for some reason (although LiveConect is supposed to be suported). A contributing factor might be that I'm using mapscript and Perl to generate the HTML code that's sent to the user's browser -- which means there's no physical HTML file in the server's web directory, and which may screw up IE somehow. I'm still working through this issue though. I've used the rosa applet 'out-of-the-box' and recompiled it under different SDK's (1.2, 1.3), but I get the same error every time. Has anyone run into these problems with Rosa and IE? Any suggestions would be greatly appreciated. Thanks, Rob Chavez Perseus Project rchavez at perseus.tufts.edu From rob at socialchange.net.au Sun Feb 25 14:54:21 2001 From: rob at socialchange.net.au (Rob Atkinson) Date: Mon, 26 Feb 2001 09:54:21 +1100 Subject: Client-side vector-based internet-browser-embedded map viewer References: <20010224171016.28084.qmail@web4304.mail.yahoo.com> Message-ID: <3A998D1D.D8C23FC5@socialchange.net.au> Any serious number of real world applications will require some form of distributed spatial data infrastructure - the cost and practicality of maintaining copies of every base data set gets out of hand, and if your application needs remotely up-to-date data, a local copy probably means you have a huge ongoing data management budget to arrange. A distributed infrastructure requires interoperability standards (cf the OpenGIS web services model) and a three-tier architecture. SVG/Flash/Any other vector format viewers need to be fed with the small piece of data that matches the problem. Current client side vector technologies are either demos that load a static file or proprietary streaming solutions that talk only to a particular serving technology. The OpenGIS Web Feature Server specification will provide a baseline - however middleware is probably required to handle negotiations with respect to which server has the features, which style to apply, and how access to the shared resource is going to be granted. Mapserver provides a great service provision platform, and the interface tools allow quite nice applications to be built around private data holdings, but institutional players should realise that these are but two parts of the problem and should be decoupled in the planning process - which the mapserver technology neatly supports. Regards Rob Atkinson CTO Nicolau Werneck wrote: > Hello. > > Kind of off-topic, sorry, but have anybody here > ever worked with any of those map browsers in the > topic? I have seen some flash map viewers, with > scalabel graphics, layer control and feature search, > but I've only seen applications for small areas... Is > it reasonably fast for more detailed areas, say, the > size of Portugal, with some 800 rivers, roads and etc? > I know there are other solutions for this kind of > application... This flash one can't handle labels and > symbols :Q > > Well, bye! :) > > --Nicolau > > ________________________________________________________________________ > O YAHOO! GEOCITIES CHEGOU AO BRASIL! > Crie sua home page com tudo em portugu?s - http://br.geocities.com -------------- next part -------------- A non-text attachment was scrubbed... Name: rob.vcf Type: text/x-vcard Size: 337 bytes Desc: Card for Rob Atkinson URL: From angus at 3wsi.com Sun Feb 25 22:48:57 2001 From: angus at 3wsi.com (Angus D Madden) Date: Mon, 26 Feb 2001 13:48:57 +0700 Subject: gmap demo : Fatal error: Object expected as argument. in /home/ii/mapserver/gmap/htdocs/gmap75.php3 on line 696 References: <3A94B01F.110001FC@3wsi.com> <3A95500F.46A11EE8@dmsolutions.ca> <3A95A7C7.75371AAA@imexis.com> <3A95E769.B46C8A@imexis.com> <3A965E0A.E1EEBB40@dmsolutions.ca> Message-ID: <3A99FC59.1E25F9CD@3wsi.com> Daniel Morissette wrote: > > You could try to recompile, but this time compile PHP4 with the > following options only: > ./configure '--prefix=/usr' '--with-apxs=/usr/bin/apxs' > '--with-regex=system' '--with-config-file-path=/etc/php4/apache' > '--enable-dbase' > > Then see if you still get the error. Note that you'll probably also > have to reconfigure and recompile your php_mapscript.so after you have > reconfigured PHP. Daniel - recompiled as you suggested and everything is working great. Excellent software. Thanks for your help. Angus D Madden Business Development Manager - Solutions PT Infracell Nusatama / 3WSI World Trade Center, 12th Floor Jl. Jend. Sudirman, Kav. 29 - 31 Jakarta 12920, Indonesia Tel. +62 21 521 1500 Fax. +62 21 526 4548 Cell +62 81 888 4117 https://3wsi.com/ From Egon.Kuster at dsto.defence.gov.au Thu Feb 22 23:27:30 2001 From: Egon.Kuster at dsto.defence.gov.au (Kuster, Egon) Date: Fri, 23 Feb 2001 17:57:30 +1030 Subject: Compiling MS on Win32+SDE Message-ID: Have you placed that fix I posted to you about the linking between SDE and mapserver on win32 onto the website? Egon Kuster -----Original Message----- From: Stephen Lime [mailto:steve.lime at dnr.state.mn.us] Sent: Friday, 23 February 2001 9:23 AM To: Egon.Kuster at dsto.defence.gov.au; 'Eduin Yesid Carrillo'; mapserver-users at lists.gis.umn.edu Subject: RE: Compiling MS on Win32+SDE Would be nice to verify the error on another machine though so it might be worth it to compile and try it anyway. Might not even be my fault! ;-) Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Kuster, Egon" 02/22/01 04:29PM >>> Yeah I have been able to compile mapserver with SDE support in win32 but there are other problems after you have the program compiled and running. When you try and use a normal shapefile the compiled program works fine but as soon as you try and use the SDE support you get the following error: The instruction at "0x00423d96" reference memory at "0x00000004". The memory could not be "read" I currently have Stephen Lime who is working for University of Minnesota to look into this problem, if you would like more information drop stephen a line on steve.lime at dnr.state.mn.us So here is where I stand, yes I can get it to compile and run on win32 but when you use the SDE support a memory error is produced. Sorry but that is where it is at the moment. Egon Kuster Defence Science & Technology Organisation Information Technology Division Phone: +61 8 8259 5175 Fax: +61 8 8259 5619 -----Original Message----- From: Eduin Yesid Carrillo [mailto:yecarrillo at hotmail.com] Sent: Thursday, 22 February 2001 11:46 AM To: mapserver-users at lists.gis.umn.edu Subject: Compiling MS on Win32+SDE This question was posted before without concrete answers: I am trying to compile mapserver in my win32 pc with sde support without success. Somewhere in the source, I find the need of this client libraries: Include files: sdetype.h and sdeerno.h in -------- $SDE_DIR/arcsde/coverages/include/sdetype.h $SDE_DIR/include/sdetype.h $SDE_DIR/sdetype.h -------- Client libs: libsde30.a (sde 3.0) or libsde80.a (arcSDE 8) in -------- $SDE_DIR/lib/libsde80.a $SDE_DIR/libsde80.a ------- I have the client cds for: sde 3.0.2 sde 3.0.2.1 sde 3.0.2.2 arcsde 8.0 for Oracle 8i Installing this clients I found this common structure: sdeexe30(or ora8iexe) | |-------bin | |-------include | |-----sdeerno.h | |-----sdetype.h | |-------lib | |-----sde30.lib (or sde80.lib) The questions... Is sde30.lib (or sde80.lib)equivalent to libsde30.a (or libsde80.a) for compile? Somebody in the list have compiled MS with SDE enabled for Win32? ---------------------------- Eduin Yesid Carrillo Ingeniero Civil yecarrillo at hotmail.com #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From michael.kleih at jrc.it Mon Feb 26 01:42:38 2001 From: michael.kleih at jrc.it (Michael Kleih) Date: Mon, 26 Feb 2001 10:42:38 +0100 Subject: Mac Java Interface Error Accessing MapServer CGI References: <1e.11bbf6da.27c9107a@aol.com> Message-ID: <3A9A250E.7CF8F18E@jrc.it> Alexspringer at aol.com wrote: > A Mac user attempting to access our Mapserver CGI with Java interface, which > works fine with IE5 on Windows, fails to connect and gets this error ... > anyone know the solution? > > Incurred while using Internet Explorer 4.5 for Mac using OS 9.1. > > Java Exception: java.lang.ClassNotFoundException - > netscape.javascript.JSObject > Stack Trace: > java.lang.ClassNotFoundException: netscape.javascript.JSObject > at > com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderO > It seems you are using LiveConnect (connection between JAVA and JavaScript), which obviously is not installed on the computer of your user. (the class netscape.javascript.JSObject is missing) You could give to this user your classfile, your browser is using. Michael From armin.burger at territoriumonline.com Mon Feb 26 05:31:04 2001 From: armin.burger at territoriumonline.com (Armin Burger) Date: Mon, 26 Feb 2001 14:31:04 +0100 Subject: MapScript for Java Message-ID: <5.0.2.1.1.20010226140558.00b3b020@box.nettz.com> In the documentation for MapScript there is mentioned also the possibility using Java as MapScript language. Is there anybody who did succeed using Java-MapScript for an application? I tried using SWIG 1.3.a3 producing the MapScript Java files. Running SWIG (both on Linux and NT) I got some messages like .... ignoring enum constant: MS_FILE_MAP ignoring enum constant: MS_FILE_SYMBOL ignoring enum co.... ..... I didn't go on trying to compile mapserver because I didn't know if something essential would be missing then. Also I had no clue how to tell the compiler to include Java. Something like '--with-Java=...'? What is it producing then, a library file? Thanks for any help Armin -- Armin Burger Territorium Online Siemensstrasse/Via Siemens 19 - I-39100 Bozen/Bolzano - Italia email: armin.burger at territoriumonline.com http://www.territoriumonline.com tel: +39-0471-568185 / fax -- 568078 _ From morissette at dmsolutions.ca Mon Feb 26 06:27:09 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 26 Feb 2001 09:27:09 -0500 Subject: Line symbols (was: PHP Mapscript/Map Server) References: <012601c09eb1$dfc84d20$8501a8c0@archtechjoe> Message-ID: <3A9A67BD.7E96C073@dmsolutions.ca> > Joseph Archibald wrote: > > Hi, > I am trying to use symbols and can't seem to figure it out. I am > trying to implement a dashed line for a city border and something that > resembles railroad tracks. > I know the Symbol sets have replaced with a single symbol file. It > seems that the new symbol file only handles points and not lines. If > I choose a symbol and change my Layer to a Point type, I get the > symbol whereever the points are. If I change the Layer to a Line > type, it just "smears" the symbol. > Is there anyway to generate a Lineset? It looks like v3.4 has removed > all of the LineSet functions. > > > Thanks > > Joseph Archibald > Joseph, Defining symbols is completely independent from the PHP MapScript module itself, I'm aware of changes to the symbol stuff in version 3.4 but never played much with symbols myself. I'll forward your questions to the mapserver-users list where hopefully someone can help you. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From yecarrillo at hotmail.com Mon Feb 26 07:26:46 2001 From: yecarrillo at hotmail.com (Eduin Yesid Carrillo) Date: Mon, 26 Feb 2001 10:26:46 -0500 Subject: Reading shape files from shared resources Message-ID: There are some experiences reading shape files using the microsoft shared resources style: DATA "\\MYSERVER\path\to\shape\file" I get success reading shapes in this form with WinNT4/Apache, but unsuccessful with Win2k/Apache. Maybe permissions settings? Some suggestions? Thanks. ---------------------------- Eduin Yesid Carrillo Ingeniero Civil CIUDAD DIGITAL Central de Informaci?n Regional Georefenciada Bucaramanga - Colombia yecarrillo at hotmail.com yecarrillo at condorito.uis.edu.co #ICQ 14323531 _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From teb at mallit.fr.umn.edu Mon Feb 26 07:27:18 2001 From: teb at mallit.fr.umn.edu (teb) Date: Mon, 26 Feb 2001 09:27:18 -0600 (CST) Subject: Symbols (fwd) Message-ID: <200102261527.JAA02003@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: "Joseph Archibald" To: Subject: Symbols Date: Sat, 24 Feb 2001 17:02:14 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Hi, I am trying to use symbols and can't seem to figure it out. I am trying to implement a dashed line for a city border and something that resembles railroad tracks. I know the Symbol sets have replaced with a single symbol file. It seems that the new symbol file only handles points and not lines. If I choose a symbol and change my Layer to a Point type, I get the symbol whereever the points are. If I change the Layer to a Line type, it just "smears" the symbol. Is there anyway to generate a Lineset? It looks like v3.4 has removed all of the LineSet functions. Thanks Joseph Archibald ------------- End Forwarded Message ------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From teb at mallit.fr.umn.edu Mon Feb 26 07:28:11 2001 From: teb at mallit.fr.umn.edu (teb) Date: Mon, 26 Feb 2001 09:28:11 -0600 (CST) Subject: BajaCalifornia Peninsula (fwd) Message-ID: <200102261528.JAA02007@mallit.fr.umn.edu> ------------- Begin Forwarded Message ------------- From: BAJASURFING at aol.com Date: Sat, 24 Feb 2001 13:35:09 EST Subject: BajaCalifornia Peninsula To: mapserver-info at lists.gis.umn.edu MIME-Version: 1.0 Content-Transfer-Encoding: 7bit I am building a website on the baja peninsula and some of the features will be a map with latitude &longetude , topograpical,coastal areas, water depth,airports paved&unpaved,roads paved &unpaved, historical landmarks, cities&towns.At this site when opened,the above features maybe clicked on,a web page would open and this site will expose information and pictures on the above topics.If this is not possible,maybe you know of some one or company cappable of producing such a map? MEXICO,USA,EUROPE? Thanks for taking the time to resurching this for me,Jamie. Phone: (805)493-2044 FAX: SAME NO. ------------- End Forwarded Message ------------- From wgwallace at students.wisc.edu Mon Feb 26 08:28:13 2001 From: wgwallace at students.wisc.edu (Woody Wallace) Date: Mon, 26 Feb 2001 10:28:13 -0600 Subject: Client-side vector-based internet-browser-embedded map viewer References: <20010224171016.28084.qmail@web4304.mail.yahoo.com> Message-ID: <3A9A841D.C288E142@students.wisc.edu> Check out the Lava/Magma setup at: http://www.pgs.nl Although their demos are of smaller areas, my prior work at the USGS involved integrating that system with with some very detailed databases. Our client ended up being relatively thick, but usable on a wide variety of platforms assuming they had enough memory (~128 Mb of ram) to render large vector datasets. We attempted to implement a variety of methods for optimizing data transfer: Server-side attributes, scale dependent layers, on-the-fly clipping and generalization. You can look at that example at: http://geode.usgs.gov There are some real advantages to sending the vector data to the client. However, the utlimate question remains.... How thick do you want to your clients to be? The computer industry has sea-sawed on this issue for years. Big mainframes--dumb terminals to the personal computer revolution and now the trend is back to thinner clients on portable systems. It is all a processing/memory game. If your clients have lots of processing power, its more efficient to take advantage of it. If not, your stuck processing everything on the server and sending back a static picture (something mapserver seems to be very good at). There have been standards for transfering data between remote databases long before OpenGIS came along. One is called ODBC. All you need is a Java client and a JDBC-ODBC bridge and you have connectivity to a wide variety of mainstream databases which is where GIS data is being stuffed these days anyway. No waiting of GML or other industry specific standards that are probably less efficient anyway. The real issue that the OGC will sort out is data discovery not transfering the data itself. Bottom line... Vector based webmapping already exists. It provides some neat functionality for high end clients. If you want to reach a broader audience, image producing servers such as mapserver are probably the way to go. Adeus, Woody Wallace Wisconsin State Carographer's Office Nicolau Werneck wrote: > Hello. > > Kind of off-topic, sorry, but have anybody here > ever worked with any of those map browsers in the > topic? I have seen some flash map viewers, with > scalabel graphics, layer control and feature search, > but I've only seen applications for small areas... Is > it reasonably fast for more detailed areas, say, the > size of Portugal, with some 800 rivers, roads and etc? > I know there are other solutions for this kind of > application... This flash one can't handle labels and > symbols :Q > > Well, bye! :) > > --Nicolau > > ________________________________________________________________________ > O YAHOO! GEOCITIES CHEGOU AO BRASIL! > Crie sua home page com tudo em portugu?s - http://br.geocities.com From tomkralidis at hotmail.com Mon Feb 26 08:36:09 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Mon, 26 Feb 2001 11:36:09 -0500 Subject: OGC / MapScript questions Message-ID: Stephen, Thanks for the information. I've gotten MapScript to work on my box, seems it was the mapfile. If I have a simple mapfile: NAME CAN EXTENT -99 50 -73 55 # ONTARIO UNITS DD SHAPEPATH "/home/gis/data/wmp/" SIZE 500 300 LAYER NAME TEMP TYPE RASTER STATUS DEFAULT DATA TEMP.gif TRANSFORM FALSE END LAYER NAME prov_terr_outline TYPE POLYLINE STATUS DEFAULT DATA prov_terr CLASS COLOR 0 0 0 OUTLINECOLOR 0 0 0 END END # LAYER END # MAPFILE ...and my mapscript.pl: #!/usr/bin/perl use LWP::Simple my $content = get("http://naboo/cgi-bin/mapserv/ms-ogc.pl?request=map&layers=elevation,roads,lakes,rivers,boundary ,cities&BBOX=-99,50,-73,55&WIDTH=500&HEIGHT=300"); my $file = "/www/htdocs/gis/mapserv/mapscript/test.map"; my $map = new mapObj("$file") or die "Unable to open mapfile: $!\n"; my $layer = $map->getLayerByName('TEMP'); $layer->{data} = $content; my $img = $map->prepareImage() or die('Unable to draw map $!'); $map->draw(); $layer->draw($map, $img); # draw basemap setOutput(); mapscript::msSaveImage($img, undef , $map->{interlace}, $map->{transparent}); # print STDOUT $content; I get nothing. I'm getting the ms-ogc layer via LWP. setOutput() prints out the content type (image/gif), etc. The $content data is there, I can view it if I simply print it out to display. How can I add this to my map? I put a dummy TEMP layer for the OGC layer. Can I dynamically add layers instead (how?)? Thanks ..Tom > >OGC compliance is coming, but first it will exist on the server level and >then >perhaps at the client level. That is, initially MapServer will be able to >act as >a compliant WMT server and will not be a WMT client. > >That said you should be able to integrate other WMT server output into your >maps using MapScript. The basic algorithm would be: > > 1) open map, set extents etc. > 2) step through layers, rendering each in turn, if the layer is to be >retrieved > elsewhere then nab the image, save it and alter the layer definition >to use > it. remember you can use gif/png in images without world files >(TRANSFORM > FALSE). > 3) write output image/page > 4) cleanup > >MapScript is intended as a way to replace the MapServer CGI. It's possible >to >rewrite the CGI version in perl or whatever. By the same token you can >write >very custom applications that do things the generic CGI C implementation >can't >do. You could also use the C library, but scripting seems to appeal to a >larger >audience. There are ways to integrate MapScript apps with the CGI version >such as writing custom mapfiles or retrieving/creating custom data before >passing a request to the CGI piece. That would save re-writing template >processing functionality. > >I've not seen the error you mention before. Try searching perl.com... > >Steve > >Stephen Lime >Internet Applications Analyst > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > >>> "Tom Kralidis" 02/14/01 01:47PM >>> >Hi, > >I'v been working w/ MapServer to build a basic application. Until now, I >have not used any MapScript. > >I would like to integrate layers called from OGC-type servers (eg. >clearinghouse dcw data), to overlay onto my datasets. I have a script to >return an OGC-style response of data BBOX, and would like to glue this into >mapserver. > >I understand OGC compliance is forthcoming, but is this possible in >MapScript in the interim? Does anyone have any examples of this working? > >I tried running the site example for MapScript on my web server: > >#!/usr/bin/perl -w > >use mapscript; > >my $map = new mapObj('/www/htdocs/gis/mapserv/wmp/wmp-dev.map') or die >"Unable to open mapfile: $!\n"; >my $img = $map->draw() or die('Unable to draw map'); >mapscript::msSaveImage($img, '/tmp/imgfile', $map->{interlace}, >$map->{transparent}); > >and get the following error in my error_log: > >Unable to open mapfile: Inappropriate ioctl for device > >I'm running mapserver on a RedHat6.2 with Apache-1.3.14 > >Anyone had this type of issue? > >How does one deal w/ MapScript? Does it replace the mapserv binary as the >driving application, calling everthing through there? > >Any advice would be appreciated. > >Thanks > >..Tom > >_________________________________________________________________________ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve.lime at dnr.state.mn.us Mon Feb 26 11:11:45 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 26 Feb 2001 13:11:45 -0600 Subject: MapServer with Cold Fusion? Message-ID: Guess I need to do some reading. WDDX is a data transfer/sharing standard correct? That would still require another program to share data from if I understand things (which I may not). While that might solve some problems, isn't a tighter integration more desirable? How extensible is ColdFusion's scripting language? You'd definitely want to pattern things after the main MapScript or MapScript/PHP implementations. I'll read more and if I think of anything else I'll certainly pass it along... Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Paul Hastings 02/22/01 07:18PM >>> > Looks like paul at tei.or.th is looking into a MapServer for CF using WDDX ?. > This stuff is a bit over my head, but it would definitely be very cool, and > make it (MapServer) even more accessible to the masses. yeah if i can find a couple of c kids w/the time & interest. we're using WDDX between apps/sites with some success & little effort so it seems a natural place to start. if anyone can see any gotchas, deadends, etc. we'd appreciate hearing about them. From tomkralidis at hotmail.com Mon Feb 26 12:04:50 2001 From: tomkralidis at hotmail.com (Tom Kralidis) Date: Mon, 26 Feb 2001 15:04:50 -0500 Subject: OGC mapplet integration Message-ID: Hi, I'd like to use mapplet.java to set a background image representing an OGC-style requested image. Additions to HTML: ..this value (coordinates, layers) will be built during the CGI rendering of the application. ..then, in the applet, pick up the OGC image as per the MapServer returned image, and set it as the background: s = getParameter("OGC_Layer"); try { OGCurl = new URL(s); } catch(MalformedURLException e) { window.eval("mapplet_error('Applet error. Malformed OGC image URL.');"); this.stop(); } OGCimg = getImage(OGCurl); ..I'm not a Java person; can anyone suggest where and how to implement the setBackground(OGCimg) function in the applet? Thanks ..Tom _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From steve.lime at dnr.state.mn.us Mon Feb 26 12:41:36 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 26 Feb 2001 14:41:36 -0600 Subject: SDE testers... Message-ID: Could those of you interested in testing the new SDE functionality in 3.5 contact me off the list? I'd like to set up a small group of folks to try the code. I should have it working later this week, queries and all... 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 Mon Feb 26 12:42:28 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Mon, 26 Feb 2001 14:42:28 -0600 Subject: Fwd: minimum hardware configuration Message-ID: An embedded message was scrubbed... From: "David Raitzer" Subject: minimum hardware configuration Date: Fri, 16 Feb 2001 17:32:46 -0500 Size: 1808 URL: From joea at archtech.ca Mon Feb 26 16:08:02 2001 From: joea at archtech.ca (Joseph Archibald) Date: Mon, 26 Feb 2001 19:08:02 -0500 Subject: TAB Files Message-ID: <00b301c0a051$5a1080c0$8501a8c0@archtechjoe> Hi, I am using mapinfo TAB files in my project. One of the files has text objects in it. Is there any way to view these objects? The file contains my street names and I have verified the file using MapInfo Proviewer. If I include the layer in Mapserver, I just get a point of where the text would appear. Thanks Joseph Archibald -------------- next part -------------- An HTML attachment was scrubbed... URL: From morissette at dmsolutions.ca Mon Feb 26 16:56:57 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 26 Feb 2001 19:56:57 -0500 Subject: TAB Files References: <00b301c0a051$5a1080c0$8501a8c0@archtechjoe> Message-ID: <3A9AFB59.F3685417@dmsolutions.ca> > Joseph Archibald wrote: > > Hi, > I am using mapinfo TAB files in my project. One of the files has > text objects in it. Is there any way to view these objects? The file > contains my street names and I have verified the file using MapInfo > Proviewer. If I include the layer in Mapserver, I just get a point of > where the text would appear. > With OGR/TAB support that was in version 3.4, text objects were returned as simple points and the text string was lost. I am currently improving OGR/TAB support for version 3.5, and carrying text labels is one those few things that is giving me trouble... but some level of support for the TAB text labels will be in the next version for sure. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From paul at tei.or.th Mon Feb 26 17:29:03 2001 From: paul at tei.or.th (Paul Hastings) Date: Tue, 27 Feb 2001 08:29:03 +0700 Subject: MapServer with Cold Fusion? References: Message-ID: <01e601c0a05c$ac66fd80$0a729acb@tei.or.th> well the "other" program would be a coldfusion app. we use WDDX extensively in app to app communication (site to site, cf to cf, cf to js, cf to VB/ODE, cf to the girl-next-door). i got most of the CGI-cf working this weekend (including simple identifies) but the URL limitations are going to bite eventually. unless i'm missing something WDDX is one way around it. the arcIMS cf connector is just a CFX tag (C++) that spews XML at the mapserver. cf is quite extensible either using itself, c++ or java. my knee jerk reaction to cf communicating with "strange" apps is WDDX. so embedding WDDX serializing/deserializing just seemed the way to go. though we'll be definitely looking at mapscript as well. yes please, any info/ideas you have are most welcome. ----- Original Message ----- From: "Stephen Lime" To: "Doyon, Jean-Francois" ; "'Fawcett, David'" ; Cc: Sent: Tuesday, February 27, 2001 2:11 AM Subject: Re: MapServer with Cold Fusion? Guess I need to do some reading. WDDX is a data transfer/sharing standard correct? That would still require another program to share data from if I understand things (which I may not). While that might solve some problems, isn't a tighter integration more desirable? How extensible is ColdFusion's scripting language? You'd definitely want to pattern things after the main MapScript or MapScript/PHP implementations. From HFreytag at dlwc.nsw.gov.au Mon Feb 26 23:39:23 2001 From: HFreytag at dlwc.nsw.gov.au (Herbie Freytag) Date: Tue, 27 Feb 2001 18:39:23 +1100 Subject: Can tiled set of shapefiles be re-projected on the fly ? Message-ID: Displaying a tiled dataset works on our mapserv3.3 installation, as does reprojection of untiled datasets. However, reprojection of tiled dataset does not work.... configuration error or not yet supported ? Herbie +-----------------------------------------------------------------------------------------------------------+ Herbie Freytag ICMISS Support Tel: +61 2 9895 7335 Fax: +61 2 9895 7834 hfreytag at dlwc.nsw.gov.au Department of Land & Water Conservation Level 4, 10 Valentine Ave, Parramatta Sydney, Australia +-----------------------------------------------------------------------------------------------------------+ -------------- next part -------------- --------------------------------------------------------- WARNING: This message is intended for the addressee named and may contain confidential/privileged information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this messages are those of the individual sender, and are not necessarily the views of the NSW Department of Land and Water Conservation. You should scan any attached files for viruses. --------------------------------------------------------- From mark.wilson at rohoel.at Tue Feb 27 00:06:09 2001 From: mark.wilson at rohoel.at (mark.wilson at rohoel.at) Date: Tue, 27 Feb 2001 09:06:09 +0100 Subject: BajaCalifornia Peninsula (fwd) Message-ID: Jamie, Yes, all that you describe is possible with mapserver and javascript.. But you may find it is not a trivial exercise - depending upon your level of expertise. As you already mentioned, having someone do the work for you may be an option but it will obviously have a cost.. You have nothing to lose (except time) by trying to do it yourself. There are plenty of experienced mapserver users who can answer specific questions (as long as you've read the documentation first and ideally searched the mailing list archive!!). On the other hand, a direct request to this list for interested parties to contact you may allow you to determine the cost of outsourcing such a project and might ultimately provide a quicker solutiuon for you. Good luck. Mark W. teb on 26.02.2001 16:28:11 Please respond to teb To: mapserver-users at lists.gis.umn.edu cc: BAJASURFING at aol.com (bcc: Mark H Wilson/RAG/AT) Subject: BajaCalifornia Peninsula (fwd) ------------- Begin Forwarded Message ------------- From: BAJASURFING at aol.com Date: Sat, 24 Feb 2001 13:35:09 EST Subject: BajaCalifornia Peninsula To: mapserver-info at lists.gis.umn.edu MIME-Version: 1.0 Content-Transfer-Encoding: 7bit I am building a website on the baja peninsula and some of the features will be a map with latitude &longetude , topograpical,coastal areas, water depth,airports paved&unpaved,roads paved &unpaved, historical landmarks, cities&towns.At this site when opened,the above features maybe clicked on,a web page would open and this site will expose information and pictures on the above topics.If this is not possible,maybe you know of some one or company cappable of producing such a map? MEXICO,USA,EUROPE? Thanks for taking the time to resurching this for me,Jamie. Phone: (805)493-2044 FAX: SAME NO. ------------- End Forwarded Message ------------- From mschulz at webgis.de Tue Feb 27 04:46:08 2001 From: mschulz at webgis.de (Michael Schulz) Date: Tue, 27 Feb 2001 13:46:08 +0100 Subject: Problems with empty/error templates and symbols Message-ID: <3A9BA18F.16168B04@webgis.de> Dear List, I am having some problems with a new mapserver-website. Perhaps anyone who has experienced similar behaviour of mapserv could help. FYI: The website is hosted on a remote ISP, so i have not been able to compile mapserv under this particular environment, i have rather tried to simulate the environment on one of our local machines and then copied the mapserv-cgi to our remote /cgi-bin. Anyway, mapserv responds and works well. It is ms34 with tif, jpeg, gd12, ttf, eppl7 support compilation. One problem is that mapserv does not use the ERROR template in the mapfile. But it does use the EMPTY template. So one time the webserver/mapserver displays the empty template and one time it displays a "500 Internal Server Error". It is the same template and has the same definition. Another thing: I classified a polygon shape layer in several classes and used the shade symbols with transparent horizontal/vertical stripes (from the demo symbol file, but in the new symbolset form). When activating this layer mapserv kept crashing (http 500 Error). The request to mapserv to generate this particular map does not appear in the log file! After I switched to another symbol (transparent #) everything worked. !? Could both problems be related to the remote ISP environment? But why would other things work without problems? Hmm, any suggestions? If I have the permission of our client i will post the URL. BTW, is the sym2img utility still in use and working with the new symbolset file? Cheers, Michael -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de From steve.lime at dnr.state.mn.us Tue Feb 27 08:18:48 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Tue, 27 Feb 2001 10:18:48 -0600 Subject: Can tiled set of shapefiles be re-projected on the fly ? Message-ID: Should work ok. I know of others using that capability. Both the index and the data need to be in the same projection, could that be the issue? Steve Stephen Lime Internet Applications Analyst Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Herbie Freytag" 02/27/01 01:39AM >>> Displaying a tiled dataset works on our mapserv3.3 installation, as does reprojection of untiled datasets. However, reprojection of tiled dataset does not work.... configuration error or not yet supported ? Herbie +-----------------------------------------------------------------------------------------------------------+ Herbie Freytag ICMISS Support Tel: +61 2 9895 7335 Fax: +61 2 9895 7834 hfreytag at dlwc.nsw.gov.au Department of Land & Water Conservation Level 4, 10 Valentine Ave, Parramatta Sydney, Australia +-----------------------------------------------------------------------------------------------------------+ From ems174 at email.psu.edu Tue Feb 27 08:25:41 2001 From: ems174 at email.psu.edu (Eric Steele) Date: Tue, 27 Feb 2001 11:25:41 -0500 Subject: QueryFile/SaveQuery question Message-ID: Hi, I'm trying to write a function a few features that match some criteria and then allow the user to pan/zoom to look at them further, all the while keeping them highlighted. I have it selecting the features, but I haven't had any luck making them persistent. I assume I want to do a SaveQuery/QueryFile with these. Can anyone give me an explanation of how they work, or at least point me to any relevant information? Thanks, Eric Eric M. Steele Senior Research Technologist Land Analysis Laboratory, Penn State University EricSteele at psu.edu 814-863-8717 From gwatson at odyssey.on.ca Tue Feb 27 08:32:07 2001 From: gwatson at odyssey.on.ca (Dr. Gordon Watson) Date: Tue, 27 Feb 2001 11:32:07 -0500 Subject: join Message-ID: <001201c0a0da$d41478c0$0400a8c0@geology> -------------- next part -------------- An HTML attachment was scrubbed... URL: From yecarrillo at hotmail.com Tue Feb 27 08:47:33 2001 From: yecarrillo at hotmail.com (Eduin Yesid Carrillo) Date: Tue, 27 Feb 2001 11:47:33 -0500 Subject: SDE testers... Message-ID: Yes. I can help this effort testing MS with Apache/IIS4 WinNT4/Win2k/Win98 Sde3.0.2,3.0.2.1,3.0.2.2/arcSDE7.2,8.0 and all their possible combinations. Additionally, you sent me past days the egon's compilation for SDE. I test it with this results: 1. Egon compiled MS with ArcSDE 8.1 libraries. I have ArcSDE 8.0 .So, I move this files to my cgi folder :pe80.dll, sde80.dll (renamed as sde81.dll), sg80.dll. This files are required by MS when trying to run it form DOS command line. Effect of rename sde80.dll to sde81.dll is unknown. 2. Connection are established . Using the correct connection parameters(cd,esri_sde,oracle,ciu_admin,ciu_admin), I found this error : msDrawSDELayer(): SDE error. SE_layer_get_info(): 0?‚. (-20) When change the password, the error becomes to: msDrawSDELayer(): SDE error. SE_connection_create(): ?‚. (-9) 3. I used one minimized map file to reduce other errors. I ask egon for other funcionality parameters activated when compiled MS, because get some errors of GD library with scalebar and labels. Probably because I'am using png images to build the labels. I hope this information will be useful.! Bye. ---------------------------- Eduin Yesid Carrillo Ingeniero Civil CIUDAD DIGITAL Central de Informaci?n Regional Georefenciada Bucaramanga - Colombia yecarrillo at hotmail.com yecarrillo at condorito.uis.edu.co #ICQ 14323531 >From: "Stephen Lime" >To: >Subject: SDE testers... >Date: Mon, 26 Feb 2001 14:41:36 -0600 > >Could those of you interested in testing the new SDE functionality in 3.5 >contact >me off the list? I'd like to set up a small group of folks to try the code. >I should have >it working later this week, queries and all... > >Steve > >Stephen Lime >Internet Applications Analyst > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. From wayne.ordorica at burdekin.qld.gov.au Tue Feb 27 20:33:46 2001 From: wayne.ordorica at burdekin.qld.gov.au (Ordorica, Wayne) Date: Wed, 28 Feb 2001 14:33:46 +1000 Subject: MapInfo TAB files - Getting Started with MapServer Message-ID: Hi, I am new to MapServer and would like some help in getting my project to work with MapInfo TAB files. I have installed the necessary files to get the demo working, but I don't know what specific changes are necessary for viewing TAB files. Any help is appreciated. Regards, Wayne Ordorica Burdekin Shire Council This e-mail, together with any attachments, is intended for the named recipient(s) only. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer system network. Any form of disclosure, modification, distribution and/or publication of this e-mail message is prohibited. Unless otherwise stated, this e-mail represents only the views of the sender and not the views of the Burdekin Shire Council. From gruecker at zebris-geoconsult.de Wed Feb 28 02:14:09 2001 From: gruecker at zebris-geoconsult.de (=?iso-8859-1?Q?Gernot_R=FCcker?=) Date: Wed, 28 Feb 2001 11:14:09 +0100 Subject: scalebar References: <20010224174349.24975.qmail@web4301.mail.yahoo.com> Message-ID: <005001c0a16f$30d98f20$0301a8c0@testrechner> Should be a map units problem. Have a look if you've set the map units right in your map file header and scalebar definitions. I remember having had the same problem once. Gernot ----- Original Message ----- From: Nicolau Werneck To: Sent: Saturday, February 24, 2001 6:43 PM Subject: scalebar Hey, who is winning the contest of newbie questions posting?? OK, I'm trying to install the scalebar on my application... But It's not working allright. It's showing in tens-of-thousends of kilometers (10**7 meters). Whe I ask for showing in *meters*, it shows in hundreds of kilometers! :Q Have anybody ever had this kind of mapserver disease??? And I some kind of informatic-hipocondriac??? :O Well, enought for today! thanks.. bye! --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From hulek at atlas.cz Wed Feb 28 03:06:33 2001 From: hulek at atlas.cz (Tomas Hulek) Date: Wed, 28 Feb 2001 12:06:33 +0100 Subject: Query to extent map ??? Message-ID: <001601c0a176$82b33790$1e01a8c0@tmapy.cz> Hallo, please help me. I have this information: LAYER name FIELD name from DBF VALUE (and map file ) for example: layer= "town" field= "town_id" value= "Prague" How get extent (minx,miny,maxx,maxy) this town in the map ??? Which classes, properties and methods use from MapScript in th PHP ??? thanks for help tomas From hulek at atlas.cz Wed Feb 28 03:29:34 2001 From: hulek at atlas.cz (Tomas Hulek) Date: Wed, 28 Feb 2001 12:29:34 +0100 Subject: Query to extent ?? Message-ID: <003501c0a179$b9719f80$1e01a8c0@tmapy.cz> Hallo, please help me. I have this information: LAYER name FIELD name from DBF VALUE (and map file ) for example: layer= "town" field= "town_id" value= "Prague" How get extent (minx,miny,maxx,maxy) this town in the map ??? Which classes, properties and methods use from MapScript in th PHP ??? thanks for help tomas From nwerneck at yahoo.com.br Wed Feb 28 05:05:28 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Wed, 28 Feb 2001 10:05:28 -0300 (ART) Subject: scalebar Message-ID: <20010228130528.6889.qmail@web4303.mail.yahoo.com> >> OK, I'm trying to install the scalebar on my >> application... > Do you have UNITS set in the main map object? What > does the map file look like? > > Steve OK, here's a part... # Start of map file NAME IER STATUS ON EXTENT -47.262930 ... -17.517312 UNITS METERS LINESET "ierl.sym" SHADESET "iers.sym" IMAGECOLOR 255 255 255 SCALEBAR UNITS METERS INTERVALS 6 STYLE 1 SIZE 200 10 COLOR 0 0 0 IMAGECOLOR 0 0 0 BACKGROUNDCOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE tiny END TRANSPARENT TRUE STATUS TRUE END -- I've tried all combination of meters and kilometes on the map and scalebar UNITS. The numbers changes, but they doesn't make sense! --Nicolau ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From meley at farmland.org Wed Feb 28 09:49:49 2001 From: meley at farmland.org (Mike) Date: Wed, 28 Feb 2001 09:49:49 -0800 Subject: subscribe Message-ID: <003301c0a1ae$d87d36c0$a925fea9@ftclns1.co.home.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: From morissette at dmsolutions.ca Wed Feb 28 09:54:11 2001 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 28 Feb 2001 12:54:11 -0500 Subject: MapInfo TAB files - Getting Started with MapServer References: Message-ID: <3A9D3B43.D490FA8A@dmsolutions.ca> "Ordorica, Wayne" wrote: > > I am new to MapServer and would like some help in getting my project to work > with MapInfo TAB files. > > I have installed the necessary files to get the demo working, but I don't > know what specific changes are necessary for viewing TAB files. > Wayne, The main difference between regular shapefiles access and access to TAB files via OGR is in the way you specify the path to your data file in your layer. For Shapefiles, you would have: SHAPEPATH "./data/" LAYER ... DATA myshapefile ... END To access the same file with OGR you would use: (OGR connections do support shapefiles as well) # SHAPEPATH is ignored by OGR connections LAYER ... CONNECTIONTYPE OGR CONNECTION "./data/myshapefile.shp" ... END To access a TAB file, just specify the path of a TAB file in the CONNECTION parameter. Note that in version 3.4, OGR support was limited to classified maps, and queries were not supported. Full support is being added for version 3.5. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca http://www.dmsolutions.ca/ ------------------------------------------------------------ Don't put for tomorrow what you can do today, because if you enjoy it today you can do it again tomorrow. From Matt.Wilkie at gov.yk.ca Wed Feb 28 10:22:05 2001 From: Matt.Wilkie at gov.yk.ca (Matt.Wilkie) Date: Wed, 28 Feb 2001 10:22:05 -0800 Subject: FW: Web Mapping Message-ID: <6DD7370C9452D31192A10008C75D075308D7E114@raptor.gov.yk.ca> > -----Original Message----- > From: Brian [SMTP:2052 at pobox.com] > Sent: Wednesday, February 28, 2001 8:40 AM > To: arcview at lists.directionsmag.com > Subject: [AV] Web Mapping > > ArcView-www.quantdec.com > > > I just want to pass on what I think are really valuable GIS Conferences. > Modern Innovations of Web Mapping for GIS Conferences > March 8, 2001 in Atlanta > April 9, 2001 in Orlando > May 9, 2001 in St. Louis > These conferences are for anyone wanting to learn important and imperative issues of Web Mapping for GIS. Top vendors will demonstrate their newest versions of Web Mapping software. Professionals from the industry will give you an education in Web Mapping surpassing all other conferences. Vital and essential concepts you can't afford to miss. Find out how Web Mapping can work for you today. Limited vendor participation will be endorsed to encourage more presentations from public experts. > Limited ticket sales. Please register today! > This conference is for educational purposes only and not for selling software. Only 100 tickets will be sold to allow for a better learning experience and to encourage more help on important issues and topics. > Web Mapping for GIS is a big topic which covers the technical aspects, to the end users, and managers. For example local, state, and federal governments are getting a lot of pressure to provide services and take care of problems with fewer resources. Giving citizens access to data helps to alleviate this problem. Some example are: parking restriction maps, crime mapping, zoning, EPA toxic release inventory, etc. > If you would like to present a topic on Web Mapping for GIS in exchange for a free ticket, please send us a paragraph on the topic you wish to present. > Not all topics will be approved. We will post all topics and the time of the presentation to our web site as soon as they are approved. > A $50 dollar savings bond will be given away for each person who registers and says your name as a reference. Must be registered to participate. Ticket prices have been reduced to an all time low of just $149 per ticket. > *Government personnel have up to 6 weeks after registration to submit payment. Please provide us with a purchase order or other documentation to receive your tickets. In rare cases such as denial of funds by the county commission and such, payment will not be expected. > > Contact Info: > 1-800-414-9408 > www.gisconferences.com > Fax: 1-240-248-8697 > MappingCommunications at pobox.com > _______________________________________________________________________ > List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to majordomo at lists.directionsmag.com and put "unsubscribe arcview" in the message body. From nwerneck at yahoo.com.br Wed Feb 28 12:12:17 2001 From: nwerneck at yahoo.com.br (=?iso-8859-1?q?Nicolau=20Werneck?=) Date: Wed, 28 Feb 2001 17:12:17 -0300 (ART) Subject: unit Message-ID: <20010228201217.19890.qmail@web4304.mail.yahoo.com> I've configured my map file to UNIT meters, and have defined the EXTENT in decimal degrees. It's just now that I'm realizing that it shouldn't be working! I'm using shape files converted from mapinfo MIF files, using geographic coordinates. Is it possible that the mifshape program is converting the MIFs assuming that they're in meters??? :S --Nicolau, in thecnological depression ________________________________________________________________________ O YAHOO! GEOCITIES CHEGOU AO BRASIL! Crie sua home page com tudo em portugu?s - http://br.geocities.com From wgwallace at students.wisc.edu Wed Feb 28 12:48:44 2001 From: wgwallace at students.wisc.edu (Woody Wallace) Date: Wed, 28 Feb 2001 14:48:44 -0600 Subject: FW: Web Mapping References: <6DD7370C9452D31192A10008C75D075308D7E114@raptor.gov.yk.ca> Message-ID: <3A9D642B.8ECDF8F9@students.wisc.edu> Is anyone on this list planning on attending? I've seen this message passed along on several other lists, but a look at their web site (www.gisconferences.com) makes me question what kind of community it supports. Woody Wallace Wisconsin State Cartographer's Office "Matt.Wilkie" wrote: > > -----Original Message----- > > From: Brian [SMTP:2052 at pobox.com] > > Sent: Wednesday, February 28, 2001 8:40 AM > > To: arcview at lists.directionsmag.com > > Subject: [AV] Web Mapping > > > > ArcView-www.quantdec.com > > > > > > I just want to pass on what I think are really valuable GIS Conferences. > > Modern Innovations of Web Mapping for GIS Conferences > > March 8, 2001 in Atlanta > > April 9, 2001 in Orlando > > May 9, 2001 in St. Louis > > These conferences are for anyone wanting to learn important and > imperative issues of Web Mapping for GIS. Top vendors will demonstrate their > newest versions of Web Mapping software. Professionals from the industry > will give you an education in Web Mapping surpassing all other conferences. > Vital and essential concepts you can't afford to miss. Find out how Web > Mapping can work for you today. Limited vendor participation will be > endorsed to encourage more presentations from public experts. > > Limited ticket sales. Please register today! > > This conference is for educational purposes only and not for selling > software. Only 100 tickets will be sold to allow for a better learning > experience and to encourage more help on important issues and topics. > > Web Mapping for GIS is a big topic which covers the technical aspects, to > the end users, and managers. For example local, state, and federal > governments are getting a lot of pressure to provide services and take care > of problems with fewer resources. Giving citizens access to data helps to > alleviate this problem. Some example are: parking restriction maps, crime > mapping, zoning, EPA toxic release inventory, etc. > > If you would like to present a topic on Web Mapping for GIS in exchange > for a free ticket, please send us a paragraph on the topic you wish to > present. > > Not all topics will be approved. We will post all topics and the time > of the presentation to our web site as soon as they are approved. > > A $50 dollar savings bond will be given away for each person who > registers and says your name as a reference. Must be registered to > participate. Ticket prices have been reduced to an all time low of just > $149 per ticket. > > *Government personnel have up to 6 weeks after registration to submit > payment. Please provide us with a purchase order or other documentation to > receive your tickets. In rare cases such as denial of funds by the county > commission and such, payment will not be expected. > > > > Contact Info: > > 1-800-414-9408 > > www.gisconferences.com > > Fax: 1-240-248-8697 > > MappingCommunications at pobox.com > > _______________________________________________________________________ > > List hosting provided by Directions Magazine | www.directionsmag.com | To > unsubscribe, send e-mail to majordomo at lists.directionsmag.com and put > "unsubscribe arcview" in the message body. From steve.lime at dnr.state.mn.us Wed Feb 28 12:53:41 2001 From: steve.lime at dnr.state.mn.us (Stephen Lime) Date: Wed, 28 Feb 2001 14:53:41 -0600 Subject: FW: Web Mapping Message-ID: Looks to me to be some sales schtick and thus a waste of time. >>> Woody Wallace 02/28/01 02:48PM >>> Is anyone on this list planning on attending? I've seen this message passed along on several other lists, but a look at their web site (www.gisconferences.com) makes me question what kind of community it supports. Woody Wallace Wisconsin State Cartographer's Office "Matt.Wilkie" wrote: > > -----Original Message----- > > From: Brian [SMTP:2052 at pobox.com] > > Sent: Wednesday, February 28, 2001 8:40 AM > > To: arcview at lists.directionsmag.com > > Subject: [AV] Web Mapping > > > > ArcView-www.quantdec.com > > > > > > I just want to pass on what I think are really valuable GIS Conferences. > > Modern Innovations of Web Mapping for GIS Conferences > > March 8, 2001 in Atlanta > > April 9, 2001 in Orlando > > May 9, 2001 in St. Louis > > These conferences are for anyone wanting to learn important and > imperative issues of Web Mapping for GIS. Top vendors will demonstrate their > newest versions of Web Mapping software. Professionals from the industry > will give you an education in Web Mapping surpassing all other conferences. > Vital and essential concepts you can't afford to miss. Find out how Web > Mapping can work for you today. Limited vendor participation will be > endorsed to encourage more presentations from public experts. > > Limited ticket sales. Please register today! > > This conference is for educational purposes only and not for selling > software. Only 100 tickets will be sold to allow for a better learning > experience and to encourage more help on important issues and topics. > > Web Mapping for GIS is a big topic which covers the technical aspects, to > the end users, and managers. For example local, state, and federal > governments are getting a lot of pressure to provide services and take care > of problems with fewer resources. Giving citizens access to data helps to > alleviate this problem. Some example are: parking restriction maps, crime > mapping, zoning, EPA toxic release inventory, etc. > > If you would like to present a topic on Web Mapping for GIS in exchange > for a free ticket, please send us a paragraph on the topic you wish to > present. > > Not all topics will be approved. We will post all topics and the time > of the presentation to our web site as soon as they are approved. > > A $50 dollar savings bond will be given away for each person who > registers and says your name as a reference. Must be registered to > participate. Ticket prices have been reduced to an all time low of just > $149 per ticket. > > *Government personnel have up to 6 weeks after registration to submit > payment. Please provide us with a purchase order or other documentation to > receive your tickets. In rare cases such as denial of funds by the county > commission and such, payment will not be expected. > > > > Contact Info: > > 1-800-414-9408 > > www.gisconferences.com > > Fax: 1-240-248-8697 > > MappingCommunications at pobox.com > > _______________________________________________________________________ > > List hosting provided by Directions Magazine | www.directionsmag.com | To > unsubscribe, send e-mail to majordomo at lists.directionsmag.com and put > "unsubscribe arcview" in the message body. From raanders at tincan.org Wed Feb 28 21:07:38 2001 From: raanders at tincan.org (Roderick A. Anderson) Date: Wed, 28 Feb 2001 21:07:38 -0800 (PST) Subject: Lurker strikes! Example sites? Message-ID: I've just got the go ahead to build an demonstration application using MapServer. Not the next hardest part is building it. I've been lurking on this list (I don't remember making a fool of myself here anyway) for several months hoping to absorb some knowledge. The truth now comes out you got to try it to learn how to do it. But since this is a pretty simple first project I was hoping someone might have a very similar application already and would be willing to share their files. The project is to provide online maps (go figure) of public internet access locations for Spokane County, Washington, USA. We'll add mass transit (bus stops) information so those needing access can get their without owning a motor vehicle. If I understand correctly how MapServer works I can use ArcInfo shape files for the base map; streets etc. Then I need other shape files to be used as layers (or can they be in the main file) to hold the access locations and bus stops. I'm also a little fuzzy on whether I have to have the same area - the county - in many different files of if MapServer can use one file and zoom in to portions of it. E.g. a map of the United States and zoom to a state (perhaps showing the location of the state capital) or 49 files one of the US and one for each of the states. Enough rambling. If this makes sense and/or anyone has the time to reply it will be appreciated. For now I off to read the docs and get MapServer install and configured. TIA, Rod --