From Sean.Geoghegan@dsto.defence.gov.au Tue Apr 1 07:02:47 2003 From: Sean.Geoghegan@dsto.defence.gov.au (Geoghegan, Sean) Date: Tue, 1 Apr 2003 16:32:47 +0930 Subject: [Mapserver-users] GD2 on Win32 Message-ID: <108E7D907871D6118B5000306E0189F801DBD1BA@ednex504.dsto.defence.gov.au> Hi all Does anyone have a working binary of GD2.x.x for Windows? I am having trouble getting it to compile on using the MSVC compiler. I've noticed that DMSolutions has some Mapserver3.7 binaries available using GD2, however I also need my binaries to have SDE support. The windows build instructions for GD2 are practically non-existant. If the mapserver people could provide a GD2 binary for users to build against, Im sure it would make it alot easier for people. Cheers, Sean Geoghegan Information Exploitation Group Command and Intelligence Environments Branch Command and Control Division Defence Science and Technology Organisation sean.geoghegan@dsto.defence.gov.au ph +61 08 82595895 From gabriel@ciasc.gov.br Tue Apr 1 12:36:03 2003 From: gabriel@ciasc.gov.br (Gabriel Vieira Ferrari) Date: Tue, 1 Apr 2003 09:36:03 -0300 Subject: [Mapserver-users] SqlServer Database References: <200303312252.h2VMqBKG026447@firefox.software.umn.edu> Message-ID: <03d201c2f84b$426a8cf0$12d713ac@ciasc.gov.br> We have many systems developed in SQLSERVER DATABASE and would like to be able to have access the information through the MapServer dinamicamente as he is for Oracle, MySql and others. Somebody already is using MapServer with SqlServer? Somebody could suggest the way for such? Thanks a lot. Gabriel Florianópolis, SC, Brasil From gnt.z@gmx.net, gnt.z@gmx.net Tue Apr 1 12:11:47 2003 From: gnt.z@gmx.net, gnt.z@gmx.net (Gintaras Zemaitis) Date: Tue, 01 Apr 2003 15:11:47 +0300 Subject: [Mapserver-users] JOIN in MapServer v3.6.3 Message-ID: <3E898203.7050208@gmx.net> Hello all It seems that a JOIN object in mapserver v3.6.3 does not work, but it is still documented in the mapfile-reference.html How could I reach such-like functionality? with PHP only? -- Gintaras Þemaitis gnt.z@gmx.net From peturkirke@fds.fo Tue Apr 1 12:08:36 2003 From: peturkirke@fds.fo (Petur Kirke) Date: Tue, 1 Apr 2003 14:08:36 +0200 Subject: [Mapserver-users] wms and scalebar Message-ID: <00f401c2f847$6cb7da70$10fea8c0@fds.fo> Hello Is it possible to recieve a scalebar, when making a wms call to the wms server ? Or is the scalebar only useful for MapServer applications, that are not wms applications ? From marc.drouin@fondex.ca Tue Apr 1 13:48:13 2003 From: marc.drouin@fondex.ca (Marc Drouin) Date: Tue, 01 Apr 2003 08:48:13 -0500 Subject: [Mapserver-users] Point whitin polygon Message-ID: This is a multi-part message in MIME format. --Boundary_(ID_kLI96T7fMaM8xOEo13IW2w) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Hi group, I've searched the list for information on how to select objets by clicking on the map. I found that querrybypoint seems to be the way to go. However I'm am not sure if it will doi the work. What i'm trying to do is select all the polygons which includes a point selected by the user. Like I said, I do not know is querrybypoint will return all the polygons or just one. Secondly, i'm using postgis to store the geometry of the polygon. Is it better to do the geographical search within the database using postgis functions or use mapserver. As you probably can tell, I'm new at this so please be indulgent. TIA Marc. --Boundary_(ID_kLI96T7fMaM8xOEo13IW2w) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT Point whitin polygon

Hi group,

I've searched the list for information on how to select objets by clicking on the map.  I found that querrybypoint seems to be the way to go.  However I'm am not sure if it will doi the work.  What i'm trying to do is select all the polygons which includes a point selected by the user.  Like I said, I do not know is querrybypoint will return all the polygons or just one.

Secondly, i'm using postgis to store the geometry of the polygon.  Is it better to do the geographical search within the database using postgis functions or use mapserver.

As you probably can tell, I'm new at this so please be indulgent.

TIA

Marc.

--Boundary_(ID_kLI96T7fMaM8xOEo13IW2w)-- From eric@gomoos.org Tue Apr 1 09:17:28 2003 From: eric@gomoos.org (Eric Bridger) Date: 01 Apr 2003 09:17:28 +0000 Subject: [Mapserver-users] Point whitin polygon In-Reply-To: References: Message-ID: <1049188649.1485.21.camel@ubet.gomoos.org> Use: $map->queryByPoint($click_pt,$mapscript::MS_MULTIPLE,0) to get all the polygons. Also may sure all your layers in the map file define a TEMPLATE "fake.html", even if you are not using the template to display your query results. I'm not sure about your postgis question. On Tue, 2003-04-01 at 13:48, Marc Drouin wrote: > Hi group, > > I've searched the list for information on how to select objets by clicking > on the map. I found that querrybypoint seems to be the way to go. However > I'm am not sure if it will doi the work. What i'm trying to do is select > all the polygons which includes a point selected by the user. Like I said, > I do not know is querrybypoint will return all the polygons or just one. > > Secondly, i'm using postgis to store the geometry of the polygon. Is it > better to do the geographical search within the database using postgis > functions or use mapserver. > > As you probably can tell, I'm new at this so please be indulgent. > > TIA > > Marc. From emailfittizio@libero.it Tue Apr 1 14:33:50 2003 From: emailfittizio@libero.it (=?iso-8859-1?Q?emailfittizio@libero.it?=) Date: Tue, 1 Apr 2003 16:33:50 +0200 Subject: [Mapserver-users] =?iso-8859-1?Q?Re:[Mapserver-users]_SqlServer_Database?= Message-ID: Hi all, i have the same need of Gabriel. If someone could give an hint, it will be appreciated. Regards, Alessandro. -- We have many systems developed in SQLSERVER DATABASE and would like to be able to have access the information through the MapServer dinamicamente as he is for Oracle, MySql and others. Somebody already is using MapServer with SqlServer? Somebody could suggest the way for such? Thanks a lot. Gabriel Florianópolis, SC, Brasil _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Kevin.Slover@noaa.gov Tue Apr 1 15:11:29 2003 From: Kevin.Slover@noaa.gov (Kevin Slover) Date: Tue, 01 Apr 2003 10:11:29 -0500 Subject: [Mapserver-users] onMouseOver events Message-ID: <3E89AC21.A2C4C13A@noaa.gov> OK... is there a way, possibly, hoping... that one can use the onMouseOver event to diplay names of cities when over the map?? Or, even, onMouseOver places the name into entry box on the page?? Thanks! -- LTJG Kevin Slover, NOAA GIS Specialist/Oceanographer NOAA/National Hurricane Center/Storm Surge Unit 11691 SW 17th Street Miami FL 33165 W (305) 229-4456 From dbarron@ddive.com Tue Apr 1 15:52:34 2003 From: dbarron@ddive.com (Dan Barron) Date: Tue, 01 Apr 2003 07:52:34 -0800 Subject: [Mapserver-users] onMouseOver events In-Reply-To: <3E89AC21.A2C4C13A@noaa.gov> Message-ID: <5.2.0.9.0.20030401073522.01d89b08@192.168.11.30> One way to do it is to use a client side image map in html with your map image as the image map image - then you could use the
tag with a style 'visibility' property to define a label. As you mouse over you change the visibility property to be 'visible' and as you mouse out you change it to be 'hidden'. You can also define as many other events as you like when you mouseover and mouseout. Dan
To: 'Dan Barron' ; Paul=20 Dymecki ; MapServer List = (E-mail)=20
Sent: Thursday, April 03, 2003 = 1:52=20 PM
Subject: RE: [Mapserver-users] = dynamic=20 point generation with php-mapscript

Hello Paul, I have attached a template where I do just what = you asked=20 for.  Please contact me if you have any = questions.
 
Regards,
 
Joost van Ulden
-----Original Message-----
From: Dan Barron=20 [mailto:dbarron@ddive.com]
Sent: Thursday, April 03, 2003 = 8:45=20 AM
To: Paul Dymecki; MapServer List = (E-mail)
Subject:=20 Re: [Mapserver-users] dynamic point generation with=20 php-mapscript

You can create a dummy point layer = in your=20 map file, then in php query the database for your points, create new = point=20 objects using ms_newPointObj(), set the XY coordinates, and draw the = point=20 on the layer.  If you want some specific code examples, I can = send=20 along snippet.

Dan

At 11:07 AM 4/3/2003 -0500, Paul = Dymecki=20 wrote:
Content-Transfer-Encoding:=20 7bit

Hi,
I was wondering if anyone would know some good examples = of=20 generateing dynamic points with php mapscript?  Ie just = pulling from=20 points from a database and displaying them without a shape=20 file?
any hints would be=20 apprcited,
thanks,
Paul
= ------=_NextPart_000_0033_01C2FA18.EF889520-- From jlowe@giswebsite.com Fri Apr 4 02:06:06 2003 From: jlowe@giswebsite.com (Jonathan W. Lowe) Date: Thu, 3 Apr 2003 18:06:06 -0800 Subject: [Mapserver-users] Mapserver query click returns PostGIS query error Message-ID: <1049421966.3e8ce88ed15e6@webmail.lmi.net> Hello List: When serving maps with Mapserver 3.6.3 on RedHat Linux v.8 and pulling data from PosgreSQL v.7.3.1 with PostGIS v.0.7.4 using the following map file parameters... LAYER NAME "parcels" CONNECTION "user=xxx password=xxx dbname=xxx host=xxx port=5432" DATA "the_geom from pcl_b83m" TYPE POLYGON HEADER "parcel_header.html" FOOTER "parcel_footer.html" CLASS # parcels class NAME "property boundaries" COLOR 245 245 245 TEMPLATE "parcel_query.html" END END ..the layer draws perfectly, but when queried (by clicking on the map in query mode), the following error returns: msPOSTGISLayerGetItems(): Query error. Error executing POSTGIS SQL statement: EXPLAIN VERBOSE SELECT * FROM pcl_b_83m The SQL statement, "EXPLAIN VERBOSE SELECT * FROM pcl_b_83m" runs fine from the PostgreSQL SQL interpreter command line. Both the mapserver and postgis archives had some good suggestions (e.g. use of '-1' as an SRID causes problems with some versions, upper case in the SQL statement causes some problems, etc.), but none were the solution I needed. Any suggestions for a next step in debugging this? I suspect some simple missing piece. Potential clues (or additional debugging problems)... The following two approaches to displaying the same data produce different results: 1) DATA "the_geom from (select pcl_b_83m.the_geom as the_geom, pcl_b_83m.oid as oid, address.name as aname from pcl_b_83m left join address on pcl_b_83m.addrid = address.id) as pcl_adr using unique oid using srid=26943" ...this one (1 above) successfully displays the polygons. 2a) CREATE VIEW pcl_view as select pcl_b_83m.the_geom as the_geom, pcl_b_83m.oid as oid, address.name as aname from pcl_b_83m left join address on pcl_b_83m.addrid = address.id 2b) DATA "the_geom from pcl_view as pcl_adr using unique oid using srid=26943" ...these two (2a and 2b above) do not cause an error, but also do not display the data. So, a view based on the same SQL as a temporary table fails. (Not a showstopper, as one of the choices works, but I would prefer to use the view approach to take advantage of caching within PostgreSQL.) This is included in case it sheds light on the primary question--why the query error? SWAGs welcome. Thank you! -- Jonathan W. Lowe email - jlowe@giswebsite.com website - http://www.giswebsite.com From millardymecki@sympatico.ca Fri Apr 4 03:49:41 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Thu, 3 Apr 2003 22:49:41 -0500 Subject: [Mapserver-users] dynamic point generation with php-mapscript References: <8AE17DD6AA4FD51191CD0002A5511681074C44@s5-van1-r1.ess.nrcan.gc.ca> Message-ID: <007f01c2fa5d$396c0c00$f098fea9@pauls> This is a multi-part message in MIME format. ------=_NextPart_000_007C_01C2FA33.5015B070 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Joost, Do you have a way of querying a dynamic point? I'm assumeing not = since there is no associated dbf file. In case a query is needed i = guess adding to a shape file would be needed? thx, Paul ----- Original Message -----=20 From: Van Ulden, Joost=20 To: 'Dan Barron' ; Paul Dymecki ; MapServer List (E-mail)=20 Sent: Thursday, April 03, 2003 1:52 PM Subject: RE: [Mapserver-users] dynamic point generation with = php-mapscript Hello Paul, I have attached a template where I do just what you asked = for. Please contact me if you have any questions. Regards, Joost van Ulden -----Original Message----- From: Dan Barron [mailto:dbarron@ddive.com] Sent: Thursday, April 03, 2003 8:45 AM To: Paul Dymecki; MapServer List (E-mail) Subject: Re: [Mapserver-users] dynamic point generation with = php-mapscript You can create a dummy point layer in your map file, then in php = query the database for your points, create new point objects using = ms_newPointObj(), set the XY coordinates, and draw the point on the = layer. If you want some specific code examples, I can send along = snippet. Dan At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote: Content-Transfer-Encoding: 7bit Hi, I was wondering if anyone would know some good examples of = generateing dynamic points with php mapscript? Ie just pulling from = points from a database and displaying them without a shape file? any hints would be apprcited, thanks, Paul ------=_NextPart_000_007C_01C2FA33.5015B070 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Joost,
     Do you have a = way of=20 querying a dynamic point?  I'm assumeing not since there is no = associated=20 dbf file.  In case a query is needed i guess adding to a shape file = would=20 be needed?
thx,
Paul
----- Original Message -----
From:=20 Van Ulden,=20 Joost
To: 'Dan Barron' ; Paul=20 Dymecki ; MapServer List = (E-mail)=20
Sent: Thursday, April 03, 2003 = 1:52=20 PM
Subject: RE: [Mapserver-users] = dynamic=20 point generation with php-mapscript

Hello Paul, I have attached a template where I do just what = you asked=20 for.  Please contact me if you have any = questions.
 
Regards,
 
Joost van Ulden
-----Original Message-----
From: Dan Barron=20 [mailto:dbarron@ddive.com]
Sent: Thursday, April 03, 2003 = 8:45=20 AM
To: Paul Dymecki; MapServer List = (E-mail)
Subject:=20 Re: [Mapserver-users] dynamic point generation with=20 php-mapscript

You can create a dummy point layer = in your=20 map file, then in php query the database for your points, create new = point=20 objects using ms_newPointObj(), set the XY coordinates, and draw the = point=20 on the layer.  If you want some specific code examples, I can = send=20 along snippet.

Dan

At 11:07 AM 4/3/2003 -0500, Paul = Dymecki=20 wrote:
Content-Transfer-Encoding:=20 7bit

Hi,
I was wondering if anyone would know some good examples = of=20 generateing dynamic points with php mapscript?  Ie just = pulling from=20 points from a database and displaying them without a shape=20 file?
any hints would be=20 apprcited,
thanks,
Paul
= ------=_NextPart_000_007C_01C2FA33.5015B070-- From zmocnik@hotmail.com Fri Apr 4 09:05:24 2003 From: zmocnik@hotmail.com (Zarko Mocnik) Date: Fri, 04 Apr 2003 11:05:24 +0200 Subject: [Mapserver-users] 2bit tiff image recolor on the fly Message-ID: I Read Raster_HOWTO and searched archive of this and -dev list but I still have problems with recoloring on the fly of 2 color tiff raster. I tried with similar configuration as this: LAYER NAME 'cl2421' DATA cl2421.tif TYPE RASTER CLASS EXPRESSION "1" COLOR 0 255 0 END # CLASS OFFSITE 0 END # LAYER but image allways appears as black on white. I also tried with EXPRESSION "([pixel==1)" and similar, but allwas with same result. I got the same result with versions 3.5, 3.6 or even 3.7. Do any have a *real working example* with recoloring of 2 color tiffs? Configuration: Windows XP. I used versions withoud GDAL support (in cas of 3.7 event with GDAL support. Thank you very much, Zarko Mocnik _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From havard.tveite@ikf.nlh.no Fri Apr 4 09:19:53 2003 From: havard.tveite@ikf.nlh.no (Havard Tveite) Date: Fri, 04 Apr 2003 11:19:53 +0200 Subject: [Mapserver-users] Point symbol rendering problem (in GD?) Message-ID: <3E8D4E39.3070302@ikf.nlh.no> I have tested the symbol functionality of the development version of Mapserver, and have had some problems with the rendering of filled vector symbols. Rendering with an outline gives the expected results, while rendering without an outline gives "unexpected" results. Problem: When there is a horizontal line making up a lower border of a filled area of the symbol, one row of pixels will be missing along this line. (a line that is at the complete bottom of the symbol is rendered OK). For a horizontal line making up ab upper border, there is no problem. The "error" seems so come from the "YX" algorithm used in "gdImageFilledPolygon", and should have nothing to do with mapserver. I am using GD 2.0.12 now, but the problem was there also before I upgraded. Example: Using the symbol SYMBOL NAME "vplus" TYPE vector FILLED true POINTS 1 0 2 0 2 1 3 1 3 2 2 2 2 3 1 3 1 2 0 2 0 1 1 1 1 0 END END Produces the following Symbol size 3, no outline: XX XXXX XX XX Symbol size 3, with outline: XX XXXX XXXX XX Symbol size 7: XXXX XXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXX XXXX I have also tested this for vector boxes with holes, and the same problem appears. A work around is to always render filled vector symbols with an outline. -- Håvard Tveite Phone: +47 64948857 Department of Mapping Sciences Fax: +47 64948856 Agricultural University of Norway http://www.nlh.no/ikf Hogskoleveien 14, POBox 5034, N-1432 Ås, NORWAY From havard.tveite@ikf.nlh.no Fri Apr 4 09:35:21 2003 From: havard.tveite@ikf.nlh.no (Havard Tveite) Date: Fri, 04 Apr 2003 11:35:21 +0200 Subject: [Mapserver-users] symbol SIZE in CLASS - misleading Message-ID: <3E8D51D9.4030105@ikf.nlh.no> When rendering point and polygon symbols, I have discovered that the SIZE parameter of a CLASS gives the rendered vertical size of the symbol in pixels - 1. This is unexpected behaviour and not documented(?). It means that people who want to have full control of their symbols appearance will be very confused. What are the reasons for this strange behaviour (apart from indexing in C)? I hope that the semantics of the SIZE parameter can be changed so that it gives the exact vertical size of the symbol in pixels. The problem is, of course with legacy symbol sets and mapfiles, but since the changes that are made in Mapserver 4 are already significant... -- Håvard Tveite Phone: +47 64948857 Department of Mapping Sciences Fax: +47 64948856 Agricultural University of Norway http://www.nlh.no/ikf Hogskoleveien 14, POBox 5034, N-1432 Ås, NORWAY From stefan.schwarzer@grid.unep.ch Fri Apr 4 09:48:11 2003 From: stefan.schwarzer@grid.unep.ch (Stefan Schwarzer) Date: Fri, 04 Apr 2003 11:48:11 +0200 Subject: [Mapserver-users] Labels get unreadable over background-color and -image Message-ID: <5.2.0.9.0.20030404114112.04e65a80@gridg.grid.unep.ch> --=====================_160693344==_ Content-Type: multipart/alternative; boundary="=====================_160693354==.ALT" --=====================_160693354==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hi list, here is a question that I raised in similar form already a couple of weeks ago. But nobody seemed to have an answer to it. Can that be?! I attached an screenshot of my map. The blue color is a simple style-background-color: As soon as some labels appear in front of this background-color, they get this strange look, rendering them almost unreadable. Any idea what the cause is and how I can solve this? Thanks for any hints. Best wishes, Stefan _______________________________________ Stefan Schwarzer Consultant on GEO UNEP/DEWA/GRID-Geneva Chemin des Anemones 11 CH - 1219 Chatelaine Switzerland Tel: (+41) 22.917.83.49 Fax: (+41) 22.917.80.29 Email: stefan.schwarzer@grid.unep.ch Internet: http://geodata.grid.unep.ch/ _______________________________________ --=====================_160693354==.ALT Content-Type: text/html; charset="us-ascii" Hi list,

here is a question that I raised in similar form already a couple of weeks ago. But nobody seemed to have an answer to it. Can that be?!

I attached an screenshot of my map. The blue color is a simple style-background-color:
<span style="position: absolute; top: 40px; left: 40px; background-color: #2F72AF"><img name="map1" ....</span>
As soon as some labels appear in front of this background-color, they get this strange look, rendering them almost unreadable.

Any idea what the cause is and how I can solve this?

Thanks for any hints.

Best wishes,

Stefan


        _______________________________________

        Stefan Schwarzer
        Consultant on GEO

        UNEP/DEWA/GRID-Geneva
        Chemin des Anemones 11
        CH - 1219 Chatelaine
        Switzerland

        Tel: (+41) 22.917.83.49
        Fax: (+41) 22.917.80.29

        Email: stefan.schwarzer@grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        _______________________________________ --=====================_160693354==.ALT-- --=====================_160693344==_ Content-Type: image/gif; name="map.gif"; x-mac-type="47494666"; x-mac-creator="4A565752" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="map.gif" R0lGODlhWAIsAcQAAJaWluOJk9VdbPG1utVldJiYmOOYojIyMvHL0GVlZcvLywAAALtLWq9kbqJ9 gs5HWdxzgH5+ftFSYss8T8h9hzIMEZYlNEtLS2QZI8gyRv/h4S9yrwAAAAAAAAAAAAAAACH5BAAA AAAALAAAAABYAiwBAAX/4CaOZGmeaKqubOu+sAtos2bfeK7vNO//wKBwSCzqADWjcslsOo/Jp3RK rQ6j1Jh2y+16v6oZljq2ms/NMnrNTrff8LhN7QTbYUjAfc/f5NE1dHKDUoKEh22GiIuMN4pLfZEl SHOSllqPaXmUjZ1EmZ6hn6Kki5xnl5KBeqmtK6BTsKWDsrO2c7e5a7VFrn1IvsEovDsZAgEDOwMB AhnEQBkZOAFV0XLPup7Y2dyOb8Lg4b/V0dQ6AdHOaNY27FPub9vdiPLzufVA4vr7XPga0c2KNVP3 Bp49XAfn+UtIaiEPfhAjvsJXLkMyHAMyoJPmUIdBex0Zngkp0lQciShT/4rwZ81YjoDWZgwYWA6H QXbRZrrEmU6aDZ3pzCGxtlHjDXhAa8YqqesP06cI4YxAYCAdAQP8oiE4gSDaHq8pF1oLaFPAP58M egY96pMtDYA1eaazQbNnADFq1569UVevEGPIjiwjG4QnVCskD18bJKJq3gxbxVXFamLy1wxhxUpD Z04D571n79rY6NamumgMTJduZ3R0NLzRHCBJ6wzA66EZGuRpcHuT703pdP8uOsSw4kLHnybescEx 5Q0ICGgV1xWziel3wEp0iNMsXZ/wTrm7CT6DbLe4neawTTCnatA8PvqAK1B+sbbJi5yKmp/hch3V RUaCdATog91U2tmRIP8/HbFDmEvw2dBAA8SxloNxNcQE3yYT8jYefqB9FMCIcxWnkUU5ZETaXyD2 N8dvm9Dgm4v+HWLZCVdNJV06z23g1Y49ihBdNDmeoMeNIyAJ3Y5FiqAVgUkS6aN1QjIZZCoN+vTZ Z/D19eGF5XlzW4QaeNkWeRby9RgR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K67nn+zzk7/mPnz6e5/jVbz2+Y0Lrgz22r763 r36+C/ztZ3qKnz25zfRxRqqD3j1dTqqkLuVbh0SnvrrqEbVl6hNfdSzjhiwLTIBX5NWarPkh5PfY I3rNj72dlzrZB7wmyHvn53nkM/2mP7r5I7mhu/76d3ijRzr5x/+kwz+la7v9T7iLU//+1J86CCib cmxbaZqFqBTpVrhbEidz7BY2/aLmoSCdfr9gyfdKKpfMpvMJjUqn1KpVmslqMwTD0kDQelPZV5mc eYGzXaVBbE4n32wEgmu6n88pembcxBcnoFGo0cCg1QDA2JAFkJi1yLiVsfgIkOUQGUlpmZkB4EgY oBWgYUICNHKwSpJwlNrK0moz9AJ7YBtjwlPQ2oqTwgsDvAt84NL6U6Jga3IRkZK7K+MMk2OsRN07 y8ubKzKDouorIzvLDNz9rKJdvpIM3/OiKoICO56PdNXv/w8woMCBBAsaPMgEgCFGDBkZqrTlYSiH GrIUsmioYoaLGzNq5GgIociRJAc/riiJMqXKlSxbunxJsCFDjwMgahkAMiNGjBJz6uzIE6bQoUSL Gj2KNKnSojI9eizFU0PNUx9/+swZFWtHASEAADs= --=====================_160693344==_-- From schut@sarvision.com Fri Apr 4 10:06:01 2003 From: schut@sarvision.com (Vincent Schut) Date: Fri, 4 Apr 2003 12:06:01 +0200 Subject: [Mapserver-users] createlang troubles In-Reply-To: <000001c2f8f1$2c54ffd0$0101a8c0@Antigua> References: <000001c2f8f1$2c54ffd0$0101a8c0@Antigua> Message-ID: <200304041206.01500.schut@sarvision.com> Alessandro, the postgis-users mailing list is definitely more apropriate for your question. You might want to ask it there (and you might want to include the exact psql command you used when getting your error): postgis-users@postgis.refractions.net ( for subscribtion info, see the postgis pages on internet) some short hints towards an answer: - is your postgres *really* running (ps -A|grep postmaster)? You might want to try to restart it. - can you connect to postgres using the psql command? - can you connect to the database you want to create the pgsql language on, using the right username/password? - did you use the same username/password when adding the pgsql language? - if your postgres server is on a different computer than you are working on, has it been started with the -i switch to enable connections from other computers? (if you can connect using psql from your computer, this should be ok). Hope this helps you a bit further, Regards, Vincent Schut. On Wednesday 02 April 2003 10:23, Alessandro Ceccotti wrote: > Hi ! > I've another problem: > when I call the createlang function to create plpgsql lang in my db it > doesn't work and I've in result such a message: > > > psql: could not connect to server: Connection refused > Is the server running locally and accepting > connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > createlang: external error > > I can't figure what's wrong... > Any ideas? > Thanks a lot! > > > Ing.Alessandro Ceccotti, netXcalibur s.r.l. > Via Alamanni, 25 > I-50123 Firenze > T: +39.055.285859 - F: +39.055.285760 -- ______________________________________ Vincent Schut (schut@sarvision.com) Sarvision B.V. Wageningen, The Netherlands www.sarvision.com From mschulz@webgis.de Fri Apr 4 11:05:54 2003 From: mschulz@webgis.de (Michael Schulz) Date: Fri, 04 Apr 2003 13:05:54 +0200 Subject: [Mapserver-users] Labels get unreadable over background-color and -image References: <5.2.0.9.0.20030404114112.04e65a80@gridg.grid.unep.ch> Message-ID: <3E8D6711.5B11E54C@webgis.de> Hi Stefan, i would assume this is an effect of the anti-aliasing of the truetype font labels. Your map image is transparent but only for a certain color index, around the labels are these anti-alias halos that don't have the transparent index value since their color index is in a range between your label color and (?)white. Just a guess. Cheers, Michael Stefan Schwarzer schrieb: > Hi list, > > here is a question that I raised in similar form already a couple of > weeks ago. But nobody seemed to have an answer to it. Can that be?! > > I attached an screenshot of my map. The blue color is a simple > style-background-color: > > As soon as some labels appear in front of this background-color, they > get this strange look, rendering them almost unreadable. > > Any idea what the cause is and how I can solve this? > > Thanks for any hints. > > Best wishes, > > Stefan > > > _______________________________________ > > Stefan Schwarzer > Consultant on GEO > > UNEP/DEWA/GRID-Geneva > Chemin des Anemones 11 > CH - 1219 Chatelaine > Switzerland > > Tel: (+41) 22.917.83.49 > Fax: (+41) 22.917.80.29 > > Email: stefan.schwarzer@grid.unep.ch > Internet: http://geodata.grid.unep.ch/ > _______________________________________ -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft für Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz@webgis.de www.webgis.de From stefan.schwarzer@grid.unep.ch Fri Apr 4 12:28:09 2003 From: stefan.schwarzer@grid.unep.ch (Stefan Schwarzer) Date: Fri, 04 Apr 2003 14:28:09 +0200 Subject: [Mapserver-users] Labels get unreadable over background-color and -image In-Reply-To: <3E8D6711.5B11E54C@webgis.de> References: <5.2.0.9.0.20030404114112.04e65a80@gridg.grid.unep.ch> Message-ID: <5.2.0.9.0.20030404142607.03306240@gridg.grid.unep.ch> --=====================_7101000==.ALT Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Hi Michael, yupp, that's it. When I use "ANTIALIAS false" in my map-file, the ugly=20 corona around the labels disappear. Thanks for your help! Stefan >Hi Stefan, >i would assume this is an effect of the anti-aliasing of the truetype >font labels. Your map image is transparent but only for a certain color >index, around the labels are these anti-alias halos that don't have the >transparent index value since their color index is in a range between >your label color and (?)white. >Just a guess. >Cheers, Michael > >Stefan Schwarzer schrieb: > > > Hi list, > > > > here is a question that I raised in similar form already a couple of > > weeks ago. But nobody seemed to have an answer to it. Can that be?! > > > > I attached an screenshot of my map. The blue color is a simple > > style-background-color: > > > background-color: #2F72AF"> > > As soon as some labels appear in front of this background-color, they > > get this strange look, rendering them almost unreadable. > > > > Any idea what the cause is and how I can solve this? > > > > Thanks for any hints. > > > > Best wishes, > > > > Stefan > > > > > > _______________________________________ > > > > Stefan Schwarzer > > Consultant on GEO > > > > UNEP/DEWA/GRID-Geneva > > Chemin des Anemones 11 > > CH - 1219 Chatelaine > > Switzerland > > > > Tel: (+41) 22.917.83.49 > > Fax: (+41) 22.917.80.29 > > > > Email: stefan.schwarzer@grid.unep.ch > > Internet: http://geodata.grid.unep.ch/ > > _______________________________________ > >-- >----------------------------------------------------------- >Michael Schulz in medias res >Dipl.-Geologe Gesellschaft f=FCr > Informationstechnologie mbH > Sautierstr. 38, 79104 Freiburg > 0761 55695-95 (Fax 96) >mschulz@webgis.de www.webgis.de _______________________________________ Stefan Schwarzer Consultant on GEO UNEP/DEWA/GRID-Geneva Chemin des Anemones 11 CH - 1219 Chatelaine Switzerland Tel: (+41) 22.917.83.49 Fax: (+41) 22.917.80.29 Email: stefan.schwarzer@grid.unep.ch Internet: http://geodata.grid.unep.ch/ _______________________________________=20 --=====================_7101000==.ALT Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Michael,

yupp, that's it. When I use "ANTIALIAS false" in my map-file, the ugly corona around the labels disappear. Thanks for your help!

Stefan

Hi Stefan,
i would assume this is an effect of the anti-aliasing of the truetype
font labels. Your map image is transparent but only for a certain color
index, around the labels are these anti-alias halos that don't have the
transparent index value since their color index is in a range between
your label color and (?)white.
Just a guess.
Cheers, Michael

Stefan Schwarzer schrieb:

> Hi list,
>
> here is a question that I raised in similar form already a couple of
> weeks ago. But nobody seemed to have an answer to it. Can that be?!
>
> I attached an screenshot of my map. The blue color is a simple
> style-background-color:
> <span style=3D"position: absolute; top: 40px; left:=20 40px;
> background-color: #2F72AF"><img name=3D"map1" ....</span>
> As soon as some labels appear in front of this background-color, they
> get this strange look, rendering them almost unreadable.
>
> Any idea what the cause is and how I can solve this?
>
> Thanks for any hints.
>
> Best wishes,
>
> Stefan
>
>
> _______________________________________
>
> Stefan Schwarzer
> Consultant on GEO
>
> UNEP/DEWA/GRID-Geneva
> Chemin des Anemones 11
> CH - 1219 Chatelaine
> Switzerland
>
> Tel: (+41) 22.917.83.49
> Fax: (+41) 22.917.80.29
>
> Email: stefan.schwarzer@grid.unep.ch
> Internet: http://geodata.grid.unep.ch/
> _______________________________________

--
-----------------------------------------------------------
Michael Schulz           &nbs= p;            &n= bsp;       in medias res
Dipl.-Geologe          &nb= sp;            &= nbsp;      Gesellschaft f=FCr
            &nbs= p;            &n= bsp;      Informationstechnologie mbH
            &nbs= p;            &n= bsp;   Sautierstr. 38, 79104 Freiburg
            &nbs= p;            &n= bsp;           0761 55695-95 (Fax 96)
mschulz@webgis.de          = ;            &nb= sp;      www.webgis.de

        _____________= __________________________

        = ;Stefan Schwarzer
        Consultan= t on GEO

        UNEP/DEWA/GRI= D-Geneva
        Chemin des Anemones 11
        CH - 1219 Chatelaine
        Switzerland
        Tel: (+41) 22.917.83.49
        Fax: (+41) 22.917.80.29

        Email: stefan.schwarzer@grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        ___= ____________________________________ --=====================_7101000==.ALT-- From warmerdam@pobox.com Fri Apr 4 13:53:24 2003 From: warmerdam@pobox.com (Frank Warmerdam) Date: Fri, 04 Apr 2003 08:53:24 -0500 Subject: [Mapserver-users] 2bit tiff image recolor on the fly In-Reply-To: References: Message-ID: <3E8D8E54.6010004@pobox.com> Zarko Mocnik wrote: > I Read Raster_HOWTO and searched archive of this and -dev list but I > still have problems with recoloring on the fly of 2 color tiff raster. > I tried with similar configuration as this: > LAYER > NAME 'cl2421' > DATA cl2421.tif > TYPE RASTER > CLASS > EXPRESSION "1" > COLOR 0 255 0 > END # CLASS > OFFSITE 0 > END # LAYER > > but image allways appears as black on white. I also tried with > EXPRESSION "([pixel==1)" and similar, but allwas with same result. I got > the same result with versions 3.5, 3.6 or even 3.7. > > Do any have a *real working example* with recoloring of 2 color tiffs? > > Configuration: Windows XP. I used versions withoud GDAL support (in cas > of 3.7 event with GDAL support. Zarko, What does gdalinfo report about your file? My first guess would be that it is being converted on the fly to RGBA mode by GDAL and this is defeating your classification. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From Prashant Desai" Message-ID: <005c01c2fab4$f32b8c90$0f00a8c0@MT15> This is a multi-part message in MIME format. ------=_NextPart_000_0059_01C2FA8B.09BE2690 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 I have created the VC++ 6.0 workspace and project for MapServer. I = haven't got a chance to create projects for all its libraries. If you = need the one for mapserver, let me know, I can send it you. Prashant ----- Original Message -----=20 From: Rosangela Silva=20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Thursday, April 03, 2003 4:45 PM Subject: [Mapserver-users] Creating a Workspace (dsw) and project = (dsp) of MapServer in Visual C++ 6.0 Helo, Anybody know how is the best way that can I create a Workspace with = MapServer Project=20 and all libraries needed in Visual C++ 6.0 ?? I saw the How to compile MapServer, but I'd like to have a workspace = here and=20 manipulated it in C++. Thanks Rosangela. ------=_NextPart_000_0059_01C2FA8B.09BE2690 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi
I have created the VC++ 6.0 workspace = and project=20 for MapServer. I haven't got a chance to create projects for all its = libraries.=20 If you need the one for mapserver, let me know, I can send it = you.
 
Prashant
----- Original Message -----
From:=20 Rosangela Silva =
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Thursday, April 03, 2003 = 4:45=20 PM
Subject: [Mapserver-users] = Creating a=20 Workspace (dsw) and project (dsp) of MapServer in Visual C++ 6.0

Helo,
 
Anybody know how is the best = way that can I=20 create a Workspace with MapServer Project=20
and all libraries needed in Visual = C++ 6.0=20 ??
 
I saw the How to compile MapServer, = but I'd like=20 to have a workspace here and
manipulated it in C++.
 
Thanks
 
Rosangela.
------=_NextPart_000_0059_01C2FA8B.09BE2690-- From rosangela.silva@zenitpolar.com.br Fri Apr 4 15:06:04 2003 From: rosangela.silva@zenitpolar.com.br (Rosangela Silva) Date: Fri, 4 Apr 2003 12:06:04 -0300 Subject: [Mapserver-users] Creating a Workspace (dsw) and project (dsp) of MapServer in Visual C++ 6.0 References: <000c01c2fa2a$58580890$377ba8c0@nadir> <005c01c2fab4$f32b8c90$0f00a8c0@MT15> Message-ID: <000701c2fabb$b782dbb0$377ba8c0@nadir> This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C2FAA2.91538110 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Prashant, All help are welcome. How do you create a workspace? Do you create a project to mapserver and create projects for all (some) libraries and set them dependented=20 of Mapserver??=20 What projects libraries do you have?? I'm trying to use the dsw and dsp that John send by list and sets=20 of project includes. Do you have some examples of source code testing mapserver functionality??=20 Thanks Rosangela. ----- Original Message -----=20 From: Prashant Desai=20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Friday, April 04, 2003 11:17 AM Subject: Re: [Mapserver-users] Creating a Workspace (dsw) and project = (dsp) of MapServer in Visual C++ 6.0 Hi=20 I have created the VC++ 6.0 workspace and project for MapServer. I = haven't got a chance to create projects for all its libraries. If you = need the one for mapserver, let me know, I can send it you. Prashant ----- Original Message -----=20 From: Rosangela Silva=20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Thursday, April 03, 2003 4:45 PM Subject: [Mapserver-users] Creating a Workspace (dsw) and project = (dsp) of MapServer in Visual C++ 6.0 Helo, Anybody know how is the best way that can I create a Workspace with = MapServer Project=20 and all libraries needed in Visual C++ 6.0 ?? I saw the How to compile MapServer, but I'd like to have a workspace = here and=20 manipulated it in C++. Thanks Rosangela. ------=_NextPart_000_0004_01C2FAA2.91538110 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Prashant,
 
All help are welcome.
 
How do you create a workspace? Do you = create a=20 project to mapserver
and create projects for all (some) = libraries and=20 set them dependented
of Mapserver??
 
What projects libraries do you = have??
 
I'm trying to use the dsw and dsp that = John send by=20 list and sets
of project includes.
 
Do you have some examples of source = code testing=20 mapserver
functionality??
 
Thanks
Rosangela.
----- Original Message -----
From:=20 Prashant Desai
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Friday, April 04, 2003 = 11:17=20 AM
Subject: Re: [Mapserver-users] = Creating a=20 Workspace (dsw) and project (dsp) of MapServer in Visual C++ 6.0

Hi
I have created the VC++ 6.0 workspace = and project=20 for MapServer. I haven't got a chance to create projects for all its=20 libraries. If you need the one for mapserver, let me know, I can send = it=20 you.
 
Prashant
----- Original Message -----
From:=20 Rosangela = Silva
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Thursday, April 03, = 2003 4:45=20 PM
Subject: [Mapserver-users] = Creating a=20 Workspace (dsw) and project (dsp) of MapServer in Visual C++ = 6.0

Helo,
 
Anybody know how is the best = way that can=20 I create a Workspace with MapServer Project=20
and all libraries needed in Visual = C++ 6.0=20 ??
 
I saw the How to compile MapServer, = but I'd=20 like to have a workspace here and
manipulated it in C++.
 
Thanks
 
Rosangela.
------=_NextPart_000_0004_01C2FAA2.91538110-- From steve.lime@dnr.state.mn.us Fri Apr 4 16:44:52 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Fri, 04 Apr 2003 10:44:52 -0600 Subject: [Mapserver-users] Labels get unreadable over background-color and -image Message-ID: Except that antialiasing is a good thing. One other thing to try would be using the LABEL OUTLINECOLOR. That creates a one pixel buffer around the characters. Typically I use white (OUTLINECOLOR 255 255 255) and this really helps the quality and readibility of labels. Steve >>> Stefan Schwarzer 04/04/03 06:28AM >>> Hi Michael, yupp, that's it. When I use "ANTIALIAS false" in my map-file, the ugly corona around the labels disappear. Thanks for your help! Stefan >Hi Stefan, >i would assume this is an effect of the anti-aliasing of the truetype >font labels. Your map image is transparent but only for a certain color >index, around the labels are these anti-alias halos that don't have the >transparent index value since their color index is in a range between >your label color and (?)white. >Just a guess. >Cheers, Michael > >Stefan Schwarzer schrieb: > > > Hi list, > > > > here is a question that I raised in similar form already a couple of > > weeks ago. But nobody seemed to have an answer to it. Can that be?! > > > > I attached an screenshot of my map. The blue color is a simple > > style-background-color: > > > > As soon as some labels appear in front of this background-color, they > > get this strange look, rendering them almost unreadable. > > > > Any idea what the cause is and how I can solve this? > > > > Thanks for any hints. > > > > Best wishes, > > > > Stefan > > > > > > _______________________________________ > > > > Stefan Schwarzer > > Consultant on GEO > > > > UNEP/DEWA/GRID-Geneva > > Chemin des Anemones 11 > > CH - 1219 Chatelaine > > Switzerland > > > > Tel: (+41) 22.917.83.49 > > Fax: (+41) 22.917.80.29 > > > > Email: stefan.schwarzer@grid.unep.ch > > Internet: http://geodata.grid.unep.ch/ > > _______________________________________ > >-- >----------------------------------------------------------- >Michael Schulz in medias res >Dipl.-Geologe Gesellschaft für > Informationstechnologie mbH > Sautierstr. 38, 79104 Freiburg > 0761 55695-95 (Fax 96) >mschulz@webgis.de www.webgis.de _______________________________________ Stefan Schwarzer Consultant on GEO UNEP/DEWA/GRID-Geneva Chemin des Anemones 11 CH - 1219 Chatelaine Switzerland Tel: (+41) 22.917.83.49 Fax: (+41) 22.917.80.29 Email: stefan.schwarzer@grid.unep.ch Internet: http://geodata.grid.unep.ch/ _______________________________________ From steve.lime@dnr.state.mn.us Fri Apr 4 16:54:54 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Fri, 04 Apr 2003 10:54:54 -0600 Subject: [Mapserver-users] symbol SIZE in CLASS - misleading Message-ID: I'll have to look into the code itself on this (please file a bug) before I can comment further. The conversion of vector symbols to raster images has not changed between older versions of MapServer and the development version so results should at least be consistent. The only exception to that is TrueType symbols. Changes between FreeType 1 and 2 gave very different results for the same SIZE value (goes for labels too). Steve >>> Havard Tveite 04/04/03 03:35AM >>> When rendering point and polygon symbols, I have discovered that the SIZE parameter of a CLASS gives the rendered vertical size of the symbol in pixels - 1. This is unexpected behaviour and not documented(?). It means that people who want to have full control of their symbols appearance will be very confused. What are the reasons for this strange behaviour (apart from indexing in C)? I hope that the semantics of the SIZE parameter can be changed so that it gives the exact vertical size of the symbol in pixels. The problem is, of course with legacy symbol sets and mapfiles, but since the changes that are made in Mapserver 4 are already significant... -- Håvard Tveite Phone: +47 64948857 Department of Mapping Sciences Fax: +47 64948856 Agricultural University of Norway http://www.nlh.no/ikf Hogskoleveien 14, POBox 5034, N-1432 Ås, NORWAY _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime@dnr.state.mn.us Fri Apr 4 16:56:30 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Fri, 04 Apr 2003 10:56:30 -0600 Subject: [Mapserver-users] convert pixel to world (georeferenced) coordinates Message-ID: If not done already, this snippet should be added to the WIKI... Steve >>> 04/02/03 10:31PM >>> Here's a little one that I wrote for PHP/Mapscript: function click2map ($click_x, $click_y, $current_extent) { global $map; $x_pct = ($click_x / $map->width); $y_pct = 1 - ($click_y / $map->height); $x_map = $current_extent[0] + ( ($current_extent[2] - $current_extent[0]) * $x_pct); $y_map = $current_extent[1] + ( ($current_extent[3] - $current_extent[1]) * $y_pct); return array($x_map, $y_map); } GMap has a much fancier one, but I have got by OK. current_extent is an array of current XMin, YMin, XMax, YMax. Cheers, Antti -----Original Message----- From: Matt Doggett [mailto:mdoggett@coas.oregonstate.edu] Sent: Thursday, 3 April 2003 11:08 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] convert pixel to world (georeferenced) coordinates I noticed that most mapscript functions require x,y in georeferenced coordinates. However, I also noticed there are NO functions that will translate the img_x,img_y (pixel) coordinates that the user clicked on the image into georeferenced coordinates. Can anyone provide pointers on how this translation can be done? Thanks, Matt Matt Doggett Spatial Climate Analysis Service Oregon State University 316 Strand Ag Hall Corvallis, OR 97331 (541)737-9153 mdoggett@coas.oregonstate.edu _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jvanulde@nrcan.gc.ca Fri Apr 4 17:36:34 2003 From: jvanulde@nrcan.gc.ca (Van Ulden, Joost) Date: Fri, 4 Apr 2003 12:36:34 -0500 Subject: [Mapserver-users] dynamic point generation with php-mapscript Message-ID: <8AE17DD6AA4FD51191CD0002A5511681074C48@s5-van1-r1.ess.nrcan.gc.ca> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2FAD0.BCE48670 Content-Type: text/plain; charset="iso-8859-1" Actually, I would have to defer that to the group... I have not done it myself. Cheers, Joost -----Original Message----- From: Paul Dymecki [mailto:millardymecki@sympatico.ca] Sent: Thursday, April 03, 2003 7:50 PM To: Van Ulden, Joost; 'Dan Barron'; MapServer List (E-mail) Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript Joost, Do you have a way of querying a dynamic point? I'm assumeing not since there is no associated dbf file. In case a query is needed i guess adding to a shape file would be needed? thx, Paul ----- Original Message ----- From: Van Ulden, Joost To: 'Dan Barron' ; Paul Dymecki ; MapServer List (E-mail) Sent: Thursday, April 03, 2003 1:52 PM Subject: RE: [Mapserver-users] dynamic point generation with php-mapscript Hello Paul, I have attached a template where I do just what you asked for. Please contact me if you have any questions. Regards, Joost van Ulden -----Original Message----- From: Dan Barron [mailto:dbarron@ddive.com] Sent: Thursday, April 03, 2003 8:45 AM To: Paul Dymecki; MapServer List (E-mail) Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript You can create a dummy point layer in your map file, then in php query the database for your points, create new point objects using ms_newPointObj(), set the XY coordinates, and draw the point on the layer. If you want some specific code examples, I can send along snippet. Dan At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote: Content-Transfer-Encoding: 7bit Hi, I was wondering if anyone would know some good examples of generateing dynamic points with php mapscript? Ie just pulling from points from a database and displaying them without a shape file? any hints would be apprcited, thanks, Paul ------_=_NextPart_001_01C2FAD0.BCE48670 Content-Type: text/html; charset="iso-8859-1"
Actually, I would have to defer that to the group... I have not done it myself.
 
Cheers,
 
Joost
-----Original Message-----
From: Paul Dymecki [mailto:millardymecki@sympatico.ca]
Sent: Thursday, April 03, 2003 7:50 PM
To: Van Ulden, Joost; 'Dan Barron'; MapServer List (E-mail)
Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript

Joost,
     Do you have a way of querying a dynamic point?  I'm assumeing not since there is no associated dbf file.  In case a query is needed i guess adding to a shape file would be needed?
thx,
Paul
----- Original Message -----
Sent: Thursday, April 03, 2003 1:52 PM
Subject: RE: [Mapserver-users] dynamic point generation with php-mapscript

Hello Paul, I have attached a template where I do just what you asked for.  Please contact me if you have any questions.
 
Regards,
 
Joost van Ulden
-----Original Message-----
From: Dan Barron [mailto:dbarron@ddive.com]
Sent: Thursday, April 03, 2003 8:45 AM
To: Paul Dymecki; MapServer List (E-mail)
Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript

You can create a dummy point layer in your map file, then in php query the database for your points, create new point objects using ms_newPointObj(), set the XY coordinates, and draw the point on the layer.  If you want some specific code examples, I can send along snippet.

Dan

At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote:
Content-Transfer-Encoding: 7bit

Hi,
I was wondering if anyone would know some good examples of generateing dynamic points with php mapscript?  Ie just pulling from points from a database and displaying them without a shape file?
any hints would be apprcited,
thanks,
Paul
------_=_NextPart_001_01C2FAD0.BCE48670-- From woodbri@swoodbridge.com Fri Apr 4 17:50:10 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Fri, 04 Apr 2003 12:50:10 -0500 Subject: [Mapserver-users] convert pixel to world (georeferenced) coordinates In-Reply-To: Message-ID: <3E8D7F82.27794.2CDCF4DD@localhost> I put it here: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapscriptSnippet1 linked off the Examples section of: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScript -Steve W. On 4 Apr 2003 at 10:56, Steve Lime wrote: > If not done already, this snippet should be added to the WIKI... > > Steve > > >>> 04/02/03 10:31PM >>> > > Here's a little one that I wrote for PHP/Mapscript: > > function click2map ($click_x, $click_y, $current_extent) { > global $map; > > $x_pct = ($click_x / $map->width); > $y_pct = 1 - ($click_y / $map->height); > > $x_map = $current_extent[0] + ( ($current_extent[2] - > $current_extent[0]) * $x_pct); > $y_map = $current_extent[1] + ( ($current_extent[3] - > $current_extent[1]) * $y_pct); > > return array($x_map, $y_map); > } > > GMap has a much fancier one, but I have got by OK. > > current_extent is an array of current XMin, YMin, XMax, YMax. > > Cheers, > > Antti > > > > -----Original Message----- > From: Matt Doggett [mailto:mdoggett@coas.oregonstate.edu] > Sent: Thursday, 3 April 2003 11:08 AM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] convert pixel to world (georeferenced) > coordinates > > > I noticed that most mapscript functions require x,y in georeferenced > coordinates. However, I also noticed there are NO functions that will > translate the img_x,img_y (pixel) coordinates that the user clicked on > the image into georeferenced coordinates. Can anyone provide > pointers on how this translation can be done? > > Thanks, > > Matt > > Matt Doggett > Spatial Climate Analysis Service > Oregon State University > 316 Strand Ag Hall > Corvallis, OR 97331 > (541)737-9153 > mdoggett@coas.oregonstate.edu > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From jwilliam@kcr.uky.edu Fri Apr 4 18:20:53 2003 From: jwilliam@kcr.uky.edu (John Williams) Date: Fri, 04 Apr 2003 13:20:53 -0500 Subject: [Mapserver-users] compile problems Message-ID: <5.1.1.5.2.20030404131806.02204d48@mail.kcr.uky.edu> I'm having a problem getting mapserver 3.6.5 to compile on my Solaris 8 box. ./configure --with-gd=/usr --with-php=../php-4.3.1 works fine, but when I "make" I get mapfile.c: In function `initMap': mapfile.c:2971: warning: assignment makes pointer from integer without a cast mapfile.c: In function `loadMapInternal': mapfile.c:3217: warning: assignment makes pointer from integer without a cast mapfile.c: In function `msLoadMapString': mapfile.c:3482: warning: assignment makes pointer from integer without a cast mapfile.c: In function `tokenizeMapInternal': mapfile.c:3612: warning: assignment makes pointer from integer without a cast make: *** [mapfile.o] Error 1 Thanks! John --Statement of Confidentiality-- This message (and any attachment) is intended only for the recipient and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete this message immediately. Thank you. From eduardo@linkgeo.com.br Fri Apr 4 18:33:56 2003 From: eduardo@linkgeo.com.br (Eduardo Patto Kanegae) Date: Fri, 4 Apr 2003 15:33:56 -0300 Subject: [Mapserver-users] [OFF-TOPIC] announce: GeoBrasil 2003 References: <20030404180003.25022.84255.Mailman@lists.gis.umn.edu> Message-ID: <001c01c2fad8$c1fba690$b864cec8@notebookln01> GeoBrasil 2003 - Management Integrated Solutions for Mapping, Localisation and Geographic Analysis http://www.geobr.com.br/2003/index_ingles.asp From eric@gomoos.org Fri Apr 4 14:57:24 2003 From: eric@gomoos.org (Eric Bridger) Date: 04 Apr 2003 14:57:24 +0000 Subject: [Mapserver-users] dynamic point generation with php-mapscript In-Reply-To: <007f01c2fa5d$396c0c00$f098fea9@pauls> References: <8AE17DD6AA4FD51191CD0002A5511681074C44@s5-van1-r1.ess.nrcan.gc.ca> <007f01c2fa5d$396c0c00$f098fea9@pauls> Message-ID: <1049468244.2165.10.camel@ubet.gomoos.org> A while ago I put an example in the Perl mapscript Wiki doing this: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex14 which you should be able to convert to PHP. I solved the query problem without need of a shape or dbf file by saving an array of point attribute information with the same index as the $shape->{index}. Hope this helps. Eric Bridger On Fri, 2003-04-04 at 03:49, Paul Dymecki wrote: > Joost, > Do you have a way of querying a dynamic point? I'm assumeing not since there is no associated dbf file. In case a query is needed i guess adding to a shape file would be needed? > thx, > Paul > ----- Original Message ----- > From: Van Ulden, Joost > To: 'Dan Barron' ; Paul Dymecki ; MapServer List (E-mail) > Sent: Thursday, April 03, 2003 1:52 PM > Subject: RE: [Mapserver-users] dynamic point generation with php-mapscript > > > Hello Paul, I have attached a template where I do just what you asked for. Please contact me if you have any questions. > > Regards, > > Joost van Ulden > -----Original Message----- > From: Dan Barron [mailto:dbarron@ddive.com] > Sent: Thursday, April 03, 2003 8:45 AM > To: Paul Dymecki; MapServer List (E-mail) > Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript > > > You can create a dummy point layer in your map file, then in php query the database for your points, create new point objects using ms_newPointObj(), set the XY coordinates, and draw the point on the layer. If you want some specific code examples, I can send along snippet. > > Dan > > At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote: > > Content-Transfer-Encoding: 7bit > > Hi, > I was wondering if anyone would know some good examples of generateing dynamic points with php mapscript? Ie just pulling from points from a database and displaying them without a shape file? > any hints would be apprcited, > thanks, > Paul From k.chodak@autoguard.pl Fri Apr 4 20:45:56 2003 From: k.chodak@autoguard.pl (Krzysztof Chodak) Date: Fri, 4 Apr 2003 22:45:56 +0200 Subject: [Mapserver-users] (Anti)geocoding and projections... Message-ID: Hello again, as usual - have anyone of you got some tips... I'm trying to make simple (anti)geocoding application (it must describe geographic coordinates in text from available layers). I got conceptual problems with projectioning. As my app should find a shape nearest to given point i must be able to tell what is the actual ground distance between this to shapes. It will be a part of final string (f.e. "Poland, Warsaw (10km from centre)"). Currently I use "raw" unprojected WGS84 layers and I use standard MS functions to find closest shape - but closest in degrees. I could use great circle calculation to find proper distance in meters. Do you think that degrees seach is a proper way to find closest shape? Best regards Krzysztof Chodak From ed@topozone.com Fri Apr 4 21:04:44 2003 From: ed@topozone.com (Ed McNierney) Date: Fri, 4 Apr 2003 16:04:44 -0500 Subject: [Mapserver-users] (Anti)geocoding and projections... Message-ID: <13858AA1A74F30419F319ACB66A9D122019671@mercator.topozone.com> Krzysztof - A lot depends on how accurate you need to be, but no, I don't think using degrees as if they were square is a good idea. Take your example (Warsaw, Poland). It's at 52.25 degrees North latitude. In Warsaw, one degree of latitude is 111 km, but one degree of longitude is only 68 km. Computing simple distance as sqrt ((delta latitude) ^ 2 + (delta longitude) ^ 2) will give you very incorrect numbers. If you a comfortable doing the distance calculations like this in degrees, you can get a much better result relatively easily by multiplying delta longitude by the cosine of the average latitude. This is still not accurate , but it's much better and should work pretty well for short distances. It's not a geodetically precise solution, but I'm suggesting it in case you need a simple calculation that's not too bad. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed@topozone.com (978) 251-4242 -----Original Message----- From: Krzysztof Chodak [mailto:k.chodak@autoguard.pl] Sent: Friday, April 04, 2003 3:46 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] (Anti)geocoding and projections... Hello again, as usual - have anyone of you got some tips... I'm trying to make simple (anti)geocoding application (it must describe geographic coordinates in text from available layers). I got conceptual problems with projectioning. As my app should find a shape nearest to given point i must be able to tell what is the actual ground distance between this to shapes. It will be a part of final string (f.e. "Poland, Warsaw (10km from centre)"). Currently I use "raw" unprojected WGS84 layers and I use standard MS functions to find closest shape - but closest in degrees. I could use great circle calculation to find proper distance in meters. Do you think that degrees seach is a proper way to find closest shape? Best regards Krzysztof Chodak _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From aerthal@vesper.com.br Fri Apr 4 21:57:39 2003 From: aerthal@vesper.com.br (Andre Erthal) Date: Fri, 4 Apr 2003 18:57:39 -0300 Subject: [Mapserver-users] Getting MapServer to work Message-ID: Hi! I work in a telecom company in Brazil and I am studying some solution that could set us free of the MapInfo / OracleSpatial / ASP problem. I've downloaded and sucessfully installed PostGis / Gd(w/GIF patch) /and MapServer in a Linux Server. The MapServer is working Ok, thus it processes requests without error messages. The only problem is that I cannot see the images returned by mapserv. When I run the Demo application that comes with MapServer, everything look Ok, except that the images are not displayed (but the images are correcly created in /tmp directory). Anyone has a clue? PS : sorry if it's a silly question...I'm still learning... :) tks, > André Erthal______________ > Tecnologia da Informação > Vésper > Work : (21) 3085-2385 > Mob : (21) 9403-0040 > > From wiley@chilliwack.com Fri Apr 4 22:10:59 2003 From: wiley@chilliwack.com (Wiley, John) Date: Fri, 4 Apr 2003 14:10:59 -0800 Subject: [Mapserver-users] Unexpected File Download Message-ID: <27334338DA5FE54F9FA7B2B295FA65AC2192A8@chwk-exchange.chilliwack.com> Hi all, We have just worked through the installation of Mapserv 3.6.3 and downloaded the demo. After making the edits in windows 2000 using the demo instructions. We entered URL http://localhost/cgi-bin/mapserv.exe and then the mapserv.exe is being downloaded... any suggestions? Thanks for any help. John From ARyan@co.linn.or.us Fri Apr 4 22:14:23 2003 From: ARyan@co.linn.or.us (Ryan, Adam) Date: Fri, 4 Apr 2003 14:14:23 -0800 Subject: [Mapserver-users] Unexpected File Download Message-ID: <614FCE5F14A6D41180C200010240D6A2012F8D9D@LINNMS> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2FAF7.8C1381F0 Content-Type: text/plain; charset="iso-8859-1" John, You'll probably get a better answer soon, but make sure your server actually knows to execute .exe files. In IIS it's in execute permissions, and in Apache its something like: AddHandler cgi-script .exe in the directory directive. Adam Ryan Linn County -----Original Message----- From: Wiley, John [mailto:wiley@chilliwack.com] Sent: Friday, April 04, 2003 2:11 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Unexpected File Download Hi all, We have just worked through the installation of Mapserv 3.6.3 and downloaded the demo. After making the edits in windows 2000 using the demo instructions. We entered URL http://localhost/cgi-bin/mapserv.exe and then the mapserv.exe is being downloaded... any suggestions? Thanks for any help. John _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ------_=_NextPart_001_01C2FAF7.8C1381F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Mapserver-users] Unexpected File Download

John,

You'll probably get a better answer soon, but make = sure your server actually knows to execute .exe files.  In IIS = it's in execute permissions, and in Apache its something like: = AddHandler cgi-script .exe in the directory directive.

Adam Ryan
Linn County

-----Original Message-----
From: Wiley, John [mailto:wiley@chilliwack.com]
Sent: Friday, April 04, 2003 2:11 PM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] Unexpected File = Download


Hi all,
We have just worked through the installation of = Mapserv 3.6.3 and downloaded the demo.  After making the edits in = windows 2000 using the demo instructions.

We entered URL http://localhost/cgi-bin/mapserv.exe and then the = mapserv.exe is being downloaded... any suggestions?  Thanks for = any help.

John


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-us= ers

------_=_NextPart_001_01C2FAF7.8C1381F0-- From pwpeterson@iesc.net Sat Apr 5 01:29:05 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Fri, 4 Apr 2003 19:29:05 -0600 Subject: [Mapserver-users] Legend and Reference not displaying Message-ID: I downloaded the 3.5 tutorial and have been testing it all day. I had to make a few minor mods to the directory paths to get things working, however, I am still having a problem with my references and legends not displaying. I just get the red x icon I am using what data is in the file (s3ex2.map) with the directory paths adjusted for my system. The map is displaying as expected, however, the legend and reference files are not being generated as they are not in the /tmp directory with the map image. Does anyone have an idea why the reference and legend of my maps are not being generate/displayed? Any ideas would be appreciated. Paul From millardymecki@sympatico.ca Sat Apr 5 04:32:21 2003 From: millardymecki@sympatico.ca (Paul Dymecki) Date: Fri, 4 Apr 2003 23:32:21 -0500 Subject: [Mapserver-users] dynamic point generation with php-mapscript References: <8AE17DD6AA4FD51191CD0002A5511681074C44@s5-van1-r1.ess.nrcan.gc.ca> <007f01c2fa5d$396c0c00$f098fea9@pauls> <1049468244.2165.10.camel@ubet.gomoos.org> Message-ID: <003701c2fb2c$59adcb50$f098fea9@pauls> Hi Eric, Sorry for a possibly dense question, but here goes, Can the same script be used by generateing the points from a db link and not requerying on each map_query? I'm thinkin probably not but just thought i'd check? thx, Paul ----- Original Message ----- From: "Eric Bridger" To: "Paul Dymecki" Cc: "MapServer List (E-mail)" Sent: Friday, April 04, 2003 9:57 AM Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript > A while ago I put an example in the Perl mapscript Wiki doing this: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex14 > > which you should be able to convert to PHP. I solved the query problem > without need of a shape or dbf file by saving an array of point > attribute information with the same index as the $shape->{index}. > > Hope this helps. > > Eric Bridger > > > On Fri, 2003-04-04 at 03:49, Paul Dymecki wrote: > > Joost, > > Do you have a way of querying a dynamic point? I'm assumeing not since there is no associated dbf file. In case a query is needed i guess adding to a shape file would be needed? > > thx, > > Paul > > ----- Original Message ----- > > From: Van Ulden, Joost > > To: 'Dan Barron' ; Paul Dymecki ; MapServer List (E-mail) > > Sent: Thursday, April 03, 2003 1:52 PM > > Subject: RE: [Mapserver-users] dynamic point generation with php-mapscript > > > > > > Hello Paul, I have attached a template where I do just what you asked for. Please contact me if you have any questions. > > > > Regards, > > > > Joost van Ulden > > -----Original Message----- > > From: Dan Barron [mailto:dbarron@ddive.com] > > Sent: Thursday, April 03, 2003 8:45 AM > > To: Paul Dymecki; MapServer List (E-mail) > > Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript > > > > > > You can create a dummy point layer in your map file, then in php query the database for your points, create new point objects using ms_newPointObj(), set the XY coordinates, and draw the point on the layer. If you want some specific code examples, I can send along snippet. > > > > Dan > > > > At 11:07 AM 4/3/2003 -0500, Paul Dymecki wrote: > > > > Content-Transfer-Encoding: 7bit > > > > Hi, > > I was wondering if anyone would know some good examples of generateing dynamic points with php mapscript? Ie just pulling from points from a database and displaying them without a shape file? > > any hints would be apprcited, > > thanks, > > Paul > > From =?Windows-1251?B?zOjy6Pgg0eXw4+Xp?= Sat Apr 5 07:59:07 2003 From: =?Windows-1251?B?zOjy6Pgg0eXw4+Xp?= (=?Windows-1251?B?zOjy6Pgg0eXw4+Xp?=) Date: Sat, 5 Apr 2003 10:59:07 +0300 Subject: [Mapserver-users] MapServer 3.7 and CLASS/STYLE Message-ID: <941692544269.20030405105907@inbox.ru> In " MapServer 3.7 Migration Guide " (http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide) it is written: " ......... Although most stylistic CLASS options will still work for backward compatibility, their use is deprecated in favor of the new STYLE object. Users are encouraged to use the new syntax. " Where it is possible to read about rules of use STYLE in CLASS? There is an example of a map-file for version MapServer 3.7 with use of new variables and parameters? -- mailto:mitish_sergey@inbox.ru From ed@topozone.com Sat Apr 5 18:32:58 2003 From: ed@topozone.com (Ed McNierney) Date: Sat, 5 Apr 2003 13:32:58 -0500 Subject: [Mapserver-users] Unexpected File Download Message-ID: <13858AA1A74F30419F319ACB66A9D1221F4105@mercator.topozone.com> John - To reiterate the answer you've already seen, this indicates that the Web user (through your Web server) does not have permission to execute mapserv.exe. Since it can't be run, it looks like any other file accessible by URL, and the server tries to download it to the client. You don't say what Web server you're using (the instructions differ) but if you're using IIS, make sure the IUSR_ account (if you're using anonymous Web access) has EXECUTE permission on the mapserv.exe file (through Windows), and make sure the virtual directory is given Execute permission via IIS. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 Phone: (978) 251-4242 Fax: (978) 251-1396 ed@topozone.com -----Original Message----- From: Wiley, John [mailto:wiley@chilliwack.com] Sent: Friday, April 04, 2003 5:11 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Unexpected File Download Hi all, We have just worked through the installation of Mapserv 3.6.3 and downloaded the demo. After making the edits in windows 2000 using the demo instructions. We entered URL http://localhost/cgi-bin/mapserv.exe and then the mapserv.exe is being downloaded... any suggestions? Thanks for any help. John _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From nsmith@holycross.edu Sat Apr 5 21:22:33 2003 From: nsmith@holycross.edu (Neel Smith) Date: Sat, 05 Apr 2003 16:22:33 -0500 Subject: [Mapserver-users] Proj4 configuration? Message-ID: I'm having trouble with WMS access to a mapserver data set: if I include the SRS parameter in a GetMap or GetFeatureInfo, mapserver reports: msProcessProjection(): Projection library error. no system list, errno: 2 I have built mapserver with Proj4 support (correctly reported from mapserv -v), and there is in fact an epsg file in /usr/local/share/proj. I'm probably missing something incredibly obvious but I'm not sure what to test for next. Can anyone suggest how to debug this? FWIW -- if I *don't* include an SRS param, GetMap results are perfectly good (ie, the map comes back with correct BBOX displayed), but GetFeatureInfo reports odd results: from a graticule covering the whole area, the wrong rectangle, for example, as though there were a projection problem. From gerry.creager@tamu.edu Sun Apr 6 03:55:08 2003 From: gerry.creager@tamu.edu (Gerry Creager N5JXS) Date: Sat, 05 Apr 2003 20:55:08 -0600 Subject: [Mapserver-users] Trouble-shooting again Message-ID: <3E8F970C.4090201@tamu.edu> In amongst all the other stuff, I'm back to troubleshooting my mapserver install: RH 8.0/perl5.8/MS 3.7 from a nightly build a couple of weeks ago... I've squashed most of the bugs preventing a successful completion including most of the stuff in my mapfile. However, when I fire off the following: http://mesonet.tamu.edu/cgi-bin/mapserv?map=%2Fvar%2Fwww%2Fmesonet%2Ftexas%2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weather-mlabel&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2Fcgi-bin%2Fmapserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&map_web_imageurl=%2Ftmp%2F I get a "document not found" error via Mozilla, and in looking at the Apache error log, I see: [Sat Apr 05 20:47:50 2003] [error] [client 165.91.71.29] Premature end of script headers: mapserv, referer: http://mesonet.tamu.edu/ I'm still looking, but I'm real confused... TIA, gerry -- Gerry Creager -- gerry.creager@tamu.edu Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From woodbri@swoodbridge.com Sun Apr 6 04:21:47 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Sat, 05 Apr 2003 22:21:47 -0500 Subject: [Mapserver-users] Trouble-shooting again In-Reply-To: <3E8F970C.4090201@tamu.edu> Message-ID: <3E8F56FB.32195.340EA769@localhost> Gerry, One way to debug this type of problem is to do it interactively like this at the command shell: export REQUEST_METHOD=GET export QUERY_STRING="map=%2Fvar%2Fwww%2Fmesonet%2Ftexas %2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weather- mlabe l&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2Fcgi- bin%2Fm apserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&map_web_image url= %2Ftmp%2F" gdb /var/www/cgi-bin/mapserv run where quit This will set up the environment and run mapserv in the debugger. If it crashes the "where: will give you a back trace of where it crashed. -Steve W. On 5 Apr 2003 at 20:55, Gerry Creager N5JXS wrote: > In amongst all the other stuff, I'm back to troubleshooting my > mapserver install: RH 8.0/perl5.8/MS 3.7 from a nightly build a > couple of weeks ago... > > I've squashed most of the bugs preventing a successful completion > including most of the stuff in my mapfile. However, when I fire off > the following: > http://mesonet.tamu.edu/cgi-bin/mapserv?map=%2Fvar%2Fwww%2Fmesonet%2Ft > exas%2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weath > er-mlabel&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2 > Fcgi-bin%2Fmapserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&m > ap_web_imageurl=%2Ftmp%2F > > I get a "document not found" error via Mozilla, and in looking at the > Apache error log, I see: [Sat Apr 05 20:47:50 2003] [error] [client > 165.91.71.29] Premature end of script headers: mapserv, referer: > http://mesonet.tamu.edu/ > > I'm still looking, but I'm real confused... > > TIA, gerry > -- > Gerry Creager -- gerry.creager@tamu.edu > Texas Mesonet -- AATLT, Texas A&M University > Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 > Page: 979.228.0173 > Office: 903A Eller Bldg, TAMU, College Station, TX 77843 > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From dana@nextbus.com Sun Apr 6 04:24:39 2003 From: dana@nextbus.com (Dana Quinn) Date: Sat, 05 Apr 2003 19:24:39 -0800 Subject: [Mapserver-users] Trouble-shooting again References: <3E8F970C.4090201@tamu.edu> Message-ID: <3E8F9DF7.4080701@nextbus.com> Gerry Creager N5JXS wrote: > In amongst all the other stuff, I'm back to troubleshooting my mapserver > install: RH 8.0/perl5.8/MS 3.7 from a nightly build a couple of weeks > ago... > > I've squashed most of the bugs preventing a successful completion > including most of the stuff in my mapfile. However, when I fire off the > following: > http://mesonet.tamu.edu/cgi-bin/mapserv?map=%2Fvar%2Fwww%2Fmesonet%2Ftexas%2Fmesonet.map&layer=weather-metar&layer=weather-mtemp&layer=weather-mlabel&layer=weather-mdew&layer=weather-barbs&zoomsize=2&program=%2Fcgi-bin%2Fmapserv&map_web_imagepath=%2Fvar%2Fwww%2Fmesonet%2Ftmp%2F&map_web_imageurl=%2Ftmp%2F > > > I get a "document not found" error via Mozilla, and in looking at the > Apache error log, I see: > [Sat Apr 05 20:47:50 2003] [error] [client 165.91.71.29] Premature end > of script headers: mapserv, referer: http://mesonet.tamu.edu/ > > I'm still looking, but I'm real confused... > > TIA, gerry Gerry- Do you get a correct image when you run the script from the command line? If so, make sure you're outputting the correct headers in your script, of course, but what stopped my similar problem was doing what I wrote about here: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/msg00153.html Basically, tossing this at the top of my perl MS script: use FileHandle; STDOUT->autoflush; dana From maillist@iter.dk Sun Apr 6 12:34:07 2003 From: maillist@iter.dk (Morten Nielsen) Date: Sun, 6 Apr 2003 13:34:07 +0200 Subject: [Mapserver-users] MapServer implemented in ASP.NET Message-ID: <001501c2fc30$eb704b30$3edf26c0@o57> Is there anyone here who have created websites using ASP.NET and MapServer (or other WMS servers) or is thinking about it? I have developed a custom control for ASP.NET that makes it very easy to implement WMS servers on a webpage (navigatable map using only two lines of code). It should run with most WMS 1.0.0 and 1.1.0 WMS-servers, but I have only tested it with MapServer. I would really like some comments and ideas on it, so if anyone is interested in trying it out, please send me an email. Regards /Morten Nielsen From Tom.Kralidis@CCRS.NRCan.gc.ca Sun Apr 6 15:45:01 2003 From: Tom.Kralidis@CCRS.NRCan.gc.ca (Tom.Kralidis@CCRS.NRCan.gc.ca) Date: Sun, 6 Apr 2003 10:45:01 -0400 Subject: [Mapserver-users] MapServer implemented in ASP.NET Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA1E29@s5-ccr-r1.ccrs.nrcan.gc.ca> > -----Original Message----- > From: Morten Nielsen [mailto:maillist@iter.dk] > Sent: Sunday, April 06, 2003 7:34 AM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] MapServer implemented in ASP.NET > > > Is there anyone here who have created websites using ASP.NET > and MapServer > (or other WMS servers) or is thinking about it? > > I have developed a custom control for ASP.NET that makes it > very easy to > implement WMS servers on a webpage (navigatable map using > only two lines of > code). It should run with most WMS 1.0.0 and 1.1.0 > WMS-servers, but I have > only tested it with MapServer. > I would really like some comments and ideas on it, so if anyone is > interested in trying it out, please send me an email. > I'm not an ASP.NET person, but alot of people are; I'd be interested to see an example of this. There are a number of WMS instances available at: http://cgdi-dev.geoconnections.org/components/ ..Tom ================================= Tom Kralidis Systems Scientist Canada Centre for Remote Sensing Tel: (613) 947-1828 http://www.ccrs.nrcan.gc.ca/ ================================= > Regards > /Morten Nielsen > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pwpeterson@iesc.net Mon Apr 7 00:02:50 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Sun, 6 Apr 2003 18:02:50 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? Message-ID: Hello all. I wrote yesterday regarding a problem with my legends and reference images not showing up. Does MapServer (3.7) store all generated images in the the same tmp directory. I am testing out the Tutorial35 demo app and it is located at /var/www/html/tutorial35. I have a tmp directory /var/www/html/tmp where only the map png files are showing up. I was trying out the cashed query and discovered that the legend, reference and *.qy files where being stored in /var/tmp. Where in the map file does the directory for the legend, reference and .qy files get set? If MapServer is smart enough to store these files there why isn't it smart enough to download them from there as well? A snippet of the map file follows: NAME S3EX4 EXTENT -97.5 41.619778 -82.122902 49.38562 SIZE 400 300 SHAPEPATH "../data" FONTSET "../fonts/fonts.list" SYMBOLSET "../symbols/symbols35.sym" WEB HEADER header.html TEMPLATE s3ex4.html FOOTER footer.html IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" LOG /var/www/html/mapserver.log END Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but not the legend, reference ro .qy files. Any ideas what I am doing wrong? Paul Peterson From rich@greenwoodmap.com Mon Apr 7 00:26:59 2003 From: rich@greenwoodmap.com (Richard Greenwood) Date: Sun, 06 Apr 2003 17:26:59 -0600 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? In-Reply-To: Message-ID: <5.2.0.9.0.20030406171607.00ad9e80@mail.greenwoodmap.com> --=======478445B======= Content-Type: text/plain; x-avg-checked=avg-ok-76B941F0; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit The images for the map, reference map, legend, and query files will all be saved to the IMAGEPATH directory, which is relative to the .map file. So in your case it looks like your map file is in /var/www/html/tutorial35 and ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit mapserver and see where the images files appear, because what you describe below does not quite make sense. Rich At 06:02 PM 4/6/2003 -0500, you wrote: >Hello all. > >I wrote yesterday regarding a problem with my legends and reference images >not showing up. Does MapServer (3.7) store all generated images in the the >same tmp directory. I am testing out the Tutorial35 demo app and it is >located at /var/www/html/tutorial35. I have a tmp directory >/var/www/html/tmp where only the map png files are showing up. I was trying >out the cashed query and discovered that the legend, reference and *.qy >files where being stored in /var/tmp. > >Where in the map file does the directory for the legend, reference and .qy >files get set? If MapServer is smart enough to store these files there why >isn't it smart enough to download them from there as well? > >A snippet of the map file follows: > >NAME S3EX4 >EXTENT -97.5 41.619778 -82.122902 49.38562 >SIZE 400 300 >SHAPEPATH "../data" >FONTSET "../fonts/fonts.list" >SYMBOLSET "../symbols/symbols35.sym" > >WEB > HEADER header.html > TEMPLATE s3ex4.html > FOOTER footer.html > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > LOG /var/www/html/mapserver.log >END > >Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >not the legend, reference ro .qy files. > >Any ideas what I am doing wrong? > >Paul Peterson > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Richard W. Greenwood, PLS (307) 733-0203 Rich@GreenwoodMap.com www.GreenwoodMap.com --=======478445B=======-- From Thilo.Schlemmer@blva.bayern.de Mon Apr 7 07:17:02 2003 From: Thilo.Schlemmer@blva.bayern.de (Schlemmer Thilo) Date: Mon, 7 Apr 2003 08:17:02 +0200 Subject: [Mapserver-users] Newbie-Problems with swf-output Message-ID: <3D62526F8230D211B54A0000CBC0A8A1032B07FB@dc001.blva.bayern.de> Hi, downloaded last week Mapserver 3.7 compiled with swf output (mapserver-3.7-dev-win32-php4.3.0.zip). Here my problems/ questions: Where i have to install the libraries (dll)? what for a CGI-Tag i have to use for swf-output? I tried "mode=browse" and "map"; i implement the Outputformat-Object in the mapfile, but i don't get a swf-file. otherwise i get with "gif" in this object a image...(For my experiment i used the 3.5 Tutorial and changed the files in Section 1 Example 1) Can someone help me or post a link to a tutorial? Thanks a lot. Thilo From peturkirke@fds.fo Mon Apr 7 07:59:28 2003 From: peturkirke@fds.fo (Petur Kirke) Date: Mon, 7 Apr 2003 08:59:28 +0200 Subject: [Mapserver-users] installation problems References: Message-ID: <005001c2fcd3$3be2bf10$10fea8c0@fds.fo> The answer's i got on this question wasn't wery helpful, but thank you anyway but anyway - now I have solved the problem, which was an ISAPI filter, that did prevent exe files to be executed on the web server. ----- Original Message ----- From: "Fawcett, David" To: "MapServer" ; "'Petur Kirke'" Sent: Wednesday, April 02, 2003 6:16 PM Subject: RE: [Mapserver-users] installation problems > I believe that the Initialize page is just an html page and doesn't call the MapServer executable. > > It sounds like you either haven't correctly set the URL for the mapserv.exe or you have a directory rights issue. > > David. > > David J. Fawcett > GIS / Databases > > MN Office of Environmental Assistance > 520 Lafayette Rd N > St. Paul, MN 55155 > 651.215.0200 > > > > ---------- > > From: Petur Kirke[SMTP:peturkirke@fds.fo] > > Sent: Wednesday, April 02, 2003 8:39 AM > > To: MapServer > > Subject: Fw: [Mapserver-users] installation problems > > > > I think so, because the demo_init.html file seems to work fine in the > > browser > > > > > > ----- Original Message ----- > > From: "Till Adams" > > To: "Petur Kirke" > > Sent: Wednesday, April 02, 2003 5:29 PM > > Subject: Re: [Mapserver-users] installation problems > > > > > > > Dear Petur, > > > > > > are you sure, that the direcztory, where you placed the demo-files is > > > given free for your webserver? You need to create the directory in the > > > config-file of your webserver, otherwise you don't have access to it via > > > the HTTP. > > > ;-) > > > Till > > > > > > Petur Kirke schrieb: > > > > I have installed MapServer on a Windows server. > > > > > > > > Because the default web application on this server is located on the > > > > d:\partition, I have i installed the demo application on the d:\ > > > partition > > > > as well. > > > > I have installed mapserv.exe on c:\inetpub\scripts and I have mapped > > this > > > > directory as "cgi-bin". > > > > I have installed the other files just as the dokumentation says, I > > should > > > > do. > > > > > > > > But I cant get this to work. The demo_init.html file seems to work > > > fine, but > > > > when I click on "Initialize", I get the message: > > > > > > > > "The page cannot be found" > > > > > > > > even if it seems like all parameters are right ! > > > > > > > > I have changed the demo_init.html file just as the documentation says, > > I > > > > should do. > > > > > > > > Does anyone know, what the problem is here ? Could it be a problem, > > > that I > > > > have installed the demo application on the d:\ partition ? > > > > > > > > _______________________________________________ > > > > Mapserver-users mailing list > > > > Mapserver-users@lists.gis.umn.edu > > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > > > > > > > > > > > > -- > > > ***** terrestris ist umgezogen !!! Neue Adresse siehe unten ************ > > > > > > ***** Bald !! AveiN! 1.2 Die MapServer Erweiterung f> ür ArcView GIS ***** > > > > > > ----- > > > > > > Dipl. Geogr. Till Adams > > > terrestris, Paulsen&Adams GbR > > > Siemensstr. 8 * 53121 Bonn > > > Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 > > > info@terrestris.de * www.terrestris.de > > > > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From alessandro.ceccotti@netxcalibur.com Mon Apr 7 10:56:47 2003 From: alessandro.ceccotti@netxcalibur.com (Alessandro Ceccotti) Date: Mon, 7 Apr 2003 11:56:47 +0200 Subject: [Mapserver-users] zoom and layer selection Message-ID: <001801c2fcec$01cd2c20$0101a8c0@Antigua> This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C2FCFC.C555FC20 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi everyone! I've mapserver running as cgi. I've to implement in my applications zooming and layer selections. How can I do? I'd better not to use java or javascript. Thanks Alessandro Ing.Alessandro Ceccotti, netXcalibur s.r.l. Via Alamanni, 25 I-50123 Firenze T: +39.055.285859 - F: +39.055.285760 ------=_NextPart_000_0019_01C2FCFC.C555FC20 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Messaggio
Hi=20 everyone!
I've = mapserver=20 running as cgi.
I've = to implement in=20 my applications zooming and layer selections.
How = can I=20 do?
I'd = better not to=20 use java or javascript.
Thanks
Alessandro
 
Ing.Alessandro Ceccotti, netXcalibur s.r.l.
Via = Alamanni,=20 25
I-50123 Firenze
T: +39.055.285859 - F: +39.055.285760
 
------=_NextPart_000_0019_01C2FCFC.C555FC20-- From Ralf Rapude Mon Apr 7 14:23:50 2003 From: Ralf Rapude (Ralf Rapude) Date: Mon, 7 Apr 2003 15:23:50 +0200 Subject: [Mapserver-users] mapserver and spatial Message-ID: <934915127.20030407152350@wir-age.de> Hi List, though searching the mapserver site and google, I was not able to find any detailed informations about the mapserver and spatial. Is it possible to connect the mapserver to spatial in order to draw maps? And is there any howto available? Thanks a lot Ralf From Mladen.Kotarac@ckff.si Mon Apr 7 14:26:53 2003 From: Mladen.Kotarac@ckff.si (Mladen Kotarac) Date: Mon, 07 Apr 2003 15:26:53 +0200 Subject: [Mapserver-users] GIS support implemented in MySQL Message-ID: <3E917C9D.6030704@ckff.si> At http://www.mysql.com/downloads/mysql-4.1.html you can download the alpha version of MySQL with GIS support. Description of the implementation is in chapter 9 of the User Manual. BR Mladen -- ****************************************************************** Mladen Kotarac, univ.dipl.biol. Center za kartografijo favne in flore Centre for Cartography of Fauna and Flora http://www.ckff.si Antolièièeva 1, SI-2204 Miklav¾ na Dravskem polju, Slovenija tel: 00386-(0)2-6295150 fax: 00386-(0)2-6295151 podru¾nica Ljubljana, Zemljemerska 10, SI-1000 Ljubljana, Slovenija tel: 00386-(0)1-4382440 fax: 00386-(0)1-4382445 GSM: 00386-(0)41-735429 SMS: 041735429@linux.mobitel.si e-mail: mladen.kotarac@ckff.si From eric@gomoos.org Mon Apr 7 09:40:48 2003 From: eric@gomoos.org (Eric Bridger) Date: 07 Apr 2003 08:40:48 +0000 Subject: [Mapserver-users] dynamic point generation with php-mapscript In-Reply-To: <003701c2fb2c$59adcb50$f098fea9@pauls> References: <8AE17DD6AA4FD51191CD0002A5511681074C44@s5-van1-r1.ess.nrcan.gc.ca> <007f01c2fa5d$396c0c00$f098fea9@pauls> <1049468244.2165.10.camel@ubet.gomoos.org> <003701c2fb2c$59adcb50$f098fea9@pauls> Message-ID: <1049704848.1435.11.camel@ubet.gomoos.org> The same script can easily be modified to get the points from a db link, but since it's a cgi script you must requery each time it's run. We use mod_perl and cache our query results to avoid this. On Sat, 2003-04-05 at 04:32, Paul Dymecki wrote: > Hi Eric, > Sorry for a possibly dense question, but here goes, Can the same script > be used by generateing the points from a db link and not requerying on each > map_query? I'm thinkin probably not but just thought i'd check? > thx, > Paul > ----- Original Message ----- > From: "Eric Bridger" > To: "Paul Dymecki" > Cc: "MapServer List (E-mail)" > Sent: Friday, April 04, 2003 9:57 AM > Subject: Re: [Mapserver-users] dynamic point generation with php-mapscript > > > > A while ago I put an example in the Perl mapscript Wiki doing this: > > > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex14 > > > From thfischer@mapmedia.de Mon Apr 7 16:50:37 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 07 Apr 2003 17:50:37 +0200 Subject: [Mapserver-users] Proj4 configuration? In-Reply-To: References: Message-ID: <1049730636.3491.4.camel@jeanjacques> On Sat, 2003-04-05 at 23:22, Neel Smith wrote: > msProcessProjection(): Projection library error. no system list, errno: 2 Another possible cause for this error is that the requested EPSG code is not in the share/proj/epsg file at all. hth, thorsten From thfischer@mapmedia.de Mon Apr 7 16:54:30 2003 From: thfischer@mapmedia.de (Thorsten Fischer) Date: 07 Apr 2003 17:54:30 +0200 Subject: [Mapserver-users] Newbie-Problems with swf-output In-Reply-To: <3D62526F8230D211B54A0000CBC0A8A1032B07FB@dc001.blva.bayern.de> References: <3D62526F8230D211B54A0000CBC0A8A1032B07FB@dc001.blva.bayern.de> Message-ID: <1049730870.3489.9.camel@jeanjacques> Thilo, > what for a CGI-Tag i have to use for swf-output? > I tried "mode=browse" and "map"; i implement the Outputformat-Object in the > mapfile, but i don't get a swf-file. otherwise i get with "gif" in this > object a image...(For my experiment i used the 3.5 Tutorial and changed the > files in Section 1 Example 1) > > > Can someone help me or post a link to a tutorial? Check the mapserver mapfile documentation for an explanation of the OUTPUTFORMAT parameters. You can give details about supported output formats, and then you specify which of the formats you want to use for output. AFAIK, there is no URL parameter to ask for a particular format. Why not, btw? :) hth, thorsten From palle@mail-online.dk Mon Apr 7 15:21:32 2003 From: palle@mail-online.dk (Palle Due Larsen) Date: Mon, 07 Apr 2003 16:21:32 +0200 Subject: [Mapserver-users] Appending a shapefile In-Reply-To: <001e01c2fa16$2a72b420$0101a8c0@HSGIS> References: <001d01c2f9cf$7c68e1b0$5b051fac@w3469> <001e01c2fa16$2a72b420$0101a8c0@HSGIS> Message-ID: It is implemented in Perl Mapscript. I use for adding shapes. It is also possible to implement a simple type of locking, so that only one user can update at a time. Best regards Palle Due Larsen Carl Bro as -----Original Message----- From: "Stepan Kafka" To: , Date: Thu, 3 Apr 2003 21:21:02 +0200 Subject: RE: [Mapserver-users] Appending a shapefile > You can use ms_newShapefileObj function with type = -2 (see > documentation). > I use it frequently to add new shapes (point, line, poly) to > shapefile. > Remember, you have to add new record to dbase by your own! It work > well in > PHP-mapscript, I don't know, if it is implemented in other languages. > > Stepan Kafka > Help Service Remote Sensing > tel: +420-327514118 > mailto:kafka@email.cz > http://www.bnhelp.cz > > > -----Pùvodní zpráva----- > > Od: mapserver-users-admin@lists.gis.umn.edu > > [mailto:mapserver-users-admin@lists.gis.umn.edu]za uživatele Dylan > > Rawlins > > Odesláno: 3. dubna 2003 12:55 > > Komu: mapserver-users@lists.gis.umn.edu > > Pøedmìt: [Mapserver-users] Appending a shapefile > > > > > > I need to find a way of creating a shapefile that allows users to > > add points > > to the file as well as attribute information that is collected > > from a form. > > I have managed to set it all up and it works fine except that it > > only allows > > one point (the latest one) to be stored. What I need to be able to > do is > > append to the theme rather than re-create it every time. > > > > What I am doing at the moment is storing each x and y coord in > > the dbf file > > as it is added - along with other attribute info. Then when the > > user clicks > > a point on the map I run a loop through the dbf file. The loop > reads each > > record and re-creates each point. Once the loop is finished I > > create the new > > point that has just been clicked and at the same time I update > > the dbf file > > with the new point's x and y etc. This is a bit messy but it works. > > > > Is there any better way of doing this? > > > > Many thanks > > Dylan > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users@lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Få en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille brugerundersøgelse på nettet, og vind et gavekort på 50.000 kroner..! www.directoffice.dk/konkurrence From bplatzen@sosnetz.de Mon Apr 7 16:04:18 2003 From: bplatzen@sosnetz.de (Bjoern Platzen) Date: Mon, 7 Apr 2003 16:04:18 +0100 Subject: [Mapserver-users] once again compiling with TTF-Support Message-ID: <200304071704.18596.bplatzen@sosnetz.de> Hi all, I'm fighting with the TTF-Support for MapServer 3.6.4. I'm using Freetype 2.1.4rc2, a patched gd 2.0.7 on a SuSE Linux 8.0 Box. I compiled the GD and it said: ** Configuration summary for gd 2.0.7: Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Xpm library: yes Then I compiled the MapServer and it said using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from /home/platzen/download/gd-2.0.7gif/. Now it seemed to me as if everything should be right, but it isn't! The CGI-Output still tells me: loadlabel(): Unknown identifier. Keyword FONT is not valid without TrueType font support. Is there anything else, that I forgot?? Any help would be really great... Thanks in advance, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de From agalasso@gndci.cs.cnr.it Mon Apr 7 15:55:51 2003 From: agalasso@gndci.cs.cnr.it (Alessandro Galasso) Date: Mon, 7 Apr 2003 16:55:51 +0200 Subject: [Mapserver-users] Appending a shapefile References: <001d01c2f9cf$7c68e1b0$5b051fac@w3469> <200304030833.49489.jshorie@medinaco.org> Message-ID: <00b501c2fd15$c8468300$1900a8c0@labtel.net> Hi Jon. Where can i find info on how to use a database insteed of .dbf files ? Which DBMS are supported? Ragards, --- Alessandro Galasso ----- Original Message ----- From: "Jon Shorie" To: Sent: Thursday, April 03, 2003 3:33 PM Subject: Re: [Mapserver-users] Appending a shapefile > > You may want to store the data in Mysql or another low end database rather > than .dbf files. This would permit you to not have to rebuild the dbf every > time you add a point. You would just issue an sql insert command to add the > point to the database. From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Mon Apr 7 16:22:28 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Mon, 7 Apr 2003 11:22:28 -0400 Subject: [Mapserver-users] Appending a shapefile Message-ID: <7CDD7B94357FD5119E800002A537C46E23072F@s5-ccr-r1.ccrs.nrcan.gc.ca> The preferred/coolest one is PostGIS: http://postgis.refractions.net It's the spatial extension to PostgreSQL. MapServer can also support Oracle Spatial and SDE ... If neither of those is acceptable to you, you can use mapscript and any database system supported by the language you use (Perl, PHP, Python) ... J.F. -----Original Message----- From: Alessandro Galasso [mailto:agalasso@gndci.cs.cnr.it] Sent: Monday, April 07, 2003 10:56 AM To: jshorie@medinaco.org Cc: Mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Appending a shapefile Hi Jon. Where can i find info on how to use a database insteed of .dbf files ? Which DBMS are supported? Ragards, --- Alessandro Galasso ----- Original Message ----- From: "Jon Shorie" To: Sent: Thursday, April 03, 2003 3:33 PM Subject: Re: [Mapserver-users] Appending a shapefile > > You may want to store the data in Mysql or another low end database rather > than .dbf files. This would permit you to not have to rebuild the dbf every > time you add a point. You would just issue an sql insert command to add the > point to the database. _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pwpeterson@iesc.net Mon Apr 7 16:22:24 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Mon, 7 Apr 2003 10:22:24 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? In-Reply-To: <5.2.0.9.0.20030406171607.00ad9e80@mail.greenwoodmap.com> Message-ID: Rich, Thank you for your response I should have been more specific... My .map file is in /var/www/html/tutorial/s3/ The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache server html from /var/www/html I give the tmp directory +777 permission which is drwxrwxrwx. All the images should be placed in /var/www/html/tmp, however, only the map image is. I found the others (ref, leg and .qy) in /var/tmp! I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes to IMAGEPATH and IMAGURL: IMAGEPATH "tmp/" IMAGEURL "/tutorial35/s3/tmp/" Again, the only image that shows up there is the map image and I can't find the others anywhere. Is this a bug with 3.7? Paul ================================================ Rich's response: The images for the map, reference map, legend, and query files will all be saved to the IMAGEPATH directory, which is relative to the .map file. So in your case it looks like your map file is in /var/www/html/tutorial35 and ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit mapserver and see where the images files appear, because what you describe below does not quite make sense. Rich At 06:02 PM 4/6/2003 -0500, you wrote: >Hello all. > >I wrote yesterday regarding a problem with my legends and reference images >not showing up. Does MapServer (3.7) store all generated images in the the >same tmp directory. I am testing out the Tutorial35 demo app and it is >located at /var/www/html/tutorial35. I have a tmp directory >/var/www/html/tmp where only the map png files are showing up. I was trying >out the cashed query and discovered that the legend, reference and *.qy >files where being stored in /var/tmp. > >Where in the map file does the directory for the legend, reference and .qy >files get set? If MapServer is smart enough to store these files there why >isn't it smart enough to download them from there as well? > >A snippet of the map file follows: > >NAME S3EX4 >EXTENT -97.5 41.619778 -82.122902 49.38562 >SIZE 400 300 >SHAPEPATH "../data" >FONTSET "../fonts/fonts.list" >SYMBOLSET "../symbols/symbols35.sym" > >WEB > HEADER header.html > TEMPLATE s3ex4.html > FOOTER footer.html > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > LOG /var/www/html/mapserver.log >END > >Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >not the legend, reference ro .qy files. > >Any ideas what I am doing wrong? > >Paul Peterson > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Richard W. Greenwood, PLS (307) 733-0203 Rich@GreenwoodMap.com www.GreenwoodMap.com From TMitchell@lignum.com Mon Apr 7 16:35:47 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Mon, 7 Apr 2003 08:35:47 -0700 Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ? Message-ID: Hi all, I updated from cvs over the weekend to the latest greatest, adding curl, etc as per migration instructions for 3.7. >From within my gmap application I'm getting the notice: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so: undefined symbol: curl_multi_info_read in /var/www/gmap/htdocs/gmap75.phtml on line 63 Anyone give me some pointers on what problems: curl_multi_info_read ...is related to? TM From TMitchell@lignum.com Mon Apr 7 16:38:07 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Mon, 7 Apr 2003 08:38:07 -0700 Subject: [Mapserver-users] once again compiling with TTF-Support Message-ID: Bjoern, Give us a snippit from your map file for the layer that you are using the font in, that will help debug the problem. TM Bjoern Platzen To: mapserver-users@lists.gis.umn.edu Sent by: cc: mapserver-users-admin@lists. Fax to: gis.umn.edu Subject: [Mapserver-users] once again compiling with TTF-Support 04/07/2003 08:04 AM Hi all, I'm fighting with the TTF-Support for MapServer 3.6.4. I'm using Freetype 2.1.4rc2, a patched gd 2.0.7 on a SuSE Linux 8.0 Box. I compiled the GD and it said: ** Configuration summary for gd 2.0.7: Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: yes Support for Xpm library: yes Then I compiled the MapServer and it said using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from /home/platzen/download/gd-2.0.7gif/. Now it seemed to me as if everything should be right, but it isn't! The CGI-Output still tells me: loadlabel(): Unknown identifier. Keyword FONT is not valid without TrueType font support. Is there anything else, that I forgot?? Any help would be really great... Thanks in advance, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From gerry.creager@tamu.edu Mon Apr 7 16:45:51 2003 From: gerry.creager@tamu.edu (Gerry Creager N5JXS) Date: Mon, 07 Apr 2003 10:45:51 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? References: Message-ID: <3E919D2F.4020403@tamu.edu> May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Mon Apr 7 16:49:35 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Mon, 7 Apr 2003 11:49:35 -0400 Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Message-ID: <7CDD7B94357FD5119E800002A537C46E230730@s5-ccr-r1.ccrs.nrcan.gc.ca> Tyler, I don't know about this specific error, but make sure you have LibCURL >= 7.10 ... Also, make sure your php_mapscript_37.so is linked against libcurl by doing a "ldd php_mapscript_37.so" and checking the output of that command (Should work on Linux and Solaris at least). Hope this helps, J.F. -----Original Message----- From: Tyler Mitchell [mailto:TMitchell@lignum.com] Sent: Monday, April 07, 2003 11:36 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ? Hi all, I updated from cvs over the weekend to the latest greatest, adding curl, etc as per migration instructions for 3.7. >From within my gmap application I'm getting the notice: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so ' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so: undefined symbol: curl_multi_info_read in /var/www/gmap/htdocs/gmap75.phtml on line 63 Anyone give me some pointers on what problems: curl_multi_info_read ...is related to? TM _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mcilhagga@dmsolutions.ca Mon Apr 7 16:51:48 2003 From: mcilhagga@dmsolutions.ca (Dave McIlhagga) Date: Mon, 07 Apr 2003 11:51:48 -0400 Subject: [Mapserver-users] Ottawa MapServer Users Group Message-ID: <3E919E94.8020903@dmsolutions.ca> Hi, I'm just quickly passing along news of the formation of a MapServer & MapLab users group for the Ottawa Region. I believe I'm familiar with most users from the area, but in case I missed you and you are from the area -- I would encourage you to participate. There is a mailing list you can subscribe to at: http://lists.dmsolutions.ca/mailman/listinfo/mapserver-ottawa Also, we're planning an initial meeting next week. Details can be found here: http://lists.dmsolutions.ca/pipermail/mapserver-ottawa/2003-April/000001.html Thanks, -- Dave McIlhagga http://www.dmsolutions.ca From pwpeterson@iesc.net Mon Apr 7 17:01:49 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Mon, 7 Apr 2003 11:01:49 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO In-Reply-To: <3E919D2F.4020403@tamu.edu> Message-ID: Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From gadoury@dmsolutions.ca Mon Apr 7 17:19:45 2003 From: gadoury@dmsolutions.ca (Dean Gadoury) Date: Mon, 07 Apr 2003 12:19:45 -0400 Subject: [Mapserver-users] Raster classification References: <3D62526F8230D211B54A0000CBC0A8A1032B07FB@dc001.blva.bayern.de> <1049730870.3489.9.camel@jeanjacques> Message-ID: <3E91A521.3060706@dmsolutions.ca> I have a raster image in ArcInfo binary grid format that I need to classify. For all classes for pixel values greater that zero I have no trouble, using the following code, for example: CLASS NAME "4 " EXPRESSION ([pixel] = 4) COLOR 156 207 206 END However, I have pixels with a value of 0 in the raster image. It seems that pixels with a value of 0 as well as those with no value are classified the same way, so those pixels get lost in the background. Without reclassifying those pixels is there anything I can do? From TMitchell@lignum.com Mon Apr 7 17:23:48 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Mon, 7 Apr 2003 09:23:48 -0700 Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Message-ID: Thanks JF, I've got curl 7.10.4 and did the ldd check, things look fine there, but still no go. I'll pick away some more. Thanks again. ------------------------- [root@home no-debug-non-zts-20020429]# ldd php_mapscript_37.so libcurl.so.2 => /usr/lib/libcurl.so.2 (0x400d2000) libz.so.1 => /lib/libz.so.1 (0x400f3000) libssl.so.0 => /usr/lib/libssl.so.0 (0x40102000) libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x40130000) libdl.so.2 => /lib/libdl.so.2 (0x401eb000) libming.so => /usr/lib/libming.so (0x401ee000) libpq.so.2 => /usr/lib/libpq.so.2 (0x4022e000) libgdal.1.1.so => /usr/local/lib/libgdal.1.1.so (0x40241000) libproj.so.0 => /usr/local/lib/libproj.so.0 (0x404dc000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40518000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40539000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4057a000) libpdf.so.1 => /usr/local/lib/libpdf.so.1 (0x405a3000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x4065e000) libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40696000) libm.so.6 => /lib/libm.so.6 (0x406e4000) libc.so.6 => /lib/libc.so.6 (0x40706000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40842000) libresolv.so.2 => /lib/libresolv.so.2 (0x4086f000) libnsl.so.1 => /lib/libnsl.so.1 (0x40881000) libungif.so.4 => /usr/lib/libungif.so.4 (0x40897000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x408a0000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x408af000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Jean-Francois.Doyon@CCRS. NRCan.gc.ca To: TMitchell@lignum.com, mapserver-users@lists.gis.umn.edu cc: 04/07/2003 08:49 AM Fax to: Subject: RE: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Tyler, I don't know about this specific error, but make sure you have LibCURL >= 7.10 ... Also, make sure your php_mapscript_37.so is linked against libcurl by doing a "ldd php_mapscript_37.so" and checking the output of that command (Should work on Linux and Solaris at least). Hope this helps, J.F. -----Original Message----- From: Tyler Mitchell [mailto:TMitchell@lignum.com] Sent: Monday, April 07, 2003 11:36 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ? Hi all, I updated from cvs over the weekend to the latest greatest, adding curl, etc as per migration instructions for 3.7. >From within my gmap application I'm getting the notice: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so ' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so: undefined symbol: curl_multi_info_read in /var/www/gmap/htdocs/gmap75.phtml on line 63 Anyone give me some pointers on what problems: curl_multi_info_read ...is related to? TM _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Jean-Francois.Doyon@CCRS.NRCan.gc.ca Mon Apr 7 17:34:14 2003 From: Jean-Francois.Doyon@CCRS.NRCan.gc.ca (Jean-Francois.Doyon@CCRS.NRCan.gc.ca) Date: Mon, 7 Apr 2003 12:34:14 -0400 Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Message-ID: <7CDD7B94357FD5119E800002A537C46E230733@s5-ccr-r1.ccrs.nrcan.gc.ca> Tyler, Hmmm, my version of 3.7, which is several weeks old, refers to that symbol from maphttp.c ... I have libcurl 7.10.2, and had no problems. It could be you downloaded the CVS version at a bad time and something is broken ... Try to find out where that symbol is refered to from the MS source code, and maybe look at the last modified date on the relevant files. Might also want to look at the configure options for curl, maybe you neeed something specific there (such as "--enable-http")? J.F. -----Original Message----- From: Tyler Mitchell [mailto:TMitchell@lignum.com] Sent: Monday, April 07, 2003 12:24 PM To: Jean-Francois.Doyon@CCRS.NRCan.gc.ca Cc: mapserver-users@lists.gis.umn.edu Subject: RE: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Thanks JF, I've got curl 7.10.4 and did the ldd check, things look fine there, but still no go. I'll pick away some more. Thanks again. ------------------------- [root@home no-debug-non-zts-20020429]# ldd php_mapscript_37.so libcurl.so.2 => /usr/lib/libcurl.so.2 (0x400d2000) libz.so.1 => /lib/libz.so.1 (0x400f3000) libssl.so.0 => /usr/lib/libssl.so.0 (0x40102000) libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x40130000) libdl.so.2 => /lib/libdl.so.2 (0x401eb000) libming.so => /usr/lib/libming.so (0x401ee000) libpq.so.2 => /usr/lib/libpq.so.2 (0x4022e000) libgdal.1.1.so => /usr/local/lib/libgdal.1.1.so (0x40241000) libproj.so.0 => /usr/local/lib/libproj.so.0 (0x404dc000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40518000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40539000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4057a000) libpdf.so.1 => /usr/local/lib/libpdf.so.1 (0x405a3000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x4065e000) libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x40696000) libm.so.6 => /lib/libm.so.6 (0x406e4000) libc.so.6 => /lib/libc.so.6 (0x40706000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40842000) libresolv.so.2 => /lib/libresolv.so.2 (0x4086f000) libnsl.so.1 => /lib/libnsl.so.1 (0x40881000) libungif.so.4 => /usr/lib/libungif.so.4 (0x40897000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x408a0000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x408af000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) Jean-Francois.Doyon@CCRS. NRCan.gc.ca To: TMitchell@lignum.com, mapserver-users@lists.gis.umn.edu cc: 04/07/2003 08:49 AM Fax to: Subject: RE: [Mapserver-users] php_mapscript from cvs undefined symbol: cu rl_multi_info_read ? Tyler, I don't know about this specific error, but make sure you have LibCURL >= 7.10 ... Also, make sure your php_mapscript_37.so is linked against libcurl by doing a "ldd php_mapscript_37.so" and checking the output of that command (Should work on Linux and Solaris at least). Hope this helps, J.F. -----Original Message----- From: Tyler Mitchell [mailto:TMitchell@lignum.com] Sent: Monday, April 07, 2003 11:36 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ? Hi all, I updated from cvs over the weekend to the latest greatest, adding curl, etc as per migration instructions for 3.7. >From within my gmap application I'm getting the notice: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so ' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so: undefined symbol: curl_multi_info_read in /var/www/gmap/htdocs/gmap75.phtml on line 63 Anyone give me some pointers on what problems: curl_multi_info_read ...is related to? TM _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From jshorie@medinaco.org Mon Apr 7 18:03:08 2003 From: jshorie@medinaco.org (Jon Shorie) Date: Mon, 7 Apr 2003 12:03:08 -0500 Subject: [Mapserver-users] Appending a shapefile In-Reply-To: <00b501c2fd15$c8468300$1900a8c0@labtel.net> References: <001d01c2f9cf$7c68e1b0$5b051fac@w3469> <200304030833.49489.jshorie@medinaco.org> <00b501c2fd15$c8468300$1900a8c0@labtel.net> Message-ID: <200304071303.08221.jshorie@medinaco.org> It depends on what language you are using. If you are working with the perl mapscript, you can use mysql, postgres, informix, oracle, firebird, or interbase (there are probably others). You access these through the dbi and dbd interface. After searching google, I found the following site that may be helpful: http://www.oreilly.com/catalog/msql/chapter/ch10.html It gives a pretty good overview of the dbi/dbd interface. On Monday 07 April 2003 10:55, Alessandro Galasso wrote: > Hi Jon. > Where can i find info on how to use a database insteed of .dbf files ? > Which DBMS are supported? > > Ragards, > --- > Alessandro Galasso > > > ----- Original Message ----- > From: "Jon Shorie" > To: > Sent: Thursday, April 03, 2003 3:33 PM > Subject: Re: [Mapserver-users] Appending a shapefile > > > You may want to store the data in Mysql or another low end database > > rather than .dbf files. This would permit you to not have to rebuild the > > dbf > > every > > > time you add a point. You would just issue an sql insert command to add > > the > > > point to the database. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From marc.jacquin@geosys-inc.com Mon Apr 7 17:45:45 2003 From: marc.jacquin@geosys-inc.com (Marc Jacquin) Date: Mon, 7 Apr 2003 18:45:45 +0200 Subject: [Mapserver-users] TTF in legends and scalebars Message-ID: Should we add a Label to the Legend to display items with a TTF ? Thanks Marc From jhart@frw.uva.nl Mon Apr 7 18:03:01 2003 From: jhart@frw.uva.nl (Jan Hartmann) Date: Mon, 07 Apr 2003 19:03:01 +0200 Subject: [Mapserver-users] (Anti)geocoding and projections... In-Reply-To: <13858AA1A74F30419F319ACB66A9D122019671@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D122019671@mercator.topozone.com> Message-ID: <3E91AF45.5030902@frw.uva.nl> Ed McNierney wrote: > If you a comfortable doing the distance calculations like this in > degrees, you can get a much better result relatively easily by > multiplying delta longitude by the cosine of the average latitude. > This is still not accurate , but it's much better and should work > pretty well for short distances. It's not a geodetically precise > solution, but I'm suggesting it in case you need a simple calculation > that's not too bad. > Another method is projecting lat-lon values to the Azimuthal Equidistant projection with central latitude and longitude at the point you are measuring from. A characteristic of the AEQD is that all distances and directions from the center point outward are accurate. With Warsaw as center point that would be (with command line PROJ): proj +proj=aeqd +lon0=21d0 +lat_0=43d10 The coordinates returned for Warsaw are obviously 0 0, as this is the center of projection. The coordinates for e.g. Amsterdam with these parameters are -1088.017 132.852. The distance is sqrt(1088^2 + 132^2) = 1096 km There are several sites generating interactive maps in this projection from a user chosen center, e.g for radio amateurs needing to know distances and bearings measured from their own site (http://www.wm7d.net/az_proj/az_html/azproj.shtml). In advertising, this projection is used to make maps centered on tourist destinations, to show visitors how accessible the site is and how many other attractions are located nearby and in what direction. Note that with PROJ this only works for locations on the hemisphere around the chosen center point. Points farther away "wrap around", i.e. show increasingly smaller distances, until the point at the exact opposite of the globe has distance zero. I am not sure how MapServer handles these cases: they don't look completely wrapped around, but they also don't look like published maps as far as the outer hemisphere is concerned. A problem with the AEQD maps is that shape is distorted increasingly from the center. A comparable projection is the Two Points Equidistant projection, for which two control points have to be specified. Distances are correct from both points to any other point on the map. Moreover, distortion is minimal within the region of the two chosen points, PROVIDED these are within 45 degrees of each other. Direction however varies more than with the AEQD. The PROJ command (with Warsaw and Amsterdam as control points) would be: proj +proj=tpeqd +lon_1=21d0 +lat_1=52d15 +lon_2=4d54 +lat_2=52d21 A MapServer map with these parameters has minimal shape distortion for North-West and Middle Europe and shows all distances to both cities correctly. Directions are distorted somewhat, but for this region this is scarcely noticeable. This projection gives correct results in PROJ for distances larger than a hemisphere: distance Warsaw-Melbourne: 15474 km. I'm not sure how exact it is; it seems to have been used by Bell telephone for calculating costs for long distance calls, so it's probably not far off the mark. Jan Ed McNierney wrote: > Krzysztof - > > A lot depends on how accurate you need to be, but no, I don't think using degrees as if they were square is a good idea. Take your example (Warsaw, Poland). It's at 52.25 degrees North latitude. In Warsaw, one degree of latitude is 111 km, but one degree of longitude is only 68 km. Computing simple distance as sqrt ((delta latitude) ^ 2 + (delta longitude) ^ 2) will give you very incorrect numbers. > > If you a comfortable doing the distance calculations like this in degrees, you can get a much better result relatively easily by multiplying delta longitude by the cosine of the average latitude. This is still not accurate , but it's much better and should work pretty well for short distances. It's not a geodetically precise solution, but I'm suggesting it in case you need a simple calculation that's not too bad. > > - Ed > > Ed McNierney > President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > ed@topozone.com > (978) 251-4242 > > -----Original Message----- > From: Krzysztof Chodak [mailto:k.chodak@autoguard.pl] > Sent: Friday, April 04, 2003 3:46 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] (Anti)geocoding and projections... > > > Hello again, > > as usual - have anyone of you got some tips... > > I'm trying to make simple (anti)geocoding application (it must describe > geographic coordinates in text from available layers). > I got conceptual problems with projectioning. As my app should find a shape > nearest to given point i must be able to tell what is the actual ground > distance between this to shapes. It will be a part of final string (f.e. > "Poland, Warsaw (10km from centre)"). Currently I use "raw" unprojected > WGS84 layers and I use standard MS functions to find closest shape - but > closest in degrees. I could use great circle calculation to find proper > distance in meters. > > Do you think that degrees seach is a proper way to find closest shape? > > Best regards > > Krzysztof Chodak > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > Jan Hartmann Department of Geography University of Amsterdam jhart@frw.uva.nl From bplatzen@sosnetz.de Mon Apr 7 18:51:15 2003 From: bplatzen@sosnetz.de (Bjoern Platzen) Date: Mon, 7 Apr 2003 18:51:15 +0100 Subject: [Mapserver-users] once again compiling with TTF-Support In-Reply-To: References: Message-ID: <200304071951.15303.bplatzen@sosnetz.de> Hello Tyler, Am Montag, 7. April 2003 17:38 schrieb Tyler Mitchell: > Bjoern, > Give us a snippit from your map file for the layer that you are using > the font in, that will help debug the problem. > Here is it: # # Start of map file # NAME wtal1 STATUS ON SIZE 400 400 SYMBOLSET symbols/symbols.sym #FONTSET font/font.list EXTENT 2579338.972431 5678689.425632 2584838.972431 5684196.944428 UNITS METERS SHAPEPATH "dds_data" IMAGECOLOR 250 250 250 fontset "font/font.list" # # Start of web interface definition # WEB TEMPLATE rahmen.html MINSCALE 3500 MAXSCALE 200000 IMAGEPATH "/webspace/Sites/parkinfo/htdocs/tmp/" IMAGEURL "tmp/" LOG "/webspace/Sites/parkinfo/htdocs/mg.log" error "http://parkinfo.office.sos/error.htm" END LAYER NAME stadtteile TYPE POLYGON STATUS ON MINSCALE 12000 DATA stadtteile LABELITEM "Name" CLASS LABEL TYPE truetype FONT arial ANTIALIAS TRUE PARTIALS FALSE POSITION uc SIZE LARGE COLOR 0 0 0 END #LABEL END #CLASS END #LAYER END # Map File And here is the font.list: arial arial.ttf arial-bold arialbd.ttf arial-italic ariali.ttf arial-bold-italic arialbi.ttf arial_black ariblk.ttf I really hope, that you find something wrong in here... Thanks in advance, Bjoern -- small office solutions info@sosnetz.de - http://www.sosnetz.de From ARyan@co.linn.or.us Mon Apr 7 19:02:50 2003 From: ARyan@co.linn.or.us (Ryan, Adam) Date: Mon, 7 Apr 2003 11:02:50 -0700 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Message-ID: <614FCE5F14A6D41180C200010240D6A20132968A@LINNMS> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C2FD2F.E7640FE0 Content-Type: text/plain; charset="iso-8859-1" Paul, Why not use an absolute imagepath rather than a relative one so there is no question as to where mapservr is writing to. Use a drive location, not a web location, ie: c:\apache\...). Adam Ryan Linn County -----Original Message----- From: Paul Peterson [mailto:pwpeterson@iesc.net] Sent: Monday, April 07, 2003 9:02 AM To: Gerry Creager N5JXS; mapserver Subject: RE: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ------_=_NextPart_001_01C2FD2F.E7640FE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Mapserver-users] Where are legend, reference and .qy = images stored? MORE INFO

Paul,

Why not use an absolute imagepath rather than a = relative one so there is no question as to where mapservr is writing = to.  Use a drive location, not a web location, ie: = c:\apache\...).

Adam Ryan
Linn County

-----Original Message-----
From: Paul Peterson [mailto:pwpeterson@iesc.net]
Sent: Monday, April 07, 2003 9:02 AM
To: Gerry Creager N5JXS; mapserver
Subject: RE: [Mapserver-users] Where are legend, = reference and .qy
images stored? MORE INFO


Gerry, et al...

I did some more testing.  I discovered to get = the ref, leg and *.qy files
stored the IMAGEPATH directory MUST be assigned the = ownership and group of
the web server.  In my case when I changed both = of these to 'apache' the
images were generated and stored, however, again = they are showing up in
/var/tmp!!!!  They never get displayed along = with the map image because the
process tries to get them from /var/www/html/tmp as = it should.

My .map file is in /var/www/html/tutorial/s3/
Expected tmp directory /var/www/html/tmp
The IMAGEPATH and IMAGEURL are:
IMAGEPATH "../../tmp/"
IMAGEURL "/tmp/"

Apache serves html from /var/www/html

Paul Peterson



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Gerry's response:

May be a 3.7 "feature"... I've not seen = image evolution here, either.

gerry

Paul Peterson wrote:
> Rich, Thank you for your response
>
> I should have been more specific...
>
> My .map file is in = /var/www/html/tutorial/s3/
> The IMAGEPATH and IMAGEURL are:
> IMAGEPATH "../../tmp/"
> IMAGEURL "/tmp/"
>
> Apache server html from /var/www/html
>
> I give the tmp directory +777 permission which = is drwxrwxrwx.
>
> All the images should be placed in = /var/www/html/tmp, however, only the
map
> image is.  I found the others (ref, leg = and .qy) in /var/tmp!
>
> I add a tmp directory = (/var/www/html/tutorial/s3/tmp) and made these
changes
> to IMAGEPATH and IMAGURL:
> IMAGEPATH "tmp/"
> IMAGEURL "/tutorial35/s3/tmp/"
>
> Again, the only image that shows up there is = the map image and I can't
find
> the others anywhere.
>
> Is this a bug with 3.7?
>
>
> Paul
>
>
>
>
> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> Rich's response:
>
> The images for the map, reference map, legend, = and query files will all be
> saved to the IMAGEPATH directory, which is = relative to the .map file. So
in
> your case it looks like your map file is in = /var/www/html/tutorial35 and
> ../../tmp/ would put you at /var/tmp/. Is your = webserver aliasing /tmp to
> /var/tmp/? Check the time stamps on the files = in /var/www/html/tmp. Try
> seleting everything in both /var/tmp/ and  = /var/www/html/tmp and then hit
> mapserver and see where the images files = appear, because what you describe
> below does not quite make sense.
>
> Rich
>
> At 06:02 PM 4/6/2003 -0500, you wrote:
>
>
>>Hello all.
>>
>>I wrote yesterday regarding a problem with = my legends and reference images
>>not showing up.  Does MapServer (3.7) = store all generated images in the
the
>>same tmp directory.  I am testing out = the Tutorial35 demo app and it is
>>located at /var/www/html/tutorial35.  I = have a tmp directory
>>/var/www/html/tmp where only the map png = files are showing up.  I was
>
> trying
>
>>out the cashed query and discovered that the = legend, reference and *.qy
>>files where being stored in /var/tmp.
>>
>>Where in the map file does the directory for = the legend, reference and .qy
>>files get set?  If MapServer is smart = enough to store these files there
why
>>isn't it smart enough to download them from = there as well?
>>
>>A snippet of the map file follows:
>>
>>NAME S3EX4
>>EXTENT -97.5 41.619778 -82.122902 = 49.38562
>>SIZE 400 300
>>SHAPEPATH "../data"
>>FONTSET = "../fonts/fonts.list"
>>SYMBOLSET = "../symbols/symbols35.sym"
>>
>>WEB
>>  HEADER header.html
>>  TEMPLATE s3ex4.html
>>  FOOTER footer.html
>>  IMAGEPATH = "../../tmp/"
>>  IMAGEURL "/tmp/"
>>  LOG = /var/www/html/mapserver.log
>>END
>>
>>Again the IMAGEPATH and IMAGEURL as defined = above work for the map png,
but
>>not the legend, reference ro .qy = files.
>>
>>Any ideas what I am doing wrong?
>>
>>Paul Peterson
>>
>>_______________________________________________
>>Mapserver-users mailing list
>>Mapserver-users@lists.gis.umn.edu
>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-us= ers
>
>
> Richard W. Greenwood, PLS
> (307) 733-0203
> Rich@GreenwoodMap.com
> www.GreenwoodMap.com
>
> = _______________________________________________
> Mapserver-users mailing list
> Mapserver-users@lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-us= ers


--
Gerry Creager -- gerry.creager@tamu.edu
Network Engineering -- AATLT, Texas A&M = University
Cell: 979.229.5301 Office: 979.458.4020 FAX: = 979.847.8578
Page: 979.228.0173
Office: 903A Eller Bldg, TAMU, College Station, TX = 77843


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-us= ers

------_=_NextPart_001_01C2FD2F.E7640FE0-- From steve.lime@dnr.state.mn.us Mon Apr 7 19:37:01 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Mon, 07 Apr 2003 13:37:01 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Message-ID: Remember that ../.. is relative to where the CGI program lives, not where the web page or map file lives. In 3.7 there is no more crazy chdir() going on. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 11:01AM >>> Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pwpeterson@iesc.net Mon Apr 7 22:21:20 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Mon, 7 Apr 2003 16:21:20 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO In-Reply-To: Message-ID: Steve, Thank you for the insight, however... My experience with 3.7 is that the map images are placed in one directory and the ref, leg and .qy files are being placed in another. Is this suppose to be the case with 3.7? I can get either the map image to show OR the reference and legend images to show, but not both at the same time. My .map file is in /var/www/html/tutorial/s3/ IMAGEPATH "../tmpMaps/" IMAGEURL "/tmpMaps/" I am running Redhat 8.0 Apached 2.0.40 DocumentRoot: /var/www/html ScriptAlias: /cgi-bin/ /var/www/cgi-bin/ I created /var/www/tmpMaps and added the following to httpd.conf Alias: /tmpMaps/ /var/www/tmpMaps/ after which the legend and reference images displayed but the map did not. I ran my test and did a search on the server's directory for the map image but nothing turned up. I then created /var/www/html/tutorial35/tmpMaps and ran my tests again. The legend and reference images where created in /var/www/tmpMaps and displayed as expected, and the map image was created in /var/www/html/tutorial35/tmpMaps but did not display. What am I doing wrong? Why can't I get everything to show up at the same time? Paul Peterson -----Original Message----- From: Steve Lime [mailto:steve.lime@dnr.state.mn.us] Sent: Monday, April 07, 2003 1:37 PM To: pwpeterson@iesc.net; mapserver-users@lists.gis.umn.edu; gerry.creager@tamu.edu Subject: RE: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Remember that ../.. is relative to where the CGI program lives, not where the web page or map file lives. In 3.7 there is no more crazy chdir() going on. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 11:01AM >>> Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From collao_andres@hotmail.com Mon Apr 7 23:11:57 2003 From: collao_andres@hotmail.com (=?iso-8859-1?B?QW5kculzIENvbGxhbw==?=) Date: Mon, 07 Apr 2003 22:11:57 +0000 Subject: [Mapserver-users] [maplab-users] Symbol Message-ID: this message to seems whichever attempt to define a symbol in MAPLAB Rc5 "no SYMBOLSET or invalid path in map object Symbol Picker npt available" and when using Mapbrowser it appears the following message Can't display symbol preview, empty symbol file in Map File. in /maplab/htdocs/mapedit/symbol.php But this is a one part of my problems. But when defining the route of the symbols appears the following messages of error Warning: MapServer Error in getSymbol(): (LOCAL):(114) in c:\foxserv\www\maplab\htdocs\common\wrapper\map_session.php on line 208 Fatal error: Failed to open map file c:/windows/temp/1049753420-5064.map in c:\foxserv\www\maplab\htdocs\common\wrapper\map_session.php on line 208 Warning: MapServer Error in loadSymbol(): Symbol of type VECTOR or ELLIPSE has no point data. in c:\foxserv\www\maplab\htdocs\common\wrapper\map_session.php on line 208 Fatal error: Failed to open map file c:/foxserv/www///prueba///demo.map in c:\foxserv\www\maplab\htdocs\common\wrapper\map_session.php on line 208 and I don't can see the map!!! Somebody have any idea... thanks Atte. --------------- Andrés Collao. --------------- collao_andres@hotmail.com :-- Il peggior nemico del succeso è la pauta del fallimiento _________________________________________________________________ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/ From steve.lime@dnr.state.mn.us Mon Apr 7 23:17:04 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Mon, 07 Apr 2003 17:17:04 -0500 Subject: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Message-ID: Well, everything *should* be heading into the same directory. That's certainly the intention anyway and it was working last time I ran the Itasca demo. Can anyone else out there verify this behavior? Image file names are created by simply concatenating the IMAGEPATH with the filename. That behavior has been the same for many versions. I just took a quick swing through the code and it all looks fine. Can you post full versions of your template and map files? Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 04:21PM >>> Steve, Thank you for the insight, however... My experience with 3.7 is that the map images are placed in one directory and the ref, leg and .qy files are being placed in another. Is this suppose to be the case with 3.7? I can get either the map image to show OR the reference and legend images to show, but not both at the same time. My .map file is in /var/www/html/tutorial/s3/ IMAGEPATH "../tmpMaps/" IMAGEURL "/tmpMaps/" I am running Redhat 8.0 Apached 2.0.40 DocumentRoot: /var/www/html ScriptAlias: /cgi-bin/ /var/www/cgi-bin/ I created /var/www/tmpMaps and added the following to httpd.conf Alias: /tmpMaps/ /var/www/tmpMaps/ after which the legend and reference images displayed but the map did not. I ran my test and did a search on the server's directory for the map image but nothing turned up. I then created /var/www/html/tutorial35/tmpMaps and ran my tests again. The legend and reference images where created in /var/www/tmpMaps and displayed as expected, and the map image was created in /var/www/html/tutorial35/tmpMaps but did not display. What am I doing wrong? Why can't I get everything to show up at the same time? Paul Peterson -----Original Message----- From: Steve Lime [mailto:steve.lime@dnr.state.mn.us] Sent: Monday, April 07, 2003 1:37 PM To: pwpeterson@iesc.net; mapserver-users@lists.gis.umn.edu; gerry.creager@tamu.edu Subject: RE: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Remember that ../.. is relative to where the CGI program lives, not where the web page or map file lives. In 3.7 there is no more crazy chdir() going on. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 11:01AM >>> Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From morissette@dmsolutions.ca Tue Apr 8 00:43:41 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 07 Apr 2003 19:43:41 -0400 Subject: [Mapserver-users] once again compiling with TTF-Support References: <200304071704.18596.bplatzen@sosnetz.de> Message-ID: <3E920D2D.DBD1C563@dmsolutions.ca> I see 2 possibilities: 1- MapServer got linked with an old libmap.a ... check and if you find an old /usr/local/lib/libmap.a on your system then delete it and recompile MapServer. (And avoid using 'make install' with MapServer in the future, 'make install' has some issues and will be gone in future releases) 2- This could be a GD2 vs MapServer 3.6 thing: I dont't think MapServer 3.6.x has been used/tested much with GD2.x... so it's safer to use GD 1.8.x and freetype 1.3 with MapServer 3.6. Daniel Bjoern Platzen wrote: > > Hi all, > > I'm fighting with the TTF-Support for MapServer 3.6.4. > I'm using Freetype 2.1.4rc2, a patched gd 2.0.7 on a SuSE Linux 8.0 Box. > > I compiled the GD and it said: > ** Configuration summary for gd 2.0.7: > > Support for PNG library: yes > Support for JPEG library: yes > Support for Freetype 2.x library: yes > Support for Xpm library: yes > > Then I compiled the MapServer and it said > using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from > /home/platzen/download/gd-2.0.7gif/. > > Now it seemed to me as if everything should be right, but it isn't! The > CGI-Output still tells me: > loadlabel(): Unknown identifier. Keyword FONT is not valid without > TrueType font support. > > Is there anything else, that I forgot?? > > Any help would be really great... > > Thanks in advance, > > Bjoern > -- > small office solutions > info@sosnetz.de - http://www.sosnetz.de > From pwpeterson@iesc.net Tue Apr 8 00:23:21 2003 From: pwpeterson@iesc.net (Paul Peterson) Date: Mon, 7 Apr 2003 18:23:21 -0500 Subject: [Mapserver-users] Where are legend, reference and .qyimages stored? MORE INFO In-Reply-To: Message-ID: Steve, et al. I tested the Itasca demo app and it acts the same way as the 3.5 Tutorial on my system. The legend and reference images end up in /var/www/tmpMaps The map image ends up in /var/www/html/tmpMaps The three files I used in the Itasca demo follow: =============== demo.map =============== # # Start of map file # NAME DEMO STATUS ON SIZE 600 600 EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897 UNITS METERS SHAPEPATH "data" IMAGECOLOR 255 255 255 # you may need to change this to match your MapServer build #IMAGETYPE PNG # # Projection definition, consult the PROJ.4 documentation for parameter discussion # #PROJECTION # "proj=utm" # "ellps=GRS80" # "zone=15" # "north" # "no_defs" # # OR: # # "init=epsg:26915" #END # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" METADATA WMS_TITLE "UMN MapServer Itasca Demo" WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota." WMS_ACCESSCONSTRAINTS none # change this value to match your setup WMS_ONLINERESOURCE "http://192.168.1.199/itasca/demo_init.html" WMS_SRS "EPSG:26915" END END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # # Start of reference map # REFERENCE IMAGE graphics/reference.png EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127 SIZE 120 120 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 END # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 255 255 255 SIZE tiny END STYLE 1 SIZE 80 2 COLOR 255 255 255 UNITS MILES INTERVALS 1 TRANSPARENT TRUE STATUS TRUE END # # Start of symbol definitions (we're only using a few) # SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END # # Start of layer definitions # LAYER NAME ctybdpy2 TYPE POLYGON STATUS DEFAULT DATA ctybdpy2 CLASSITEM 'cty_name' CLASS EXPRESSION 'Itasca' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS # every other county in the state EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END METADATA WMS_TITLE "County Boundary" WMS_ABSTRACT "Itasca County boundary shapefile. See http://deli.dnr.state.mn.us/metadata/full/ctybdne2.html for more information." WMS_SRS "EPSG:26915" END END LAYER NAME mcd90py2 GROUP cities TYPE POLYGON DATA mcd90py2 STATUS OFF CLASSITEM city_name CLASS NAME "Cities & Towns" EXPRESSION /./ COLOR 255 225 90 TEMPLATE "mcd90py2.html" END HEADER "mcd90py2_header.html" FOOTER "mcd90py2_footer.html" DUMP TRUE # allow GML export METADATA WMS_TITLE "Minor Civil Divisions" WMS_ABSTRACT "Minor civil divisions for Itasca County. (boundaries only)" WMS_SRS "EPSG:26915" END END LAYER NAME twprgpy3 TYPE POLYGON DATA twprgpy3 STATUS OFF CLASS SYMBOL 'circle' SIZE 2 NAME 'Townships' OUTLINECOLOR 181 181 145 END METADATA WMS_TITLE "Township Boundaries" WMS_ABSTRACT "Pulic Land Survey (PLS) township boundaries for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/twprgne2.html for more information." WMS_SRS "EPSG:26915" END END LAYER NAME lakespy2 TYPE POLYGON STATUS OFF DATA lakespy2 CLASS NAME 'Lakes & Rivers' TEMPLATE "lakespy2.html" COLOR 49 117 185 END HEADER "lakespy2_header.html" FOOTER "lakespy2_footer.html" TOLERANCE 3 DUMP TRUE # allow GML export METADATA WMS_TITLE "Lakes and Rivers" WMS_ABSTRACT "DLG lake and river polygons for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlglkpy2.html for more information." WMS_SRS "EPSG:26915" END END # lakes LAYER NAME dlgstln2 TYPE LINE STATUS OFF DATA dlgstln2 CLASS NAME "Streams" TEMPLATE "dlgstln2.html" COLOR 49 117 185 END HEADER "dlgstln2_header.html" FOOTER "dlgstln2_footer.html" TOLERANCE 5 DUMP TRUE # allow GML export METADATA WMS_TITLE "Streams" WMS_ABSTRACT "DLG streams for Itasca County. See http://deli.dnr.state.mn.us/metadata/full/dlgstln2.html for more information." WMS_SRS "EPSG:26915" END END # streams LAYER NAME ctyrdln3 GROUP roads MAXSCALE 300000 STATUS OFF DATA ctyrdln3 TYPE LINE CLASS COLOR 0 0 0 END METADATA WMS_TITLE "County Roads" WMS_ABSTRACT "County roads. (lines only) Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # county roads LAYER NAME ctyrdln3_anno GROUP roads MAXSCALE 300000 STATUS OFF DATA ctyrdln3 TYPE ANNOTATION LABELITEM "road_name" CLASS COLOR 255 255 255 SYMBOL 'symbols/ctyhwy.png' LABEL MINFEATURESIZE 40 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END METADATA WMS_TITLE "County Roads" WMS_ABSTRACT "County roads. (shields only) Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # county road annotation LAYER NAME majrdln3 GROUP roads MAXSCALE 600000 STATUS OFF DATA majrdln3 TYPE LINE CLASS NAME "Roads" COLOR 0 0 0 END METADATA WMS_TITLE "Highways" WMS_ABSTRACT "Highways- state, US and interstate. (lines only) Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # highways LAYER NAME majrdln3_anno GROUP roads MAXSCALE 600000 STATUS OFF DATA majrdln3 TYPE ANNOTATION LABELITEM "road_num" CLASSITEM "road_class" CLASS EXPRESSION "3" COLOR 0 0 0 # dummy color SYMBOL 'symbols/sthwy.png' LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END CLASS EXPRESSION "2" COLOR 0 0 0 # dummy color SYMBOL 'symbols/ushwy.png' LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 0 0 0 END END CLASS EXPRESSION "1" COLOR 0 0 0 # dummy color SYMBOL 'symbols/interstate.png' LABEL MINFEATURESIZE 50 MINDISTANCE 150 POSITION CC SIZE TINY COLOR 255 255 255 END END METADATA WMS_TITLE "Highways" WMS_ABSTRACT "Highways- state, US and interstate. (shields only) Derived from MNDOT roads layer, see http://deli.dnr.state.mn.us/metadata/full/dotrdln2.html for more information." WMS_SRS "EPSG:26915" END END # highway annotation LAYER NAME airports TYPE POINT DATA airports STATUS OFF CLASS NAME 'Airports' COLOR 128 255 164 SYMBOL 'circle' SIZE 7 TEMPLATE "airports.html" END HEADER "airports_header.html" FOOTER "airports_footer.html" TOLERANCE 5 METADATA WMS_TITLE "Airports" WMS_ABSTRACT "Airport runways for Itasca County." WMS_SRS "EPSG:26915" END END LAYER NAME mcd90py2_anno NAME cities TYPE ANNOTATION DATA mcd90py2 STATUS OFF LABELITEM "city_name" CLASSITEM "city_name" LABELMAXSCALE 500000 CLASS EXPRESSION /./ COLOR -1 -1 -1 LABEL COLOR 0 0 0 SHADOWCOLOR 218 218 218 SHADOWSIZE 2 2 TYPE BITMAP SIZE MEDIUM POSITION CC PARTIALS FALSE BUFFER 2 END END METADATA WMS_TITLE "Minor Civil Divisions" WMS_ABSTRACT "Minor civil divisions for Itasca County. (annotation only)" WMS_SRS "EPSG:26915" END END END # Map File ======================== demo_init.html ======================== MapServer Demo Interface

MapServer Demo Interface


Click on the initialize button to fire up the demo with 3 layers turned on will be accessible for browsing. The data are of Itasca County, MN and were derived, for the most part, from USGS 1:24,000 quadrangles. Some things to note are:


======================== demo.html ======================== MapServer Demo Interface

MapServer Demo Interface


 Powered by MapServer

Browse map
Query feature
Query multiple features


Select Layers to Display:

Zoom In Pan Zoom Out

Zoom Size

Legend




-----Original Message----- From: Steve Lime [mailto:steve.lime@dnr.state.mn.us] Sent: Monday, April 07, 2003 5:17 PM To: pwpeterson@iesc.net; mapserver-users@lists.gis.umn.edu Subject: RE: [Mapserver-users] Where are legend, reference and .qyimages stored? MORE INFO Well, everything *should* be heading into the same directory. That's certainly the intention anyway and it was working last time I ran the Itasca demo. Can anyone else out there verify this behavior? Image file names are created by simply concatenating the IMAGEPATH with the filename. That behavior has been the same for many versions. I just took a quick swing through the code and it all looks fine. Can you post full versions of your template and map files? Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 04:21PM >>> Steve, Thank you for the insight, however... My experience with 3.7 is that the map images are placed in one directory and the ref, leg and .qy files are being placed in another. Is this suppose to be the case with 3.7? I can get either the map image to show OR the reference and legend images to show, but not both at the same time. My .map file is in /var/www/html/tutorial/s3/ IMAGEPATH "../tmpMaps/" IMAGEURL "/tmpMaps/" I am running Redhat 8.0 Apached 2.0.40 DocumentRoot: /var/www/html ScriptAlias: /cgi-bin/ /var/www/cgi-bin/ I created /var/www/tmpMaps and added the following to httpd.conf Alias: /tmpMaps/ /var/www/tmpMaps/ after which the legend and reference images displayed but the map did not. I ran my test and did a search on the server's directory for the map image but nothing turned up. I then created /var/www/html/tutorial35/tmpMaps and ran my tests again. The legend and reference images where created in /var/www/tmpMaps and displayed as expected, and the map image was created in /var/www/html/tutorial35/tmpMaps but did not display. What am I doing wrong? Why can't I get everything to show up at the same time? Paul Peterson -----Original Message----- From: Steve Lime [mailto:steve.lime@dnr.state.mn.us] Sent: Monday, April 07, 2003 1:37 PM To: pwpeterson@iesc.net; mapserver-users@lists.gis.umn.edu; gerry.creager@tamu.edu Subject: RE: [Mapserver-users] Where are legend, reference and .qy images stored? MORE INFO Remember that ../.. is relative to where the CGI program lives, not where the web page or map file lives. In 3.7 there is no more crazy chdir() going on. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> "Paul Peterson" 04/07/03 11:01AM >>> Gerry, et al... I did some more testing. I discovered to get the ref, leg and *.qy files stored the IMAGEPATH directory MUST be assigned the ownership and group of the web server. In my case when I changed both of these to 'apache' the images were generated and stored, however, again they are showing up in /var/tmp!!!! They never get displayed along with the map image because the process tries to get them from /var/www/html/tmp as it should. My .map file is in /var/www/html/tutorial/s3/ Expected tmp directory /var/www/html/tmp The IMAGEPATH and IMAGEURL are: IMAGEPATH "../../tmp/" IMAGEURL "/tmp/" Apache serves html from /var/www/html Paul Peterson ==================================================================== Gerry's response: May be a 3.7 "feature"... I've not seen image evolution here, either. gerry Paul Peterson wrote: > Rich, Thank you for your response > > I should have been more specific... > > My .map file is in /var/www/html/tutorial/s3/ > The IMAGEPATH and IMAGEURL are: > IMAGEPATH "../../tmp/" > IMAGEURL "/tmp/" > > Apache server html from /var/www/html > > I give the tmp directory +777 permission which is drwxrwxrwx. > > All the images should be placed in /var/www/html/tmp, however, only the map > image is. I found the others (ref, leg and .qy) in /var/tmp! > > I add a tmp directory (/var/www/html/tutorial/s3/tmp) and made these changes > to IMAGEPATH and IMAGURL: > IMAGEPATH "tmp/" > IMAGEURL "/tutorial35/s3/tmp/" > > Again, the only image that shows up there is the map image and I can't find > the others anywhere. > > Is this a bug with 3.7? > > > Paul > > > > > ================================================ > Rich's response: > > The images for the map, reference map, legend, and query files will all be > saved to the IMAGEPATH directory, which is relative to the .map file. So in > your case it looks like your map file is in /var/www/html/tutorial35 and > ../../tmp/ would put you at /var/tmp/. Is your webserver aliasing /tmp to > /var/tmp/? Check the time stamps on the files in /var/www/html/tmp. Try > seleting everything in both /var/tmp/ and /var/www/html/tmp and then hit > mapserver and see where the images files appear, because what you describe > below does not quite make sense. > > Rich > > At 06:02 PM 4/6/2003 -0500, you wrote: > > >>Hello all. >> >>I wrote yesterday regarding a problem with my legends and reference images >>not showing up. Does MapServer (3.7) store all generated images in the the >>same tmp directory. I am testing out the Tutorial35 demo app and it is >>located at /var/www/html/tutorial35. I have a tmp directory >>/var/www/html/tmp where only the map png files are showing up. I was > > trying > >>out the cashed query and discovered that the legend, reference and *.qy >>files where being stored in /var/tmp. >> >>Where in the map file does the directory for the legend, reference and .qy >>files get set? If MapServer is smart enough to store these files there why >>isn't it smart enough to download them from there as well? >> >>A snippet of the map file follows: >> >>NAME S3EX4 >>EXTENT -97.5 41.619778 -82.122902 49.38562 >>SIZE 400 300 >>SHAPEPATH "../data" >>FONTSET "../fonts/fonts.list" >>SYMBOLSET "../symbols/symbols35.sym" >> >>WEB >> HEADER header.html >> TEMPLATE s3ex4.html >> FOOTER footer.html >> IMAGEPATH "../../tmp/" >> IMAGEURL "/tmp/" >> LOG /var/www/html/mapserver.log >>END >> >>Again the IMAGEPATH and IMAGEURL as defined above work for the map png, but >>not the legend, reference ro .qy files. >> >>Any ideas what I am doing wrong? >> >>Paul Peterson >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users@lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > (307) 733-0203 > Rich@GreenwoodMap.com > www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From TMitchell@lignum.com Tue Apr 8 00:58:36 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Mon, 7 Apr 2003 16:58:36 -0700 Subject: [Mapserver-users] Anyone used latest cvs? Message-ID: Hi all, I'm trying to track down some problems I'm having. Has anyone else download from cvs in the last day and got things working okay (particularly with curl)? TM From mpr@dpi.ufv.br Tue Apr 8 01:40:49 2003 From: mpr@dpi.ufv.br (=?iso-8859-1?Q?Maur=EDcio?= Pereira Reis) Date: Mon, 07 Apr 2003 21:40:49 -0300 Subject: [Mapserver-users] msDrawShape(): General error message. Only polygon or line shapes can be drawn using a line layer definition. Message-ID: <5.1.0.14.0.20030407213735.00b65dc0@vicosa.dpi.ufv.br> Hi, Today I started getting a strange error with I try to render a shapefile of polylines. If I turn the layer on I get this error: msDrawShape(): General error message. Only polygon or line shapes can be drawn using a line layer definition The shapefile was created in ArcView and there are two shapefiles in the map file that were produced the same way and work fine. Any ideas on what is going on? Thanks, Mauricio ------ Mauricio Pereira Reis Graduando em Ciência da Computação Universidade Federal de Viçosa - UFV Minas Gerais - Brasil From morissette@dmsolutions.ca Tue Apr 8 01:49:35 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Mon, 07 Apr 2003 20:49:35 -0400 Subject: [Mapserver-users] Anyone used latest cvs? References: Message-ID: <3E921C9F.46DD7E23@dmsolutions.ca> Tyler Mitchell wrote: > > Hi all, > I'm trying to track down some problems I'm having. Has anyone else > download from cvs in the last day and got things working okay (particularly > with curl)? > Hi Tyler, I built MapServer from the latest 3.7 CVS using both libcurl 7.10.4 and 7.10.2 and it works fine for me. With respect to the problems with curl_multi_info_read that you reported in another thread, I would suggest that you check on your system and make sure that you don't have two copies of libcurl.so.2 (i.e. one in /usr/lib and one in /usr/local/lib), if you do then make sure you remove the older one (which is quite likely coming from a RedHat RPM). FYI, I remember running into some odd problems in the past after upgrading curl 7.x on RH systems because the library is called libcurl.so.2 in both the old (RPM) version and in the new compiled (7.10.x) version. I'm ashamed to have to say that in this case it seemed that rebooting the Linux machine was the only way to force it to see the newer version of the libary after the RPM was removed. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From woodbri@swoodbridge.com Tue Apr 8 02:19:01 2003 From: woodbri@swoodbridge.com (woodbri@swoodbridge.com) Date: Mon, 07 Apr 2003 21:19:01 -0400 Subject: [Mapserver-users] Anyone used latest cvs? In-Reply-To: <3E921C9F.46DD7E23@dmsolutions.ca> Message-ID: <3E91EB45.29966.3DEAF805@localhost> ALSO check for the includes. rpm -e curl rpm -e curl-devel will remove the rpm versions. If you don't do the second then you leave the headers. -Steve W. On 7 Apr 2003 at 20:49, Daniel Morissette wrote: > Tyler Mitchell wrote: > > > > Hi all, > > I'm trying to track down some problems I'm having. Has anyone else > > download from cvs in the last day and got things working okay > > (particularly with curl)? > > > > Hi Tyler, > > I built MapServer from the latest 3.7 CVS using both libcurl 7.10.4 > and 7.10.2 and it works fine for me. > > With respect to the problems with curl_multi_info_read that you > reported in another thread, I would suggest that you check on your > system and make sure that you don't have two copies of libcurl.so.2 > (i.e. one in /usr/lib and one in /usr/local/lib), if you do then make > sure you remove the older one (which is quite likely coming from a > RedHat RPM). FYI, I remember running into some odd problems in the > past after upgrading curl 7.x on RH systems because the library is > called libcurl.so.2 in both the old (RPM) version and in the new > compiled (7.10.x) version. I'm ashamed to have to say that in this > case it seemed that rebooting the Linux machine was the only way to > force it to see the newer version of the libary after the RPM was > removed. > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette@dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From phli@ev076.ev.nctu.edu.tw Tue Apr 8 03:50:51 2003 From: phli@ev076.ev.nctu.edu.tw (Pei-Hwao Li) Date: Tue, 8 Apr 2003 10:50:51 +0800 Subject: [Mapserver-users] how to show big5 Message-ID: <008e01c2fd79$aadd86b0$b1df718c@ev.nctu.edu.tw> This is a multi-part message in MIME format. ------=_NextPart_000_008B_01C2FDBC.B8E9E350 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Dear all, I am a new user of mapserver. And I am curious about how to=20 show Big5 fonts on the map created by mapserver ? Does anybody have any advice for me to resolve this problem? Thanks a lot! Pei-Hwao Li ------=_NextPart_000_008B_01C2FDBC.B8E9E350 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable

Dear all,
 
     I am a new user of = mapserver. And I=20 am curious about how to
     show Big5 fonts on the map = created by=20 mapserver ?
     Does anybody have any = advice for me=20 to resolve this problem?
    Thanks a lot!
 
Pei-Hwao Li
------=_NextPart_000_008B_01C2FDBC.B8E9E350-- From Thilo.Schlemmer@blva.bayern.de Tue Apr 8 06:57:55 2003 From: Thilo.Schlemmer@blva.bayern.de (Schlemmer Thilo) Date: Tue, 8 Apr 2003 07:57:55 +0200 Subject: AW: [Mapserver-users] Newbie-Problems with swf-output Message-ID: <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> Hallo Thomas, sorry, dass ich direkt auf deutsch schreibe, aber so kann ich mein Problem besser erklären... und die Antworten besser verstehen ;) Im Prinzip habe ich erst mal nur eine prinzipielle Frage. Benötige ich für den swf-Output PHP/Mapscript oder wirklich nur eine Mapserver-CGI mit OUTPUT=SWF? Ich habe gestern noch meinen häuslichen Server auf PHP 4.3.1 mit Ming- und mapserver3.7-Bibliotheken erweitert. Mit den in den Antworten angegebenen Doku's (hatte ich schon vorher gelesen) komme ich nicht wirklich weiter. Kannst Du mir weiterhelfen? Gruß Thilo From bplatzen@sosnetz.de Tue Apr 8 07:39:16 2003 From: bplatzen@sosnetz.de (=?iso-8859-1?q?Bj=F6rn=20Platzen?=) Date: Tue, 8 Apr 2003 07:39:16 +0100 Subject: [Mapserver-users] once again compiling with TTF-Support In-Reply-To: <3E920D2D.DBD1C563@dmsolutions.ca> References: <200304071704.18596.bplatzen@sosnetz.de> <3E920D2D.DBD1C563@dmsolutions.ca> Message-ID: <200304080839.16744.bplatzen@sosnetz.de> Hello Daniel, > 1- MapServer got linked with an old libmap.a ... check and if you > find an old /usr/local/lib/libmap.a on your system then delete it and > recompile MapServer. libmap.a was from yesterday, deleting and recompiling had no effect. > 2- This could be a GD2 vs MapServer 3.6 thing: I dont't think > MapServer 3.6.x has been used/tested much with GD2.x... so it's safer > to use GD 1.8.x and freetype 1.3 with MapServer 3.6. I tried that with a patched Version of GD 1.8.4 and Freetype 1.3.1 but I could not compile the GD with freetype-support. It always said: checking for freetype.h... (cached) no configure: warning: libgd will be built without support for TrueType fonts - no freetype.h. checking for TT_Init_FreeType in -lttf... (cached) yes I checked, if freetype.h is there and it is (in /usr/include/freetype and in /usr/local/include/freetype). The first GD that found freetype.h was this 2.0.7-Version. Thanks for your help, I'll try to get it started somehow with GD 1.8.4. Bye, Bjoern > Daniel > > Bjoern Platzen wrote: > > Hi all, > > > > I'm fighting with the TTF-Support for MapServer 3.6.4. > > I'm using Freetype 2.1.4rc2, a patched gd 2.0.7 on a SuSE Linux 8.0 > > Box. > > > > I compiled the GD and it said: > > ** Configuration summary for gd 2.0.7: > > > > Support for PNG library: yes > > Support for JPEG library: yes > > Support for Freetype 2.x library: yes > > Support for Xpm library: yes > > > > Then I compiled the MapServer and it said > > using GD ( -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > > -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR) from > > /home/platzen/download/gd-2.0.7gif/. > > > > Now it seemed to me as if everything should be right, but it isn't! > > The CGI-Output still tells me: > > loadlabel(): Unknown identifier. Keyword FONT is not valid without > > TrueType font support. > > > > Is there anything else, that I forgot?? > > > > Any help would be really great... > > > > Thanks in advance, > > > > Bjoern > > -- > > small office solutions > > info@sosnetz.de - http://www.sosnetz.de -- small office solutions info@sosnetz.de - http://www.sosnetz.de From martin.kokes@sitewell.cz Tue Apr 8 11:28:15 2003 From: martin.kokes@sitewell.cz (=?ISO-8859-2?Q?Martin_Koke=B9?=) Date: Tue, 08 Apr 2003 12:28:15 +0200 Subject: [Mapserver-users] FDB fonts placement for generating SWF output Message-ID: <3E92A43F.4030109@sitewell.cz> Hello, I just would to ask, where should I place my fdb fonts, when I want to generate multiple SWF files: NAME MYPROJECT EXTENT -742385.38 -1043095.91 -742268.5444 -1043011.97 FONTSET "./data/fonts/fonts.list" SIZE 480 480 SHAPEPATH "./data/shp/" STATUS ON UNITS METERS WEB IMAGEPATH "C:\Inetpub\htdocs\tmp\" IMAGEURL "/tmp/" LOG "mapserver.log" END OUTPUTFORMAT NAME swf MIMETYPE "application/x-shockwave-flash" DRIVER swf IMAGEMODE PC256 FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" END LAYER NAME mhouse_1_rooms TYPE polygon STATUS ON DATA mhouse_1_rooms LABELITEM NAZEV CLASS COLOR 128 128 128 OUTLINECOLOR 0 0 0 LABEL ANTIALIAS true COLOR 0 0 0 FONT arial SIZE 8 TYPE truetype END END END files with mapscript 3.7. Follows my config info: Apache/2.0.44 (Win32) mod_perl/1.99_08 Perl/v5.8.0 DAV/2 mod_ssl/2.0.44 OpenSSL/0.9.7a mod_jk/1.2.0 PHP Version 4.3.0 in fastcgi mode MapServer Version MapServer version 3.7 (development) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE PHP MapScript Version ($Revision: 1.148 $ $Date: 2003/02/24 02:19:43 $) Can anyone (maybe Daniel :-)..) check this plese From martin.kokes@sitewell.cz Tue Apr 8 13:00:27 2003 From: martin.kokes@sitewell.cz (=?windows-1252?Q?Martin_Koke=9A?=) Date: Tue, 08 Apr 2003 14:00:27 +0200 Subject: [Mapserver-users] FDB fonts placement for generating SWF output In-Reply-To: <3E92A43F.4030109@sitewell.cz> References: <3E92A43F.4030109@sitewell.cz> Message-ID: <3E92B9DB.4020804@sitewell.cz> Martin Kokeš wrote: > Hello, > > I just would to ask, where should I place my fdb fonts, when I want to > generate multiple SWF files: > ... > MapServer Version MapServer version 3.7 (development) OUTPUT=GIF > OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ > SUPPORTS=TTF SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > PHP MapScript Version ($Revision: 1.148 $ $Date: 2003/02/24 02:19:43 $) I answer myself: :-) dot fdb files should be placed in fonts subdirectory and for swf output fonts.list file appears as: arial arial.fdb arial-bold arialbd.fdb arial-italic ariali.fdb arial-bold-italic arialbi.fdb :-) MK From gabriel@ciasc.gov.br Tue Apr 8 14:32:41 2003 From: gabriel@ciasc.gov.br (Gabriel Vieira Ferrari) Date: Tue, 8 Apr 2003 10:32:41 -0300 Subject: [Mapserver-users] Re: Reference box References: Message-ID: <031001c2fdd3$54a7b900$12d713ac@ciasc.gov.br> Hi John. You were correct. Thanks. Gabriel ----- Original Message ----- From: To: ; Sent: Wednesday, April 02, 2003 9:06 PM Subject: RE: [Mapserver-users] Re: Reference box Hi Gabriel, It would seem to me that a possible problem is that you are resizing your reference gif using the HTML 'width' and 'height' attributes of the 'img' element. Resizing a gif sometimes causes part of the image to look funny because some critical part, eg. the reference box, is removed during the resizing action. Try re-creating your gif at the size you want it to display in the HTML page and get rid of your 'width' and 'height' attributes in your 'img' element. Of course if you do not use these attributes then my guess is wrong and ignore this email. ;--) I hope this helps. John > -----Original Message----- > From: Gabriel Vieira Ferrari [mailto:gabriel@ciasc.gov.br] > Sent: Thursday, 3 April 2003 9:09 > To: mapserver-users > Subject: [Mapserver-users] Re: Reference box > > > Here is the view at the browser. > > > ----- Original Message ----- > From: "gabriel" > To: "mapserver-users" > Sent: Wednesday, April 02, 2003 8:05 PM > Subject: Reference box > > > > Hi all. > > > > The reference box some times is not completely printed in referece. > > > > Somebody can help me? > > > > Thanks. > > > > From pkishor@geoanalytics.com Tue Apr 8 14:23:54 2003 From: pkishor@geoanalytics.com (pkishor_98) Date: Tue, 08 Apr 2003 13:23:54 -0000 Subject: [Mapserver-users] Re: msDrawShape(): General error message. Only polygon or line shapes can be dra In-Reply-To: <5.1.0.14.0.20030407213735.00b65dc0@vicosa.dpi.ufv.br> Message-ID: --- In mapserver-users@yahoogroups.com, Maurício Pereira Reis wrote: > Hi, > > Today I started getting a strange error with I try to render a shapefile of > polylines. If I turn the layer on I get this error: msDrawShape(): General > error message. Only polygon or line shapes can be drawn using a line layer > definition The shapefile was created in ArcView and there are two > shapefiles in the map file that were produced the same way and work fine. You have errors in your shapefile... most likely an open polygon. Arcview is more liberal about such errors and displays them anyway. Mapserver is strict. You can do one of two things -- change your shapetype to lines in mapserver; or find the errors in your shapefile so you can draw them correctly as polys. If you search these archives you will find methods and tools to find the errors. A long time back I posted an Avenue script (written by a colleague) that finds and deletes open polygons. I think someone else has another tool as well. From maillist@iter.dk Tue Apr 8 14:47:30 2003 From: maillist@iter.dk (Morten Nielsen) Date: Tue, 8 Apr 2003 15:47:30 +0200 Subject: [Mapserver-users] Referencemap and legend via WMS References: <3E917C9D.6030704@ckff.si> Message-ID: <00cc01c2fdd5$87c2b0e0$3edf26c0@o57> Is it possible to request a referencemap or legend by using a WMS request? I haven't been able to find anything in the WMS specification, other than it possible could be requested via vendor-specific parameters. /Morten Nielsen http://www.iter.dk From Christian.Strobl@gla.bayern.de Tue Apr 8 14:56:42 2003 From: Christian.Strobl@gla.bayern.de (Strobl, Christian) Date: Tue, 8 Apr 2003 15:56:42 +0200 Subject: [Mapserver-users] 50 classes and thicker lines Message-ID: hello, excuse me for the simple question but i found no description or reference in the internet. is there any restriction of the number of classes in mapserver 3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows Binary Download). thanks and greetings from munich christian p.s. is it possible to get thicker lines with mapserver? the size-parameter doesn't work. > christian strobl > diplom-geologe > bayerisches geologisches landesamt > heßstraße 128 > d-80797 münchen > telefon: (089) 9214-2774 > christian.strobl@gla.bayern.de > http://www.bayern.de/gla > > From Tom.Kralidis@CCRS.NRCan.gc.ca Tue Apr 8 15:08:49 2003 From: Tom.Kralidis@CCRS.NRCan.gc.ca (Tom.Kralidis@CCRS.NRCan.gc.ca) Date: Tue, 8 Apr 2003 10:08:49 -0400 Subject: [Mapserver-users] Referencemap and legend via WMS Message-ID: <7CDD7B94357FD5119E800002A537C46E04FA1E4D@s5-ccr-r1.ccrs.nrcan.gc.ca> > -----Original Message----- > From: Morten Nielsen [mailto:maillist@iter.dk] > Sent: Tuesday, April 08, 2003 9:48 AM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] Referencemap and legend via WMS > > > Is it possible to request a referencemap or legend by using a > WMS request? > I haven't been able to find anything in the WMS > specification, other than it > possible could be requested via vendor-specific parameters. > The OGC WMS spec does not support the processing of reference maps (i.e. a image depicting an area of interest with an outline). As for legend images, there are two routes here. 1./ The WMS GetCapabilities operation provides an XML document of what the server is capable of providing, as well as its data holdings. Within the layer elements, there is (optionally) an element which provides a legend image URL. This information (in WMS 1.1.1) is available at: /WMT_MS_Capabilities/Capability/Layer/[may be more child layer elements]/Layer/Style/LegendURL/OnlineResource/@xlink:href You can basically pick up this URL and display it as an image in your app. 2./ Some WMSs support Styled Layer Descriptor (SLD). An SLD-enabled WMS provides a GetLegendGraphic operation, where your application can provide a request to the SLD-WMS and get back a legend image. Depending on the classification and styling of the layer, the GetLegendGraphic operation provides parameters which may change depending on the state of your app (like scale), so your output legend image is representative of the map image you are portraying at a given scale, etc. Check out the SLD spec for more details. Having said this, it would be great to have MapServer support the LegendURL element in Capabilities (I've filed this in Bugzilla) !! ..Tom > /Morten Nielsen > http://www.iter.dk > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From mschulz@webgis.de Tue Apr 8 15:23:39 2003 From: mschulz@webgis.de (Michael Schulz) Date: Tue, 08 Apr 2003 16:23:39 +0200 Subject: [Mapserver-users] 50 classes and thicker lines References: Message-ID: <3E92DB6B.525EF40D@webgis.de> Hi, map.h defines MS_MAXCLASSES as 50. This value is compiled into the mapserver binary, you will need a new mapserver binary with that value changed prior to compiling. You can't change it afterwards. If you are using the default symbol for your layer they are always set to the size of one pixel (doesn't matter if point, line or polygon). More information: http://mapserver.gis.umn.edu/doc/mapfile-reference.html#class look for keyword SYMBOL. You could just define a simple point symbol of your own, use it in your layer definition with symbol "mysymbolname" then you can use the size parameter. Example symbol definition you could use for points and lines: SYMBOL NAME "mysymbolname" TYPE ELLIPSE FILLED TRUE POINTS 1 1 END END HTH, Michael "Strobl, Christian" schrieb: > hello, > > excuse me for the simple question but i found no description or reference in > the internet. is there any restriction of the number of classes in mapserver > 3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows > Binary Download). > > thanks and greetings from munich > christian > > p.s. is it possible to get thicker lines with mapserver? the size-parameter > doesn't work. > > > christian strobl > > diplom-geologe > > bayerisches geologisches landesamt > > heßstraße 128 > > d-80797 münchen > > telefon: (089) 9214-2774 > > christian.strobl@gla.bayern.de > > http://www.bayern.de/gla > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft für Informationstechnologie mbH Sautierstr. 38, 79104 Freiburg 0761 55695-95 (Fax 96) mschulz@webgis.de www.webgis.de From wesp@gdv.com Tue Apr 8 15:30:53 2003 From: wesp@gdv.com (Oliver Wesp) Date: Tue, 08 Apr 2003 16:30:53 +0200 Subject: [Mapserver-users] 50 classes and thicker lines In-Reply-To: Message-ID: <5.2.0.9.2.20030408162203.02aa1ba0@192.168.1.2> At 15:56 08.04.2003 +0200, Strobl, Christian wrote: >excuse me for the simple question but i found no description or reference in >the internet. is there any restriction of the number of classes in mapserver >3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows >Binary Download). There is a maximum of 50 classes per Layer. You'll have to change MS_MAXCLASSES in map.h to whatever value you want, then recompile mapserver. >p.s. is it possible to get thicker lines with mapserver? the size-parameter >doesn't work. It's possible. The trick is to use a symbol for displaying lines. With the use of a symbol it's possible to use the size-paramter for changing the thickness of a line. For example you can define a simple circle symbol in your symbol-file SYMBOL name "circle" TYPE ellipse FILLED true POINTS 1 1 END END Within the class of your line-layer your referencing the symbol CLASS SYMBOL 'circle' SIZE 14 NAME '...' EXPRESSION /./ END Something like that. regards Oliver -- Dipl.-Geogr. Oliver Wesp Gesellschaft für geografische Datenverarbeitung Binger Strasse 49-51 D-55218 Ingelheim fon: +49 6132 714818 fax: +49 6132 714828 http: www.gdv.com From stefan.schwarzer@grid.unep.ch Tue Apr 8 15:50:44 2003 From: stefan.schwarzer@grid.unep.ch (Stefan Schwarzer) Date: Tue, 08 Apr 2003 16:50:44 +0200 Subject: [Mapserver-users] 50 classes and thicker lines In-Reply-To: Message-ID: <5.2.0.9.0.20030408165030.0433cbe0@gridg.grid.unep.ch> --=====================_343904939==.ALT Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable Christian, the number of layers is limited to 50. If you need more you have to compile= =20 Mapserver on your own. The number of classes - actually I don't know. But=20 could be the same reason. For thicker lines you just have to change the SIZE command in CLASS.... see= =20 below. Ciao, Stefan LAYER NAME boundaries TYPE POLYGON STATUS DEFAULT DATA boundaries LABELITEM CNTRY_NAME CLASSITEM CNTRY_NAME CLASS NAME 'International Boundaries' OUTLINECOLOR 150 150 150 SIZE 3 SYMBOL 'circle' TEMPLATE 'dummy' LABEL FONT arial TYPE truetype ANTIALIAS false SIZE 8 COLOR 200 50 70 POSITION cc PARTIALS FALSE FORCE true END END END # LAYER >hello, > >excuse me for the simple question but i found no description or reference= in >the internet. is there any restriction of the number of classes in= mapserver >3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows >Binary Download). > >thanks and greetings from munich >christian > >p.s. is it possible to get thicker lines with mapserver? the size-parameter >doesn't work. > > > > christian strobl > > diplom-geologe > > bayerisches geologisches landesamt > > he=DFstra=DFe 128 > > d-80797 m=FCnchen > > telefon: (089) 9214-2774 > > christian.strobl@gla.bayern.de > > http://www.bayern.de/gla > > > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________ Stefan Schwarzer Consultant on GEO UNEP/DEWA/GRID-Geneva Chemin des Anemones 11 CH - 1219 Chatelaine Switzerland Tel: (+41) 22.917.83.49 Fax: (+41) 22.917.80.29 Email: stefan.schwarzer@grid.unep.ch Internet: http://geodata.grid.unep.ch/ _______________________________________=20 --=====================_343904939==.ALT Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Christian,

the number of layers is limited to 50. If you need more you have to compile Mapserver on your own. The number of classes - actually I don't know. But could be the same reason.

For thicker lines you just have to change the SIZE command in CLASS.... see below.

Ciao,

Stefan

        LAYER
         =        NAME boundaries
         =        TYPE POLYGON
         =        STATUS DEFAULT
         =        DATA boundaries
         =        LABELITEM CNTRY_NAME
         =        CLASSITEM CNTRY_NAME
         =        CLASS
         =           &= nbsp;    NAME 'International Boundaries'
         =           &= nbsp;    OUTLINECOLOR 150 150 150
         =           &= nbsp;    SIZE 3
         =           &= nbsp;    SYMBOL 'circle'
         =           &= nbsp;    TEMPLATE 'dummy'
         =           &= nbsp;    LABEL
         =           &= nbsp;         &n= bsp;  FONT arial
         =           &= nbsp;         &n= bsp;  TYPE truetype
         =           &= nbsp;         &n= bsp;  ANTIALIAS false
         =           &= nbsp;         &n= bsp;  SIZE 8
         =           &= nbsp;         &n= bsp;  COLOR 200 50 70
         =           &= nbsp;         &n= bsp;  POSITION cc
         =           &= nbsp;         &n= bsp;  PARTIALS FALSE
         =           &= nbsp;         &n= bsp;  FORCE true
         =           &= nbsp;    END
         =        END
        END  # LAYER



hello,

excuse me for the simple question but i found no description or reference in
the internet. is there any restriction of the number of classes in mapserver
3.63. it seems that 51 or 52 classes are to much for the mapserver (Windows
Binary Download).

thanks and greetings from munich
christian

p.s. is it possible to get thicker lines with mapserver? the size-parameter
doesn't work.


> christian strobl
> diplom-geologe
> bayerisches geologisches landesamt
> he=DFstra=DFe 128
> d-80797 m=FCnchen
> telefon: (089) 9214-2774
> christian.strobl@gla.bayern.de
> http://www.bayern.de/gla
>
>

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

        _____________= __________________________

        = Stefan Schwarzer
        Consultan= t on GEO

        UNEP/DEWA/GRI= D-Geneva
        Chemin des= Anemones 11
        CH - 1219= Chatelaine
        Switzerland
        Tel: (+41)= 22.917.83.49
        Fax: (+41)= 22.917.80.29

        Email:= stefan.schwarzer@grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        ___= ____________________________________
--=====================_343904939==.ALT-- From Agneta Schick Tue Apr 8 15:53:10 2003 From: Agneta Schick (Agneta Schick) Date: Tue, 8 Apr 2003 16:53:10 +0200 (MET DST) Subject: [Mapserver-users] Installation with PHP on Unix Message-ID: <200304081453.h38ErA504578@b3sn28.hannover.bgr.de> Hello MapServer-users, I don't know how often other users needed to compile the Mapserver and necessary components - I needed quite a number of tries until I had Perl MapScript running. And now I want to try PHP MapScript. Is anyone offended if I try a shortcut and ask who has the right configuration for php-4.3.1 Mapserver 3.6.5 Apache 1.3.22 on Solaris 8 ? I configured PHP as CGI but Mapserver-configure complained "re-compile PHP4 with --with-system-regex " so I did and then Mapserver-configure complained again "re-compile PHP4 with --with-system-regex ". This will keep me busy until I retire! I'm grateful if a Unix user will share his installation experience with me. Agneta Schick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Agneta Schick Bundesanstalt fuer Geowissenschaften und Rohstoffe Federal Institute for Geosciences and Natural Resources Stilleweg 2 D- 30655 Hannover Tel.: +49 511 643 3136 GERMANY FAX.: +49 511 643 3663 schick@sdac.hannover.bgr.de http://www.seismologie.bgr.de ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From TMitchell@lignum.com Tue Apr 8 16:19:41 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Tue, 8 Apr 2003 08:19:41 -0700 Subject: [Mapserver-users] Anyone used latest cvs? Message-ID: Great guys, I never thought to check for an RPM...arg. I indeed did have one and have blown it away. I still had a copy of the file in /usr/lib still clinging on and have removed it. I then ran >ldconfig and am now using the latest versions of mapserver and php_mapscript. Thank you muchly. TM |---------+----------------------------> | | Daniel Morissette| | | | | | | | | 04/07/2003 05:49 | | | PM | | | | |---------+----------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Tyler Mitchell | | cc: mapserver-users@lists.gis.umn.edu | | Fax to: | | Subject: Re: [Mapserver-users] Anyone used latest cvs? | >------------------------------------------------------------------------------------------------------------------------------| Tyler Mitchell wrote: > > Hi all, > I'm trying to track down some problems I'm having. Has anyone else > download from cvs in the last day and got things working okay (particularly > with curl)? > Hi Tyler, I built MapServer from the latest 3.7 CVS using both libcurl 7.10.4 and 7.10.2 and it works fine for me. With respect to the problems with curl_multi_info_read that you reported in another thread, I would suggest that you check on your system and make sure that you don't have two copies of libcurl.so.2 (i.e. one in /usr/lib and one in /usr/local/lib), if you do then make sure you remove the older one (which is quite likely coming from a RedHat RPM). FYI, I remember running into some odd problems in the past after upgrading curl 7.x on RH systems because the library is called libcurl.so.2 in both the old (RPM) version and in the new compiled (7.10.x) version. I'm ashamed to have to say that in this case it seemed that rebooting the Linux machine was the only way to force it to see the newer version of the libary after the RPM was removed. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From TMitchell@lignum.com Tue Apr 8 16:24:46 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Tue, 8 Apr 2003 08:24:46 -0700 Subject: [Mapserver-users] "grid" is reserved word in 3.7 Message-ID: Hi folks, I remember reading somewhere about new functionality coming in 3.7 and have already experienced some of it :) I'm using the gmap demo which has a layer called "grid" but 3.7 doesn't like that. I assume it is a reserved word for the automatic creation of grids now and won't be acceptable as a layer name or data file name. that's a bit of a pain but I'm sure the benefits of being able to automatically create grids outweighs my petty 30 second data file renaming exercise :) Tyler From aaizemberg@softhome.net Tue Apr 8 16:40:28 2003 From: aaizemberg@softhome.net (Ariel Aizemberg) Date: Tue, 08 Apr 2003 12:40:28 -0300 Subject: [Mapserver-users] MapFile - DATA question In-Reply-To: <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> References: <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> Message-ID: <3E92ED6C.1080300@softhome.net> Hi!!! Has anyone modified the DATA tag through the mapserv cgi params? or the question would be: It is possible to change the DATA tag using mapserv cgi params? In this example, we modified the 'map size' property. http://localhost/cgi-bin/mapserv?map=/var/www/html/ews/v0.7/files/map/m4.map&mode=map&map_size=450+600 We would like to change the 'DATA' property along diferent calls. For example: time 0: data='the_geom from table1' time 1: DATA='the_geom from table2' time 2: DATA='the_geom from table2 where population > 100000' etc. Thanks in advance. Ariel From dan.liu@mnplan.state.mn.us Tue Apr 8 16:53:05 2003 From: dan.liu@mnplan.state.mn.us (Dan Liu) Date: Tue, 08 Apr 2003 10:53:05 -0500 Subject: [Mapserver-users] tutorial Mapscript3.6 Message-ID: Hi all, Is there any tutorial for Mapscript3.6? Thanks in advance! Dan Dan Liu MN Land Management Information Center 658 Cedar Street Saint Paul, MN 55155 (651) 483-2324 [phone] (651) 296-1212 [fax] dan.liu@state.mn.us On April 23 the Land Management Information Center will be transferred from Minnesota Planning to the Minnesota Department of Administration. LMIC will continue to be located in our current location and offer the same quality GIS services that our clients have learned to expect. From dan.liu@mnplan.state.mn.us Tue Apr 8 17:00:11 2003 From: dan.liu@mnplan.state.mn.us (Dan Liu) Date: Tue, 08 Apr 2003 11:00:11 -0500 Subject: [Mapserver-users] Tutorial Mapscript3.6 Message-ID: Hi all, Do you know if there are any tutorials for Mapscript3.6? Thanks in advance! Dan Dan Liu MN Land Management Information Center 658 Cedar Street Saint Paul, MN 55155 (651) 483-2324 [phone] (651) 296-1212 [fax] dan.liu@state.mn.us On April 23 the Land Management Information Center will be transferred from Minnesota Planning to the Minnesota Department of Administration. LMIC will continue to be located in our current location and offer the same quality GIS services that our clients have learned to expect. From jhart@frw.uva.nl Tue Apr 8 17:29:47 2003 From: jhart@frw.uva.nl (Jan Hartmann) Date: Tue, 08 Apr 2003 18:29:47 +0200 Subject: [Mapserver-users] Installation with PHP on Unix In-Reply-To: <200304081453.h38ErA504578@b3sn28.hannover.bgr.de> References: <200304081453.h38ErA504578@b3sn28.hannover.bgr.de> Message-ID: <3E92F8FB.8010304@frw.uva.nl> Agneta, Newer versions of PHP have to be compiled with "with-regex=system" This has been documented in MapServer's 3.6.5 branch a week ago. You are probably using a download from before that time. Jan Agneta Schick wrote: > Hello MapServer-users, > > I don't know how often other users needed to compile the Mapserver > and necessary components - I needed quite a number of tries until > I had Perl MapScript running. > > And now I want to try PHP MapScript. Is anyone offended if I try a shortcut > and ask who has the right configuration for > php-4.3.1 > Mapserver 3.6.5 > Apache 1.3.22 > on Solaris 8 > ? > > I configured PHP as CGI but Mapserver-configure complained > "re-compile PHP4 with --with-system-regex " > so I did and then Mapserver-configure complained again > "re-compile PHP4 with --with-system-regex ". > This will keep me busy until I retire! > > I'm grateful if a Unix user will share his installation experience with me. > > Agneta Schick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Agneta Schick > > Bundesanstalt fuer Geowissenschaften und Rohstoffe > Federal Institute for Geosciences and Natural Resources > Stilleweg 2 > D- 30655 Hannover Tel.: +49 511 643 3136 > GERMANY FAX.: +49 511 643 3663 > > schick@sdac.hannover.bgr.de http://www.seismologie.bgr.de > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From agalasso@gndci.cs.cnr.it Tue Apr 8 17:20:25 2003 From: agalasso@gndci.cs.cnr.it (Alessandro Galasso) Date: Tue, 8 Apr 2003 18:20:25 +0200 Subject: [Mapserver-users] Mapserver And Oracle Spatial Message-ID: <018e01c2fdea$c2be6f30$1900a8c0@labtel.net> This is a multi-part message in MIME format. ------=_NextPart_000_018B_01C2FDFB.863C90D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does anyone use Oracle Spatial as data source? Does exist a shp2oracle tools, like shp2postgree one ?? Regards, --- Alessandro Galasso ------=_NextPart_000_018B_01C2FDFB.863C90D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Does anyone use Oracle Spatial as data=20 source?
Does exist a shp2oracle tools, like = shp2postgree=20 one ??
 
Regards,
 
---
Alessandro=20 Galasso
------=_NextPart_000_018B_01C2FDFB.863C90D0-- From steve.lime@dnr.state.mn.us Tue Apr 8 17:50:02 2003 From: steve.lime@dnr.state.mn.us (Steve Lime) Date: Tue, 08 Apr 2003 11:50:02 -0500 Subject: [Mapserver-users] MapFile - DATA question Message-ID: I've only done it in testing and it does work just fine. However, this feature is also a source of concern from a security perspective, that is, allowing a user to arbitrarily change that data being processed. So, for versions 3.7+ there are restrictions in place to disable this functionality unless you explicitly need it. See the following page on the wiki for more details... http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide Look for the section on DATAPATTERN and TEMPLATEPATTERN. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Ariel Aizemberg 04/08/03 10:40AM >>> Hi!!! Has anyone modified the DATA tag through the mapserv cgi params? or the question would be: It is possible to change the DATA tag using mapserv cgi params? In this example, we modified the 'map size' property. http://localhost/cgi-bin/mapserv?map=/var/www/html/ews/v0.7/files/map/m4.map&mode=map&map_size=450+600 We would like to change the 'DATA' property along diferent calls. For example: time 0: data='the_geom from table1' time 1: DATA='the_geom from table2' time 2: DATA='the_geom from table2 where population > 100000' etc. Thanks in advance. Ariel _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From TMitchell@lignum.com Tue Apr 8 18:27:00 2003 From: TMitchell@lignum.com (Tyler Mitchell) Date: Tue, 8 Apr 2003 10:27:00 -0700 Subject: [Mapserver-users] MapFile - DATA question Message-ID: Can the datapattern method be used for other data sources than simple shape file references (i.e. used in the sql for a postgis layer?). |---------+---------------------------------------> | | "Steve Lime" | | | | | | Sent by: | | | mapserver-users-admin@lists.| | | gis.umn.edu | | | | | | | | | 04/08/2003 09:50 AM | | | | |---------+---------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: , | | cc: | | Fax to: | | Subject: Re: [Mapserver-users] MapFile - DATA question | >------------------------------------------------------------------------------------------------------------------------------| I've only done it in testing and it does work just fine. However, this feature is also a source of concern from a security perspective, that is, allowing a user to arbitrarily change that data being processed. So, for versions 3.7+ there are restrictions in place to disable this functionality unless you explicitly need it. See the following page on the wiki for more details... http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MigrationGuide Look for the section on DATAPATTERN and TEMPLATEPATTERN. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Ariel Aizemberg 04/08/03 10:40AM >>> Hi!!! Has anyone modified the DATA tag through the mapserv cgi params? or the question would be: It is possible to change the DATA tag using mapserv cgi params? In this example, we modified the 'map size' property. http://localhost/cgi-bin/mapserv?map=/var/www/html/ews/v0.7/files/map/m4.map&mode=map&map_size=450+600 We would like to change the 'DATA' property along diferent calls. For example: time 0: data='the_geom from table1' time 1: DATA='the_geom from table2' time 2: DATA='the_geom from table2 where population > 100000' etc. Thanks in advance. Ariel _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Ralf Rapude Tue Apr 8 18:34:35 2003 From: Ralf Rapude (Ralf Rapude) Date: Tue, 8 Apr 2003 19:34:35 +0200 Subject: [Mapserver-users] Alessandro Message-ID: <11640969801.20030408193435@web.de> Hi Alessandro, Some shape to Oracle tools are existing. http://otn.oracle.com/software/products/spatial/content.html http://www.geometryit.com Both are commandline tools and they are not really nice to use, but ok for some files if doskey is activated or if they're used under a linux shell. This one is a gui tool, converting shapefiles to oracle and also from oracle to shape http://www.gdv.com/ It is called JShapeXI and it wouldn't work here :o|. And I'm also just programming an import tool. It's an open Source Java Tool with a Gui and a lot of options providing a really comfortable way for import and indexing Shapefiles. But I'm afraid it is a little bit too far away from pre-alpha now, because it still lacks a lot of functions and is not really tested. If you, or anyone else here is interested, I will notify you after finishing, by a short message (what will maybe be in two or three weeks). Ralf From Rich@GreenwoodMap.com Tue Apr 8 19:00:50 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Tue, 08 Apr 2003 12:00:50 -0600 Subject: [Mapserver-users] MapFile - DATA question In-Reply-To: <3E92ED6C.1080300@softhome.net> References: <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> Message-ID: <5.2.0.9.0.20030408115549.00a9da50@mail.GreenwoodMap.com> --=======45E62BA6======= Content-Type: text/plain; x-avg-checked=avg-ok-9E176DD; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit It looks like you are using postgis. Below are a few examples of changing the filter clause. The %form_variable% substitutes the value from the form variable. I tried this with the data statement, but had limited success. FILTER "pidn = '%pidn%' " FILTER "pidn like '%pidn%%' " # note the extra % for wild card FILTER "(distance (table1.the_geom, (select the_geom from table1 where pidn='%pidn%')) < %rad%)" Rich At 12:40 PM 4/8/2003 -0300, you wrote: >Hi!!! >Has anyone modified the DATA tag through the mapserv cgi params? >or the question would be: It is possible to change the DATA tag using >mapserv cgi params? > >In this example, we modified the 'map size' property. > >http://localhost/cgi-bin/mapserv?map=/var/www/html/ews/v0.7/files/map/m4.map&mode=map&map_size=450+600 > >We would like to change the 'DATA' property along diferent calls. >For example: > >time 0: >data='the_geom from table1' > >time 1: >DATA='the_geom from table2' > >time 2: >DATA='the_geom from table2 where population > 100000' > >etc. > >Thanks in advance. > >Ariel > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users@lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======45E62BA6=======-- From Rich@GreenwoodMap.com Tue Apr 8 22:34:53 2003 From: Rich@GreenwoodMap.com (Richard Greenwood) Date: Tue, 08 Apr 2003 15:34:53 -0600 Subject: [Mapserver-users] MapFile - DATA question In-Reply-To: <3E93397F.8040808@softhome.net> References: <5.2.0.9.0.20030408115549.00a9da50@mail.GreenwoodMap.com> <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> <3D62526F8230D211B54A0000CBC0A8A1032B07FD@dc001.blva.bayern.de> <5.2.0.9.0.20030408115549.00a9da50@mail.GreenwoodMap.com> Message-ID: <5.2.0.9.0.20030408152551.02c15938@mail.GreenwoodMap.com> --=======7CB23BDB======= Content-Type: text/plain; x-avg-checked=avg-ok-9E176DD; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit > > > Below are a few examples of >>changing the filter clause. The %form_variable% substitutes the value >>from the form variable. I tried this with the data statement, but had >>limited success. >>FILTER "pidn = '%pidn%' " >>FILTER "pidn like '%pidn%%' " # note the extra % for wild card >>FILTER "(distance (table1.the_geom, (select the_geom from table1 where >>pidn='%pidn%')) < %rad%)" > >Why with limited success? >Did you combine the FILTER with postgis/postgresql sucessfully? I got the FILTER working just fine. But the same technique was not working for the DATA statement. I did not work very hard at it because the FILTER clause did what I needed. Possibly the value that I was passing to the DATA statement was not getting unescaped correctly ("geom+from+table" instead of "geom from table" ?). In any case, my point was that it might be easier to to pass form variables than alter the DATA statement via the URI. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=======7CB23BDB=======-- From morissette@dmsolutions.ca Wed Apr 9 00:23:15 2003 From: morissette@dmsolutions.ca (Daniel Morissette) Date: Tue, 08 Apr 2003 19:23:15 -0400 Subject: [Mapserver-users] "grid" is reserved word in 3.7 References: Message-ID: <3E9359E3.6FC146CC@dmsolutions.ca> Tyler, You can still have a layer called "grid": just make sure you enclose the name inside double quotes and then it will work (The parser will see it as a string instead of as a mapfile symbol). BTW, our local copy of the gmap mapfile is fixed, it's just that the downloadable version isn't. Daniel Tyler Mitchell wrote: > > Hi folks, > I remember reading somewhere about new functionality coming in 3.7 and have > already experienced some of it :) > I'm using the gmap demo which has a layer called "grid" but 3.7 doesn't > like that. I assume it is a reserved word for the automatic creation of > grids now and won't be acceptable as a layer name or data file name. > that's a bit of a pain but I'm sure the benefits of being able to > automatically create grids outweighs my petty 30 second data file renaming > exercise :) > > Tyler > From stepan.kafka@centrum.cz Wed Apr 9 07:01:25 2003 From: stepan.kafka@centrum.cz (Stepan Kafka) Date: Wed, 9 Apr 2003 08:01:25 +0200 Subject: [Mapserver-users] how to show big5 In-Reply-To: <008e01c2fd79$aadd86b0$b1df718c@ev.nctu.edu.tw> Message-ID: <000f01c2fe5d$741fa600$0101a8c0@HSGIS> This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C2FE6E.37A87600 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit I think, you can use UNICODE for labels. There are experiences with many national character sets. Stepan Kafka Help Service Remote Sensing tel: +420-327514118 mailto:kafka@email.cz http://www.bnhelp.cz -----P?vodni zprava----- Od: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]za u?ivatele Pei-Hwao Li Odeslano: 8. dubna 2003 4:51 Komu: mapserver-users@lists.gis.umn.edu P?edm?t: [Mapserver-users] how to show big5 Dear all, I am a new user of mapserver. And I am curious about how to show Big5 fonts on the map created by mapserver ? Does anybody have any advice for me to resolve this problem? Thanks a lot! Pei-Hwao Li ------=_NextPart_000_0010_01C2FE6E.37A87600 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
I=20 think, you can use UNICODE for labels. There are experiences with many = national=20 character sets.
 

Stepan Kafka
Help=20 Service Remote Sensing
tel: +420-327514118
mailto:kafka@email.cz

http://www.bnhelp.cz=20

-----P=F9vodn=ED=20 zpr=E1va-----
Od: mapserver-users-admin@lists.gis.umn.edu=20 [mailto:mapserver-users-admin@lists.gis.umn.edu]za u=9Eivatele = Pei-Hwao=20 Li
Odesl=E1no: 8. dubna 2003 4:51
Komu:=20 mapserver-users@lists.gis.umn.edu
P=F8edm=ECt: = [Mapserver-users] how to=20 show big5

Dear all,
 
     I am a new user of = mapserver. And I=20 am curious about how to
     show Big5 fonts on the = map created=20 by mapserver ?
     Does anybody have any = advice for me=20 to resolve this problem?
    Thanks a lot!
 
Pei-Hwao = Li
------=_NextPart_000_0010_01C2FE6E.37A87600-- From stefan.schwarzer@grid.unep.ch Wed Apr 9 08:12:34 2003 From: stefan.schwarzer@grid.unep.ch (Stefan Schwarzer) Date: Wed, 09 Apr 2003 09:12:34 +0200 Subject: [Mapserver-users] Shapefile cut-out Message-ID: <5.2.0.9.0.20030409085538.03642ae0@gridg.grid.unep.ch> --=====================_402814246==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed Hi list, I am fighting in the moment for clear thoughts in my dusty brain. Perhaps somebody could help me out... I have a bundle of national statistical data sets which cover the whole world (GDP, Arable Land, etc...). I serve them via MapScript as Shapefiles to my map-module, but at the same time in another non-map module as raw values via my MySQL database. Now I want to enable the user to pre-select a region like Europe or Africa. This cut-out should then not only be displayed as a map, but be available as a zipped shapefile for download. I read through the posts of the list and found the "ms_newShapeFileObj" command as a possible solution. I would then probably query the global data set and "paste" the records into the new -regional- shapefile. Another possibility would perhaps be to copy the original file and just delete the unnecessary entries. Or I would have already created the regional files, but without the data, and would then fill them via the MySQL database. Does anyone have experiences with zipping files in PHP? Any hints, ideas and code-examples are very much appreciated. Best wishes, Stefan P.S.: I am using MapScript 3.5, PHP, Apache, NT/Linux. _______________________________________ Stefan Schwarzer Consultant on GEO UNEP/DEWA/GRID-Geneva Chemin des Anemones 11 CH - 1219 Chatelaine Switzerland Tel: (+41) 22.917.83.49 Fax: (+41) 22.917.80.29 Email: stefan.schwarzer@grid.unep.ch Internet: http://geodata.grid.unep.ch/ _______________________________________ --=====================_402814246==.ALT Content-Type: text/html; charset="us-ascii" Hi list,

I am fighting in the moment for clear thoughts in my dusty brain. Perhaps somebody could help me out...

I have a bundle of national statistical data sets which cover the whole world (GDP, Arable Land, etc...). I serve them via MapScript as Shapefiles to my map-module, but at the same time in another non-map module as raw values via my MySQL database.

Now I want to enable the user to pre-select a region like Europe or Africa. This cut-out should then not only be displayed as a map, but be available as a zipped shapefile for download.

I read through the posts of the list and found the "ms_newShapeFileObj" command as a possible solution. I would then probably query the global data set and "paste" the records into the new -regional- shapefile. Another possibility would perhaps be to copy the original file and just delete the unnecessary entries. Or I would have already created the regional files, but without the data, and would then fill them via the MySQL database.

Does anyone have experiences with zipping files in PHP?

Any hints, ideas and code-examples are very much appreciated.

Best wishes,

Stefan

P.S.: I am using MapScript 3.5, PHP, Apache, NT/Linux.

        _______________________________________

        Stefan Schwarzer
        Consultant on GEO

        UNEP/DEWA/GRID-Geneva
        Chemin des Anemones 11
        CH - 1219 Chatelaine
        Switzerland

        Tel: (+41) 22.917.83.49
        Fax: (+41) 22.917.80.29

        Email: stefan.schwarzer@grid.unep.ch
        Internet: http://geodata.grid.unep.ch/
        _______________________________________ --=====================_402814246==.ALT-- From wesp@gdv.com Wed Apr 9 08:14:50 2003 From: wesp@gdv.com (Oliver Wesp) Date: Wed, 09 Apr 2003 09:14:50 +0200 Subject: Shape to Oracle was:Re: [Mapserver-users] Alessandro In-Reply-To: <11640969801.20030408193435@web.de> Message-ID: <5.2.0.9.2.20030409090951.02aa24c8@192.168.1.2> At 19:34 08.04.2003 +0200, Ralf Rapude wrote: >This one is a gui tool, converting shapefiles to oracle and also from >oracle to shape >http://www.gdv.com/ >It is called JShapeXI and it wouldn't work here :o|. Everyone can get a Demo-Version for Download http://www.gdv.com/Software/JShapeXi/JShapeXiDemo.zip Ralf it would be fine to know if you have any problems with JShapeXi and why. Maybe it helps us to improve it. lind regards Oliver -- Dipl.-Geogr. Oliver Wesp Gesellschaft für geografische Datenverarbeitung Binger Strasse 49-51 D-55218 Ingelheim fon: +49 6132 714818 fax: +49 6132 714828 http: www.gdv.com From warmerdam@pobox.com Wed Apr 9 08:24:28 2003 From: warmerdam@pobox.com (Frank Warmerdam) Date: Wed, 09 Apr 2003 03:24:28 -0400 Subject: Shape to Oracle was:Re: [Mapserver-users] Alessandro In-Reply-To: <5.2.0.9.2.20030409090951.02aa24c8@192.168.1.2> References: <5.2.0.9.2.20030409090951.02aa24c8@192.168.1.2> Message-ID: <3E93CAAC.3070705@pobox.com> Folks, I would note that OGR also now supports Oracle Spatial. So 'ogr2ogr' could be used to load Oracle Spatial from shapefiles, or any other OGR supported input format. The driver is not in GDAL/OGR 1.1.8, so if you want it download the nightly CVS snapshot. http://gdal.velocet.ca/projects/opengis/ Note the Oracle Spatial driver is undergoing continued work in the hopes of achieving better loading performance. The OGR connector could also be used in MapServer for Oracle Spatial support; however, I would presume the custom Oracle layer support in MapServer would be higher performance since there is one less intermediate layer of translation taking place. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From mh@svaj.dk Wed Apr 9 09:20:50 2003 From: mh@svaj.dk (Martin Hoegh) Date: Wed, 9 Apr 2003 10:20:50 +0200 Subject: [Mapserver-users] zoom out bug in gmap demo Message-ID: <002401c2fe70$ef3b5330$6700000a@svaj.local> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C2FE81.B1CAF620 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello I'm using the gmap demo with the html tools for zooming, panning and = query. Then the zoom out radio button is selected, every action you do = will result in zooming out e.g. if you click the keymap, the main map = will not recenter at the clicked position but zoom out instead. =20 I have tried to correct this bug without any success. Have anyone a = solution to this? =20 /Martin ------=_NextPart_000_0021_01C2FE81.B1CAF620 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

 

Hello

I=92m=20 using the gmap demo with the html tools for zooming, panning and query. = Then the=20 zoom out radio button is selected, every action you do will result in = zooming=20 out e.g. if you click the keymap, the main map will not recenter at the=20 clicked  position but zoom = out=20 instead.

 

I=20 have tried to correct this bug without any success. Have anyone a = solution to=20 this?

 

/Martin
------=_NextPart_000_0021_01C2FE81.B1CAF620-- From Andreas.Maul@bgr.de Wed Apr 9 09:55:18 2003 From: Andreas.Maul@bgr.de (Maul, Andreas-Alexander) Date: Wed, 9 Apr 2003 10:55:18 +0200 Subject: AW: [Mapserver-users] Shapefile cut-out Message-ID: This is a multi-part message in MIME format. ------_=_NextPart_001_01C2FE75.BEE5398C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Stefan, I do a database query (for geophysical measurements) with the = coordinates of the rectangle created with mapplet by the user of the = application and I pack the query results into a zip file. This zip file = is created with php zip functions and is offered to the user for = download in a separate window (how to do this see the links=20 http://www.zend.com/zend/spotlight/creating-zip-files1.php http://www.zend.com/zend/spotlight/creating-zip-files2.php http://www.zend.com/zend/spotlight/creating-zip-files3.php=20 and the attached file.) I hope this helps. Regards, Andreas -----Urspr=FCngliche Nachricht----- Von: Stefan Schwarzer [mailto:stefan.schwarzer@grid.unep.ch]=20 Gesendet: Mittwoch, 9. April 2003 09:13 An: mapserver-users@lists.gis.umn.edu Betreff: [Mapserver-users] Shapefile cut-out Hi list, I am fighting in the moment for clear thoughts in my dusty brain. = Perhaps somebody could help me out... I have a bundle of national statistical data sets which cover the whole = world (GDP, Arable Land, etc...). I serve them via MapScript as = Shapefiles to my map-module, but at the same time in another non-map = module as raw values via my MySQL database. Now I want to enable the user to pre-select a region like Europe or = Africa. This cut-out should then not only be displayed as a map, but be = available as a zipped shapefile for download.=20 I read through the posts of the list and found the "ms_newShapeFileObj" = command as a possible solution. I would then probably query the global = data set and "paste" the records into the new -regional- shapefile. = Another possibility would perhaps be to copy the original file and just = delete the unnecessary entries. Or I would have already created the = regional files, but without the data, and would then fill them via the = MySQL database. Does anyone have experiences with zipping files in PHP? Any hints, ideas and code-examples are very much appreciated. Best wishes, Stefan P.S.: I am using MapScript 3.5, PHP, Apache, NT/Linux. =A0=A0=A0=A0=A0=A0=A0=A0_______________________________________ =A0=A0=A0=A0=A0=A0=A0=A0Stefan Schwarzer =A0=A0=A0=A0=A0=A0=A0=A0Consultant on GEO =A0=A0=A0=A0=A0=A0=A0=A0UNEP/DEWA/GRID-Geneva =A0=A0=A0=A0=A0=A0=A0=A0Chemin des Anemones 11 =A0=A0=A0=A0=A0=A0=A0=A0CH - 1219 Chatelaine =A0=A0=A0=A0=A0=A0=A0=A0Switzerland =A0=A0=A0=A0=A0=A0=A0=A0Tel: (+41) 22.917.83.49 =A0=A0=A0=A0=A0=A0=A0=A0Fax: (+41) 22.917.80.29 =A0=A0=A0=A0=A0=A0=A0=A0Email: stefan.schwarzer@grid.unep.ch =A0=A0=A0=A0=A0=A0=A0=A0Internet: http://geodata.grid.unep.ch/ =A0=A0=A0=A0=A0=A0=A0=A0_______________________________________ ------_=_NextPart_001_01C2FE75.BEE5398C Content-Type: application/octet-stream; name="zipper.php" Content-Transfer-Encoding: base64 Content-Description: zipper.php Content-Disposition: attachment; filename="zipper.php" PD9waHAgIA0KDQovKiANCg0KWmlwIGZpbGUgY3JlYXRpb24gY2xhc3MgDQptYWtlcyB6aXAgZmls ZXMgb24gdGhlIGZseS4uLiANCg0KdXNlIHRoZSBmdW5jdGlvbnMgYWRkX2RpcigpIGFuZCBhZGRf ZmlsZSgpIHRvIGJ1aWxkIHRoZSB6aXAgZmlsZTsgDQpzZWUgZXhhbXBsZSBjb2RlIGJlbG93IA0K DQpieSBFcmljIE11ZWxsZXIgDQpodHRwOi8vd3d3LnRoZW1lcGFyay5jb20gDQoNCnYxLjEgOS0y MC0wMSANCiAgLSBhZGRlZCBjb21tZW50cyB0byBleGFtcGxlIA0KDQp2MS4wIDItNS0wMSANCg0K aW5pdGlhbCB2ZXJzaW9uIHdpdGg6IA0KICAtIGNsYXNzIGFwcGVhcmFuY2UgDQogIC0gYWRkX2Zp bGUoKSBhbmQgZmlsZSgpIG1ldGhvZHMgDQogIC0gZ3pjb21wcmVzcygpIG91dHB1dCBoYWNraW5n IA0KYnkgRGVuaXMgTy5QaGlsaXBwb3YsIHdlYm1hc3RlckBhdGxhbnQucnUsIGh0dHA6Ly93d3cu YXRsYW50LnJ1IA0KDQoqLyAgDQoNCi8vIG9mZmljaWFsIFpJUCBmaWxlIGZvcm1hdDogaHR0cDov L3d3dy5wa3dhcmUuY29tL2FwcG5vdGUudHh0IA0KDQpjbGFzcyB6aXBmaWxlICAgDQp7ICAgDQoN CiAgICB2YXIgJGRhdGFzZWM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