From vatsavai@mail.cs.umn.edu Sat Nov 30 20:31:02 2002 Received: from mail.cs.umn.edu (root@mail.cs.umn.edu [128.101.34.200]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB12V2ae006833 for ; Sat, 30 Nov 2002 20:31:02 -0600 (CST) Received: from pluto.cs.umn.edu (pluto.cs.umn.edu [128.101.35.144]) by mail.cs.umn.edu (8.11.3/8.11.3) with ESMTP id gB12UTX09362 for ; Sat, 30 Nov 2002 20:30:29 -0600 (CST) From: Ranga Raju Vatsavai Received: (from vatsavai@localhost) by pluto.cs.umn.edu (8.9.3/8.9.0) id UAA07546 for mapserver-users@lists.gis.umn.edu; Sat, 30 Nov 2002 20:30:25 -0600 (CST) Message-Id: <200212010230.UAA07546@pluto.cs.umn.edu> To: mapserver-users@lists.gis.umn.edu Date: Sat, 30 Nov 2002 20:30:25 -0600 (CST) X-Mailer: ELM [version 2.4ME+ PL93 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: [Mapserver-users] welcome Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Test message after mapserver-users mailing list is created with mailman. Subscription information can be found at http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Thanks Raju ---- From fx.gamoy@mapxplore.com Mon Dec 2 03:37:35 2002 Received: from smarthost2.mail.easynet.fr (smarthost2.mail.easynet.fr [212.180.1.69]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB29bYae014191 for ; Mon, 2 Dec 2002 03:37:34 -0600 (CST) Received: from [212.11.36.243] (helo=dns1.mapxplore.com) by smarthost2.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id 18In0e-0004Q0-00 for ; Mon, 02 Dec 2002 10:37:00 +0100 Received: from local-ip[x.x.x.x] by dns1.mapxplore.com; Mon, 02 Dec 2002 10:37:24 +0000 Message-ID: <005301c299ee$ccfc53f0$0201a8c0@mapxplore.com> From: "fx gamoy" To: Date: Mon, 2 Dec 2002 10:37:23 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0050_01C299EE.CCF52800" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [Mapserver-users] log files problem Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0050_01C299EE.CCF52800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello everybody, i've goto problems with my log file. What is the way to configure a log.txt file in a log directory? that's = to say http://mymap.com/log/log.txt I have defined some parameters in my test.map (WEB) globprefs.php but = nothing occurs. i am using apache in a winnt plateform whit mapserver3.6.3 and = php/mapscript. Thanks fx gamoy http://www.mapxplore.com/ ------=_NextPart_000_0050_01C299EE.CCF52800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello everybody,
i've goto problems with my log = file.
What is the way to configure a log.txt = file in a=20 log directory? that's to say http://mymap.com/log/log.txt
 
I have defined some parameters in my = test.map (WEB)=20 globprefs.php but nothing occurs.
i am using apache in a winnt plateform = whit=20 mapserver3.6.3 and php/mapscript.
 
Thanks
fx gamoy
http://www.mapxplore.com/
------=_NextPart_000_0050_01C299EE.CCF52800-- From pucher@atlas.gis.univie.ac.at Mon Dec 2 03:46:16 2002 Received: from unet.univie.ac.at (unet.univie.ac.at [131.130.221.38]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB29kFae014246 for ; Mon, 2 Dec 2002 03:46:15 -0600 (CST) Received: from atlas.gis.univie.ac.at (david.gis.univie.ac.at [131.130.63.63]) by unet.univie.ac.at (8.12.2/8.12.2) with ESMTP id gB29jbnh074244 for ; Mon, 2 Dec 2002 10:45:38 +0100 Message-ID: <3DEB2BBC.1050107@atlas.gis.univie.ac.at> Date: Mon, 02 Dec 2002 10:45:32 +0100 From: Alexander Pucher User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 MultiZilla/v1.1.20 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] Mapplet on Mac Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, just read Steve's mail from 06.10.2002 about the Mapplet/Browser topic. Steve says there: "Mac users are out of luck too, no LiveConnect support has ever existed for Mac browsers." Has anything changed up to today? What other possibilities do I have to get Mapplet-like functionality running on a mac? Regards, alex -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher@univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- M$ is not the answer. M$ is the question! No is the answer -- Eric Naggum From nida@webstar.co.uk Mon Dec 2 04:54:15 2002 Received: from gnu.private.webstar.co.uk (router.office.webstar.co.uk [195.138.227.1]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2AsEae014739 for ; Mon, 2 Dec 2002 04:54:14 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gnu.private.webstar.co.uk (Postfix) with ESMTP id 930D136F13 for ; Mon, 2 Dec 2002 10:53:45 +0000 (GMT) Received: from BMW (unknown [192.168.1.169]) by gnu.private.webstar.co.uk (Postfix) with SMTP id 4C8BE36F09 for ; Mon, 2 Dec 2002 10:53:45 +0000 (GMT) Message-ID: <00ea01c299f0$0eb2e100$a901a8c0@private.webstar.co.uk> From: "nida Khan" To: Date: Mon, 2 Dec 2002 10:46:23 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E7_01C299F0.0EA21820" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20020300 Subject: [Mapserver-users] raster layer Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00E7_01C299F0.0EA21820 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ok... I am very much confuse here, I've got only .tif file from ordnancesurvey website. There is no download avaliable for twf file!!!! Where do I get twf file??? Regards Nida. ----- Original Message ----- From: "Hankley, Chip" To: "'nida Khan'" Cc: "MapServer List (E-mail)" Sent: Friday, November 29, 2002 2:26 PM Subject: RE: [mapserver-users] raster layer > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to open > > world file for reading. > > This indicates to me that your image doesn't have a valid world file, = or > that it isn't GeoTif. For the image to display correctly, it needs to = have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip ------=_NextPart_000_00E7_01C299F0.0EA21820 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
ok... I am very much confuse here, = I've got only=20 .tif file from
ordnancesurvey website. There is no download avaliable = for twf=20 file!!!!

Where do I get twf = file???

Regards
Nida.

-----=20 Original Message -----
From: "Hankley, Chip" <
Chip.Hankley@GASAI.Com
>
To: = "'nida Khan'"=20 <
nida@webstar.co.uk
>
Cc: = "MapServer List=20 (E-mail)" <
mapserver-users@lists.gis.umn.edu>
Sent:=20 Friday, November 29, 2002 2:26 PM
Subject: RE: [mapserver-users] = raster=20 layer


> Nida,
>
> > it gives me this = error
>=20 >  readWorldFile(): Unable to access file. Unable to = open
>=20 >  world file for reading.
>
> This indicates to me = that=20 your image doesn't have a valid world file, or
> that it isn't = GeoTif. For=20 the image to display correctly, it needs to have
> that. Is there = a=20 'tq38sw.tfw' file in the directory?
>
>=20 Chip

------=_NextPart_000_00E7_01C299F0.0EA21820-- From nida@webstar.co.uk Mon Dec 2 05:32:47 2002 Received: from gnu.private.webstar.co.uk (router.office.webstar.co.uk [195.138.227.1]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2BWjae015380 for ; Mon, 2 Dec 2002 05:32:45 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gnu.private.webstar.co.uk (Postfix) with ESMTP id 7AFBA36F13; Mon, 2 Dec 2002 11:32:16 +0000 (GMT) Received: from BMW (unknown [192.168.1.169]) by gnu.private.webstar.co.uk (Postfix) with SMTP id B476B36F09; Mon, 2 Dec 2002 11:32:15 +0000 (GMT) Message-ID: <010801c299f5$6f8946e0$a901a8c0@private.webstar.co.uk> From: "nida Khan" To: "nida Khan" , References: <00ea01c299f0$0eb2e100$a901a8c0@private.webstar.co.uk> Subject: Re: [Mapserver-users] raster layer Date: Mon, 2 Dec 2002 11:24:53 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0105_01C299F5.6F2DB960" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0105_01C299F5.6F2DB960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have downloaded a big zip file, whith all the .twf files. Now I have copied the related twf file in the same directory and yapee, = not gettting that error any more, instead a blank image is coming up :(. = (anyone have any idea what might be the issue this time) thats something new to explore! Thank you very much every for your helpful replies Regards Nida. ----- Original Message -----=20 From: nida Khan=20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Monday, December 02, 2002 10:46 AM Subject: [Mapserver-users] raster layer ok... I am very much confuse here, I've got only .tif file from ordnancesurvey website. There is no download avaliable for twf = file!!!! Where do I get twf file??? Regards Nida. ----- Original Message ----- From: "Hankley, Chip" To: "'nida Khan'" Cc: "MapServer List (E-mail)" Sent: Friday, November 29, 2002 2:26 PM Subject: RE: [mapserver-users] raster layer > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to open > > world file for reading. > > This indicates to me that your image doesn't have a valid world = file, or > that it isn't GeoTif. For the image to display correctly, it needs = to have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip ------=_NextPart_000_0105_01C299F5.6F2DB960 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have downloaded a big zip file, whith all the .twf = files.
Now I have copied the related twf file in the same = directory=20 and yapee, not gettting that error any more, instead a blank image is = coming up=20 :(. (anyone have any idea what might be the issue this = time)
 
thats something new to explore!
 
Thank you very much every for your helpful=20 replies
Regards
Nida.
 
----- Original Message -----
From:=20 nida = Khan=20
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Monday, December 02, 2002 = 10:46=20 AM
Subject: [Mapserver-users] = raster=20 layer

ok... I am very much confuse here, = I've got=20 only .tif file from
ordnancesurvey website. There is no download = avaliable=20 for twf file!!!!

Where do I get twf=20 file???

Regards
Nida.

----- Original Message = -----
From:=20 "Hankley, Chip" <
Chip.Hankley@GASAI.Com
>
To: = "'nida Khan'"=20 <
nida@webstar.co.uk>
Cc: = "MapServer List=20 (E-mail)" <
mapserver-users@lists.gis.umn.edu>
Sent:=20 Friday, November 29, 2002 2:26 PM
Subject: RE: [mapserver-users] = raster=20 layer


> Nida,
>
> > it gives me this=20 error
> >  readWorldFile(): Unable to access file. = Unable to=20 open
> >  world file for reading.
>
> This = indicates=20 to me that your image doesn't have a valid world file, or
> that = it=20 isn't GeoTif. For the image to display correctly, it needs to = have
>=20 that. Is there a 'tq38sw.tfw' file in the directory?
>
>=20 Chip

------=_NextPart_000_0105_01C299F5.6F2DB960-- From fx.gamoy@mapxplore.com Mon Dec 2 08:21:53 2002 Received: from smarthost2.mail.easynet.fr (smarthost2.mail.easynet.fr [212.180.1.69]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2ELqae016986 for ; Mon, 2 Dec 2002 08:21:52 -0600 (CST) Received: from [212.11.36.243] (helo=dns1.mapxplore.com) by smarthost2.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id 18IrRl-0002kI-00; Mon, 02 Dec 2002 15:21:17 +0100 Received: from local-ip[x.x.x.x] by dns1.mapxplore.com; Mon, 02 Dec 2002 15:21:40 +0000 Message-ID: <001401c29a16$83978ae0$0201a8c0@mapxplore.com> From: "fx gamoy" To: , Date: Mon, 2 Dec 2002 15:21:40 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C29A16.8367C850" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [Mapserver-users] New mapserver application Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0011_01C29A16.8367C850 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Mapserver-list members, i am proud to present my first MapServer project on http://www.mapxplore.com/ The system is based on MapServer and php/mapscript hosted with Apache. Have fun.. and thanks for all your replies fx gamoy ------=_NextPart_000_0011_01C29A16.8367C850 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear=20 Mapserver-list members,

i am proud to present my first = MapServer=20 project on
http://www.mapxplore.com/
 
The system is=20 based on MapServer and php/mapscript hosted with = Apache.
Have=20 fun..
 
and thanks for all your = replies
fx gamoy


------=_NextPart_000_0011_01C29A16.8367C850-- From morissette@dmsolutions.ca Mon Dec 2 09:51:10 2002 Received: from mx4.magma.ca (mx4.magma.ca [206.191.0.253]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2FpAae017845 for ; Mon, 2 Dec 2002 09:51:10 -0600 (CST) Received: from mail5.magma.ca (mail5.magma.ca [206.191.0.225]) by mx4.magma.ca (Magma's Mail Server) with ESMTP id gB2FoacY006044; Mon, 2 Dec 2002 10:50:36 -0500 Received: from dmsolutions.ca (Toronto-HSE-ppp3764649.sympatico.ca [67.68.160.152]) by mail5.magma.ca (Magma's Mail Server) with ESMTP id gB2Foa5x018056; Mon, 2 Dec 2002 10:50:36 -0500 (EST) Message-ID: <3DEB814B.39038056@dmsolutions.ca> Date: Mon, 02 Dec 2002 10:50:35 -0500 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Caffeinate The World CC: mapserver Subject: Re: [mapserver-users] Answer to Why Configure Fails to Detected GD Supported Graphics Formats References: <20021127093121.6235.qmail@web13902.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Caffeinate The World wrote: > > It turned out my libgd.so was linked with libXpm.so and libX11.so. > When configure compiled it's test program to check to see if it can > use certain functions like gdImagePng() or gdImageGif(), the test app > would aways fail cause it's linking with libgd.so but doesn't have any > switches for -lXpm or -lX11 and if necessary proper -rpath (for *BSD). > Consequently no supported graphic function was found. > > I would like to suggest we add --with-x11[=dir] and --with-xpm[=dir] > to configure. > Thanks for pointing this. I added '--with-xpm=DIR' to the configure script in version 3.7. BTW, we don't need a separate --with-x11 since both libXpm.so and libX11.so should be located in the same directory. That's also the way PHP4 deals with this lib, so I assume that it should work on most systems. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From vatsavai@mail.cs.umn.edu Mon Dec 2 11:34:58 2002 Received: from mail.cs.umn.edu (root@mail.cs.umn.edu [128.101.34.200]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2HYwae018622 for ; Mon, 2 Dec 2002 11:34:58 -0600 (CST) Received: from pluto.cs.umn.edu (pluto.cs.umn.edu [128.101.35.144]) by mail.cs.umn.edu (8.11.3/8.11.3) with ESMTP id gB2HYOX00965; Mon, 2 Dec 2002 11:34:24 -0600 (CST) From: Ranga Raju Vatsavai Received: (from vatsavai@localhost) by pluto.cs.umn.edu (8.9.3/8.9.0) id LAA00442; Mon, 2 Dec 2002 11:34:23 -0600 (CST) Message-Id: <200212021734.LAA00442@pluto.cs.umn.edu> To: mapserver-users@lists.gis.umn.edu Date: Mon, 2 Dec 2002 11:34:23 -0600 (CST) CC: Ranga Raju Vatsavai Action: X-Mailer: ELM [version 2.4ME+ PL93 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: [Mapserver-users] Things you should know Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello MapServer Users, More than 100 members are subscribed as of now and all of you must have noticed the control mailman provides to customize your subscription. Especially lot of users are now requesting for digested version. Let me know how that option is working for you. Members (requesting digest option) should be getting the digested version once every day and whenever the size of digested version exceeds 1MB. Security: 1. We are using confirmation based subscription - so that 'somebody else' is not subscribing you to the list without your knowledge. 2. Posting to the list is restricted to the list members - so that members can't get SPAM mails easily (not a poolproof, but some thing is better than nothing). 3. Who can view subscription list - This option allows users to look at email address of all the subscribed users. Rightnow I disabled this option to let the users know the potential impact of this option. In the previous set up all subscribed users can have a look at the subscription list (i.e., email address of all the subscribed users) through the 'who' command. Now we can do that through the web. This option is some what safe in the sense that only subscribed users can do this, however, it can not prevent the mail harvestor to subscibe himself and get this subscription list, though the chances are less. However, by disabling totally, genuine users cannot have access to the subsciber list (mostly to get a sense of how many users are subscirbed or who else is subscirbed, etc). On positive side, mailman offers added security, so concerned users can 'hide' their email address if they wish. Here are the steps to do so - 1. Access the following page http://lists.gis.umn.edu/mailman/listinfo/mapserver-users 2. Fill in your email address at the bottom entry and click on Edit Options button 3. Answer the question "Conceal yourself from subscriber list' appropriately 4. Provide your password and click on 'submit my changes' button. Please note: Starting from tonight, I am enabling the 'visit subscriber list' option which allows any subscribed users to look at the email addresses of all subscribed users (equivalent to previous who option). So if you don't want to allow other subscribers to look at your entry in this list, please choose 'yes' to 'conceal yourself ...' question by this evening. Let me know if you have any concerns or questions. Best wishes, Raju ---- From pkishor@geoanalytics.com Mon Dec 2 12:18:00 2002 Received: from email.geoanalytics.com (email.geoanalytics.com [209.83.8.230]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2IHxae018874 for ; Mon, 2 Dec 2002 12:17:59 -0600 (CST) Received: by email.geoanalytics.com with Internet Mail Service (5.5.2656.59) id ; Mon, 2 Dec 2002 12:17:26 -0600 Message-ID: From: Puneet Kishor To: "'mapserver-users@lists.gis.umn.edu'" Cc: "'Alexander Pucher'" Date: Mon, 2 Dec 2002 12:17:24 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [Mapserver-users] Mapplet on Mac Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: > Hi, > > just read Steve's mail from 06.10.2002 about the > Mapplet/Browser topic. > > Steve says there: > > "Mac users are out of luck too, no LiveConnect support has > ever existed for Mac browsers." > > > > Has anything changed up to today? What other possibilities do > I have to get Mapplet-like functionality running on a mac? > nope... stay away from mapplets and other java applets in the browser on the mac. they are nasty! js driven controls work well on IE for Mac and can be easily modified to work with Gecko-based browsers. From pkishor@geoanalytics.com Mon Dec 2 12:23:20 2002 Received: from email.geoanalytics.com (email.geoanalytics.com [209.83.8.230]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2INJae018907 for ; Mon, 2 Dec 2002 12:23:19 -0600 (CST) Received: by email.geoanalytics.com with Internet Mail Service (5.5.2656.59) id ; Mon, 2 Dec 2002 12:22:46 -0600 Message-ID: From: Puneet Kishor To: "'mapserver-users@lists.gis.umn.edu'" Cc: "'Ranga Raju Vatsavai'" Date: Mon, 2 Dec 2002 12:22:42 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain Subject: [Mapserver-users] Re: Things you should know Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: > From: Ranga Raju Vatsavai > > More than 100 members are subscribed as of now and I am one of them> Gracias. > Especially lot of users are > now requesting for digested version. Let me know how that > option is working for you. yummy! however, since I using M$-Outlook(is foggy) at work to view the digest, I really don't have any control over replying to indiv. messages, exploding the digest, etc., all the digest-related goodness I had come to expect from Eudora. Does anyone (unfortunate enough like me to be sujected to Outlook) know of a way around, like a plug-in or something that allows control over the way a digest is handled, or is the mailman digest not digested well to start with, so to say? pk/ From ed@topozone.com Mon Dec 2 12:29:35 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2ITYae018992 for ; Mon, 2 Dec 2002 12:29:34 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] raster layer MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29A30.AF0A62D1" Date: Mon, 2 Dec 2002 13:29:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39C7@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] raster layer Thread-Index: AcKaI6NcpLcMpBINRhKQ4SnNsFqhjQADPeWw From: "Ed McNierney" To: "nida Khan" , Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C29A30.AF0A62D1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Nida - =20 Your EXTENT line: =20 EXTENT 127000.0 160000.0 530000.0 185000.0 says "use a minimum X of 127000, a minimum Y of 160000, a maximum X of = 530000, and a maximum Y of 185000". However, the upper-left corner of = your image is at X =3D 530000, Y =3D 185000. This means that the entire = image data lies just to the right of the area you're viewing, so you'll = get no map. Try changing the line to: =20 EXTENT 530000.0 160000.0 555000.0 185000.0 and see what you get. I can't tell how large your image is, but this = should make SOMETHING visible in the upper-left corner of the map image. = The extents for a map image are normally provided as FORM variables, so = you can control the area mapped interactively. =20 - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 11:48 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Hi , =20 this is what it contains =20 0.635 0 0 -0.635 530000 185000 =20 Nida. =20 ----- Original Message -----=20 From: Ed McNierney =20 To: nida Khan =20 Sent: Monday, December 02, 2002 3:57 PM Subject: RE: [Mapserver-users] raster layer Nida - =20 What are the contents of your world (TFW) file? =20 - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 10:30 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Hi Again, =20 Once again thank you so much for your help!. There r files in the tmp directory alright, I can c scalebar fine, I = tried to view the image outside the mapserver as well, but still it = prints it as blank. =20 " If you're really retrieving files but they're blank images, then your = data doesn't intersect the map image requested." =20 ok, I've got only one layer in the map file for that raster image, got = .tif and .tfw file in my raster directory changed the extents as mentioned in last email. =20 whats next? =20 Me lost in GIS world Nida. Nida - =20 I'm not really sure what that information means, but you need to figure = out which of these three things is happening: =20 1. MapServer is creating and your browser is displaying a perfectly = valid image that is blank. 2. MapServer is creating an image in the IMAGEPATH directory but your = browser can't retrieve it. 3. MapServer cannot create an image in the IMAGEPATH directory. =20 These are three different problems with three different fixes. You = should check the IMAGEPATH directory after trying to display the map a = few times - you should see more temporary image files being created = there. If they're not being created, then your MapServer setup doesn't = have permission to write to that directory. If the files are created = but you can't retrieve them in your browser, then your Web site doesn't = have access to those files. If you're really retrieving files but = they're blank images, then your data doesn't intersect the map image = requested. =20 - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 9:09 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Thank you so much for your reply! =20 I right clicked on that blank image, and it does not look like a image = to me, =20 protocol=3Dhyper text type=3Dhtml document address=3D"full address at time of init." size=3D2460 =20 I changed the extents before I did this, nothing make any diffrence here is my content of map file =20 NAME WALES #EXTENT 127000.0 160000.0 380000.0 402000.0 EXTENT 127000.0 160000.0 530000.0 185000.0 SIZE 400 400 FONTSET "/var/www/html/application/fonts/fonts.list" SHAPEPATH "/var/www/html/application/" UNITS KILOMETERS =20 WEB TEMPLATE wales2.html IMAGEPATH "/var/www/html/application/tmp/" IMAGEURL "/application/tmp/" END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE =20 COLOR 255 0 0 END =20 SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END =20 LAYER # NAME "Layer_CIB" NAME "wales_boundary"=20 DATA "raster/tq38sw.tif" TYPE RASTER =20 STATUS DEFAULT OFFSITE 0 END =20 END # end of map file I have .tif and .tfw file in my raster directory! =20 Really appreciate your help! Regards Nida. =20 ----- Original Message -----=20 From: Ed McNierney=20 To: nida Khan =20 Sent: Monday, December 02, 2002 1:53 PM Subject: RE: [Mapserver-users] raster layer Nida - =20 If you are getting a blank image (not a MISSING image, but a real, valid = image that is blank) that means that the data you have do not overlap = the extents requested for the map. Look at the EXTENTS line in your map = file; the numbers should be similar to the last two lines in the TFW = file. =20 - Ed =20 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=20 -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 6:25 AM To: nida Khan; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] raster layer I have downloaded a big zip file, whith all the .twf files. Now I have copied the related twf file in the same directory and yapee, = not gettting that error any more, instead a blank image is coming up :(. = (anyone have any idea what might be the issue this time) =20 thats something new to explore! =20 Thank you very much every for your helpful replies Regards Nida. =20 ----- Original Message -----=20 From: nida Khan =20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Monday, December 02, 2002 10:46 AM Subject: [Mapserver-users] raster layer ok... I am very much confuse here, I've got only .tif file from ordnancesurvey website. There is no download avaliable for twf file!!!! Where do I get twf file??? Regards Nida. ----- Original Message ----- From: "Hankley, Chip" < = Chip.Hankley@GASAI.Com> To: "'nida Khan'" < nida@webstar.co.uk> Cc: "MapServer List (E-mail)" < = = mapserver-users@lists.gis.umn.edu> Sent: Friday, November 29, 2002 2:26 PM Subject: RE: [mapserver-users] raster layer > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to open > > world file for reading. > > This indicates to me that your image doesn't have a valid world file, = or > that it isn't GeoTif. For the image to display correctly, it needs to = have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip ------_=_NextPart_001_01C29A30.AF0A62D1 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Nida=20 -
 
Your=20 EXTENT line:
 
EXTENT 127000.0 = 160000.0=20 530000.0 185000.0
says=20 "use a minimum X of 127000, a minimum Y of 160000, a maximum X of = 530000, and a=20 maximum Y of 185000".  However, the upper-left corner of your image = is at X=20 =3D 530000, Y =3D 185000.  This means that the entire image data = lies=20 just to the right of the area you're viewing, so you'll get no = map. =20 Try changing the line to:
 
EXTENT 530000.0 160000.0 555000.0=20 185000.0
and see what you get.  I can't tell how = large your=20 image is, but this should make SOMETHING visible in the upper-left = corner of the=20 map image.  The extents for a map image are normally provided as = FORM=20 variables, so you can control the area mapped=20 interactively.
 
    -=20 Ed
-----Original Message-----
From: nida Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December 02, 2002 = 11:48=20 AM
To: Ed McNierney
Subject: Re: [Mapserver-users] = raster=20 layer

Hi ,
 
this is what it contains
 
0.635
0
0
-0.635
530000
185000
 
Nida.
 
----- Original Message -----
From:=20 Ed = McNierney=20
Sent: Monday, December 02, = 2002 3:57=20 PM
Subject: RE: = [Mapserver-users] raster=20 layer

Nida -
 
What are the contents of your world (TFW) = file?
 
    - Ed
-----Original Message-----
From: nida Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December 02, = 2002=20 10:30 AM
To: Ed McNierney
Subject: Re:=20 [Mapserver-users] raster layer

Hi Again,
 
Once again thank you so much for your=20 help!.

There r files in the = tmp=20 directory alright, I can c scalebar fine, I tried to view the = image=20 outside the mapserver as well, but still it prints it as=20 blank.
 
" If you're really = retrieving files=20 but they're blank images, then your data doesn't intersect the map = image=20 requested."
 
ok, I've got only one layer in the map file = for that=20 raster image, got .tif and .tfw file in my raster = directory
changed the extents as mentioned in last=20 email.
 
whats next?
 
Me lost in GIS world
Nida.
Nida -
 
I'm not really sure what that information means, but = you need to=20 figure out which of these three things is = happening:
 
1. MapServer is creating and your browser is displaying = a=20 perfectly valid image that is blank.
2. MapServer is creating an image in the IMAGEPATH = directory but=20 your browser can't retrieve it.
3. MapServer cannot create an image in the IMAGEPATH=20 directory.
 
These are three different problems with three different = fixes.  You should check the IMAGEPATH directory after = trying to=20 display the map a few times - you should see more temporary = image files=20 being created there.  If they're not being created, then = your=20 MapServer setup doesn't have permission to write to that=20 directory.  If the files are created but you can't retrieve = them in=20 your browser, then your Web site doesn't have access to those=20 files.  If you're really retrieving files but they're blank = images,=20 then your data doesn't intersect the map image=20 requested.
 
     - Ed
-----Original Message-----
From: nida Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December = 02, 2002=20 9:09 AM
To: Ed McNierney
Subject: Re:=20 [Mapserver-users] raster layer

Thank you so much for your = reply!
 
I right clicked on that blank image, and = it does not=20 look like a image to me,
 
protocol=3Dhyper text
type=3Dhtml document
address=3D"full address at time of = init."
size=3D2460
 
I changed the extents before I did this, = nothing=20 make any diffrence
here is my content of map = file
 
NAME WALES
#EXTENT 127000.0 160000.0 = 380000.0=20 402000.0
EXTENT 127000.0 160000.0 530000.0 185000.0
SIZE = 400=20 400
FONTSET=20 "/var/www/html/application/fonts/fonts.list"
SHAPEPATH=20 "/var/www/html/application/"
UNITS = KILOMETERS
   =20
WEB
  TEMPLATE wales2.html
  IMAGEPATH=20 "/var/www/html/application/tmp/"
  IMAGEURL=20 "/application/tmp/"
END

QUERYMAP
  SIZE 200 = 200
  STATUS=20 ON
  STYLE HILITE 
  COLOR 255 0=20 0
END
 
SYMBOL
  NAME 'circle'
  = TYPE=20 ELLIPSE
  POINTS 1 1 END
  FILLED=20 TRUE
END
  
LAYER
 # NAME=20 "Layer_CIB"
  NAME "wales_boundary"
  DATA=20 "raster/tq38sw.tif"
  TYPE RASTER   =
 =20 STATUS DEFAULT
  OFFSITE 0
END
 
END # end of map file
I have .tif and .tfw file in my raster=20 directory!
 
Really appreciate your help!
Regards
Nida. 
----- Original Message ----- =
From:=20 Ed=20 McNierney
Sent: Monday, = December 02, 2002=20 1:53 PM
Subject: RE: = [Mapserver-users]=20 raster layer

Nida -
 
If you are getting a blank image (not a MISSING = image, but a=20 real, valid image that is blank) that means that the data = you have=20 do not overlap the extents requested for the map.  Look = at the=20 EXTENTS line in your map file; the numbers should be similar = to the=20 last two lines in the TFW file.
 
    = - = Ed
 

Ed McNierney
President and Chief=20 Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 = Princeton=20 Street, Suite 305
North Chelmsford, MA =20 01863
ed@topozone.com
(978) 251-4242 =

-----Original = Message-----
From: nida=20 Khan [mailto:nida@webstar.co.uk]
Sent: Monday, = December=20 02, 2002 6:25 AM
To: nida Khan;=20 mapserver-users@lists.gis.umn.edu
Subject: Re:=20 [Mapserver-users] raster layer

I have downloaded a big zip file, = whith all the=20 .twf files.
Now I have copied the related twf file = in the=20 same directory and yapee, not gettting that error any = more,=20 instead a blank image is coming up :(. (anyone have any = idea what=20 might be the issue this time)
 
thats something new to = explore!
 
Thank you very much every for your = helpful=20 replies
Regards
Nida.
 
----- Original Message = -----=20
From:=20 nida Khan
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Monday, = December 02,=20 2002 10:46 AM
Subject: = [Mapserver-users]=20 raster layer

ok... I am very much = confuse=20 here, I've got only .tif file from
ordnancesurvey = website.=20 There is no download avaliable for twf = file!!!!

Where do=20 I get twf file???

Regards
Nida.

----- = Original=20 Message -----
From: "Hankley, Chip" <
Chip.Hankley@GASAI.Com
>
To:=20 "'nida Khan'" <
nida@webstar.co.uk>
Cc:=20 "MapServer List (E-mail)" <
mapserver-users@lists.gis.umn.edu>
Sent: Friday, November 29, 2002 2:26=20 PM
Subject: RE: [mapserver-users] raster=20 layer


> Nida,
>
> > it = gives me=20 this error
> >  readWorldFile(): Unable to = access=20 file. Unable to open
> >  world file for=20 reading.
>
> This indicates to me that your = image=20 doesn't have a valid world file, or
> that it = isn't=20 GeoTif. For the image to display correctly, it needs to=20 have
> that. Is there a 'tq38sw.tfw' file in the=20 directory?
>
>=20 = Chip
= ------_=_NextPart_001_01C29A30.AF0A62D1-- From steve.lime@dnr.state.mn.us Mon Dec 2 14:56:33 2002 Received: from co5.dnr.state.mn.us (dnr.state.mn.us [156.98.35.249]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2KuWae019800 for ; Mon, 2 Dec 2002 14:56:33 -0600 (CST) Received: from DNR-MTA by co5.dnr.state.mn.us with Novell_GroupWise; Mon, 02 Dec 2002 14:55:52 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 02 Dec 2002 14:55:41 -0600 From: "Steve Lime" To: , Cc: Subject: Re: [mapserver-users] v. 3.7 release? Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I think Dan's about right with the timing. There are still a couple of important additions to come in the next couple of weeks: joins and Oracle Spatial queries among them. I think we should shoot for a January 1st beta with things improving throughout Dec. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Daniel Morissette 11/26/02 09:55AM >>> John McCue wrote: > > Is there a time estimate for when version 3.7 might become the current > version of MapServer? There are a number of features that I would like to > implement from v3.7 as soon as it is ready. > It's getting closer every day, we had talked with Steve about releasing at end of November but it's not ready yet... I hope to see a release or at least a very stable beta before Christmas. This is just from my point of view, Steve may want to add some comments. BTW, the CVS version is starting to be in very good shape now, so if you (or others experienced users on the list) want to help then you can download the source from CVS (or nightly builds) and then try to port your applications to 3.7 and report issues that you find via bugzilla. The most imporant is to report things that used to work in 3.6 and don't work in 3.7. Also, if someone wanted to create and maintain a "3.6 to 3.7 migration guide" (a Wiki page), that would help a lot too. A good starting point for this would be the file HISTORY.TXT in the source package, and a few posts to the list: About migrating existing PHP code: ---- http://lists.dmsolutions.ca/pipermail/mapserver-users/2002-November/042694.html About the new 24 bits support: ---- http://lists.dmsolutions.ca/pipermail/mapserver-users/2002-October/042386.html http://lists.dmsolutions.ca/pipermail/mapserver-users/2002-November/042854.html About the new SWF Flash and PDF support: ---- http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html http://www2.dmsolutions.ca/mapserver/dl/PDFMapserverUserDoc.html Best Regards, Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From rmurray@NRCan.gc.ca Mon Dec 2 16:21:12 2002 Received: from s0-ott-xpf1.nrn.nrcan.gc.ca (S0-OTT-XPF1.NRCan.gc.ca [132.156.36.85]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2MKvae020396 for ; Mon, 2 Dec 2002 16:21:04 -0600 (CST) Received: by s0-ott-xpf1.nrn.nrcan.gc.ca with Internet Mail Service (5.5.2656.59) id ; Mon, 2 Dec 2002 17:20:18 -0500 Message-ID: <3E3C279AF3F9D411BAA00002A529150E02C51925@s0-ott-x10.nrn.nrcan.gc.ca> From: "Murray, Ross" To: "Mapserver-Users (E-mail)" Date: Mon, 2 Dec 2002 17:20:10 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C29A50.FA6528F0" Subject: [Mapserver-users] Bad SDE query Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: 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_000_01C29A50.FA6528F0 Content-Type: text/plain; charset="iso-8859-1" If I dynamically create a query of my shapefile-based map as ('[CODE]' eq '3a' OR '[CODE]' eq '3b') there are some darn cool results (even if I say so myself). Yet this ('[CODE]' eq '5201' OR '[CODE]' eq '5201') indentically constructed query on another (SDE layer) map produces the following error msSDELayerWhichShapes(): SDE error. SE_stream_query(): Invalid SQL syntax. (-42). If I have the same query templates for each attempt, can anyone suggest why I might be getting the worse result? <> ------_=_NextPart_000_01C29A50.FA6528F0 Content-Type: application/octet-stream; name="Murray, Ross.vcf" Content-Disposition: attachment; filename="Murray, Ross.vcf" BEGIN:VCARD VERSION:2.1 N:Murray;Ross FN:Murray, Ross ORG:NRCAN.RNCAN;ESS.SST TITLE:Information Management and GIS Technician TEL;WORK;VOICE:947-1411 (613) TEL;CELL;VOICE: ADR;WORK:;2 - 255;601 Booth Street;Ottawa;ON;K1A 0E8;CA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2 - 255=0D=0A601 Booth Street=0D=0AOttawa, ON K1A 0E8=0D=0ACA EMAIL;PREF;INTERNET:rmurray@NRCan.gc.ca REV:20020717T171556Z END:VCARD ------_=_NextPart_000_01C29A50.FA6528F0-- From vinko@mail.cprsig.cl Tue Dec 3 01:48:19 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB37mIae022752 for ; Tue, 3 Dec 2002 01:48:19 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id A4D0F49320; Tue, 3 Dec 2002 04:47:04 -0500 (EST) Date: Tue, 3 Dec 2002 04:47:04 -0500 From: Vinko Vrsalovic To: mapserver-users@lists.gis.umn.edu Message-ID: <20021203094704.GA8183@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [Mapserver-users] Scalable images HOWTO? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I need to put images (PNG files generated independently from Mapserver) over a polygon layer. My current approach to this is to generate a point layer with points in the places I want to put the images in. Then, using pixmap symbols I draw the images (I miss a symbol object in PHP/Mapscript :-) ). That works to the point of displaying the image in the point. The only problem is that, if I want the symbol to scale, it gets distorted. This is expected to happen, but I need to preserve readability of some texts in the image. What can I do in the process of generating the image to reduce the impact of scaling? Or the only reasonable solution is regenerating each time the image (ie, doing the scaling on my own)? Thanks, -- Vinko Vrsalovic http://www.cprsig.cl From jhart@frw.uva.nl Tue Dec 3 03:44:19 2002 Received: from uvapsy.fmg.uva.nl (root@uvapsy.fmg.uva.nl [145.18.152.23]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB39iHae023367 for ; Tue, 3 Dec 2002 03:44:18 -0600 (CST) Received: from frw.uva.nl (g0400.fmg.uva.nl [145.18.125.57]) by uvapsy.fmg.uva.nl (8.9.3/8.9.3) with ESMTP id KAA05590 for ; Tue, 3 Dec 2002 10:43:43 +0100 (MET) Message-ID: <3DEC7CCF.2000605@frw.uva.nl> Date: Tue, 03 Dec 2002 10:43:43 +0100 From: Jan Hartmann Organization: University of Amsterdam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Mapserver-Users (E-mail)" Subject: Re: [Mapserver-users] Bad SDE query References: <3E3C279AF3F9D411BAA00002A529150E02C51925@s0-ott-x10.nrn.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I'm not sure, but try leaving the quotes out in the second example (number variables can go unquoted): ([CODE] eq 5201 or [CODE] eq 5201) # why twice the same? Jan Hartmamm Murray, Ross wrote: > If I dynamically create a query of my shapefile-based map as > > ('[CODE]' eq '3a' OR '[CODE]' eq '3b') > > there are some darn cool results (even if I say so myself). Yet this > > ('[CODE]' eq '5201' OR '[CODE]' eq '5201') > > indentically constructed query on another (SDE layer) map produces the > following error > > msSDELayerWhichShapes(): SDE error. SE_stream_query(): Invalid SQL syntax. > (-42). > > If I have the same query templates for each attempt, can anyone suggest why > I might be getting the worse result? > > <> From nida@webstar.co.uk Tue Dec 3 05:32:10 2002 Received: from gnu.private.webstar.co.uk (router.office.webstar.co.uk [195.138.227.1]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3BVuae023961 for ; Tue, 3 Dec 2002 05:31:56 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gnu.private.webstar.co.uk (Postfix) with ESMTP id B985D36F13; Tue, 3 Dec 2002 11:31:27 +0000 (GMT) Received: from BMW (unknown [192.168.1.169]) by gnu.private.webstar.co.uk (Postfix) with SMTP id EA58736F0D; Tue, 3 Dec 2002 11:31:26 +0000 (GMT) Message-ID: <00d201c29abe$7c1f8760$a901a8c0@private.webstar.co.uk> From: "nida Khan" To: "Ed McNierney" , References: <13858AA1A74F30419F319ACB66A9D1221F39C7@mercator.topozone.com> Subject: Re: [Mapserver-users] raster layer Date: Tue, 3 Dec 2002 11:24:02 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00CF_01C29ABE.7BAB8FE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00CF_01C29ABE.7BAB8FE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you so much Ed and THE list, Ed you r a *, great! I can c the map now , will play around with X and Y axis to suit our = need! :). btw is there anyone using mapserver in UK with ordnancesurvey data?? just curious what conversion tools u r using, and what's happening = outside my office :) Kind Regards Nida. ----- Original Message -----=20 From: Ed McNierney=20 To: nida Khan ; mapserver-users@lists.gis.umn.edu=20 Sent: Monday, December 02, 2002 6:29 PM Subject: RE: [Mapserver-users] raster layer Nida - Your EXTENT line: EXTENT 127000.0 160000.0 530000.0 185000.0 says "use a minimum X of 127000, a minimum Y of 160000, a maximum X of = 530000, and a maximum Y of 185000". However, the upper-left corner of = your image is at X =3D 530000, Y =3D 185000. This means that the entire = image data lies just to the right of the area you're viewing, so you'll = get no map. Try changing the line to: EXTENT 530000.0 160000.0 555000.0 185000.0 and see what you get. I can't tell how large your image is, but this = should make SOMETHING visible in the upper-left corner of the map image. = The extents for a map image are normally provided as FORM variables, so = you can control the area mapped interactively. - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 11:48 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Hi , this is what it contains 0.635 0 0 -0.635 530000 185000 Nida. ----- Original Message -----=20 From: Ed McNierney=20 To: nida Khan=20 Sent: Monday, December 02, 2002 3:57 PM Subject: RE: [Mapserver-users] raster layer Nida - What are the contents of your world (TFW) file? - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 10:30 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Hi Again, Once again thank you so much for your help!. There r files in the tmp directory alright, I can c scalebar = fine, I tried to view the image outside the mapserver as well, but still = it prints it as blank. " If you're really retrieving files but they're blank images, = then your data doesn't intersect the map image requested." ok, I've got only one layer in the map file for that raster = image, got .tif and .tfw file in my raster directory changed the extents as mentioned in last email. whats next? Me lost in GIS world Nida. Nida - I'm not really sure what that information means, but you need = to figure out which of these three things is happening: 1. MapServer is creating and your browser is displaying a = perfectly valid image that is blank. 2. MapServer is creating an image in the IMAGEPATH directory = but your browser can't retrieve it. 3. MapServer cannot create an image in the IMAGEPATH = directory. These are three different problems with three different fixes. = You should check the IMAGEPATH directory after trying to display the = map a few times - you should see more temporary image files being = created there. If they're not being created, then your MapServer setup = doesn't have permission to write to that directory. If the files are = created but you can't retrieve them in your browser, then your Web site = doesn't have access to those files. If you're really retrieving files = but they're blank images, then your data doesn't intersect the map image = requested. - Ed -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 9:09 AM To: Ed McNierney Subject: Re: [Mapserver-users] raster layer Thank you so much for your reply! I right clicked on that blank image, and it does not look = like a image to me, protocol=3Dhyper text type=3Dhtml document address=3D"full address at time of init." size=3D2460 I changed the extents before I did this, nothing make any = diffrence here is my content of map file NAME WALES #EXTENT 127000.0 160000.0 380000.0 402000.0 EXTENT 127000.0 160000.0 530000.0 185000.0 SIZE 400 400 FONTSET "/var/www/html/application/fonts/fonts.list" SHAPEPATH "/var/www/html/application/" UNITS KILOMETERS =20 WEB TEMPLATE wales2.html IMAGEPATH "/var/www/html/application/tmp/" IMAGEURL "/application/tmp/" END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE =20 COLOR 255 0 0 END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END =20 LAYER # NAME "Layer_CIB" NAME "wales_boundary"=20 DATA "raster/tq38sw.tif" TYPE RASTER =20 STATUS DEFAULT OFFSITE 0 END END # end of map file I have .tif and .tfw file in my raster directory! Really appreciate your help! Regards Nida. =20 ----- Original Message -----=20 From: Ed McNierney=20 To: nida Khan=20 Sent: Monday, December 02, 2002 1:53 PM Subject: RE: [Mapserver-users] raster layer Nida - If you are getting a blank image (not a MISSING image, but = a real, valid image that is blank) that means that the data you have do = not overlap the extents requested for the map. Look at the EXTENTS line = in your map file; the numbers should be similar to the last two lines in = the TFW file. - 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=20 -----Original Message----- From: nida Khan [mailto:nida@webstar.co.uk] Sent: Monday, December 02, 2002 6:25 AM To: nida Khan; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] raster layer I have downloaded a big zip file, whith all the .twf = files. Now I have copied the related twf file in the same = directory and yapee, not gettting that error any more, instead a blank = image is coming up :(. (anyone have any idea what might be the issue = this time) thats something new to explore! Thank you very much every for your helpful replies Regards Nida. ----- Original Message -----=20 From: nida Khan=20 To: mapserver-users@lists.gis.umn.edu=20 Sent: Monday, December 02, 2002 10:46 AM Subject: [Mapserver-users] raster layer ok... I am very much confuse here, I've got only .tif = file from ordnancesurvey website. There is no download avaliable = for twf file!!!! Where do I get twf file??? Regards Nida. ----- Original Message ----- From: "Hankley, Chip" To: "'nida Khan'" Cc: "MapServer List (E-mail)" = Sent: Friday, November 29, 2002 2:26 PM Subject: RE: [mapserver-users] raster layer > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to = open > > world file for reading. > > This indicates to me that your image doesn't have a = valid world file, or > that it isn't GeoTif. For the image to display = correctly, it needs to have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip ------=_NextPart_000_00CF_01C29ABE.7BAB8FE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you so much Ed and THE list,
 
Ed you r a *, great!
 
I can c the map now , will play around with =  X and Y=20 axis to suit our need! :).
 
btw is there anyone using mapserver in UK with=20 ordnancesurvey data??
 
just curious what conversion tools u r using, and = what's=20 happening outside my office :)
 
Kind Regards
Nida.
 
 ----- Original Message -----
From:=20 Ed = McNierney
To: nida Khan ; mapserver-users@lists.g= is.umn.edu=20
Sent: Monday, December 02, 2002 = 6:29=20 PM
Subject: RE: [Mapserver-users] = raster=20 layer

Nida=20 -
 
Your=20 EXTENT line:
 
EXTENT 127000.0 = 160000.0=20 530000.0 185000.0
says=20 "use a minimum X of 127000, a minimum Y of 160000, a maximum X of = 530000, and=20 a maximum Y of 185000".  However, the upper-left corner of your = image is=20 at X =3D 530000, Y =3D 185000.  This means that the entire image = data lies=20 just to the right of the area you're viewing, so you'll get no = map. =20 Try changing the line to:
 
EXTENT 530000.0 160000.0 555000.0=20 185000.0
and see what you get.  = I can't tell=20 how large your image is, but this should make SOMETHING visible in the = upper-left corner of the map image.  The extents for a map image = are=20 normally provided as FORM variables, so you can control the area = mapped=20 interactively.
 
    -=20 Ed
-----Original Message-----
From: nida Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December 02, = 2002 11:48=20 AM
To: Ed McNierney
Subject: Re: = [Mapserver-users]=20 raster layer

Hi ,
 
this is what it contains
 
0.635
0
0
-0.635
530000
185000
 
Nida.
 
----- Original Message ----- =
From:=20 Ed = McNierney=20
Sent: Monday, December 02, = 2002 3:57=20 PM
Subject: RE: = [Mapserver-users] raster=20 layer

Nida -
 
What are the contents of your world (TFW) = file?
 
    - Ed
-----Original Message-----
From: nida Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December 02, = 2002=20 10:30 AM
To: Ed McNierney
Subject: Re:=20 [Mapserver-users] raster layer

Hi Again,
 
Once again thank you so much for your=20 help!.

There r files in = the tmp=20 directory alright, I can c scalebar fine, I tried to view the = image=20 outside the mapserver as well, but still it prints it as=20 blank.
 
" If you're really = retrieving=20 files but they're blank images, then your data doesn't intersect = the map=20 image requested."
 
ok, I've got only one layer in the map file = for that=20 raster image, got .tif and .tfw file in my raster = directory
changed the extents as mentioned in last=20 email.
 
whats next?
 
Me lost in GIS world
Nida.
Nida -
 
I'm not really sure what that information means, but = you need=20 to figure out which of these three things is=20 happening:
 
1. MapServer is creating and your browser is = displaying a=20 perfectly valid image that is blank.
2. MapServer is creating an image in the IMAGEPATH = directory=20 but your browser can't retrieve it.
3. MapServer cannot create an image in the IMAGEPATH=20 directory.
 
These are three different problems with three = different=20 fixes.  You should check the IMAGEPATH directory after = trying to=20 display the map a few times - you should see more temporary = image=20 files being created there.  If they're not being created, = then=20 your MapServer setup doesn't have permission to write to that=20 directory.  If the files are created but you can't = retrieve them=20 in your browser, then your Web site doesn't have access to = those=20 files.  If you're really retrieving files but they're = blank=20 images, then your data doesn't intersect the map image=20 requested.
 
     - Ed
-----Original Message-----
From: nida = Khan=20 [mailto:nida@webstar.co.uk]
Sent: Monday, December = 02,=20 2002 9:09 AM
To: Ed McNierney
Subject: = Re:=20 [Mapserver-users] raster layer

Thank you so much for your = reply!
 
I right clicked on that blank image, and = it does=20 not look like a image to me,
 
protocol=3Dhyper text
type=3Dhtml document
address=3D"full address at time of=20 init."
size=3D2460
 
I changed the extents before I did this, = nothing=20 make any diffrence
here is my content of map = file
 
NAME WALES
#EXTENT 127000.0 160000.0 = 380000.0=20 402000.0
EXTENT 127000.0 160000.0 530000.0 = 185000.0
SIZE 400=20 400
FONTSET=20 "/var/www/html/application/fonts/fonts.list"
SHAPEPATH=20 "/var/www/html/application/"
UNITS=20 KILOMETERS
   
WEB
  TEMPLATE=20 wales2.html
  IMAGEPATH=20 "/var/www/html/application/tmp/"
  IMAGEURL=20 "/application/tmp/"
END

QUERYMAP
  SIZE 200 = 200
 =20 STATUS ON
  STYLE HILITE 
  COLOR 255 = 0=20 0
END
 
SYMBOL
  NAME 'circle'
  = TYPE=20 ELLIPSE
  POINTS 1 1 END
  FILLED=20 TRUE
END
  
LAYER
 # NAME=20 "Layer_CIB"
  NAME "wales_boundary"
  DATA=20 "raster/tq38sw.tif"
  TYPE RASTER   =
 =20 STATUS DEFAULT
  OFFSITE 0
END
 
END # end of map file
I have .tif and .tfw file in my raster=20 directory!
 
Really appreciate your = help!
Regards
Nida. 
----- Original Message = -----
From:=20 Ed=20 McNierney
To: nida=20 Khan
Sent: Monday, = December 02,=20 2002 1:53 PM
Subject: RE:=20 [Mapserver-users] raster layer

Nida -
 
If you are getting a blank image (not a MISSING = image, but=20 a real, valid image that is blank) that means that the = data you=20 have do not overlap the extents requested for the = map.  Look=20 at the EXTENTS line in your map file; the numbers should = be=20 similar to the last two lines in the TFW = file.
 
    = - = Ed
 

Ed McNierney
President and Chief=20 Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 = Princeton=20 Street, Suite 305
North Chelmsford, MA =20 01863
ed@topozone.com
(978) 251-4242=20

-----Original = Message-----
From:=20 nida Khan [mailto:nida@webstar.co.uk]
Sent: = Monday,=20 December 02, 2002 6:25 AM
To: nida Khan;=20 mapserver-users@lists.gis.umn.edu
Subject: Re: = [Mapserver-users] raster layer

I have downloaded a big zip file, = whith all=20 the .twf files.
Now I have copied the related twf = file in the=20 same directory and yapee, not gettting that error any = more,=20 instead a blank image is coming up :(. (anyone have any = idea=20 what might be the issue this time)
 
thats something new to = explore!
 
Thank you very much every for your = helpful=20 replies
Regards
Nida.
 
----- Original Message = -----=20
From:=20 nida Khan =
To: mapserver-users@lists.g= is.umn.edu=20
Sent: Monday, = December=20 02, 2002 10:46 AM
Subject:=20 [Mapserver-users] raster layer

ok... I am very = much confuse=20 here, I've got only .tif file from
ordnancesurvey = website.=20 There is no download avaliable for twf = file!!!!

Where=20 do I get twf = file???

Regards
Nida.

-----=20 Original Message -----
From: "Hankley, Chip" = <
Chip.Hankley@GASAI.Com
>
To: "'nida Khan'" <nida@webstar.co.uk>
Cc:=20 "MapServer List (E-mail)" <
mapserver-users@lists.gis.umn.edu>
Sent: Friday, November 29, 2002 2:26=20 PM
Subject: RE: [mapserver-users] raster=20 layer


> Nida,
>
> > it = gives me=20 this error
> >  readWorldFile(): Unable = to=20 access file. Unable to open
> >  world = file for=20 reading.
>
> This indicates to me that = your image=20 doesn't have a valid world file, or
> that it = isn't=20 GeoTif. For the image to display correctly, it needs = to=20 have
> that. Is there a 'tq38sw.tfw' file in the = directory?
>
>=20 = Chip
<= /BODY> ------=_NextPart_000_00CF_01C29ABE.7BAB8FE0-- From LVN@hvm.dk Tue Dec 3 07:01:30 2002 Received: from smtp020.tiscali.dk (smtp020.tiscali.dk [212.54.64.104]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3D1Tae024480 for ; Tue, 3 Dec 2002 07:01:29 -0600 (CST) Received: from odin (213.237.87.70.adsl.od.worldonline.dk [213.237.87.70]) by smtp020.tiscali.dk (8.12.5/8.12.5) with SMTP id gB3D0smI014355 for ; Tue, 3 Dec 2002 14:00:54 +0100 (MET) Message-ID: <004501c29acc$050bf1f0$1101a8c0@odin> From: "Lars V. Nielsen" To: "Mapserver-L" Date: Tue, 3 Dec 2002 14:00:56 +0100 Organization: Hveengaard & Meklenborg MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Mapserver-users] Examples of ECW and color JPEGs ? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi list, Can anyone provide or point me to examples of how to include ECW and/or color JPEG's as raster layers in a map file ? I presume it's done via the GDAL interface, which _is_ included in the 3.6.3 version I'm running. Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg, Odense Denmark http://www.hvm.dk From knozi@gmx.at Tue Dec 3 07:29:54 2002 Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB3DTqae024603 for ; Tue, 3 Dec 2002 07:29:53 -0600 (CST) Received: (qmail 24547 invoked by uid 0); 3 Dec 2002 13:29:13 -0000 Received: from pentium6.gis.univie.ac.at (HELO pentium6) (131.130.63.26) by mail.gmx.net (mp004-rz3) with SMTP; 3 Dec 2002 13:29:13 -0000 Message-ID: <00ba01c29acf$f73af860$1a3f8283@gis.univie.ac.at> From: "Gernot Katzlberger" To: Date: Tue, 3 Dec 2002 14:29:10 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B7_01C29AD8.5898FD70" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Mapserver-users] center coordinates Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00B7_01C29AD8.5898FD70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hi list, for the mac-users i wanted to convert a mapplet-application to a simple = non-java mapserver (only gif-picture output).=20 i have manged to get the map but now the application only zooms into the = center. if i want to make a query it also queries the center of the map = and not the spot i clicked on. it doesn't matter where i click on the map, always the = center-coordinates are used. do you have any ideas? Thanks in advance, Gernot ------=_NextPart_000_00B7_01C29AD8.5898FD70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hi list,
 
for the mac-users i wanted to convert a mapplet-application to a = simple=20 non-java mapserver (only gif-picture output).
i have manged to get the map but now the application only zooms = into the=20 center. if i want to make a query it also queries the center of the map = and not=20 the spot i clicked on.
it doesn't matter where i click on the map, always the = center-coordinates=20 are used.
 
do you have any ideas?
 
Thanks in advance,
Gernot
 
------=_NextPart_000_00B7_01C29AD8.5898FD70-- From fx.gamoy@mapxplore.com Mon Dec 2 03:02:54 2002 Received: from smarthost1.mail.easynet.fr (smarthost1.mail.easynet.fr [212.180.1.68]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB292rae013930 for ; Mon, 2 Dec 2002 03:02:54 -0600 (CST) Received: from [212.11.36.243] (helo=dns1.mapxplore.com) by smarthost1.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id 18ImT4-0006Rn-00 for ; Mon, 02 Dec 2002 10:02:18 +0100 Received: from local-ip[x.x.x.x] by dns1.mapxplore.com; Mon, 02 Dec 2002 10:02:41 +0000 Message-ID: <002101c299e9$f3887030$0201a8c0@mapxplore.com> From: "fx gamoy" To: Date: Mon, 2 Dec 2002 10:02:40 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01C299E9.F34F37C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [Mapserver-users] LOG file Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_001E_01C299E9.F34F37C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello everybody, i've goto problems with my log file. What is the way to configure a log.txt file in a log directory? that's = to say http://mymap.com/log/log.txt I have defined some parameters in my test.map (WEB) globprefs.php but = nothing occurs. i am using apache in a winnt plateform whit mapserver3.6.3 and = php/mapscript. Thanks fx gamoy http://www.mapxplore.com/ ------=_NextPart_000_001E_01C299E9.F34F37C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello everybody,
i've goto problems with my log = file.
What is the way to configure a log.txt = file in a=20 log directory? that's to say http://mymap.com/log/log.txt
 
I have defined some parameters in my = test.map (WEB)=20 globprefs.php but nothing occurs.
i am using apache in a winnt plateform = whit=20 mapserver3.6.3 and php/mapscript.
 
Thanks
fx gamoy
http://www.mapxplore.com/
------=_NextPart_000_001E_01C299E9.F34F37C0-- From erik.van-der-goot@jrc.it Mon Dec 2 03:46:21 2002 Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB29kKae014250 for ; Mon, 2 Dec 2002 03:46:21 -0600 (CST) Received: from mrelay.jrc.it (localhost [127.0.0.1]) by mrelay.jrc.it (LMC5614B) with ESMTP id gB29jeQ14598 for ; Mon, 2 Dec 2002 10:45:40 +0100 (MET) Received: from isis-ms.sti.jrc.it (isis-gs.sti.jrc.it [139.191.8.244]) by mrelay.jrc.it (LMC5614A) with ESMTP id gB29jdd14579 for ; Mon, 2 Dec 2002 10:45:40 +0100 (MET) Received: from ikaro.jrc.it ([139.191.246.230]) by isis-ms.sti.jrc.it (Netscape Messaging Server 4.15 gs Mar 21 2002 15:13:49) with ESMTP id H6HKG400.F5I; Mon, 2 Dec 2002 10:45:40 +0100 Message-Id: <5.1.0.14.2.20021202104005.03cc3008@isis-ms.jrc.it> X-Sender: gooteri@isis-ms.jrc.it X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 02 Dec 2002 10:45:39 +0100 To: Luca Palli From: "Erik Van der Goot" Subject: RE: [mapserver-users] Does anybody use Mapserver and Tomcat on Wi n2000?? Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <61D6E8202227D41197360050BACF5FE4292710@srvmail> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi Luca, thanks for the reply. Yes, the CGI is configured fine, I can see that I am actually talking to mapserv.exe when it produces the GIFs. The problem is that it does not talk back to me. For your information, I have configured the CGI servlet as a part of my web application and this works ok. Thanks again, although I still have no idea where the problem might be. I'd like to know what mapserv is trying to do once it produces the GIFs in the temp directory. That way perhaps I can find out what the problem is. Erik At 08:25 02/12/2002 +0100, Luca Palli wrote: >No idea on your problems! > >But you have well configurated your Tomcat? >In the Tomcat documentation (CGI HOW-TO) there are two operation to make cgi >working: > >1. Rename $CATALINA_BASE/server/lib/servlets-cgi.renametojar to >$CATALINA_BASE/server/lib/servlets-cgi.jar > >2. Remove the XML comments from around the CGI servlet and servlet-mapping >configuration in $CATALINA_BASE/conf/web.xml > >Ciao Luca > > > -----Original Message----- > > From: Erik Van der Goot [mailto:erik.van-der-goot@jrc.it] > > Sent: vendredi, 29. novembre 2002 14:27 > > To: Luca Palli > > Subject: RE: [mapserver-users] Does anybody use Mapserver and > > Tomcat on > > Wi n2000?? > > > > > > Hi Luca, > > > > thanks for your answer. > > I hope you don't mind me mailing you directly. > > > > When you say 'it works only in browse mode' what do you mean > > exactly?? I am > > not (but hope to become) a true mapserver user. > > > > I have installed the Tomcat CGI servlet in my web application, and > > mapserver lives in the correct directory. > > I have modified the demo-html.init file and the map file as per the > > instructions. When I click on the button I can SEE that > > mapserver produces > > 4 .gif files in the temp directory (on the server of > > course)that I have > > specified. > > > > So... my CGI is working (also when I look at the Tomcat > > logfiles it is > > clear that it finds the .exe) , mapserver is working (to some > > extent, I get > > the 4 gifs in the temp directory).. BUT it never talks back > > to me...my > > browser just sits there > > > > Do you have any ideas why that could be?? > > Is there a way I can get mapserv to log what it is doing? > > > > Grazie mille > > > > Ciao > > > > Erik > > > > At 09:29 29/11/2002 +0100, you wrote: > > >Yes, but it works only in browse mode. > > >In map (for legend reference and scalbar is the same) mode > > Tomcat send the > > >image as texts and change some bytes. > > >For exemple the byte 90 is a reserved byte in Windows and > > Tomcat transform > > >it to 3F "?". > > > > > > > -----Original Message----- > > > > From: Erik Van der Goot [mailto:erik.van-der-goot@jrc.it] > > > > Sent: jeudi, 28. novembre 2002 15:06 > > > > To: mapserver-users@lists.gis.umn.edu > > > > Subject: [mapserver-users] Does anybody use Mapserver and > > Tomcat on > > > > Win2000?? > > > > > > > > > > > > > > From nida@webstar.co.uk Mon Dec 2 04:32:55 2002 Received: from gnu.private.webstar.co.uk (router.office.webstar.co.uk [195.138.227.1]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2AWrae014541 for ; Mon, 2 Dec 2002 04:32:54 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gnu.private.webstar.co.uk (Postfix) with ESMTP id C9EA236F13; Mon, 2 Dec 2002 10:32:15 +0000 (GMT) Received: from BMW (unknown [192.168.1.169]) by gnu.private.webstar.co.uk (Postfix) with SMTP id 7A45D36F09; Mon, 2 Dec 2002 10:32:15 +0000 (GMT) Message-ID: <009201c299ed$0e2ca160$a901a8c0@private.webstar.co.uk> From: "nida Khan" To: "Hankley, Chip" Cc: "MapServer List (E-mail)" References: <3DFF131E4E6D2D4198CDD758F35A5353010ABF8F@postoffice.GASAI.Com> Subject: Re: [mapserver-users] raster layer Date: Mon, 2 Dec 2002 10:24:54 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: ok... I am very much confuse here, I've got only .tif file from ordnancesurvey website. There is no download avaliable for twf file!!!! Where do I get twf file??? Regards Nida. ----- Original Message ----- From: "Hankley, Chip" To: "'nida Khan'" Cc: "MapServer List (E-mail)" Sent: Friday, November 29, 2002 2:26 PM Subject: RE: [mapserver-users] raster layer > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to open > > world file for reading. > > This indicates to me that your image doesn't have a valid world file, or > that it isn't GeoTif. For the image to display correctly, it needs to have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip From sproull.j@emstechnologies.ca Mon Dec 2 07:07:12 2002 Received: from mail.redmenace.org (redmenace.org [66.11.168.129]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2D7Bae016344 for ; Mon, 2 Dec 2002 07:07:11 -0600 (CST) Received: from [192.54.131.77] (unknown [216.95.192.151]) by mail.redmenace.org (Postfix) with ESMTP id ACB011BD7A; Mon, 2 Dec 2002 08:06:37 -0500 (EST) Subject: Re: [mapserver-users] PHP mapscript: drawing labels as top layer From: Jim Sproull To: Daniel Morissette Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <3DE7D465.51590F6B@dmsolutions.ca> References: <1038578265.28281.76.camel@localhost.localdomain> <3DE7BC47.95BAEB93@dmsolutions.ca> <1038598755.3092.9.camel@localhost.localdomain> <3DE7D465.51590F6B@dmsolutions.ca> Content-Type: text/plain Organization: EMS Technologies Message-Id: <1038834397.17286.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0-4tex Date: 02 Dec 2002 08:06:37 -0500 Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I guess I was talking more of a LABELCACHECACHE :) Basically something to tell mapObj->draw() not to draw the label cache implicitly, but instead to hold off until it is called directly. But again, this is probably unneeded feature-creep. Jim Sproull On Fri, 2002-11-29 at 15:56, Daniel Morissette wrote: > Jim Sproull wrote: > > > > Has it been discussed to include this as an attribute to layerObj? > > drawlabelcache = true or something similar? Or is that getting too > > obtuse? > > > > It's there already. There is a LAYER parameter called LABELCACHE -- Jim Sproull EMS Technologies From lfilak@medinaco.org Mon Dec 2 07:33:08 2002 Received: from yogi.medinaco.net (lca7.cvzoom.net [63.65.158.7]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2DX7ae016597 for ; Mon, 2 Dec 2002 07:33:07 -0600 (CST) Received: from 216.71.100.197 (webbster.medinaco.net [192.168.1.34]) by yogi.medinaco.net (8.11.2/8.11.2) with SMTP id gB2DW3u02457; Mon, 2 Dec 2002 08:32:03 -0500 Message-Id: <200212021332.gB2DW3u02457@yogi.medinaco.net> To: "Hankley, Chip" , "'nida Khan'" From: "Lowell Filak" CC: "MapServer List (E-mail)" Subject: RE: [mapserver-users] raster layer Date: Mon, 02 Dec 2002 08:33:55 -0500 X-Mailer: "Alex Hart's Very Own Web Based Email, Version 2.4 (Medina County Edition)" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Remeber, not a .tfw but a .wld . Lowell F. The following message was sent by "Hankley, Chip" on Fri, 29 Nov 2002 08:26:55 -0600. > Nida, > > > it gives me this error > > readWorldFile(): Unable to access file. Unable to open > > world file for reading. > > This indicates to me that your image doesn't have a valid world file, or > that it isn't GeoTif. For the image to display correctly, it needs to have > that. Is there a 'tq38sw.tfw' file in the directory? > > Chip From theflan@gofree.indigo.ie Mon Dec 2 07:55:36 2002 Received: from relay05.indigo.ie (relay05.indigo.ie [194.125.133.229]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB2DtZae016736 for ; Mon, 2 Dec 2002 07:55:35 -0600 (CST) Received: (qmail 85480 messnum 1200900 invoked from network[194.125.134.131/ts02-004.dublin.indigo.ie]); 2 Dec 2002 13:55:00 -0000 Received: from ts02-004.dublin.indigo.ie (HELO marie) (194.125.134.131) by relay05.indigo.ie (qp 85480) with SMTP; 2 Dec 2002 13:55:00 -0000 Message-ID: <03e901c29a0a$0d6a0e80$2d42a8c0@marie> From: "Marie Flanagan" To: Date: Mon, 2 Dec 2002 13:52:27 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_03E6_01C29A0A.0CDC2660" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Subject: [Mapserver-users] PNG file printing from browser Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_03E6_01C29A0A.0CDC2660 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello List, I have a query about printing the map image files generated by = Mapscript. If I try to print a map as a png image file from an IE5 = browser it prints out incorrectly - just lots of black. I thought the = problem might be with the browser unable to print png format but other = png file I found on the web seem to print ok from my browser. I = converted the output to JPEG and that prints ok but the file size is up = to 5 times larger than png and is very slow to download. Any suggestions gratefully received. Regards, Marie Flanagan ------=_NextPart_000_03E6_01C29A0A.0CDC2660 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello List,
 
I have a query about printing the map = image files=20 generated by Mapscript.  If I try to print a map as a png image = file from=20 an IE5 browser it prints out incorrectly - just lots of black.  I = thought=20 the problem might be with the browser unable to print png format but = other png=20 file I found on the web seem to print ok from my browser.  I = converted the=20 output to JPEG and that prints ok but the file size is up to 5 times = larger than=20 png and is very slow to download.
 
Any suggestions gratefully = received.
 
Regards,
 
Marie = Flanagan
------=_NextPart_000_03E6_01C29A0A.0CDC2660-- From luke_luca@hotmail.com Mon Dec 2 16:02:38 2002 Received: from hotmail.com (f81.law7.hotmail.com [216.33.237.81]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB2M2cae020316 for ; Mon, 2 Dec 2002 16:02:38 -0600 (CST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 2 Dec 2002 14:01:59 -0800 Received: from 128.194.107.194 by lw7fd.law7.hotmail.msn.com with HTTP; Mon, 02 Dec 2002 22:01:59 GMT X-Originating-IP: [128.194.107.194] From: "Luke Wallace" To: mapserver-users@lists.gis.umn.edu Date: Mon, 02 Dec 2002 22:01:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 02 Dec 2002 22:01:59.0539 (UTC) FILETIME=[6FE7E430:01C29A4E] Subject: [Mapserver-users] Wind Barbs / Truetype font annotation? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I've been working on the Texas Mesonet project, and am trying to get Wind Barb plots for each of the sites based upon their wind speed and direction. I've looked through the archives, but the bits of code I've found don't seem to work when combined together. Below are the important parts of my main mapfile SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END SYMBOL NAME 'wind1' TYPE truetype FONT 'Esri_Weather' FILLED true ANTIALIAS true CHARACTER "b" # symbol number in character map end # # Working Point Layer # LAYER NAME weather-metar TYPE POINT DATA currentWeather STATUS ON LABELCACHE OFF TOLERANCE 10 CLASS NAME 'Weather Stations' COLOR 100 200 164 SYMBOL 'circle' SIZE 7 TEMPLATE "weather_refresh.html" END END # # Non-working Barb Layer # LAYER NAME weather-barbs STATUS DEFAULT TRANSFORM FALSE TYPE ANNOTATION DATA currentWeather CLASS EXPRESSION "([WINDSPD] = 0)" SYMBOL 'wind1' SIZE 25 COLOR 0 0 0 END END I realize I'm going to need more classes (with more expressions) to get this to be a truly correct barb, but I'm trying to take small steps and just get any symbol to show. The following layer in my mapfile puts a single barb in the lower left corner of the map. This shows my fontset is set up correctly (right?). LAYER NAME credits STATUS DEFAULT TRANSFORM FALSE TYPE ANNOTATION FEATURE POINTS 4 696 END TEXT 'b' END CLASS LABEL TYPE TRUETYPE FONT Esri_weather SIZE 50 ANTIALIAS true COLOR 0 0 0 POSITION UR END END END _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bwragg@mappingandbeyond.com Mon Dec 2 20:14:16 2002 Received: from mail3.tpgi.com.au (mail.tpgi.com.au [203.12.160.59]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB32DGae021365 for ; Mon, 2 Dec 2002 20:13:59 -0600 (CST) Received: from mapping12 (adl1-56k-142.tpgi.com.au [202.7.186.142]) by mail3.tpgi.com.au (8.11.6/8.11.6) with ESMTP id gB32Cax23755 for ; Tue, 3 Dec 2002 13:12:37 +1100 Reply-To: From: "Benjamin Wragg" To: Date: Tue, 3 Dec 2002 12:44:26 +1030 Organization: Mapping and Beyond Message-ID: <000201c29a71$b51ec5f0$0100a8c0@mapping12> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01C29AC9.B7AE9090" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Subject: [Mapserver-users] Map files CGI - PHP MapScript Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C29AC9.B7AE9090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi guys, I just have a question regarding how Map files work in both CGI and PHP MapScript environments? In a CGI environment say I go to my MapServer html pages and fire up the default page e.g index.html. Is it correct in saying that doing this request gets sent to mapserv.exe containing, among other things, the path to a map file e.g demo.map? MapServer now parses the Map file, loads the data specified and creates an image in the IMAGEPATH directory which is specified in the map file? Say I now zoomed in on the map, another request is sent to the mapserv.exe except this time the minx, miny, maxx, maxy are specified. Because of its stateless nature does MapServer have to parse the map file again reloaded all the data and restore any database connections? Regarding a PHP MapScript environment (which I'm still coming up to speed with, so please excuse me if I don't use the correct terms) when the default page is fired up a few lines like the following tell MapServer to parse the europe.map file and create an image: $map_path="/var/www/html/ms/map_files/"; $map = ms_newMapObj($map_path."europe.map"); $image=$map->draw(); $image_url=$image->saveWebImage(MS_PNG,1,1,0); If I now zoom in on the map, is it possible to reuse the $map object used in the above lines of code, or do I need to recreate the object again, resulting in the parsing of the map file again and reloading and restoring of the data connections? Thanks, Benjamin Wragg ------=_NextPart_000_0003_01C29AC9.B7AE9090 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi=20 guys,
 
I just = have a=20 question regarding how Map files work in both CGI and PHP MapScript=20 environments?
 
In a = CGI environment=20 say I go to my MapServer html pages and fire up the default page = e.g=20 index.html. Is it correct in saying that doing this request gets sent to = mapserv.exe containing, among other things, the path to a map file = e.g=20 demo.map? MapServer now parses the Map file, loads the = data=20 specified and creates an image in the IMAGEPATH directory which is = specified in=20 the map file?
 
Say I = now zoomed in=20 on the map, another request is sent to the mapserv.exe except = this=20 time the minx, miny, maxx, maxy are specified. Because of its = stateless=20 nature does MapServer have to parse the map file again reloaded all the = data and=20 restore any database connections?
 
Regarding a PHP=20 MapScript environment (which I'm still coming up to speed with, so = please excuse=20 me if I don't use the correct terms) when the default page is fired = up a=20 few lines like the following tell MapServer to parse the europe.map file = and=20 create an image:
 
$map_path=3D"/var/www/html/ms/map_files/";&nbs= p;   
=20 $map =3D=20 ms_newMapObj($map_path."europe.map");
$image=3D$map->draw();
$im= age_url=3D$image->saveWebImage(MS_PNG,1,1,0);
 
If I = now zoom in on=20 the map, is it possible to reuse the $map object used in the above lines = of=20 code, or do I need to recreate the object again, resulting in the = parsing of the=20 map file again and reloading and restoring of the data=20 connections?
 
Thanks,
 
Benjamin=20 Wragg
------=_NextPart_000_0003_01C29AC9.B7AE9090-- From bwragg@tpg.com.au Mon Dec 2 20:22:45 2002 Received: from mail3.tpgi.com.au (mail.tpgi.com.au [203.12.160.59]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB32L0ae021406 for ; Mon, 2 Dec 2002 20:22:44 -0600 (CST) Received: from mapping12 (adl1-56k-142.tpgi.com.au [202.7.186.142]) by mail3.tpgi.com.au (8.11.6/8.11.6) with ESMTP id gB32KOQ10393 for ; Tue, 3 Dec 2002 13:20:24 +1100 Reply-To: From: "Benjamin Wragg" To: Date: Tue, 3 Dec 2002 12:52:14 +1030 Organization: ISA Solutions Message-ID: <001101c29a72$cbaa7390$0100a8c0@mapping12> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C29ACA.CE38B790" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Subject: [Mapserver-users] Map files CGI - PHP MapScript Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C29ACA.CE38B790 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi guys, I just have a question regarding how Map files work in both CGI and PHP MapScript environments? In a CGI environment say I go to my MapServer html pages and fire up the default page e.g index.html. Is it correct in saying that doing this request gets sent to mapserv.exe containing, among other things, the path to a map file e.g demo.map? MapServer now parses the Map file, loads the data specified and creates an image in the IMAGEPATH directory which is specified in the map file? Say I now zoomed in on the map, another request is sent to the mapserv.exe except this time the minx, miny, maxx, maxy are specified. Because of its stateless nature does MapServer have to parse the map file again reloaded all the data and restore any database connections? Regarding a PHP MapScript environment (which I'm still coming up to speed with, so please excuse me if I don't use the correct terms) when the default page is fired up a few lines like the following tell MapServer to parse the europe.map file and create an image: $map_path="/var/www/html/ms/map_files/"; $map = ms_newMapObj($map_path."europe.map"); $image=$map->draw(); $image_url=$image->saveWebImage(MS_PNG,1,1,0); If I now zoom in on the map, is it possible to reuse the $map object used in the above lines of code, or do I need to recreate the object again, resulting in the parsing of the map file again and reloading and restoring of the data connections? Thanks, Benjamin Wragg ------=_NextPart_000_0012_01C29ACA.CE38B790 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi=20 guys,
 
I just = have a=20 question regarding how Map files work in both CGI and PHP MapScript=20 environments?
 
In a = CGI environment=20 say I go to my MapServer html pages and fire up the default page = e.g=20 index.html. Is it correct in saying that doing this request gets sent to = mapserv.exe containing, among other things, the path to a map file = e.g=20 demo.map? MapServer now parses the Map file, loads the = data=20 specified and creates an image in the IMAGEPATH directory which is = specified in=20 the map file?
 
Say I = now zoomed in=20 on the map, another request is sent to the mapserv.exe except = this=20 time the minx, miny, maxx, maxy are specified. Because of its = stateless=20 nature does MapServer have to parse the map file again reloaded all the = data and=20 restore any database connections?
 
Regarding a PHP=20 MapScript environment (which I'm still coming up to speed with, so = please excuse=20 me if I don't use the correct terms) when the default page is fired = up a=20 few lines like the following tell MapServer to parse the europe.map file = and=20 create an image:
 
$map_path=3D"/var/www/html/ms/map_files/";&nbs= p;   
$map=20 =3D=20 ms_newMapObj($map_path."europe.map");
$image=3D$map->draw();
$im= age_url=3D$image->saveWebImage(MS_PNG,1,1,0);
 
If I = now zoom in on=20 the map, is it possible to reuse the $map object used in the above lines = of=20 code, or do I need to recreate the object again, resulting in the = parsing of the=20 map file again and reloading and restoring of the data=20 connections?
 
Thanks,
 
Benjamin=20 Wragg
------=_NextPart_000_0012_01C29ACA.CE38B790-- From jacobi@dfki.de Tue Dec 3 04:36:39 2002 Received: from corp-200.dfki.uni-sb.de (corp-200.dfki.uni-sb.de [134.96.188.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3Aacae023645 for ; Tue, 3 Dec 2002 04:36:38 -0600 (CST) Received: from corp-200.dfki.uni-sb.de (IDENT:root@localhost [127.0.0.1]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB3AZwcj017390 for ; Tue, 3 Dec 2002 11:35:58 +0100 (MET) Received: from master.dfki.uni-sb.de (master.dfki.uni-sb.de [134.96.184.22]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB3AZv1D017387 for ; Tue, 3 Dec 2002 11:35:57 +0100 (MET) Organization: DFKI Saarbruecken GmbH, D 66123 Saarbruecken Received: from dfki.de (masterbrain [134.96.184.23]) by master.dfki.uni-sb.de (8.9.3/1999080500) with ESMTP id LAA14649 for ; Tue, 3 Dec 2002 11:35:57 +0100 (MET) Message-ID: <3DEC8925.2070107@dfki.de> Date: Tue, 03 Dec 2002 11:36:21 +0100 From: Sven Jacobi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users@lists.gis.umn.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] adding objects Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, is it possible to alter a layer, i. e. to add an object by an user? It would be great, if an user could add a certain object found by him to the map where this new object isn't recognized yet. Any ideas or experiences? Cheers, Sven From jacobi@dfki.de Tue Dec 3 04:48:47 2002 Received: from corp-200.dfki.uni-sb.de (corp-200.dfki.uni-sb.de [134.96.188.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3Amkae023726 for ; Tue, 3 Dec 2002 04:48:46 -0600 (CST) Received: from corp-200.dfki.uni-sb.de (IDENT:root@localhost [127.0.0.1]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB3Am7cj018338 for ; Tue, 3 Dec 2002 11:48:07 +0100 (MET) Received: from localhost (masterbrain.dfki.uni-sb.de [134.96.184.23]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB3Am61D018335 for ; Tue, 3 Dec 2002 11:48:06 +0100 (MET) Message-Id: <200212031048.gB3Am61D018335@corp-200.dfki.uni-sb.de> X-Mailer: exmh version 2.3.1 01/15/2001 with version: MH 6.8.4 #1[UCI] To: mapserver-users@lists.gis.umn.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Dec 2002 11:48:31 +0100 From: Sven Jacobi Subject: [Mapserver-users] adding objects Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, does anybody know whether it is possible to add objects to a certain layer? It would be great if an user would have the possibility to add an object to a map when he is sure that the map has to be "updated". Any ideas or experiences? Cheers, Sven From erik.van-der-goot@jrc.it Tue Dec 3 04:50:09 2002 Received: from mrelay.jrc.it (mrelay.jrc.it [139.191.1.65]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3Ao7ae023748 for ; Tue, 3 Dec 2002 04:50:08 -0600 (CST) Received: from mrelay.jrc.it (localhost [127.0.0.1]) by mrelay.jrc.it (LMC5614B) with ESMTP id gB3AnUQ25138 for ; Tue, 3 Dec 2002 11:49:30 +0100 (MET) Received: from isis-ms.sti.jrc.it (isis-gs.sti.jrc.it [139.191.8.244]) by mrelay.jrc.it (LMC5614A) with ESMTP id gB3AnTd25127 for ; Tue, 3 Dec 2002 11:49:29 +0100 (MET) Received: from ikaro.jrc.it ([139.191.246.230]) by isis-ms.sti.jrc.it (Netscape Messaging Server 4.15 gs Mar 21 2002 15:13:49) with ESMTP id H6JI2I00.OAJ; Tue, 3 Dec 2002 11:49:30 +0100 Message-Id: <5.1.0.14.2.20021203114731.01ee9210@isis-ms.jrc.it> X-Sender: gooteri@isis-ms.jrc.it X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 03 Dec 2002 11:49:29 +0100 To: Dan Barron From: "Erik Van der Goot" Subject: Re: [mapserver-users] Does anybody use Mapserver and Tomcat on Win2000?? Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <5.1.0.14.0.20021202120118.05ec2ad8@192.168.11.30> References: <5.1.0.14.2.20021128150430.03bfee08@isis-ms.jrc.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi Dan thanks for your reply did you ever try the demo program to test the installation?? (the itasca stuff) Erik At 12:03 02/12/2002 -0800, you wrote: >Yes, but I use PHP and Mapscript to generate map images. www.ddive.com > >At 03:05 PM 11/28/2002 +0100, you wrote: > From bon@ivv-aachen.de Tue Dec 3 06:30:59 2002 Received: from aixtra1.aixtra.net (aixtra1.aixtra.net [194.121.123.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3CUwae024262 for ; Tue, 3 Dec 2002 06:30:58 -0600 (CST) Received: from [194.121.123.151] by aixtra1.aixtranet.de (NTMail 7.02.3037/NU1009.00.56ec5294) with ESMTP id rjjyucaa for mapserver-users@lists.gis.umn.edu; Tue, 3 Dec 2002 13:30:21 +0100 Received: from BON01 (192.168.1.26) by mail with MERCUR Mailserver (v4.01.11 MTA3LTI0MzktNjY2Nw==) for ; Tue, 3 Dec 2002 13:27:08 +0100 From: =?iso-8859-1?Q?Nicole_B=F6meke?= To: Date: Tue, 3 Dec 2002 13:27:16 +0100 Message-ID: <000001c29ac7$5192a690$1a01a8c0@ivvaachen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Subject: [Mapserver-users] Compiling the boxzooming mapplet Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: What ist necessary to compile the boxzooming mapplet? When I try to compile it with suns standard edition 1.4.0_01 of the jdk I get the error "package netscape,javascript does not exist". When I try to compile it with Microsoft Visual J++ I get the error message "createCustomCursor is not a method of class toolkit". Thanks in advance Nicole From Rich@GreenwoodMap.com Tue Dec 3 09:24:01 2002 Received: from carme.wyom.net (carme.wyom.net [63.173.212.8]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3FO0ae025483 for ; Tue, 3 Dec 2002 09:24:01 -0600 (CST) Received: from Due.GreenwoodMap.com (wireless-212-235.wyom.net [63.173.212.235]) by carme.wyom.net (Postfix) with ESMTP id 174FC5C7C3; Tue, 3 Dec 2002 08:21:42 -0700 (MST) Message-Id: <5.1.1.6.0.20021203082057.00ac1608@mail.GreenwoodMap.com> X-Sender: greenwoodmap02@mail.GreenwoodMap.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 03 Dec 2002 08:23:56 -0700 To: Nicole =?iso-8859-1?Q?B=F6meke?= From: Richard Greenwood Subject: Re: [Mapserver-users] Compiling the boxzooming mapplet Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <000001c29ac7$5192a690$1a01a8c0@ivvaachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: At 01:27 PM 12/3/2002 +0100, you wrote: >What ist necessary to compile the boxzooming mapplet? > >When I try to compile it with suns standard edition 1.4.0_01 of the jdk I >get the error >"package netscape,javascript does not exist". You need the Live Connect classes, which I think I found on the netscape site. They are in "winNPSDK.zip" or "winsdk40.zip". I found the Sun Java 1.3 sdk worked better (it produced code that ran under IE) >When I try to compile it with Microsoft Visual J++ I get the error message >"createCustomCursor is not a method of class toolkit". I never got the MS compiler to work. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com From lfilak@medinaco.org Tue Dec 3 09:46:57 2002 Received: from yogi.medinaco.net (lca7.cvzoom.net [63.65.158.7]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3Fkvae025679 for ; Tue, 3 Dec 2002 09:46:57 -0600 (CST) Received: from 216.71.100.197 (webbster.medinaco.net [192.168.1.34]) by yogi.medinaco.net (8.11.2/8.11.2) with SMTP id gB3Fjou21090; Tue, 3 Dec 2002 10:45:51 -0500 Message-Id: <200212031545.gB3Fjou21090@yogi.medinaco.net> To: Sven Jacobi , mapserver-users@lists.gis.umn.edu From: "Lowell Filak" Subject: Re: [Mapserver-users] adding objects Date: Tue, 03 Dec 2002 10:47:45 -0500 X-Mailer: "Alex Hart's Very Own Web Based Email, Version 2.4 (Medina County Edition)" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: If by layer you mean shapefile: To "add" features to an existing shapefile you need to actually create a new shapefile object and loop through each of the features in the existing shapefile and add them to the new shapefile. Then before closing the shapefile object you can add new features to it and then overwrite the old shapefile with the new version. Why? There is more discussion in the archives regarding that but for the most part the original shapefile design (if I understand correctly) was for quick read access and not write access. There is a PerlMapscript example towards the top of (look for "Does the shapefile already exist or is it yet to exist."): http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex8 And, yes, we actually use that script to add features to a shapefile. HTH Lowell F. The following message was sent by Sven Jacobi on Tue, 03 Dec 2002 11:48:31 +0100. > Hi, > > does anybody know whether it is possible to add objects to a certain layer? > It would be great if an user would have the possibility to add an object to > a map when he is sure that the map has to be "updated". > > Any ideas or experiences? > > Cheers, > > Sven > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From vatsavai@mail.cs.umn.edu Tue Dec 3 10:15:43 2002 Received: from mail.cs.umn.edu (root@mail.cs.umn.edu [128.101.32.200]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3GFhae025897 for ; Tue, 3 Dec 2002 10:15:43 -0600 (CST) Received: from pluto.cs.umn.edu (pluto.cs.umn.edu [128.101.35.144]) by mail.cs.umn.edu (8.11.3/8.11.3) with ESMTP id gB3GF8X22922; Tue, 3 Dec 2002 10:15:09 -0600 (CST) From: Ranga Raju Vatsavai Received: (from vatsavai@localhost) by pluto.cs.umn.edu (8.9.3/8.9.0) id KAA01601; Tue, 3 Dec 2002 10:15:08 -0600 (CST) Message-Id: <200212031615.KAA01601@pluto.cs.umn.edu> To: mapserver-users@lists.gis.umn.edu Date: Tue, 3 Dec 2002 10:15:08 -0600 (CST) CC: Ranga Raju Vatsavai X-Mailer: ELM [version 2.4ME+ PL93 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: [Mapserver-users] digested version Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello Digested version subscribers, I would like to know if any digested member got any digested version sofar? You should be getting at least one per day. Also let me know the time stamp of the digested version (I mean at what time you got the digest). General question? Did anybody noticed any problems, extrodinary delays, missing mails, etc., after new subsciption? Thanks in advance, Raju ---- From stepan.kafka@centrum.cz Tue Dec 3 10:18:57 2002 Received: from smtp.nextra.cz (smtp.nextra.cz [195.70.130.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3GIvae025925 for ; Tue, 3 Dec 2002 10:18:57 -0600 (CST) Received: from HSGIS (unknown [195.47.60.126]) by smtp.nextra.cz (Postfix) with ESMTP id 12A5A6085; Tue, 3 Dec 2002 17:18:17 +0100 (CET) From: "Stepan Kafka" To: "Lowell Filak" , "Sven Jacobi" , Subject: RE: [Mapserver-users] adding objects Date: Tue, 3 Dec 2002 17:20:49 +0100 Message-ID: <001d01c29ae7$f0f86a10$7e3c2fc3@HSGIS> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <200212031545.gB3Fjou21090@yogi.medinaco.net> Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, current version of mapscript enables adding object to EXISTING shapefile (I use it frequently). The shapefile may be opened like this: ms_newShapefileObj("filename", -2) Stepan Kafka > -----Pùvodní zpráva----- > Od: mapserver-users-admin@lists.gis.umn.edu > [mailto:mapserver-users-admin@lists.gis.umn.edu]za u¾ivatele Lowell > Filak > Odesláno: 3. prosince 2002 16:48 > Komu: Sven Jacobi; mapserver-users@lists.gis.umn.edu > Pøedmìt: Re: [Mapserver-users] adding objects > > > If by layer you mean shapefile: > To "add" features to an existing shapefile you need to actually > create a new shapefile object and loop through each of the > features in the existing shapefile and add them to the new shapefile. > Then before closing the shapefile object you can add new features > to it and then overwrite the old shapefile with the new version. > Why? > There is more discussion in the archives regarding that but for > the most part the original shapefile design (if I understand > correctly) was for quick read access and not write access. > There is a PerlMapscript example towards the top of (look for > "Does the shapefile already exist or is it yet to exist."): > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex8 > And, yes, we actually use that script to add features to a shapefile. > HTH > Lowell F. > > The following message was sent by Sven Jacobi on > Tue, 03 Dec 2002 11:48:31 +0100. > > > Hi, > > > > does anybody know whether it is possible to add objects to a > certain layer? > > It would be great if an user would have the possibility to add > an object to > > a map when he is sure that the map has to be "updated". > > > > Any ideas or experiences? > > > > Cheers, > > > > Sven > > > > _______________________________________________ > > 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 lfilak@medinaco.org Tue Dec 3 10:52:20 2002 Received: from yogi.medinaco.net (lca7.cvzoom.net [63.65.158.7]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3GqKae026145 for ; Tue, 3 Dec 2002 10:52:20 -0600 (CST) Received: from 216.71.100.197 (webbster.medinaco.net [192.168.1.34]) by yogi.medinaco.net (8.11.2/8.11.2) with SMTP id gB3Gp9u22049; Tue, 3 Dec 2002 11:51:09 -0500 Message-Id: <200212031651.gB3Gp9u22049@yogi.medinaco.net> To: "Stepan Kafka" , "Lowell Filak" , "Sven Jacobi" , From: "Lowell Filak" Subject: RE: [Mapserver-users] adding objects Date: Tue, 03 Dec 2002 11:53:04 -0500 X-Mailer: "Alex Hart's Very Own Web Based Email, Version 2.4 (Medina County Edition)" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I see. My apologies for the mis-information. Lowell F. The following message was sent by "Stepan Kafka" on Tue, 3 Dec 2002 17:20:49 +0100. > Hi, > current version of mapscript enables adding object to EXISTING shapefile > (I use it frequently). > The shapefile may be opened like this: > > ms_newShapefileObj("filename", -2) > > Stepan Kafka > > > -----Pùvodní zpráva----- > > Od: mapserver-users-admin@lists.gis.umn.edu > > [mailto:mapserver-users-admin@lists.gis.umn.edu]za u¾ivatele Lowell > > Filak > > Odesláno: 3. prosince 2002 16:48 > > Komu: Sven Jacobi; mapserver-users@lists.gis.umn.edu > > Pøedmìt: Re: [Mapserver-users] adding objects > > > > > > If by layer you mean shapefile: > > To "add" features to an existing shapefile you need to actually > > create a new shapefile object and loop through each of the > > features in the existing shapefile and add them to the new shapefile. > > Then before closing the shapefile object you can add new features > > to it and then overwrite the old shapefile with the new version. > > Why? > > There is more discussion in the archives regarding that but for > > the most part the original shapefile design (if I understand > > correctly) was for quick read access and not write access. > > There is a PerlMapscript example towards the top of (look for > > "Does the shapefile already exist or is it yet to exist."): > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex8 > > And, yes, we actually use that script to add features to a shapefile. > > HTH > > Lowell F. > > > > The following message was sent by Sven Jacobi on > > Tue, 03 Dec 2002 11:48:31 +0100. > > > > > Hi, > > > > > > does anybody know whether it is possible to add objects to a > > certain layer? > > > It would be great if an user would have the possibility to add > > an object to > > > a map when he is sure that the map has to be "updated". > > > > > > Any ideas or experiences? > > > > > > Cheers, > > > > > > Sven > > > > > > _______________________________________________ > > > 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 jhart@frw.uva.nl Tue Dec 3 11:07:09 2002 Received: from uvapsy.fmg.uva.nl (root@uvapsy.fmg.uva.nl [145.18.152.23]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3H78ae026239 for ; Tue, 3 Dec 2002 11:07:08 -0600 (CST) Received: from frw.uva.nl (g0400.fmg.uva.nl [145.18.125.57]) by uvapsy.fmg.uva.nl (8.9.3/8.9.3) with ESMTP id SAA08254 for ; Tue, 3 Dec 2002 18:06:33 +0100 (MET) Message-ID: <3DECE498.6020606@frw.uva.nl> Date: Tue, 03 Dec 2002 18:06:32 +0100 From: Jan Hartmann Organization: University of Amsterdam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Wind Barbs / Truetype font annotation? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Luke, The way you do it the Barb layer has to be defined as a POINT layer. You are symbolizing individual points based on classes and symbols from the MapFile itself. Alternatively, you can use an ANNOTATION layer, but in that case the annotation for each site (i.e. the character numbers of the wind-barb symbols) has to be present as a separate column in the DATA-file (or computed via PostGIS). In that case you only need a LABELITEM, and all sites will be labeled according to the accompanying character. I agree, it is a subtle distinction. Jan Hartmann Luke Wallace wrote: > > I've been working on the Texas Mesonet project, and am trying to get > Wind Barb plots for each of the sites based upon their wind speed and > direction. I've looked through the archives, but the bits of code I've > found don't seem to work when combined together. Below are the > important parts of my main mapfile > > SYMBOL > NAME 'circle' > TYPE ELLIPSE > POINTS 1 1 END > FILLED TRUE > END > > SYMBOL > NAME 'wind1' > TYPE truetype > FONT 'Esri_Weather' > FILLED true > ANTIALIAS true > CHARACTER "b" # symbol number in character map > end > > # > # Working Point Layer > # > LAYER > NAME weather-metar > TYPE POINT > DATA currentWeather > STATUS ON > LABELCACHE OFF > TOLERANCE 10 > CLASS > NAME 'Weather Stations' > COLOR 100 200 164 > SYMBOL 'circle' > SIZE 7 > TEMPLATE "weather_refresh.html" > END > END > > # > # Non-working Barb Layer > # > LAYER > NAME weather-barbs > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > DATA currentWeather > CLASS > EXPRESSION "([WINDSPD] = 0)" > SYMBOL 'wind1' > SIZE 25 > COLOR 0 0 0 > END > END > > I realize I'm going to need more classes (with more expressions) to get > this to be a truly correct barb, but I'm trying to take small steps and > just get any symbol to show. > > The following layer in my mapfile puts a single barb in the lower left > corner of the map. This shows my fontset is set up correctly (right?). > > LAYER > NAME credits > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > FEATURE > POINTS 4 696 END > TEXT 'b' > END > CLASS > LABEL > TYPE TRUETYPE > FONT Esri_weather > SIZE 50 > ANTIALIAS true > COLOR 0 0 0 > POSITION UR > END > END > END > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > Jan Hartmann Depratment of Geography University of Amsterdam From ed@topozone.com Tue Dec 3 11:47:30 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3HlUae026430 for ; Tue, 3 Dec 2002 11:47:30 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] PNG file printing from browser MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29AF3.F71CF3B0" Date: Tue, 3 Dec 2002 12:46:53 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39D1@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] PNG file printing from browser Thread-Index: AcKa3rw9jY0fW8IHQ2yAWxQw+C9qPAAFPyXA From: "Ed McNierney" To: "Marie Flanagan" , Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------_=_NextPart_001_01C29AF3.F71CF3B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Marie - =20 IE 5 has problems printing 8-bit palettized PNGs. The bug was fixed in = IE 5.5 and is still fixed in IE 6 versions. The PNG you printed = successfully was probably a 24-bit PNG, which does not trigger the bug. =20 See: =20 http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;255239 =20 - Ed -----Original Message----- From: Marie Flanagan [mailto:theflan@gofree.indigo.ie] Sent: Monday, December 02, 2002 8:52 AM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] PNG file printing from browser Hello List, =20 I have a query about printing the map image files generated by = Mapscript. If I try to print a map as a png image file from an IE5 = browser it prints out incorrectly - just lots of black. I thought the = problem might be with the browser unable to print png format but other = png file I found on the web seem to print ok from my browser. I = converted the output to JPEG and that prints ok but the file size is up = to 5 times larger than png and is very slow to download. =20 Any suggestions gratefully received. =20 Regards, =20 Marie Flanagan ------_=_NextPart_001_01C29AF3.F71CF3B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Marie=20 -
 
IE 5=20 has problems printing 8-bit palettized PNGs.  The bug was fixed in = IE 5.5=20 and is still fixed in IE 6 versions.  The PNG you printed = successfully was=20 probably a 24-bit PNG, which does not trigger the = bug.
 
See:
 
http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;255239
 
    - Ed
-----Original Message-----
From: Marie Flanagan=20 [mailto:theflan@gofree.indigo.ie]
Sent: Monday, December 02, = 2002=20 8:52 AM
To: = mapserver-users@lists.gis.umn.edu
Subject:=20 [Mapserver-users] PNG file printing from browser

Hello List,
 
I have a query about printing the map = image files=20 generated by Mapscript.  If I try to print a map as a png image = file from=20 an IE5 browser it prints out incorrectly - just lots of black.  I = thought=20 the problem might be with the browser unable to print png format but = other png=20 file I found on the web seem to print ok from my browser.  I = converted=20 the output to JPEG and that prints ok but the file size is up to 5 = times=20 larger than png and is very slow to download.
 
Any suggestions gratefully = received.
 
Regards,
 
Marie=20 Flanagan
------_=_NextPart_001_01C29AF3.F71CF3B0-- From joe@otsys.com Tue Dec 3 11:48:39 2002 Received: from extempore.otsys.com (extempore.otsys.com [128.223.40.75]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3Hmcae026450 for ; Tue, 3 Dec 2002 11:48:39 -0600 (CST) Received: from localhost ([127.0.0.1] helo=otsys.com ident=joe) by extempore.otsys.com with esmtp (Exim 3.36 #1 (Debian)) id 18JH8B-0006cB-00; Tue, 03 Dec 2002 09:46:47 -0800 Message-ID: <3DECEE06.5080000@otsys.com> Date: Tue, 03 Dec 2002 09:46:46 -0800 From: Joe Bussell User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 MIME-Version: 1.0 To: Luke Wallace CC: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Wind Barbs / Truetype font annotation? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I had the worst time with creating custom symbols until someone passed me a link which suggested that I needed to declare them in a symbolset file. I offer that you should create such a file and reference it in your mapfile with the SYMBOLSET directive. I believe this is reletive to the shape path, but am not totally sure. Good luck. If you get something nice I would love to use it for an internal project here. Cordially, Joe Bussell On Time Systems www.trafficdodger.com Luke Wallace wrote: > > I've been working on the Texas Mesonet project, and am trying to get > Wind Barb plots for each of the sites based upon their wind speed and > direction. I've looked through the archives, but the bits of code I've > found don't seem to work when combined together. Below are the > important parts of my main mapfile > > SYMBOL > NAME 'circle' > TYPE ELLIPSE > POINTS 1 1 END > FILLED TRUE > END > > SYMBOL > NAME 'wind1' > TYPE truetype > FONT 'Esri_Weather' > FILLED true > ANTIALIAS true > CHARACTER "b" # symbol number in character map > end > > # > # Working Point Layer > # > LAYER > NAME weather-metar > TYPE POINT > DATA currentWeather > STATUS ON > LABELCACHE OFF > TOLERANCE 10 > CLASS > NAME 'Weather Stations' > COLOR 100 200 164 > SYMBOL 'circle' > SIZE 7 > TEMPLATE "weather_refresh.html" > END > END > > # > # Non-working Barb Layer > # > LAYER > NAME weather-barbs > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > DATA currentWeather > CLASS > EXPRESSION "([WINDSPD] = 0)" > SYMBOL 'wind1' > SIZE 25 > COLOR 0 0 0 > END > END > > I realize I'm going to need more classes (with more expressions) to get > this to be a truly correct barb, but I'm trying to take small steps and > just get any symbol to show. > > The following layer in my mapfile puts a single barb in the lower left > corner of the map. This shows my fontset is set up correctly (right?). > > LAYER > NAME credits > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > FEATURE > POINTS 4 696 END > TEXT 'b' > END > CLASS > LABEL > TYPE TRUETYPE > FONT Esri_weather > SIZE 50 > ANTIALIAS true > COLOR 0 0 0 > POSITION UR > END > END > END > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From Rich@GreenwoodMap.com Tue Dec 3 12:03:10 2002 Received: from carme.wyom.net (carme.wyom.net [63.173.212.8]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3I39ae026587 for ; Tue, 3 Dec 2002 12:03:10 -0600 (CST) Received: from Due.GreenwoodMap.com (wireless-212-235.wyom.net [63.173.212.235]) by carme.wyom.net (Postfix) with ESMTP id 2CDF85C802; Tue, 3 Dec 2002 11:00:52 -0700 (MST) Message-Id: <5.1.1.6.0.20021203105548.00aaaf90@mail.GreenwoodMap.com> X-Sender: greenwoodmap02@mail.GreenwoodMap.com X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Tue, 03 Dec 2002 11:03:07 -0700 To: Nicole Bomeke From: Richard Greenwood Subject: Re: AW: [Mapserver-users] Compiling the boxzooming mapplet Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <000001c29af0$a4ed7850$1a01a8c0@ivvaachen.de> References: <5.1.1.6.0.20021203082057.00ac1608@mail.GreenwoodMap.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_755534484==.ALT" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: --=====================_755534484==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed A couple more things: I think you can get 1.4 compiled applets to run under IE if you install the Sun 1.4 JRE. I think the problem is with the Microsoft Java Virtual machine, but I am not a Java expert. Steve Lime recommends using his jBox instead of mapplet because: "mapplet is old code and you should be probably using the new jBox.java code based on mapplet. It has updated method naming conventions so as to jive with some DHTML and javascript libs I've written. You can nab it at http://maps.dnr.state.mn.us/java/ " I have added some line drawing capabilities to jBox to simulate a tool like MapInfo and ArcView have. You can see it in action at: http://www2.tetonwyo.org/mapserver/ And you can get my .java source at: http://www.greenwoodmap.com/mapserver Rich At 06:23 PM 12/3/2002 +0100, you wrote: >Thanks for the reply. > >I found a file mayscript.jar that contains the classes required for the Live >Connect mechanism >under http://www.applepiesolutions.com/mayscript/. > >I saved it as c:\j2sdk1.4.0_01\lib\mayscript.jar and added it to the >CLASSPATH. >Now I can compile the boxzooming mapplet with my jdk :-) > >Your experience with Sun Java 1.3 sdk is very interesting. >I indeed have problems to run my applets under IE. >I will try if it works better with version 1.3. > >Nicole > > >-----Ursprungliche Nachricht----- >Von: Richard Greenwood [mailto:Rich@GreenwoodMap.com] >Gesendet: Dienstag, 3. Dezember 2002 16:24 >An: Nicole Bomeke >Cc: mapserver-users@lists.gis.umn.edu >Betreff: Re: [Mapserver-users] Compiling the boxzooming mapplet > > >At 01:27 PM 12/3/2002 +0100, you wrote: > >What ist necessary to compile the boxzooming mapplet? > > > >When I try to compile it with suns standard edition 1.4.0_01 of the jdk I > >get the error > >"package netscape,javascript does not exist". > >You need the Live Connect classes, which I think I found on the netscape >site. They are in "winNPSDK.zip" or "winsdk40.zip". I found the Sun Java >1.3 sdk worked better (it produced code that ran under IE) > > >When I try to compile it with Microsoft Visual J++ I get the error message > >"createCustomCursor is not a method of class toolkit". > >I never got the MS compiler to work. > >Rich > > >Richard W. Greenwood, PLS >Greenwood Mapping, Inc. >Rich@GreenwoodMap.com >(307) 733-0203 >http://www.GreenwoodMap.com Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com --=====================_755534484==.ALT Content-Type: text/html; charset="us-ascii" A couple more things: I think you can get 1.4 compiled applets to run under IE if you install the Sun 1.4 JRE. I think the problem is with the Microsoft Java Virtual machine, but I am not a Java expert.

Steve Lime recommends using his jBox instead of mapplet because:
"mapplet is old code and you should be probably using the new jBox.java code based on mapplet. It has updated method naming conventions so as to jive with some DHTML and javascript libs I've written. You can nab
it at http://maps.dnr.state.mn.us/java/ "

I have added some line drawing capabilities to jBox to simulate a tool like MapInfo and ArcView have. You can see it in action at:
http://www2.tetonwyo.org/mapserver/

And you can get my .java source at:
http://www.greenwoodmap.com/mapserver

Rich



At 06:23 PM 12/3/2002 +0100, you wrote:
Thanks for the reply.

I found a file mayscript.jar that contains the classes required for the Live
Connect mechanism
under http://www.applepiesolutions.com/mayscript/.

I saved it as c:\j2sdk1.4.0_01\lib\mayscript.jar and added it to the
CLASSPATH.
Now I can compile the boxzooming mapplet with my jdk :-)

Your experience with Sun Java 1.3 sdk is very interesting.
I indeed have problems to run my applets under IE.
I will try if it works better with version 1.3.

Nicole


-----Ursprungliche Nachricht-----
Von: Richard Greenwood [mailto:Rich@GreenwoodMap.com]
Gesendet: Dienstag, 3. Dezember 2002 16:24
An: Nicole Bomeke
Cc: mapserver-users@lists.gis.umn.edu
Betreff: Re: [Mapserver-users] Compiling the boxzooming mapplet


At 01:27 PM 12/3/2002 +0100, you wrote:
>What ist necessary to compile the boxzooming mapplet?
>
>When I try to compile it with suns standard edition 1.4.0_01 of the jdk I
>get the error
>"package netscape,javascript does not exist".

You need the Live Connect classes, which I think I found on the netscape
site. They are in "winNPSDK.zip" or "winsdk40.zip".  I found the Sun Java
1.3 sdk worked better (it produced code that ran under IE)

>When I try to compile it with Microsoft Visual J++ I get the error message
>"createCustomCursor is not a method of class toolkit".

I never got the MS compiler to work.

Rich


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com


Richard W. Greenwood, PLS
Greenwood Mapping, Inc.
Rich@GreenwoodMap.com
(307) 733-0203
http://www.GreenwoodMap.com --=====================_755534484==.ALT-- From TCHaddad@cshore.com Tue Dec 3 12:18:49 2002 Received: from cshore.com ([63.237.136.92]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3IImae026746 for ; Tue, 3 Dec 2002 12:18:48 -0600 (CST) Date: Tue, 3 Dec 2002 13:17:40 -0500 Message-Id: <200212031317.AA47644970@cshore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "TCHaddad" Reply-To: To: X-Mailer: Subject: [Mapserver-users] Digest Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi Raju, I got the digest today Dec 3rd 10:01 am PST. The only problem I can see right now is that it is difficult/impossible to reply to individuals as the sender's email is often obscured in the digest format.. eg: Message: 7 Date: Tue, 03 Dec 2002 10:43:43 +0100 From: Jan Hartmann Organization: University of Amsterdam To: "Mapserver-Users (E-mail)" Subject: Re: [Mapserver-users] Bad SDE query cheers, TH ________________________________________________________________ Sent via the KillerWebMail system at cshore.com From akrherz@iastate.edu Tue Dec 3 12:45:20 2002 Received: from mailhub-1.iastate.edu (mailhub-1.iastate.edu [129.186.140.3]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3IjJae026873 for ; Tue, 3 Dec 2002 12:45:20 -0600 (CST) Received: from mailout-1.iastate.edu (mailout-1.iastate.edu [129.186.140.1]) by mailhub-1.iastate.edu (8.9.3/8.9.3) with SMTP id MAA23264; Tue, 3 Dec 2002 12:44:39 -0600 Received: from pircsds0.agron.iastate.edu(129.186.26.63) by mailout-1.iastate.edu via csmap id 1533; Tue, 03 Dec 2002 12:58:59 -0600 (CST) Date: Tue, 3 Dec 2002 12:44:40 -0600 (CST) From: Daryl Herzmann X-X-Sender: akrherz@pircsds0.agron.iastate.edu To: Luke Wallace cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Wind Barbs / Truetype font annotation? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hiya, With the kind help of members of this list, I was recently able to get this working. I am pulling data from postgis, but the procedure is the same. Here is my layer def... LAYER CONNECTIONTYPE postgis NAME sknt # Connect to a remote spatial database CONNECTION "host=blahblah" # Get the lines from the 'geom' column of the 'roads' table DATA "geom from (select geom, tmpf, case WHEN sknt between 0 and 4.99 THEN chr(227) WHEN sknt between 5 and 9.99 THEN chr(228) WHEN sknt between 10 and 14.99 THEN chr(229) WHEN sknt between 15 and 19.99 THEN chr(230) WHEN sknt between 20 and 24.99 THEN chr(231) WHEN sknt between 25 and 29.99 THEN chr(232) WHEN sknt between 30 and 34.99 THEN chr(233) WHEN sknt between 35 and 39.99 THEN chr(234) WHEN sknt between 40 and 44.99 THEN chr(235) WHEN sknt between 45 and 49.99 THEN chr(236) ELSE chr(1) END as sknt, (0 - drct) as drct, oid from current WHERE sknt > 0) as foo" STATUS DEFAULT TYPE POINT LABELANGLEITEM drct PROJECTION "proj=latlong" END CLASS TEXT ([sknt]) COLOR -1 -1 -1 LABEL SIZE 38 POSITION CC COLOR 255 255 255 BACKGROUNDCOLOR -1 -1 -1 OUTLINECOLOR -1 -1 -1 TYPE TRUETYPE FONT weather ANTIALIAS false BUFFER 0 END END END CAVEAT, I am not entirely certain that my barbs are matching the speeds. The ESRI Weather font is really hard to read, since the barbs are bunched together so tightly. If you find errors, let me know too! Later Daryl On Mon, 2 Dec 2002, Luke Wallace wrote: > >I've been working on the Texas Mesonet project, and am trying to get Wind >Barb plots for each of the sites based upon their wind speed and direction. >I've looked through the archives, but the bits of code I've found don't seem >to work when combined together. Below are the important parts of my main >mapfile > >SYMBOL > NAME 'circle' > TYPE ELLIPSE > POINTS 1 1 END > FILLED TRUE >END > >SYMBOL > NAME 'wind1' > TYPE truetype > FONT 'Esri_Weather' > FILLED true > ANTIALIAS true > CHARACTER "b" # symbol number in character map >end > ># ># Working Point Layer ># >LAYER > NAME weather-metar > TYPE POINT > DATA currentWeather > STATUS ON > LABELCACHE OFF > TOLERANCE 10 > CLASS > NAME 'Weather Stations' > COLOR 100 200 164 > SYMBOL 'circle' > SIZE 7 > TEMPLATE "weather_refresh.html" > END >END > ># ># Non-working Barb Layer ># >LAYER > NAME weather-barbs > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > DATA currentWeather > CLASS > EXPRESSION "([WINDSPD] = 0)" > SYMBOL 'wind1' > SIZE 25 > COLOR 0 0 0 > END >END > >I realize I'm going to need more classes (with more expressions) to get this >to be a truly correct barb, but I'm trying to take small steps and just get >any symbol to show. > >The following layer in my mapfile puts a single barb in the lower left >corner of the map. This shows my fontset is set up correctly (right?). > >LAYER > NAME credits > STATUS DEFAULT > TRANSFORM FALSE > TYPE ANNOTATION > FEATURE > POINTS 4 696 END > TEXT 'b' > END > CLASS > LABEL > TYPE TRUETYPE > FONT Esri_weather > SIZE 50 > ANTIALIAS true > COLOR 0 0 0 > POSITION UR > END > END >END > > >_________________________________________________________________ >Protect your PC - get McAfee.com VirusScan Online >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > -- /** * Daryl Herzmann (akrherz@iastate.edu) * Program Assistant -- Iowa Environmental Mesonet * http://mesonet.agron.iastate.edu */ From lynch.matt@shaw.ca Tue Dec 3 17:10:42 2002 Received: from pd5mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3NAXae028293 for ; Tue, 3 Dec 2002 17:10:37 -0600 (CST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H6K00DNIG8ZVT@l-daemon> for mapserver-users@lists.gis.umn.edu; Tue, 03 Dec 2002 16:07:47 -0700 (MST) Received: from shaw.ca (pd2ms1so-con.prod.shaw.ca [10.0.122.119]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H6K00CIWG8Z06@l-daemon> for mapserver-users@lists.gis.umn.edu; Tue, 03 Dec 2002 16:07:47 -0700 (MST) Received: from [10.0.142.58] by pd2ims1.prod.shaw.ca (mshttpd); Tue, 03 Dec 2002 16:07:47 -0700 Date: Tue, 03 Dec 2002 16:07:47 -0700 From: lynch.matt@shaw.ca To: mapserver-users@lists.gis.umn.edu Reply-to: MattLynch@acm.org Message-id: <1e38ef1e7567.1e75671e38ef@shaw.ca> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.1 HotFix 1.6 (built Oct 18 2002) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Subject: [Mapserver-users] building mapserver in CygWin Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi I am trying to compile mapserver in the CygWin environment (on a Win 2000 Adv Server machine). I am using GD 2.0.7 and mapserver 3.6.3 GD compiles and installs successfully, however the mapserver compile gives me an error saying there is an undefined reference to ___gxx_personality_v0. below is a section of the compile message ---------------------------------------------------------------------------------------------- gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DU SE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -I/home/MattLynch/proje cts/mapserver-3.6.3/../gd-2.0.7 shp2img.c -o shp2img.o gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_ GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -I/home/MattLynch/projects /mapserver-3.6.3/../gd-2.0.7 shp2img.o -L. -lmap -L/home/MattLynch /projects/mapserver-3.6.3/../gd-2.0.7/.libs -lgd -ljpeg -L/lib -lpng -L/lib -lz -ltiff -ljpeg -L/lib -lpng -L/lib -lz -ljpeg -lm -o shp2img ./libmap.a(mapogr.o)(.eh_frame+0x11):mapogr.cpp: undefined reference to `___gxx_ personality_v0' Info: resolving _gdFontTiny by linking to __imp__gdFontTiny (auto-import) Info: resolving _gdFontSmall by linking to __imp__gdFontSmall (auto-import) Info: resolving _gdFontMediumBold by linking to __imp__gdFontMediumBold (auto-im port) Info: resolving _gdFontLarge by linking to __imp__gdFontLarge (auto-import) Info: resolving _gdFontGiant by linking to __imp__gdFontGiant (auto-import) collect2: ld returned 1 exit status make: *** [shp2img] Error 1 ---------------------------------------------------------------------------------------------- my makefile is as follows ---------------------------------------------------------------------------------------------- # Run ./configure in the main MapServer directory to turn this Makefile.in # into a proper Makefile LIB_INSTALL=/usr/local/lib/ HEADER_INSTALL=/usr/local/include/mapserver-3.5/ # # mpatrol runtime memory debugger # MPATROL= MPATROL_INC= MPATROL_LIB= # # If you want to ignore missing datafile errors uncomment the following # line. This is especially useful with large tiled datasets that may not # have complete data for each tile. # #IGNORE_MISSING_DATA=-DIGNORE_MISSING_DATA IGNORE_MISSING_DATA = -DIGNORE_MISSING_DATA # # Apparently these aren't as commonplace as I'd hoped. Edit the # following line to reflect the missing functions on your platform. # # STRINGS=-DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRDUP STRINGS= # Proj.4 distribution (cartographic projection routines). Not required for normal use. (EXPERIMENTAL) PROJ_INC= PROJ_LIB= PROJ= # GD distribution (graphics library GIF and/or PNG support). (REQUIRED) # # - Versions 1.3 to 1.5 write non-LZW GIF (-DUSE_GD_1_3). # - Versions 1.6 and greater write PNG (-DUSE_GD_1_6). Add -lpng -lz to GD_LIB line. # # GDFONT_OBJ=gd-1.2/gdfontt.o gd-1.2/gdfonts.o gd-1.2/gdfontmb.o gd-1.2/gdfontl.o gd-1.2/gdfontg.o GD_INC= -I/home/MattLynch/projects/mapserver-3.6.3/../gd-2.0.7 GD_LIB= -L/home/MattLynch/projects/mapserver-3.6.3/../gd-2.0.7/.libs -lgd -ljpeg -L/lib -lpng -L/lib -lz GD= -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT GD_STATIC = # PDFlib distribution (PDF library w/ PDF support). (EXPERIMENTAL) # # # PDF_INC= PDF_LIB= PDF= PDF_OBJ= # TIFF distribution (raster support for TIFF and GEOTIFF imagery). (RECOMMENDED) TIFF_INC= TIFF_LIB= -ltiff -ljpeg -L/lib -lpng -L/lib -lz TIFF= -DUSE_TIFF # JPEG distribution (raster support for grayscale JPEG images, INPUT ONLY). JPEG_INC= JPEG_LIB= -ljpeg JPEG= -DUSE_JPEG # EPPL7 Support (this activates ERDAS as well) Included in the distribution. Probably the best raster alternative if # you've got EPPL7 laying around. See http://www.lmic.state.mn.us/ for more information. (RECOMMENDED) EPPL= -DUSE_EPPL EPPL_OBJ= epplib.o # ESRI SDE Support. You MUST have the SDE Client libraries and include files # on your system someplace. The actual SDE server you wish to connect to can # be elsewhere. SDE= SDE_LIB= SDE_INC= # Optional OGR Support. OGC Simple Feature inspired interface for vector # formats. See http://gdal.velocet.ca/projects/opengis/ OGR= OGR_LIB= OGR_INC= OGR_STATIC= # Optional GDAL Support (provides read access to a variety of raster formats) # See http://www.remotesensing.org/gdal GDAL= GDAL_LIB= GDAL_INC= # Optional PostGIS Support. See http://postgis.refractions.net/ POSTGIS= POSTGIS_LIB= POSTGIS_INC= # Optional ORACLESPATIAL Support. Contact: cabral@cttmar.univali.br ORACLESPATIAL= ORACLESPATIAL_LIB= ORACLESPATIAL_INC= # w3c-libwww ... required for WMS Client Connections WWW_INC= WWW_LIB= # OGC WMS Compatibility: -DUSE_WMS (Requires PROJ4 support) # OGC WMS Client Connections: -DUSE_WMS_LYR (Requires PROJ4 and libwww) WMS= # # UofMN GIS/Image Processing Extension (very experimental) # #EGIS=-DUSE_EGIS #EGIS_INC=-I./egis/errLog -I./egis/imgSrc -I./egis #EGIS_LIB=-L./egis/errLog -lerrLog -L./egis/imgSrc -limgGEN -L./egis -legis #MAKE_EGIS=egis #MAKE_EGIS_CLEAN=egis_clean # # IMPORTANT NOTE ABOUT REGEX FOR PHP_MAPSCRIPT USERS: # # In order to compile the PHP_MAPSCRIPT module, we have to make MapServer # uses the same version of the REGEX library that PHP was compiled with: # REGEX_OBJ= REGEX_INC= # # Multithreading support. # THREAD= THREAD_LIB= # # Pick a compiler, etc. Flex and bison are only required if you need to modify the mapserver lexer (maplexer.l) or expression parser (mapparser.y). # CXX= g++ CC= gcc AR= ar rc RANLIB= ranlib LEX= flex YACC= bison -y XTRALIBS= -lm RUNPATHS= CFLAGS= -O2 -Wall \ $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(WMS) \ $(ORACLESPATIAL) $(TIFF) $(JPEG) $(GD) $(PDF) $(SDE) $(OGR) $(GDAL) \ $(POSTGIS) $(MPATROL) $(THREAD) \ $(GD_INC) $(PDF_INC) $(PROJ_INC) $(TIFF_INC) $(JPEG_INC) $(EGIS_INC) $(SDE_INC) \ $(REGEX_INC) $(MPATROL_INC) $(OGR_INC) $(GDAL_INC) $(POSTGIS_INC) \ $(WWW_INC) $(ORACLESPATIAL_INC) # Link flags and shared libs only LDFLAGS= $(RUNPATHS) -L. -lmap $(GD_LIB) $(PDF_LIB) $(TIFF_LIB) $(PROJ_LIB) \ $(JPEG_LIB) $(EGIS_LIB) $(SDE_LIB) $(OGR_LIB) $(GDAL_LIB) \ $(POSTGIS_LIB) $(WWW_LIB) $(ORACLESPATIAL_LIB) $(MPATROL_LIB) \ $(THREAD_LIB) $(XTRALIBS) # STATIC_LIBS is full filename with path of libs that will be statically linked STATIC_LIBS= $(GD_STATIC) $(OGR_STATIC) RM= /bin/rm -f OBJS= maptemplate.o mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o maptree.o mapsearch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o mapsde.o mapogr.o mappostgis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o $(EPPL_OBJ) $(REGEX_OBJ) $(PDF_OBJ) # # --- You shouldn't have to edit anything else. --- # .c.o: $(CC) -c $(CFLAGS) $< -o $@ all: $(MAKE_GD) $(MAKE_EGIS) libmap.a shp2img shp2pdf legend \ mapserv shptree shptreevis shptreetst scalebar sortshp perlvars \ tile4ms egis:: cd egis/errLog; make; cd .. cd egis/imgSrc; make; cd .. cd egis; make; cd .. php3_mapscript:: libmap.a cd mapscript/php3; $(MAKE); cd ../.. maplexer.o: maplexer.c map.h mapfile.h maplexer.c: maplexer.l $(LEX) -Pmsyy -i -omaplexer.c maplexer.l mapparser.o: mapparser.c map.h mapparser.c: mapparser.y $(YACC) -p msyy -d -omapparser.c mapparser.y mapogr.o: mapogr.cpp $(CXX) -c $(CFLAGS) mapogr.cpp -o mapogr.o lib: libmap.a libmap: libmap.a libmap.a: map.h $(OBJS) map.h $(AR) libmap.a $(OBJS) $(RANLIB) libmap.a shp2pdf: libmap.a shp2pdf.o map.h $(CC) $(CFLAGS) shp2pdf.o $(LDFLAGS) $(STATIC_LIBS) -o shp2pdf shp2img: libmap.a shp2img.o map.h $(CC) $(CFLAGS) shp2img.o $(LDFLAGS) $(STATIC_LIBS) -o shp2img sym2img: libmap.a sym2img.o map.h $(CC) $(CFLAGS) sym2img.o $(LDFLAGS) $(STATIC_LIBS) -o sym2img legend: libmap.a legend.o map.h $(CC) $(CFLAGS) legend.o $(LDFLAGS) $(STATIC_LIBS) -o legend scalebar: libmap.a scalebar.o map.h $(CC) $(CFLAGS) scalebar.o $(LDFLAGS) $(STATIC_LIBS) -o scalebar mapserv: mapserv.h libmap.a mapserv.o cgiutil.o map.h $(CC) $(CFLAGS) mapserv.o cgiutil.o $(LDFLAGS) $(STATIC_LIBS) -o mapserv shpindex: libmap.a shpindex.o map.h $(CC) $(CFLAGS) shpindex.o $(LDFLAGS) $(STATIC_LIBS) -o shpindex shptree: libmap.a shptree.o map.h $(CC) $(CFLAGS) shptree.o $(LDFLAGS) $(STATIC_LIBS) -o shptree shptreevis: libmap.a shptreevis.o map.h $(CC) $(CFLAGS) shptreevis.o $(LDFLAGS) $(STATIC_LIBS) -o shptreevis shptreetst: libmap.a shptreetst.o map.h $(CC) $(CFLAGS) shptreetst.o $(LDFLAGS) $(STATIC_LIBS) -o shptreetst sortshp: sortshp.o $(CC) $(CFLAGS) sortshp.o $(LDFLAGS) $(STATIC_LIBS) -o sortshp tile4ms: tile4ms.o $(CC) $(CFLAGS) tile4ms.o $(LDFLAGS) $(STATIC_LIBS) -o tile4ms perlvars: touch perlvars pwd > perlvars echo $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(TTF) $(TIFF) $(JPEG) $(GD) $(SDE) $(OGR) $(GDAL) >> perlvars echo -I. $(PROJ_INC) $(GD_INC) $(TTF_INC) $(TIFF_INC) $(JPEG_INC) $(SDE_INC) $(OGR_INC) $(GDAL_INC) >> perlvars echo $(LDFLAGS) >> perlvars echo $(STATIC_LIBS) >> perlvars egis_clean: cd egis/errLog; $(MAKE) clean; cd .. cd egis/imgSrc; $(MAKE) clean; cd .. cd egis; $(MAKE) clean; cd .. php3_mapscript_clean:: cd mapscript/php3; $(MAKE) clean; cd ../.. install: libmap.a cp -f libmap.a $(LIB_INSTALL) cp -f map.h $(HEADER_INSTALL) clean: $(MAKE_EGIS_CLEAN) rm -f libmap.a *.o shp2img shp2pdf mapserv legend shptree shptreevis shptreetst scalebar sortshp perlvars distclean: $(MAKE) clean rm config.* sorta-clean: rm -f *.o ---------------------------------------------------------------------------------------------- I have performed the following steps to get to where I have the error message: ---------------------------------------------------------------------------------------------- aclocal ./configure --with-gd=../gd-2.0.7 make ---------------------------------------------------------------------------------------------- any suggestions? Thanks, Matt From owner-mapserver-users@lists.gis.umn.edu Tue Dec 3 19:22:54 2002 Received: from virusscanner.cshore.com ([209.113.151.9]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB41Msae028761 for ; Tue, 3 Dec 2002 19:22:54 -0600 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by virusscanner.cshore.com (Postfix) with ESMTP id 33B8A71FD4; Tue, 3 Dec 2002 19:49:31 -0500 (EST) Received: by virusscanner.cshore.com (Postfix, from userid 501) id 89E877248B; Tue, 3 Dec 2002 14:51:59 -0500 (EST) Received: from smtp-test.cshore.com (unknown [209.113.151.8]) by virusscanner.cshore.com (Postfix) with ESMTP id 527DD741E5 for ; Tue, 3 Dec 2002 13:18:18 -0500 (EST) Received: by smtp-test.cshore.com (Postfix, from userid 12345) id CA58DC7F3; Fri, 29 Nov 2002 15:03:01 -0500 (EST) Received: from lists.gis.umn.edu (lists.gis.umn.edu [128.101.73.109]) by smtp-test.cshore.com (Postfix) with ESMTP id 0B9BBD847 for ; Fri, 29 Nov 2002 15:03:01 -0500 (EST) Received: (from majordom@localhost) by lists.gis.umn.edu (8.12.6/8.12.6) id gATJEqTW029744 for mapserver-users-list; Fri, 29 Nov 2002 13:14:52 -0600 (CST) X-Authentication-Warning: lists.gis.umn.edu: majordom set sender to owner-mapserver-users@lists.gis.umn.edu using -f Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gATJEoae029740 for ; Fri, 29 Nov 2002 13:14:51 -0600 (CST) Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252]) by mx2.magma.ca (Magma Relay Server) with ESMTP id gATJEHmc007281; Fri, 29 Nov 2002 14:14:17 -0500 Received: from dmsolutions.ca (Toronto-HSE-ppp3764649.sympatico.ca [67.68.160.152]) by mail1.magma.ca (Magma's Mail Server) with ESMTP id gATJEGvG007282; Fri, 29 Nov 2002 14:14:16 -0500 (EST) Message-ID: <3DE7BC47.95BAEB93@dmsolutions.ca> Date: Fri, 29 Nov 2002 14:13:11 -0500 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jim Sproull Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [mapserver-users] PHP mapscript: drawing labels as top layer References: <1038578265.28281.76.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk X-Virus-Scanned: by Cybershore Virus Scanner (AMaViS snapshot-20020300) Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Jim, Have you considered looping through all layers to draw each one in turn, then drawing your shape, and finally drawing the label cache: $img = $this->mapObject->prepareImage(); for($i=0; $i<$this->mapObject->numLayers; $i++) { $layer = $this->mapObject->getLayer($i); $layer->draw($img); } // My own method to get a particular shape $Layer = ... $Shape = $this->getShape(); $Shape->draw($this->mapObject, $Layer, $img); $this->mapObject->drawLabelCache($img); Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Jim Sproull wrote: > > Hi all, > > I'm developing a mapscript application using the latest (3.6.3) version > of mapserver with the php module. I'm trying to perform the fairly > basic function of drawing a map, followed by assigning a custom colour > to a particular shape, followed by all relevant labels (from the label > cache). Unfortunately, it seems no matter what I do, the shape always > sits on top of the labels. Here's the general idea: > > // $this->mapObject is predefined > $imgObj = $this->mapObject->prepareImage(); > > // My own method to get a particular shape > $Shape = $this->getShape(); > $Shape->draw($this->mapObject, $Layer, $imgObj); > > $this->mapObject->drawLabelCache($imgObj); > > $mapImage = $this->mapObject->draw(); > $mapImage->pasteImage($imgObj, 0); > > This always pastes the shape object over the labels. If I draw the map > object first, then draw the shape, then finally the label cache, it > works. However that method draws the labels twice, and almost doubles > the processing time. Is there a way to draw the proper layer order > without duplicating labels? > > -- > Jim Sproull > EMS Technologies From Peter.Bruton@CCRS.NRCan.gc.ca Wed Dec 4 07:37:41 2002 Received: from dns1.CCRS.NRCan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Dbeae015492 for ; Wed, 4 Dec 2002 07:37:40 -0600 (CST) Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.47.71]) by dns1.CCRS.NRCan.gc.ca (8.12.3/8.12.3) with ESMTP id gB4Db6Pl080194 for ; Wed, 4 Dec 2002 08:37:06 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id <44JDG8RV>; Wed, 4 Dec 2002 08:37:55 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46EB0FEDA@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Peter.Bruton@CCRS.NRCan.gc.ca To: mapserver-users@lists.gis.umn.edu Date: Wed, 4 Dec 2002 08:37:53 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Hits: 0.6 X-Scanned-By: MIMEDefang 2.12 (www dot roaringpenguin dot com slash mimedefang) Subject: [Mapserver-users] outline colour for marker symbol (truetype) Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello; Is there a way to set a Outline Color of a markersymbol used to represent points? The markersymbol is based on a truetype font. The point is being represented as a "Class" object, not a "Label" object. Currently I am able to accomplish this effect by using the Overlay Symbol property. I create 2 symbols, one "solid" and the other "hollow", and overlay one on-top-off the other. While this achieves my goal, I would like to avoid having to create "hollow" copies of my symbols. Thank-you in advance for any suggestions. Peter Bruton GeoAccess Division Canada Centre for Remote Sensing 615 Booth Street, Room 650 Ottawa, Ontario, K1A 0E9, Canada telephone 1-613-947-0465 fax 1-613-947-2410 From attila@prometheus.org.yu Wed Dec 4 08:10:58 2002 Received: from carmen.tippnet.co.yu ([212.62.38.246]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4EAvae015687 for ; Wed, 4 Dec 2002 08:10:57 -0600 (CST) Received: from tina2.tippnet.co.yu (ns0.tippnet.co.yu [62.108.118.1]) by carmen.tippnet.co.yu (8.11.6/linuxconf) with ESMTP id gB4HWKl14808 for ; Wed, 4 Dec 2002 16:32:20 -0100 Received: from there (mx.manufacture.co.yu [62.108.119.242]) by tina2.tippnet.co.yu (8.11.6/linuxconf) with SMTP id gB4EMO324274 for ; Wed, 4 Dec 2002 15:22:24 +0100 Message-Id: <200212041422.gB4EMO324274@tina2.tippnet.co.yu> Content-Type: text/plain; charset="iso-8859-1" From: Attila Csipa Organization: Prometheus To: mapserver-users@lists.gis.umn.edu Subject: Re: [mapserver-users] mapscript woes Date: Wed, 4 Dec 2002 15:10:08 +0100 X-Mailer: KMail [version 1.3.1] References: <200211281532.gASFWeR24261@tina2.tippnet.co.yu> In-Reply-To: <200211281532.gASFWeR24261@tina2.tippnet.co.yu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-RAVMilter-Version: 8.4.1(snapshot 20020919) (tina2.tippnet.co.yu) Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Thursday 28 November 2002 16:21, you wrote: > following message on the ms_newStyleObj constructor: > Warning: Unknown list entry type in request shutdown (0) in Unknown on line > 0 As it turned out, this error is caused by obsolete code (from nightly.tar.gz in my case) and is corrected in the CVS version. From LVN@gispro.dk Wed Dec 4 08:45:58 2002 Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [193.162.153.3]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Ejvae015897 for ; Wed, 4 Dec 2002 08:45:58 -0600 (CST) Received: from odin (x1-6-00-80-ad-78-f8-7f.k64.webspeed.dk [80.197.2.47]) by pfepb.post.tele.dk (Postfix) with SMTP id 65D335EE0FE for ; Wed, 4 Dec 2002 15:45:22 +0100 (CET) Message-ID: <008601c29ba3$c7bf4210$6e00a8c0@odin> From: "Lars V. Nielsen" To: "MAPSERVER-L" Date: Wed, 4 Dec 2002 15:45:20 +0100 Organization: GisPro MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0083_01C29BAC.2699F7A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Mapserver-users] PHP MapScript: dynamically add new layer ? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0083_01C29BAC.2699F7A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi list, I'm sure I'm missing something obvious here, so bear with me. I'm trying to create and populate a new layer dynamically, and adding it to the map. It executes errorless, but yields no result. If I add the wanted content statically in the map file, it comes out as expected. My code's as follows: $map = ms_newMapObj($map_path.$map_file); $lyr = ms_newLayerObj($map); $lyr->name = "myLayer"; $lyr->type = MS_LAYER_RASTER; $lyr->status = MS_ON; $lyr->data = "myRasterPicture.jpg"; $image=$map->draw(); $image_url = $image->saveWebImage(MS_GIF,1,1,0); Please help to enligthen my ignorance. I'm still on game level 1 :-) Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ http://hjem.get2net.dk/lars-online/ WGS84: 10.20'40"E 55.20'20"N ------=_NextPart_000_0083_01C29BAC.2699F7A0 Content-Type: text/x-vcard; name="Lars hos GisPro.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Lars hos GisPro.vcf" BEGIN:VCARD VERSION:2.1 N:Nielsen;Lars;V. FN:Lars hos GisPro ORG:GisPro TITLE:Company Manager TEL;WORK;VOICE:+45 70 23 9876 TEL;WORK;FAX:+45 6595 9877 ADR;WORK:;;Ugletoften 309;Odense S;;DK-5260;Denmark LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ugletoften 309=0D=0AOdense S DK-5260=0D=0ADenmark X-WAB-GENDER:2 URL;HOME:http://hjem.get2net.dk/lars-online/ URL;WORK:http://www.gispro.dk EMAIL;PREF;INTERNET:lvn@gispro.dk REV:20021204T144520Z END:VCARD ------=_NextPart_000_0083_01C29BAC.2699F7A0-- From morissette@dmsolutions.ca Wed Dec 4 09:39:05 2002 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Fd5ae016138 for ; Wed, 4 Dec 2002 09:39:05 -0600 (CST) Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx2.magma.ca (Magma Relay Server) with ESMTP id gB4FcRNu026625; Wed, 4 Dec 2002 10:38:27 -0500 Received: from dmsolutions.ca (Toronto-HSE-ppp3764649.sympatico.ca [67.68.160.152]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id gB4FcPbb000352; Wed, 4 Dec 2002 10:38:26 -0500 (EST) Message-ID: <3DEE2155.F69E0949@dmsolutions.ca> Date: Wed, 04 Dec 2002 10:37:57 -0500 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Lars V. Nielsen" CC: MAPSERVER-L Subject: Re: [Mapserver-users] PHP MapScript: dynamically add new layer ? References: <008601c29ba3$c7bf4210$6e00a8c0@odin> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: "Lars V. Nielsen" wrote: > > My code's as follows: > > $map = ms_newMapObj($map_path.$map_file); > > $lyr = ms_newLayerObj($map); > $lyr->name = "myLayer"; > $lyr->type = MS_LAYER_RASTER; > $lyr->status = MS_ON; > $lyr->data = "myRasterPicture.jpg"; > Due to the way the PHP wrappers work internally, you have to use the set() method to set properties on layer objects and other objects in PHP MapScript. i.e.: $map = ms_newMapObj($map_path.$map_file); $lyr = ms_newLayerObj($map); $lyr->set("name", "myLayer"); $lyr->set("type", MS_LAYER_RASTER); $lyr->set("status", MS_ON); $lyr->set("data", "myRasterPicture.jpg"); Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From LVN@gispro.dk Wed Dec 4 09:45:21 2002 Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [193.162.153.3]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4FjKae016202 for ; Wed, 4 Dec 2002 09:45:21 -0600 (CST) Received: from odin (x1-6-00-80-ad-78-f8-7f.k64.webspeed.dk [80.197.2.47]) by pfepb.post.tele.dk (Postfix) with SMTP id 97F635EE2A9 for ; Wed, 4 Dec 2002 16:44:46 +0100 (CET) Message-ID: <009e01c29bac$14666410$6e00a8c0@odin> From: "Lars V. Nielsen" To: "MAPSERVER-L" Subject: Fw: [Mapserver-users] PHP MapScript: dynamically add new layer ? Date: Wed, 4 Dec 2002 16:44:48 +0100 Organization: GisPro MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Argh! Solved it myself. Seems $map->propertyName = value; doesn't work. Apparently it has to be this way: $map->set("propertyName",value); Thought I _had_ tried that procedure, but now at least it works :-) Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ http://hjem.get2net.dk/lars-online/ WGS84: 10.20'40"E 55.20'20"N ----- Original Message ----- From: "Lars V. Nielsen" To: "MAPSERVER-L" Sent: Wednesday, December 04, 2002 3:45 PM Subject: [Mapserver-users] PHP MapScript: dynamically add new layer ? > Hi list, > > I'm sure I'm missing something obvious here, so bear with me. > > I'm trying to create and populate a new layer dynamically, and adding it to the map. It executes errorless, but yields no result. > If I add the wanted content statically in the map file, it comes out as expected. > > My code's as follows: > > $map = ms_newMapObj($map_path.$map_file); > > $lyr = ms_newLayerObj($map); > $lyr->name = "myLayer"; > $lyr->type = MS_LAYER_RASTER; > $lyr->status = MS_ON; > $lyr->data = "myRasterPicture.jpg"; > > $image=$map->draw(); > $image_url = $image->saveWebImage(MS_GIF,1,1,0); > > Please help to enligthen my ignorance. I'm still on game level 1 :-) > > Best regards/Med venlig hilsen > Lars V. Nielsen > GisPro, Denmark > http://www.gispro.dk/ > http://hjem.get2net.dk/lars-online/ > WGS84: 10.20'40"E 55.20'20"N > From lynch.matt@shaw.ca Wed Dec 4 10:24:09 2002 Received: from pd2mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4GO8ae016465 for ; Wed, 4 Dec 2002 10:24:08 -0600 (CST) Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H6L00IMBS7BSL@l-daemon> for mapserver-users@lists.gis.umn.edu; Wed, 04 Dec 2002 09:23:35 -0700 (MST) Received: from shaw.ca (pd2ms1so-con.prod.shaw.ca [10.0.122.119]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0H6L00L0TS7BP9@l-daemon> for mapserver-users@lists.gis.umn.edu; Wed, 04 Dec 2002 09:23:35 -0700 (MST) Received: from [10.0.142.58] by pd2ims1.prod.shaw.ca (mshttpd); Wed, 04 Dec 2002 09:23:35 -0700 Date: Wed, 04 Dec 2002 09:23:35 -0700 From: lynch.matt@shaw.ca Subject: RE: [Mapserver-users] building mapserver in CygWin To: mapserver-users@lists.gis.umn.edu Reply-to: MattLynch@acm.org Message-id: <22d16522ffb9.22ffb922d165@shaw.ca> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.1 HotFix 1.6 (built Oct 18 2002) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, Just wanted to thank Norman Vine for suggesting that I do the following change for each executable shp2pdf: libmap.a shp2pdf.o map.h $(CC) $(CFLAGS) shp2pdf.o $(LDFLAGS) $(STATIC_LIBS) -o shp2pdf to shp2pdf: libmap.a shp2pdf.o map.h $(CXX) $(CFLAGS) shp2pdf.o $(LDFLAGS) $(STATIC_LIBS) -o shp2pdf Matt -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu] On Behalf Of lynch.matt@shaw.ca Sent: Tuesday, December 03, 2002 4:08 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] building mapserver in CygWin Hi I am trying to compile mapserver in the CygWin environment (on a Win 2000 Adv Server machine). I am using GD 2.0.7 and mapserver 3.6.3 GD compiles and installs successfully, however the mapserver compile gives me an error saying there is an undefined reference to ___gxx_personality_v0. below is a section of the compile message ---------------------------------------------------------------------------------------------- gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DU SE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -I/home/MattLynch/proje cts/mapserver-3.6.3/../gd-2.0.7 shp2img.c -o shp2img.o gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_ GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -I/home/MattLynch/projects /mapserver-3.6.3/../gd-2.0.7 shp2img.o -L. -lmap -L/home/MattLynch /projects/mapserver-3.6.3/../gd-2.0.7/.libs -lgd -ljpeg -L/lib -lpng -L/lib -lz -ltiff -ljpeg -L/lib -lpng -L/lib -lz -ljpeg -lm -o shp2img ./libmap.a(mapogr.o)(.eh_frame+0x11):mapogr.cpp: undefined reference to `___gxx_ personality_v0' Info: resolving _gdFontTiny by linking to __imp__gdFontTiny (auto-import) Info: resolving _gdFontSmall by linking to __imp__gdFontSmall (auto-import) Info: resolving _gdFontMediumBold by linking to __imp__gdFontMediumBold (auto-im port) Info: resolving _gdFontLarge by linking to __imp__gdFontLarge (auto-import) Info: resolving _gdFontGiant by linking to __imp__gdFontGiant (auto-import) collect2: ld returned 1 exit status make: *** [shp2img] Error 1 ---------------------------------------------------------------------------------------------- my makefile is as follows ---------------------------------------------------------------------------------------------- # Run ./configure in the main MapServer directory to turn this Makefile.in # into a proper Makefile LIB_INSTALL=/usr/local/lib/ HEADER_INSTALL=/usr/local/include/mapserver-3.5/ # # mpatrol runtime memory debugger # MPATROL= MPATROL_INC= MPATROL_LIB= # # If you want to ignore missing datafile errors uncomment the following # line. This is especially useful with large tiled datasets that may not # have complete data for each tile. # #IGNORE_MISSING_DATA=-DIGNORE_MISSING_DATA IGNORE_MISSING_DATA = -DIGNORE_MISSING_DATA # # Apparently these aren't as commonplace as I'd hoped. Edit the # following line to reflect the missing functions on your platform. # # STRINGS=-DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRDUP STRINGS= # Proj.4 distribution (cartographic projection routines). Not required for normal use. (EXPERIMENTAL) PROJ_INC= PROJ_LIB= PROJ= # GD distribution (graphics library GIF and/or PNG support). (REQUIRED) # # - Versions 1.3 to 1.5 write non-LZW GIF (-DUSE_GD_1_3). # - Versions 1.6 and greater write PNG (-DUSE_GD_1_6). Add -lpng -lz to GD_LIB line. # # GDFONT_OBJ=gd-1.2/gdfontt.o gd-1.2/gdfonts.o gd-1.2/gdfontmb.o gd-1.2/gdfontl.o gd-1.2/gdfontg.o GD_INC= -I/home/MattLynch/projects/mapserver-3.6.3/../gd-2.0.7 GD_LIB= -L/home/MattLynch/projects/mapserver-3.6.3/../gd-2.0.7/.libs -lgd -ljpeg -L/lib -lpng -L/lib -lz GD= -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT GD_STATIC = # PDFlib distribution (PDF library w/ PDF support). (EXPERIMENTAL) # # # PDF_INC= PDF_LIB= PDF= PDF_OBJ= # TIFF distribution (raster support for TIFF and GEOTIFF imagery). (RECOMMENDED) TIFF_INC= TIFF_LIB= -ltiff -ljpeg -L/lib -lpng -L/lib -lz TIFF= -DUSE_TIFF # JPEG distribution (raster support for grayscale JPEG images, INPUT ONLY). JPEG_INC= JPEG_LIB= -ljpeg JPEG= -DUSE_JPEG # EPPL7 Support (this activates ERDAS as well) Included in the distribution. Probably the best raster alternative if # you've got EPPL7 laying around. See http://www.lmic.state.mn.us/ for more information. (RECOMMENDED) EPPL= -DUSE_EPPL EPPL_OBJ= epplib.o # ESRI SDE Support. You MUST have the SDE Client libraries and include files # on your system someplace. The actual SDE server you wish to connect to can # be elsewhere. SDE= SDE_LIB= SDE_INC= # Optional OGR Support. OGC Simple Feature inspired interface for vector # formats. See http://gdal.velocet.ca/projects/opengis/ OGR= OGR_LIB= OGR_INC= OGR_STATIC= # Optional GDAL Support (provides read access to a variety of raster formats) # See http://www.remotesensing.org/gdal GDAL= GDAL_LIB= GDAL_INC= # Optional PostGIS Support. See http://postgis.refractions.net/ POSTGIS= POSTGIS_LIB= POSTGIS_INC= # Optional ORACLESPATIAL Support. Contact: cabral@cttmar.univali.br ORACLESPATIAL= ORACLESPATIAL_LIB= ORACLESPATIAL_INC= # w3c-libwww ... required for WMS Client Connections WWW_INC= WWW_LIB= # OGC WMS Compatibility: -DUSE_WMS (Requires PROJ4 support) # OGC WMS Client Connections: -DUSE_WMS_LYR (Requires PROJ4 and libwww) WMS= # # UofMN GIS/Image Processing Extension (very experimental) # #EGIS=-DUSE_EGIS #EGIS_INC=-I./egis/errLog -I./egis/imgSrc -I./egis #EGIS_LIB=-L./egis/errLog -lerrLog -L./egis/imgSrc -limgGEN -L./egis -legis #MAKE_EGIS=egis #MAKE_EGIS_CLEAN=egis_clean # # IMPORTANT NOTE ABOUT REGEX FOR PHP_MAPSCRIPT USERS: # # In order to compile the PHP_MAPSCRIPT module, we have to make MapServer # uses the same version of the REGEX library that PHP was compiled with: # REGEX_OBJ= REGEX_INC= # # Multithreading support. # THREAD= THREAD_LIB= # # Pick a compiler, etc. Flex and bison are only required if you need to modify the mapserver lexer (maplexer.l) or expression parser (mapparser.y). # CXX= g++ CC= gcc AR= ar rc RANLIB= ranlib LEX= flex YACC= bison -y XTRALIBS= -lm RUNPATHS= CFLAGS= -O2 -Wall \ $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(WMS) \ $(ORACLESPATIAL) $(TIFF) $(JPEG) $(GD) $(PDF) $(SDE) $(OGR) $(GDAL) \ $(POSTGIS) $(MPATROL) $(THREAD) \ $(GD_INC) $(PDF_INC) $(PROJ_INC) $(TIFF_INC) $(JPEG_INC) $(EGIS_INC) $(SDE_INC) \ $(REGEX_INC) $(MPATROL_INC) $(OGR_INC) $(GDAL_INC) $(POSTGIS_INC) \ $(WWW_INC) $(ORACLESPATIAL_INC) # Link flags and shared libs only LDFLAGS= $(RUNPATHS) -L. -lmap $(GD_LIB) $(PDF_LIB) $(TIFF_LIB) $(PROJ_LIB) \ $(JPEG_LIB) $(EGIS_LIB) $(SDE_LIB) $(OGR_LIB) $(GDAL_LIB) \ $(POSTGIS_LIB) $(WWW_LIB) $(ORACLESPATIAL_LIB) $(MPATROL_LIB) \ $(THREAD_LIB) $(XTRALIBS) # STATIC_LIBS is full filename with path of libs that will be statically linked STATIC_LIBS= $(GD_STATIC) $(OGR_STATIC) RM= /bin/rm -f OBJS= maptemplate.o mapbits.o maphash.o mapshape.o mapxbase.o mapparser.o maplexer.o maptree.o mapsearch.o mapstring.o mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o mapsde.o mapogr.o mappostgis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o $(EPPL_OBJ) $(REGEX_OBJ) $(PDF_OBJ) # # --- You shouldn't have to edit anything else. --- # .c.o: $(CC) -c $(CFLAGS) $< -o $@ all: $(MAKE_GD) $(MAKE_EGIS) libmap.a shp2img shp2pdf legend \ mapserv shptree shptreevis shptreetst scalebar sortshp perlvars \ tile4ms egis:: cd egis/errLog; make; cd .. cd egis/imgSrc; make; cd .. cd egis; make; cd .. php3_mapscript:: libmap.a cd mapscript/php3; $(MAKE); cd ../.. maplexer.o: maplexer.c map.h mapfile.h maplexer.c: maplexer.l $(LEX) -Pmsyy -i -omaplexer.c maplexer.l mapparser.o: mapparser.c map.h mapparser.c: mapparser.y $(YACC) -p msyy -d -omapparser.c mapparser.y mapogr.o: mapogr.cpp $(CXX) -c $(CFLAGS) mapogr.cpp -o mapogr.o lib: libmap.a libmap: libmap.a libmap.a: map.h $(OBJS) map.h $(AR) libmap.a $(OBJS) $(RANLIB) libmap.a shp2pdf: libmap.a shp2pdf.o map.h $(CC) $(CFLAGS) shp2pdf.o $(LDFLAGS) $(STATIC_LIBS) -o shp2pdf shp2img: libmap.a shp2img.o map.h $(CC) $(CFLAGS) shp2img.o $(LDFLAGS) $(STATIC_LIBS) -o shp2img sym2img: libmap.a sym2img.o map.h $(CC) $(CFLAGS) sym2img.o $(LDFLAGS) $(STATIC_LIBS) -o sym2img legend: libmap.a legend.o map.h $(CC) $(CFLAGS) legend.o $(LDFLAGS) $(STATIC_LIBS) -o legend scalebar: libmap.a scalebar.o map.h $(CC) $(CFLAGS) scalebar.o $(LDFLAGS) $(STATIC_LIBS) -o scalebar mapserv: mapserv.h libmap.a mapserv.o cgiutil.o map.h $(CC) $(CFLAGS) mapserv.o cgiutil.o $(LDFLAGS) $(STATIC_LIBS) -o mapserv shpindex: libmap.a shpindex.o map.h $(CC) $(CFLAGS) shpindex.o $(LDFLAGS) $(STATIC_LIBS) -o shpindex shptree: libmap.a shptree.o map.h $(CC) $(CFLAGS) shptree.o $(LDFLAGS) $(STATIC_LIBS) -o shptree shptreevis: libmap.a shptreevis.o map.h $(CC) $(CFLAGS) shptreevis.o $(LDFLAGS) $(STATIC_LIBS) -o shptreevis shptreetst: libmap.a shptreetst.o map.h $(CC) $(CFLAGS) shptreetst.o $(LDFLAGS) $(STATIC_LIBS) -o shptreetst sortshp: sortshp.o $(CC) $(CFLAGS) sortshp.o $(LDFLAGS) $(STATIC_LIBS) -o sortshp tile4ms: tile4ms.o $(CC) $(CFLAGS) tile4ms.o $(LDFLAGS) $(STATIC_LIBS) -o tile4ms perlvars: touch perlvars pwd > perlvars echo $(IGNORE_MISSING_DATA) $(STRINGS) $(EPPL) $(PROJ) $(TTF) $(TIFF) $(JPEG) $(GD) $(SDE) $(OGR) $(GDAL) >> perlvars echo -I. $(PROJ_INC) $(GD_INC) $(TTF_INC) $(TIFF_INC) $(JPEG_INC) $(SDE_INC) $(OGR_INC) $(GDAL_INC) >> perlvars echo $(LDFLAGS) >> perlvars echo $(STATIC_LIBS) >> perlvars egis_clean: cd egis/errLog; $(MAKE) clean; cd .. cd egis/imgSrc; $(MAKE) clean; cd .. cd egis; $(MAKE) clean; cd .. php3_mapscript_clean:: cd mapscript/php3; $(MAKE) clean; cd ../.. install: libmap.a cp -f libmap.a $(LIB_INSTALL) cp -f map.h $(HEADER_INSTALL) clean: $(MAKE_EGIS_CLEAN) rm -f libmap.a *.o shp2img shp2pdf mapserv legend shptree shptreevis shptreetst scalebar sortshp perlvars distclean: $(MAKE) clean rm config.* sorta-clean: rm -f *.o ---------------------------------------------------------------------------------------------- I have performed the following steps to get to where I have the error message: ---------------------------------------------------------------------------------------------- aclocal ./configure --with-gd=../gd-2.0.7 make ---------------------------------------------------------------------------------------------- any suggestions? Thanks, Matt _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From araya_lf@hotmail.com Wed Dec 4 10:39:11 2002 Received: from hotmail.com (bay1-dav67.bay1.hotmail.com [65.54.244.202]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4GdAae016561 for ; Wed, 4 Dec 2002 10:39:11 -0600 (CST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 4 Dec 2002 08:38:32 -0800 X-Originating-IP: [200.30.155.102] From: "LUIS FRANCISCO ARAYA ARANA" To: Date: Wed, 4 Dec 2002 10:38:31 -0600 MIME-Version: 1.0 X-Mailer: MSN Explorer 6.10.0016.1624 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0001_01C29B81.4A11C440" Message-ID: X-OriginalArrivalTime: 04 Dec 2002 16:38:32.0408 (UTC) FILETIME=[952E3580:01C29BB3] Subject: [Mapserver-users] PHP/MapScript Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: ------=_NextPart_001_0001_01C29B81.4A11C440 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm developing a app that need to render a point from a given coordinate.= .. I try to use php/mapscript, but php give me the next warning: PHP Warning: MapScript: Unable to initialize module Module compiled with debug=3D0, thread-safety=3D0 module API=3D20020429 PHP compile with debug=3D0, thread-safety=3D0 module API=3D20010901 These option need to match in Unknown on line 0 Someone know why??? Is there other way to draw a point without using the MapScript? Because I dont want to use php as a CGI.... I configure the Web Server to= run the scripts when the they end with .phtml extension and when they en= d with the .php it uses the DSO. Any help? Thank you...Obtenga el m=E1ximo provecho del Web. Descarga GRATUITA de MS= N Explorer: http://explorer.msn.es/intl.asp#es ------=_NextPart_001_0001_01C29B81.4A11C440 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

I'm developing= a app that need to render a point from a given coordinate... I try to us= e php/mapscript, but php give me the next warning:
&= nbsp;
PHP Warning: MapScript: Unable to initialize module
Module compiled with debug=3D0, thread-safety=3D0 module API=3D200= 20429
PHP compile with debug=3D0, thread-safety=3D0 module API= =3D20010901
These option need to match
in Unknown o= n line 0
 
Someone know why???
&nbs= p;
Is there other way to draw a point without using the MapScr= ipt?
Because I dont want to use php as a CGI.... I configure t= he Web Server to run the scripts when the they end with .phtml extension = and when they end with the .php it uses the DSO.
Any= help?
 
Thank you...
 
=


 


Obtenga el m=E1= ximo provecho del Web. Descarga GRATUITA de MSN Explorer: http://explorer.msn.es/intl.asp#es

------=_NextPart_001_0001_01C29B81.4A11C440-- From nls@myrealbox.com Wed Dec 4 10:52:46 2002 Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Gqjae016657 for ; Wed, 4 Dec 2002 10:52:46 -0600 (CST) Received: from psigdili nls@smtp-send.myrealbox.com [193.137.95.214] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.20 $ on Novell NetWare; Wed, 04 Dec 2002 09:52:11 -0700 From: "Nelson Luna Silvestre" To: Date: Wed, 4 Dec 2002 16:54:23 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Mapserver-users] Class logical expression - date comparison Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello, I'm trying to write a logical expression to filter a shapefile's contents based on a Date type field. I noticed that it's possible to evaluate a expression like: ('[DATE]'='01-01-2001') but this is a string comparison that does not takes me far enough... How do I perform a value-like comparison with dates? I have tried: - ([DATE]=dd-mm-yyyy) - ([DATE]=yyyy-mm-dd) - ([DATE]=#dd-mm-yyyy#) - (#[DATE]#=#dd-mm-yyyy#) - ... but I'm not having any luck :( From daniel.berstein@dmapas.com Wed Dec 4 11:00:50 2002 Received: from dmserver.mapas.dmapas.com ([200.72.208.226]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4H0nae016729 for ; Wed, 4 Dec 2002 11:00:50 -0600 (CST) Message-ID: <01C29B9D.E0104A90.daniel.berstein@dmapas.com> From: Daniel Berstein Reply-To: "daniel.berstein@dmapas.com" To: "'LUIS FRANCISCO ARAYA ARANA'" , "mapserver-users@lists.gis.umn.edu" Subject: RE: [Mapserver-users] PHP/MapScript Date: Wed, 4 Dec 2002 14:03:08 -0300 Encoding: 58 TEXT Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I believe you are using incompatible version of php_mapscript and php (php_mapscript_X.dll and php version Y). What version of PHP are you using? Create a test.phtml file with the following line: The output of the above script should tell your PHP version (and probably the same error you are reporting). Then take a look at your extensions directory (on Windows usually C:\Php\extensions) and search for php_mapscript_NN.dll. NN should be the version of php_mapscript you are using. Regards, Daniel Berstein Z. Jefe de Proyectos, dmapas.com Eduardo Hyatt 583, Providencia, Santiago CHILE *(56) (2) 222 22 60 -----Mensaje original----- De: LUIS FRANCISCO ARAYA ARANA [SMTP:araya_lf@hotmail.com] Enviado el: Miercoles, 04 de Diciembre de 2002 13:39 Para: mapserver-users@lists.gis.umn.edu Asunto: [Mapserver-users] PHP/MapScript I'm developing a app that need to render a point from a given coordinate... I try to use php/mapscript, but php give me the next warning: PHP Warning: MapScript: Unable to initialize module Module compiled with debug=0, thread-safety=0 module API=20020429 PHP compile with debug=0, thread-safety=0 module API=20010901 These option need to match in Unknown on line 0 Someone know why??? Is there other way to draw a point without using the MapScript? Because I dont want to use php as a CGI.... I configure the Web Server to run the scripts when the they end with .phtml extension and when they end with the .php it uses the DSO. Any help? Thank you... _____ Obtenga el maximo provecho del Web. Descarga GRATUITA de MSN Explorer: http://explorer.msn.es/intl.asp#es <> From vinko@mail.cprsig.cl Wed Dec 4 11:35:19 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4HZIae016890 for ; Wed, 4 Dec 2002 11:35:19 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id ACB7A49357; Wed, 4 Dec 2002 14:34:11 -0500 (EST) Date: Wed, 4 Dec 2002 14:34:11 -0500 From: Vinko Vrsalovic To: Nelson Luna Silvestre Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison Message-ID: <20021204193411.GB25492@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Wed, Dec 04, 2002 at 04:54:23PM -0000, Nelson Luna Silvestre wrote: > I noticed that it's possible to evaluate a expression like: > > ('[DATE]'='01-01-2001') > > but this is a string comparison that does not takes me far enough... That's not a string comparison, is a numeric comparison, try ('[DATE]' eq '01-01-2001') -- Vinko Vrsalovic http://www.cprsig.cl From nls@myrealbox.com Wed Dec 4 11:46:39 2002 Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Hkdae016951 for ; Wed, 4 Dec 2002 11:46:39 -0600 (CST) Received: from psigdili nls@smtp-send.myrealbox.com [193.137.95.214] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.20 $ on Novell NetWare; Wed, 04 Dec 2002 10:45:55 -0700 From: "Nelson Luna Silvestre" To: Cc: Subject: RE: [Mapserver-users] Class logical expression - date comparison Date: Wed, 4 Dec 2002 17:48:07 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20021204193411.GB25492@landsat.cprsig.cl> Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Ok, ok... Maybe I didn't explained me right. My goal is to do a numeric/date comparison in a date field. "('[DATE]'='01-01-2001')" evaluates the same way as "('[DATE]'eq'01-01-2001')". The problem is not being able to get a valid result from "('[DATE]'>'01-01-2001')" Anyway, thanks for your fast reply. Nelson -----Original Message----- From: Vinko Vrsalovic [mailto:vinko@cprsig.cl] Sent: quarta-feira, 4 de Dezembro de 2002 19:34 To: Nelson Luna Silvestre Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison On Wed, Dec 04, 2002 at 04:54:23PM -0000, Nelson Luna Silvestre wrote: > I noticed that it's possible to evaluate a expression like: > > ('[DATE]'='01-01-2001') > > but this is a string comparison that does not takes me far enough... That's not a string comparison, is a numeric comparison, try ('[DATE]' eq '01-01-2001') -- Vinko Vrsalovic http://www.cprsig.cl From vinko@mail.cprsig.cl Wed Dec 4 12:00:17 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4I0Gae017034 for ; Wed, 4 Dec 2002 12:00:16 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id 6861249357; Wed, 4 Dec 2002 14:59:10 -0500 (EST) Date: Wed, 4 Dec 2002 14:59:10 -0500 From: Vinko Vrsalovic To: Nelson Luna Silvestre Cc: vinko@cprsig.cl, mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison Message-ID: <20021204195910.GA25845@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: <20021204193411.GB25492@landsat.cprsig.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Wed, Dec 04, 2002 at 05:48:07PM -0000, Nelson Luna Silvestre wrote: > Ok, ok... Maybe I didn't explained me right. > > My goal is to do a numeric/date comparison in a date field. > "('[DATE]'='01-01-2001')" evaluates the same way as > "('[DATE]'eq'01-01-2001')". > The problem is not being able to get a valid result from > "('[DATE]'>'01-01-2001')" I'm not sure if there's an easy way to do it through Mapserver accessing shapefiles. You could try PostGIS and use a real date datatype, then you can use standard SQL queries that support dates. -- Vinko Vrsalovic http://www.cprsig.cl From rmurray@NRCan.gc.ca Wed Dec 4 13:05:51 2002 Received: from s0-ott-xpf1.nrn.nrcan.gc.ca (S0-OTT-XPF1.NRCan.gc.ca [132.156.36.85]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4J5pae017369 for ; Wed, 4 Dec 2002 13:05:51 -0600 (CST) Received: by s0-ott-xpf1.nrn.nrcan.gc.ca with Internet Mail Service (5.5.2656.59) id ; Wed, 4 Dec 2002 14:05:12 -0500 Message-ID: <3E3C279AF3F9D411BAA00002A529150E02C51931@s0-ott-x10.nrn.nrcan.gc.ca> From: "Murray, Ross" To: "Mapserver-Users (E-mail)" Date: Wed, 4 Dec 2002 14:05:11 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/mixed; boundary="----_=_NextPart_000_01C29BC8.11D15090" Subject: [Mapserver-users] SDE queries are different Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: 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_000_01C29BC8.11D15090 Content-Type: text/plain; charset="iso-8859-1" I have a javascript function that builds a string (from an Oracle database) that is used as a layer filter. For example, the script may produce ' [CODE] ' = ' somevalue ' which is passed to Mapserver as the value for map_somelayer_filter. This works fine, only so long as the underlying source is a shapefile. If the layer is an SDE layer I have to use CODE = ' somevalue ' So I have to now test to see if the layer being queried is a SDE layer! Has anyone else had this problem, i.e. is this a bug that should be reported? <> ------_=_NextPart_000_01C29BC8.11D15090 Content-Type: application/octet-stream; name="Murray, Ross.vcf" Content-Disposition: attachment; filename="Murray, Ross.vcf" BEGIN:VCARD VERSION:2.1 N:Murray;Ross FN:Murray, Ross ORG:NRCAN.RNCAN;ESS.SST TITLE:Information Management and GIS Technician TEL;WORK;VOICE:947-1411 (613) TEL;CELL;VOICE: ADR;WORK:;2 - 255;601 Booth Street;Ottawa;ON;K1A 0E8;CA LABEL;WORK;ENCODING=QUOTED-PRINTABLE:2 - 255=0D=0A601 Booth Street=0D=0AOttawa, ON K1A 0E8=0D=0ACA EMAIL;PREF;INTERNET:rmurray@NRCan.gc.ca REV:20020717T171556Z END:VCARD ------_=_NextPart_000_01C29BC8.11D15090-- From nls@myrealbox.com Wed Dec 4 13:10:40 2002 Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4JAdae017404 for ; Wed, 4 Dec 2002 13:10:39 -0600 (CST) Received: from psigdili nls@smtp-send.myrealbox.com [193.137.95.214] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.20 $ on Novell NetWare; Wed, 04 Dec 2002 12:09:57 -0700 From: "Nelson Luna Silvestre" To: Cc: Subject: RE: [Mapserver-users] Class logical expression - date comparison Date: Wed, 4 Dec 2002 19:12:08 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <20021204195910.GA25845@landsat.cprsig.cl> Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: 8( Unfortunately that's not good news because I'm lacking the time to learn another software. Anyway... it seems quite a flaw not being able to query a date datatype field with mapserver. Is it a mapserver limitation or an incompability with the shapefile's format? Well, I think that I'll have to add a long integer field on my shapefiles and fill it with the number of days counted from 1-1-1900 to the date in question - it's not a bright solution but will do. Let's wait to see if there are any other sugestions... -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Vinko Vrsalovic Sent: quarta-feira, 4 de Dezembro de 2002 19:59 To: Nelson Luna Silvestre Cc: vinko@cprsig.cl; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison On Wed, Dec 04, 2002 at 05:48:07PM -0000, Nelson Luna Silvestre wrote: > Ok, ok... Maybe I didn't explained me right. > > My goal is to do a numeric/date comparison in a date field. > "('[DATE]'='01-01-2001')" evaluates the same way as > "('[DATE]'eq'01-01-2001')". > The problem is not being able to get a valid result from > "('[DATE]'>'01-01-2001')" I'm not sure if there's an easy way to do it through Mapserver accessing shapefiles. You could try PostGIS and use a real date datatype, then you can use standard SQL queries that support dates. -- Vinko Vrsalovic http://www.cprsig.cl _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pramsey@refractions.net Wed Dec 4 13:17:32 2002 Received: from lion.animals ([24.65.184.181]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4JHVae017460 for ; Wed, 4 Dec 2002 13:17:31 -0600 (CST) Received: from refractions.net (unknown [192.168.50.45]) by lion.animals (Postfix) with ESMTP id A6DF6E3A1; Wed, 4 Dec 2002 11:16:57 -0800 (PST) Message-ID: <3DEE54A9.4060408@refractions.net> Date: Wed, 04 Dec 2002 11:16:57 -0800 From: Paul Ramsey User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Murray, Ross" Cc: "Mapserver-Users (E-mail)" Subject: Re: [Mapserver-users] SDE queries are different References: <3E3C279AF3F9D411BAA00002A529150E02C51931@s0-ott-x10.nrn.nrcan.gc.ca> In-Reply-To: <3E3C279AF3F9D411BAA00002A529150E02C51931@s0-ott-x10.nrn.nrcan.gc.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: The same things applies for PostGIS and OracleSpatial FILTERs. It is counterintuitive, yes. But the FILTER in the spatial database layers is passed directly to the SQL generator which is making the db call, so it has to conform to SQL where-clause syntax. It gets even more confusing though, because the EXPRESSION statements in CLASSes remain the same even in db-backed layers. This is because once the feature set is retrieved, the rest of the processing is done by Mapserver itself. So we use Mapserver syntax in the EXPRESSIONs. Clear as mud... :) Murray, Ross wrote: > I have a javascript function that builds a string (from an Oracle database) > that is used as a layer filter. For example, the script may produce > > ' [CODE] ' = ' somevalue ' > > which is passed to Mapserver as the value for map_somelayer_filter. > This works fine, only so long as the underlying source is a shapefile. If > the layer is an SDE layer I have to use > > CODE = ' somevalue ' > > So I have to now test to see if the layer being queried is a SDE layer! > > Has anyone else had this problem, i.e. is this a bug that should be > reported? > > > <> -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ From morissette@dmsolutions.ca Wed Dec 4 13:28:11 2002 Received: from mx2.magma.ca (mx2.magma.ca [206.191.0.250]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4JSBae017533 for ; Wed, 4 Dec 2002 13:28:11 -0600 (CST) Received: from mail4.magma.ca (mail4.magma.ca [206.191.0.222]) by mx2.magma.ca (Magma Relay Server) with ESMTP id gB4JRVsc004375; Wed, 4 Dec 2002 14:27:31 -0500 Received: from dmsolutions.ca (Toronto-HSE-ppp3764649.sympatico.ca [67.68.160.152]) by mail4.magma.ca (Magma's Mail Server) with ESMTP id gB4JRU2J018416; Wed, 4 Dec 2002 14:27:31 -0500 (EST) Message-ID: <3DEE5703.565DF6D3@dmsolutions.ca> Date: Wed, 04 Dec 2002 14:26:59 -0500 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Nelson Luna Silvestre CC: vinko@cprsig.cl, mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Nelson Luna Silvestre wrote: > > Well, I think that I'll have to add a long integer field on my shapefiles > and fill it with the number of days counted from 1-1-1900 to the date in > question - it's not a bright solution but will do. > Simply storing the date in a numeric field in the format YYYYMMDD would work as well (e.g. 20021204) and would allow you to use the numeric operators. -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From vinko@mail.cprsig.cl Wed Dec 4 14:17:25 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4KHOae018464 for ; Wed, 4 Dec 2002 14:17:25 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id 5DCD249357; Wed, 4 Dec 2002 17:16:18 -0500 (EST) Date: Wed, 4 Dec 2002 17:16:18 -0500 From: Vinko Vrsalovic To: LUIS FRANCISCO ARAYA ARANA Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] PHP/MapScript Message-ID: <20021204221618.GA27069@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Wed, Dec 04, 2002 at 02:05:53PM -0600, LUIS FRANCISCO ARAYA ARANA wrote: > you're right!... > > What happen is that I was unable to find the source of the older version... now I have it... > I recompile the mapscript with this older version but I still have the same problem. If you have the same problem it means that the versions still don't match or that maybe you are still reading the old library. -- Vinko Vrsalovic http://www.cprsig.cl From pagurekd@agr.gc.ca Wed Dec 4 15:44:22 2002 Received: from gw.agr.ca (gw.agr.ca [192.197.71.131]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4LiMae020289 for ; Wed, 4 Dec 2002 15:44:22 -0600 (CST) Received: from agrin1.agr.ca (agrgate.agr.ca [192.197.71.189]) by gw.agr.ca (8.11.3/8.11.3) with ESMTP id gB4Lj2602843 for ; Wed, 4 Dec 2002 16:45:04 -0500 (EST) Received: from ncrxem6 ([10.117.15.110]) by agrin1.agr.ca (8.11.3/8.11.3) with SMTP id gB4L04F19404 for ; Wed, 4 Dec 2002 16:00:05 -0500 (EST) Received: FROM agr.gc.ca BY ncrxem6 ; Wed Dec 04 16:03:35 2002 -0500 Received: from AGCAN-Message_Server by agr.gc.ca with Novell_GroupWise; Wed, 04 Dec 2002 16:03:53 -0500 Message-Id: X-Mailer: Novell GroupWise 5.5.2 Date: Wed, 04 Dec 2002 16:00:07 -0500 From: "Debbie Pagurek" To: , Subject: Re: [Mapserver-users] SDE queries are different Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB4LiMae020289 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Yes, I discovered this today as well! Are you doing this for an itemquery? Have you managed to get nquery and query to work on an SDE layer from the Mapserver CGI? D. Pagurek >>> "Murray, Ross" 12/04/02 02:05PM >>> I have a javascript function that builds a string (from an Oracle database) that is used as a layer filter. For example, the script may produce ' [CODE] ' = ' somevalue ' which is passed to Mapserver as the value for map_somelayer_filter. This works fine, only so long as the underlying source is a shapefile. If the layer is an SDE layer I have to use CODE = ' somevalue ' So I have to now test to see if the layer being queried is a SDE layer! Has anyone else had this problem, i.e. is this a bug that should be reported? <> From pramsey@refractions.net Wed Dec 4 16:01:44 2002 Received: from lion.animals ([24.65.184.181]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4M1hae020366 for ; Wed, 4 Dec 2002 16:01:43 -0600 (CST) Received: from refractions.net (unknown [192.168.50.45]) by lion.animals (Postfix) with ESMTP id 05662E3A1; Wed, 4 Dec 2002 14:01:10 -0800 (PST) Message-ID: <3DEE7B25.7050308@refractions.net> Date: Wed, 04 Dec 2002 14:01:09 -0800 From: Paul Ramsey User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Morissette Cc: Nelson Luna Silvestre , mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison References: <3DEE5703.565DF6D3@dmsolutions.ca> In-Reply-To: <3DEE5703.565DF6D3@dmsolutions.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Daniel Morissette wrote: > Nelson Luna Silvestre wrote: > >>Well, I think that I'll have to add a long integer field on my shapefiles >>and fill it with the number of days counted from 1-1-1900 to the date in >>question - it's not a bright solution but will do. > > Simply storing the date in a numeric field in the format YYYYMMDD would > work as well (e.g. 20021204) and would allow you to use the numeric > operators. If you look in the DBF file, you'll see that the DBF "date" type is really just an eight character string in the form of YYYYMMDD. It might be possible to just recast your EXPRESSION to test against things of that form instead of the YYYY-MM-DD you are using in your example. P. -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ From steve.lime@dnr.state.mn.us Wed Dec 4 16:48:04 2002 Received: from co5.dnr.state.mn.us (dnr.state.mn.us [156.98.35.249]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4Mm4ae020593 for ; Wed, 4 Dec 2002 16:48:04 -0600 (CST) Received: from DNR-MTA by co5.dnr.state.mn.us with Novell_GroupWise; Wed, 04 Dec 2002 16:47:24 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Wed, 04 Dec 2002 16:46:52 -0600 From: "Steve Lime" To: , Cc: Subject: Re: [Mapserver-users] SDE queries are different Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: It may not be intuitive but it's a good thing! Using the Oracle/PostGIS/SDE SQL engine is going to be more efficient. Filters are vendor specific, says so right in the docs... Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Paul Ramsey 12/04/02 13:19 PM >>> The same things applies for PostGIS and OracleSpatial FILTERs. It is counterintuitive, yes. But the FILTER in the spatial database layers is passed directly to the SQL generator which is making the db call, so it has to conform to SQL where-clause syntax. It gets even more confusing though, because the EXPRESSION statements in CLASSes remain the same even in db-backed layers. This is because once the feature set is retrieved, the rest of the processing is done by Mapserver itself. So we use Mapserver syntax in the EXPRESSIONs. Clear as mud... :) Murray, Ross wrote: > I have a javascript function that builds a string (from an Oracle database) > that is used as a layer filter. For example, the script may produce > > ' [CODE] ' = ' somevalue ' > > which is passed to Mapserver as the value for map_somelayer_filter. > This works fine, only so long as the underlying source is a shapefile. If > the layer is an SDE layer I have to use > > CODE = ' somevalue ' > > So I have to now test to see if the layer being queried is a SDE layer! > > Has anyone else had this problem, i.e. is this a bug that should be > reported? > > > <> -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From woodbri@swoodbridge.com Wed Dec 4 17:17:33 2002 Received: from swoodbridge.com (dsl-65-187-198-197.telocity.com [65.187.198.197]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4NHWae020748 for ; Wed, 4 Dec 2002 17:17:33 -0600 (CST) Received: from woodbri.swoodbridge.com ([10.1.1.1] helo=woodbri) by swoodbridge.com with esmtp (Exim 3.33 #1) id 18JilG-0005Zu-00 for mapserver-users@lists.gis.umn.edu; Wed, 04 Dec 2002 18:16:58 -0500 From: woodbri@swoodbridge.com To: mapserver-users@lists.gis.umn.edu Date: Wed, 4 Dec 2002 18:16:58 -0500 MIME-Version: 1.0 Reply-to: woodbri@swoodbridge.com Message-ID: <3DEE469A.4976.111AA65@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=ISO-8859-1 Content-description: Mail message body Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-printable to 8bit by lists.gis.umn.edu id gB4NHWae020748 Subject: [Mapserver-users] =?ISO-8859-1?Q?=28Fwd=29_Informaci=F3n?= Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Return-path: Translation by google: Hello, I would like to know if you can help me with some examples on the use, modification and creation of "archivos.map". What but it interests to me is an explanation or examples of use of the functions that are used in "MapScript". For it they would be enough some URL's to me where to lower manual examples and/or of "MapScript". Beforehand thank you very much. ------- Forwarded message follows ------- Hola, me gustaría saber si me puedes ayudar con algunos ejemplos sobre la utilización, modificación y creación de œarchivos.map. Lo que mas me interesa es una explicación o ejemplos de uso de las funciones que se utilizan en œMapScript. Para ello me bastarían algunas URL™s donde bajar ejemplos y/o manuales de œMapScript. De antemano muchas gracias. ------- End of forwarded message ------- From vinko@mail.cprsig.cl Wed Dec 4 17:23:58 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4NNuae020791 for ; Wed, 4 Dec 2002 17:23:57 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id 3F27D49357; Wed, 4 Dec 2002 20:22:51 -0500 (EST) Date: Wed, 4 Dec 2002 20:22:51 -0500 From: Vinko Vrsalovic To: mapserver-users@lists.gis.umn.edu Message-ID: <20021205012251.GA28600@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Subject: [Mapserver-users] Drawing labels beneath a certain layer? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi I want to draw the labels of a certain layer before another layer (so that the labels will be covered by this other layer). Is this possible? (Without creating another layer just with texts) Thanks -- Vinko Vrsalovic http://www.cprsig.cl From bon@ivv-aachen.de Tue Dec 3 11:31:29 2002 Received: from aixtra1.aixtra.net (aixtra1.aixtra.net [194.121.123.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3HVSae026355 for ; Tue, 3 Dec 2002 11:31:29 -0600 (CST) Received: from [194.121.123.151] by aixtra1.aixtranet.de (NTMail 7.02.3037/NU1009.00.56ec5294) with ESMTP id xfczucaa for mapserver-users@lists.gis.umn.edu; Tue, 3 Dec 2002 18:30:46 +0100 Received: from BON01 (192.168.1.26) by mail with MERCUR Mailserver (v4.01.11 MTA3LTI0MzktNjY2Nw==) for ; Tue, 3 Dec 2002 18:23:05 +0100 From: =?us-ascii?Q?Nicole_Bomeke?= To: "'Richard Greenwood'" Cc: Subject: AW: [Mapserver-users] Compiling the boxzooming mapplet Date: Tue, 3 Dec 2002 18:23:05 +0100 Message-ID: <000001c29af0$a4ed7850$1a01a8c0@ivvaachen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <5.1.1.6.0.20021203082057.00ac1608@mail.GreenwoodMap.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for the reply. I found a file mayscript.jar that contains the classes required for the Live Connect mechanism under http://www.applepiesolutions.com/mayscript/. I saved it as c:\j2sdk1.4.0_01\lib\mayscript.jar and added it to the CLASSPATH. Now I can compile the boxzooming mapplet with my jdk :-) Your experience with Sun Java 1.3 sdk is very interesting. I indeed have problems to run my applets under IE. I will try if it works better with version 1.3. Nicole -----Ursprungliche Nachricht----- Von: Richard Greenwood [mailto:Rich@GreenwoodMap.com] Gesendet: Dienstag, 3. Dezember 2002 16:24 An: Nicole Bomeke Cc: mapserver-users@lists.gis.umn.edu Betreff: Re: [Mapserver-users] Compiling the boxzooming mapplet At 01:27 PM 12/3/2002 +0100, you wrote: >What ist necessary to compile the boxzooming mapplet? > >When I try to compile it with suns standard edition 1.4.0_01 of the jdk I >get the error >"package netscape,javascript does not exist". You need the Live Connect classes, which I think I found on the netscape site. They are in "winNPSDK.zip" or "winsdk40.zip". I found the Sun Java 1.3 sdk worked better (it produced code that ran under IE) >When I try to compile it with Microsoft Visual J++ I get the error message >"createCustomCursor is not a method of class toolkit". I never got the MS compiler to work. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich@GreenwoodMap.com (307) 733-0203 http://www.GreenwoodMap.com From dpadron@lareserva.com Tue Dec 3 16:13:23 2002 Received: from london.netmongol.com ([66.220.30.22]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB3MDCae028025 for ; Tue, 3 Dec 2002 16:13:23 -0600 (CST) Received: from lareserva.com (unknown [66.220.30.22]) by london.netmongol.com (Postfix) with SMTP id 4000DC119 for ; Tue, 3 Dec 2002 15:13:53 -0700 (MST) Received: from 80.224.64.177 (Mongol WebMail authenticated user dpadron@lareserva.com) by webmail.netmongol.com with HTTP; Tue, 3 Dec 2002 15:13:53 -0700 (MST) Message-ID: <1693.80.224.64.177.1038953633.squirrel@webmail.netmongol.com> Date: Tue, 3 Dec 2002 15:13:53 -0700 (MST) From: To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: Mongol WebMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: [Mapserver-users] Error MapLab Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Warning: MkDir failed (Permission denied) in /home/webmapping/rootgeo/www/cgi-bin/php/maplab/htdocs/gmapfactory/structure.php on line 71 A critcal error occurred in the last process. Check the log file[/gmapfactory.log] for details _____________________________ Pura Vida! www.lareserva.com From johnhagstrand@interageresearch.com Tue Dec 3 20:19:51 2002 Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB42Jpae029008 for ; Tue, 3 Dec 2002 20:19:51 -0600 (CST) Received: from dialup-166.90.71.13.dial1.chicago1.level3.net ([166.90.71.13] helo=mobile1.interageresearch.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18JP87-00039E-00; Tue, 03 Dec 2002 18:19:16 -0800 Message-Id: <4.3.2.7.0.20021203201650.02a91d90@pop.registeredsite.com> X-Sender: johnhagstrand@interageresearch.com@pop.registeredsite.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 03 Dec 2002 20:18:07 -0600 To: jithesh@flashmail.com, mapserver-users@lists.gis.umn.edu From: John Hagstrand Subject: Re: [mapserver-users] mapserver hosting In-Reply-To: <3de72898.1ae.0@flashmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I think pretty much any hosting company will do. I use Interland. All you need is CGI support. John At 02:43 AM 11/29/2002, Jithesh P. Joseph wrote: >Hi List, > >Is their any reliable hosting companies ready to host Mapserver >(PHP/mapscript) on windows platform. > >Hope somebody give me a link. > >Regards > >Jithesh >_______________________________________________________________ >Get Your FREE FlashMail Address now at http://www.flashmail.com >It's Free, Easy, & Fun !!! ------------------------------------------------- John Hagstrand Interage Research, Inc. 847 838 5371 Software Development Consulting for Internet Content Management We make knowledge accessible, useful, and relevant for everyone. http://www.interageresearch.com From marichalperez@yahoo.es Wed Dec 4 06:02:57 2002 Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB4C2vae014991 for ; Wed, 4 Dec 2002 06:02:57 -0600 (CST) Received: from 151.red-80-35-53.pooles.rima-tde.net (HELO manolo) (marichalperez@80.35.53.151 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 4 Dec 2002 12:02:22 -0000 From: =?iso-8859-1?Q?Manuel_Marichal_P=E9rez?= To: "Lista MapSever" Date: Wed, 4 Dec 2002 12:01:38 -0000 Message-ID: <000c01c29b8c$edd79310$0600a8c0@manolo> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C29B8C.EDD79310" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: [Mapserver-users] Change the height of the lines in MapServer Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_000D_01C29B8C.EDD79310 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi all. Does anybody know if it's possible to change the thickness of the lines (in polygons layers) in MapServer?. I'm unable to do that. Thanks, Manolo ------=_NextPart_000_000D_01C29B8C.EDD79310 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mensaje
Hi=20 all.
 
Does = anybody know if=20 it's possible to change the thickness of the lines (in polygons layers) = in=20 MapServer?.
I'm = unable to do=20 that.
 
Thanks,
Manolo
 
------=_NextPart_000_000D_01C29B8C.EDD79310-- _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es From bwragg@tpg.com.au Wed Dec 4 14:52:15 2002 Received: from mail1.tpgi.com.au (mail.tpgi.com.au [203.12.160.57]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB4KqDae018905 for ; Wed, 4 Dec 2002 14:52:14 -0600 (CST) Received: from mapping12 (adl2-56k-023.tpgi.com.au [203.29.136.23]) by mail1.tpgi.com.au (8.11.6/8.11.6) with ESMTP id gB4KpVi14823 for ; Thu, 5 Dec 2002 07:51:33 +1100 Reply-To: From: "Benjamin Wragg" To: Subject: FW: [Mapserver-users] Map files CGI - PHP MapScript Date: Thu, 5 Dec 2002 07:23:13 +1030 Organization: ISA Solutions Message-ID: <000501c29bd7$2f2df490$0100a8c0@mapping12> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Tue, Dec 03, 2002 at 12:52:14PM +1030, Benjamin Wragg wrote: [...] > If I now zoom in on the map, is it possible to reuse the $map object > used in the above lines of code, or do I need to recreate the object > again, resulting in the parsing of the map file again and reloading > and restoring of the data connections? Yes, you need to recreate everytime the state. You can do that through hidden variables in a form, session variables, databases, or just saving the mapfile, as in: $map = ms_newMapObj("europe.map"); /* Calculate the new extent */ $map->setextent($newx,$newy,$newz,$neww); $map->save("mynewmap.map"); then mynewmap.php has the new extent, the next iteration you load the new map instead of the old one... you could also overwrite the old one. This issue is explained in the PHP-Mapscript by Example HOWTO, but I guess you already read it, as your example shows :) You can override almost all aspects of a mapfile with PHP/Mapscript, with the notable exception of symbols (you must provide a symbol file, with the symbols defined as in the docs). -- Vinko Vrsalovic http://www.cprsig.cl From vinko@mail.cprsig.cl Wed Dec 4 20:38:50 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB52ckae021738 for ; Wed, 4 Dec 2002 20:38:50 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id 263FE49357; Wed, 4 Dec 2002 23:37:37 -0500 (EST) Date: Wed, 4 Dec 2002 23:37:37 -0500 From: Vinko Vrsalovic To: Manuel Marichal =?iso-8859-1?Q?P=E9rez?= Cc: Lista MapSever Subject: Re: [Mapserver-users] Change the height of the lines in MapServer Message-ID: <20021205043737.GA29790@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: <000c01c29b8c$edd79310$0600a8c0@manolo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000c01c29b8c$edd79310$0600a8c0@manolo> User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Wed, Dec 04, 2002 at 12:01:38PM -0000, Manuel Marichal Pérez wrote: > Hi all. > > Does anybody know if it's possible to change the thickness of the lines > (in polygons layers) in MapServer?. > I'm unable to do that. I tried to do that once and couldn't do it, so I added a line layer with the borders of the polygons. It works fine, and I can now classify the border of the polygons, to make one line dashed, another fatter, etc. Very good for maps of countries which have many different limits (or boundaries?). -- Vinko Vrsalovic http://www.cprsig.cl From nls@myrealbox.com Thu Dec 5 05:10:29 2002 Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5BATae024430 for ; Thu, 5 Dec 2002 05:10:29 -0600 (CST) Received: from psigdili nls@smtp-send.myrealbox.com [193.137.95.214] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.20 $ on Novell NetWare; Thu, 05 Dec 2002 04:09:48 -0700 From: "Nelson Luna Silvestre" To: "Paul Ramsey" , "Daniel Morissette" , Cc: Subject: RE: [Mapserver-users] Class logical expression - date comparison Date: Thu, 5 Dec 2002 11:11:52 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3DEE7B25.7050308@refractions.net> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Yes, if I write it like this ([DATE]>YYYYMMDD) it works fine. I completely missed it... Thanks, Nelson -----Original Message----- From: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Paul Ramsey Sent: quarta-feira, 4 de Dezembro de 2002 22:01 To: Daniel Morissette Cc: Nelson Luna Silvestre; mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Class logical expression - date comparison Daniel Morissette wrote: > Nelson Luna Silvestre wrote: > >>Well, I think that I'll have to add a long integer field on my shapefiles >>and fill it with the number of days counted from 1-1-1900 to the date in >>question - it's not a bright solution but will do. > > Simply storing the date in a numeric field in the format YYYYMMDD would > work as well (e.g. 20021204) and would allow you to use the numeric > operators. If you look in the DBF file, you'll see that the DBF "date" type is really just an eight character string in the form of YYYYMMDD. It might be possible to just recast your EXPRESSION to test against things of that form instead of the YYYY-MM-DD you are using in your example. P. -- __ / | Paul Ramsey | Refractions Research | Email: pramsey@refractions.net | Phone: (250) 885-0632 \_ _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From marichalperez@yahoo.es Thu Dec 5 05:54:13 2002 Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB5BsCae024705 for ; Thu, 5 Dec 2002 05:54:13 -0600 (CST) Received: from 151.red-80-35-53.pooles.rima-tde.net (HELO manolo) (marichalperez@80.35.53.151 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 5 Dec 2002 11:53:38 -0000 From: =?iso-8859-1?Q?Manuel_Marichal_P=E9rez?= To: "Lista MapSever" Date: Thu, 5 Dec 2002 11:53:24 -0000 Message-ID: <002501c29c54$ef05b5f0$0600a8c0@manolo> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0026_01C29C54.EF05B5F0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: [Mapserver-users] Change the thickness of the lines in MapServer Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C29C54.EF05B5F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi all. Does anybody know if it's possible to change the thickness of the lines (in polygons layers) in MapServer?. I'm unable to do that. If I use a SYMBOL to do that all is right when the layer is not filled. But if the layer is filled, then the symbol is used to fill the layer instead of the border of it. Anybody know a way to increase the thickness of a FILLED layer?. Thanks, Manolo ------=_NextPart_000_0026_01C29C54.EF05B5F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mensaje
 
Hi=20 all.
 
Does = anybody know if=20 it's possible to change the thickness of the lines (in polygons layers) = in=20 MapServer?.
I'm unable to=20 do that. 
 
If I use a SYMBOL to do = that all is=20 right when the layer is not = filled.
But if the layer = is filled,=20 then the symbol is used to fill the layer instead of the=20 border of it. =20
 
Anybody know a way to increase = the=20 thickness of a FILLED layer?.
 
Thanks,
Manolo
 
------=_NextPart_000_0026_01C29C54.EF05B5F0-- _______________________________________________________________ Copa del Mundo de la FIFA 2002 El único lugar de Internet con vídeos de los 64 partidos. ¡Apúntante ya! en http://fifaworldcup.yahoo.com/fc/es/ From stepan.kafka@centrum.cz Thu Dec 5 06:15:47 2002 Received: from smtp.nextra.cz (smtp.nextra.cz [195.70.130.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5CFgae024825 for ; Thu, 5 Dec 2002 06:15:46 -0600 (CST) Received: from HSGIS (unknown [195.47.60.126]) by smtp.nextra.cz (Postfix) with ESMTP id 37D275F80; Thu, 5 Dec 2002 13:15:02 +0100 (CET) From: "Stepan Kafka" To: =?iso-8859-1?Q?Manuel_Marichal_P=E9rez?= , "Lista MapSever" Subject: RE: [Mapserver-users] Change the thickness of the lines in MapServer Date: Thu, 5 Dec 2002 13:17:37 +0100 Message-ID: <003101c29c58$4ca21160$7e3c2fc3@HSGIS> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01C29C60.AE667960" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <002501c29c54$ef05b5f0$0600a8c0@manolo> Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C29C60.AE667960 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit MensajeYes, it is possible. You can use OVERLAYSYMBOL combined with OVERLAYOUTLINESIZE Here is an example: ... CLASS SYMBOL "p-diagr" #fill symbol SIZE 5 MAXSIZE 5 MINSIZE 5 COLOR 255 180 80 OVERLAYOUTLINECOLOR 255 0 0 #here is the trick - will force outline symbol insted of overlay one OVERLAYSYMBOL "l-solid" #line symbol OVERLAYSIZE 2 OVERLAYMAXSIZE 3 END ... Stepan Kafka Help Service Remote Sensing tel: +420-327514118 mailto:kafka@email.cz http://www.bnhelp.cz -----Puvodní zpráva----- Od: mapserver-users-admin@lists.gis.umn.edu [mailto:mapserver-users-admin@lists.gis.umn.edu]za uživatele Manuel Marichal Pérez Odesláno: 5. prosince 2002 12:53 Komu: Lista MapSever Predmet: [Mapserver-users] Change the thickness of the lines in MapServer Hi all. Does anybody know if it's possible to change the thickness of the lines (in polygons layers) in MapServer?. I'm unable to do that. If I use a SYMBOL to do that all is right when the layer is not filled. But if the layer is filled, then the symbol is used to fill the layer instead of the border of it. Anybody know a way to increase the thickness of a FILLED layer?. Thanks, Manolo ------=_NextPart_000_0032_01C29C60.AE667960 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mensaje
Yes,=20 it is possible. You can use OVERLAYSYMBOL combined with = OVERLAYOUTLINESIZE=20 Here is an example:
 
...
CLASS 
    SYMBOL "p-diagr" #fill=20 symbol
    SIZE 5
    MAXSIZE=20 5
    MINSIZE 5
    COLOR 255 = 180=20 80
    OVERLAYOUTLINECOLOR = 255 0=20 0 #here is the trick - will force outline symbol insted of = overlay=20 one
    OVERLAYSYMBOL=20 "l-solid" #line symbol
    OVERLAYSIZE 2
  = ; =20 OVERLAYMAXSIZE 3
END
...

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

-----Původn=ED zpr=E1va-----
Od:=20 mapserver-users-admin@lists.gis.umn.edu=20 [mailto:mapserver-users-admin@lists.gis.umn.edu]za u=9Eivatele = Manuel=20 Marichal P=E9rez
Odesl=E1no: 5. prosince 2002 = 12:53
Komu:=20 Lista MapSever
Předmět: [Mapserver-users] Change = the thickness of=20 the lines in MapServer

 
Hi=20 all.
 
Does = anybody know=20 if it's possible to change the thickness of the lines (in polygons = layers) in=20 MapServer?.
I'm unable=20 to do that. 
 
If I use a SYMBOL to = do that all=20 is right when the layer is not=20 filled.
But if the layer = is filled,=20 then the symbol is used to fill the layer instead of = the=20 border of it. =20
 
Anybody know a way to = increase the=20 thickness of a FILLED layer?.
 
Thanks,
Manolo
 
------=_NextPart_000_0032_01C29C60.AE667960-- From wesp@gdv.com Thu Dec 5 06:44:20 2002 Received: from www10.your-server.de (IDENT:qmailr@www10.your-server.de [213.133.104.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB5CiJae025028 for ; Thu, 5 Dec 2002 06:44:19 -0600 (CST) Received: (qmail 23653 invoked from network); 5 Dec 2002 12:43:45 -0000 Received: from p508107f6.dip0.t-ipconnect.de (HELO ELKE) (80.129.7.246) by www10.your-server.de with SMTP; 5 Dec 2002 12:43:45 -0000 X-KENId: 000064A7KEN7A80B771 X-KENRelayed: 000064A7KEN7A80B771@ELKE Received: from 192.168.1.2:2518 by KEN! DSL (192.168.1.2:25) with SMTP ; Thu, 5 Dec 2002 13:35:57 +0100 Date: Thu, 05 Dec 2002 13:35:52 +0100 From: Oliver Wesp Subject: Re: [Mapserver-users] Change the thickness of the lines in MapServer To: =?ISO-8859-1?Q?Manuel_Marichal_P=E9rez?= Cc: Lista MapSever Message-Id: <3DEF4828.8010002@gdv.com> References: <002501c29c54$ef05b5f0$0600a8c0@manolo> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Organization: GDV User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: de-de, de Content-Transfer-Encoding: 8bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Maybe it's possibe to use an overlaysymbol just to draw the outlines using a symbol on top of the regular polygon fill. Would be something like that CLASS EXPRESSION /./ COLOR 0 0 0 OVERLAYSYMBOL 'yourSymbol' OVERLAYCOLOR 255 0 0 OVERLAYSIZE 3 END Manuel Marichal Pérez schrieb: > > Hi all. > > Does anybody know if it's possible to change the thickness of the lines > (in polygons layers) in MapServer?. > I'm unable to do that. > > If I use a SYMBOL to do that all is right when the layer is not filled. > But if the layer is filled, then the symbol is used to fill the layer > instead of the border of it. > > Anybody know a way to increase the thickness of a FILLED layer?. > > Thanks, > Manolo > -- 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 morissette@dmsolutions.ca Thu Dec 5 08:17:37 2002 Received: from mx1.magmacom.com (mx1.magmacom.com [206.191.0.217]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5EHbae025565 for ; Thu, 5 Dec 2002 08:17:37 -0600 (CST) Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221]) by mx1.magmacom.com (Magma's Mail Server) with ESMTP id gB5EH1Jm024054; Thu, 5 Dec 2002 09:17:01 -0500 (EST) Received: from dmsolutions.ca (Toronto-HSE-ppp3764649.sympatico.ca [67.68.160.152]) by mail3.magma.ca (Magma's Mail Server) with ESMTP id gB5EH1bb023490; Thu, 5 Dec 2002 09:17:01 -0500 (EST) Message-ID: <3DEF5FC3.C783432@dmsolutions.ca> Date: Thu, 05 Dec 2002 09:16:35 -0500 From: Daniel Morissette X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: vinko@cprsig.cl CC: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Drawing labels beneath a certain layer? References: <20021205012251.GA28600@landsat.cprsig.cl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Vinko Vrsalovic wrote: > > I want to draw the labels of a certain layer before another layer (so > that the labels will be covered by this other layer). > > Is this possible? (Without creating another layer just with texts) > Assuming you are using MapScript, if instead of $map->draw() you use a for() loop to call $layer->draw() on every layer, then you can call drawLabelCache() in the middle of the loop to draw the labels. Only problem is you will have to clear the label cache and I don't think a function exists for that yet in the PHP version... duh! (http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=207) Well, as long as you don't call drawLabelCahce() again you should be fine. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette@dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From gerry.creager@tamu.edu Thu Dec 5 10:26:14 2002 Received: from home.n5jxs.ampr.org (modem-1768.rns.tamu.edu [165.91.71.39]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5GQ6ae026291 for ; Thu, 5 Dec 2002 10:26:13 -0600 (CST) Received: from tamu.edu (home.n5jxs.ampr.org [127.0.0.1]) by home.n5jxs.ampr.org (8.11.6/8.11.6) with ESMTP id gB5GQ5O20395 for ; Thu, 5 Dec 2002 10:26:14 -0600 Message-ID: <3DEF7E1D.20500@tamu.edu> Date: Thu, 05 Dec 2002 10:26:05 -0600 From: Gerry Creager N5JXS Reply-To: gerry.creager@tamu.edu Organization: Da House User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users@lists.gis.umn.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] Texas Mesonet site Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I posted this a short time ago, but the folks working for me have made some strides. http://mesodev.met.tamu.edu Texas Mesonet development site Enjoy! gerry -- Gerry Creager -- gerry.creager@tamu.edu Network Engineering, Academy for Advanced Telecommunications Texas A&M University, College Station, TX Office: 979.458.4020 FAX: 979.847.8578 Cell: 979.229.5301 Page: 979.228.0173 -or- gcreager@my2way.com From jacobi@dfki.de Thu Dec 5 03:56:27 2002 Received: from corp-200.dfki.uni-sb.de (corp-200.dfki.uni-sb.de [134.96.188.10]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB59uPae023908 for ; Thu, 5 Dec 2002 03:56:26 -0600 (CST) Received: from corp-200.dfki.uni-sb.de (IDENT:root@localhost [127.0.0.1]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB59tkcj014791 for ; Thu, 5 Dec 2002 10:55:46 +0100 (MET) Received: from localhost (masterbrain.dfki.uni-sb.de [134.96.184.23]) by corp-200.dfki.uni-sb.de (8.12.6/8.12.6) with ESMTP id gB59tj1D014788 for ; Thu, 5 Dec 2002 10:55:45 +0100 (MET) Message-Id: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> X-Mailer: exmh version 2.3.1 01/15/2001 with version: MH 6.8.4 #1[UCI] To: mapserver-users@lists.gis.umn.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Dec 2002 10:56:57 +0100 From: Sven Jacobi Subject: [Mapserver-users] (no subject) Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, is there any documentation about mapscript for Python available? Cheers, Sven From marichalperez@yahoo.es Thu Dec 5 05:23:50 2002 Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB5BNnae024520 for ; Thu, 5 Dec 2002 05:23:50 -0600 (CST) Received: from 151.red-80-35-53.pooles.rima-tde.net (HELO manolo) (marichalperez@80.35.53.151 with login) by smtp.mail.vip.sc5.yahoo.com with SMTP; 5 Dec 2002 11:23:15 -0000 From: =?iso-8859-1?Q?Manuel_Marichal_P=E9rez?= To: "Lista MapSever" Date: Thu, 5 Dec 2002 11:22:49 -0000 Message-ID: <001f01c29c50$aa7a6560$0600a8c0@manolo> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0020_01C29C50.AA7A6560" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: [Mapserver-users] Change the thickness of the lines in MapServer Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0020_01C29C50.AA7A6560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi all. Does anybody know if it's possible to change the thickness of the lines (in polygons layers) in MapServer?. I'm unable to do that. Thanks, Manolo ------=_NextPart_000_0020_01C29C50.AA7A6560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mensaje
Hi=20 all.
 
Does = anybody know if=20 it's possible to change the thickness of the lines (in polygons layers) = in=20 MapServer?.
I'm = unable to do=20 that.
 
Thanks,
Manolo
 
------=_NextPart_000_0020_01C29C50.AA7A6560-- _______________________________________________________________ Yahoo! Messenger Nueva versión: Webcam, voz, y mucho más ¡Gratis! Descárgalo ya desde http://messenger.yahoo.es From DMartin@erac.com Thu Dec 5 12:33:26 2002 Received: from exicorp01.enterprise.com (smtp1.erac.com [65.197.19.21]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB5IXQae027056 for ; Thu, 5 Dec 2002 12:33:26 -0600 (CST) Received: from 10.9.163.21 by exicorp01.enterprise.com (InterScan E-Mail VirusWall NT); Thu, 05 Dec 2002 12:31:29 -0600 Received: by EXICORP01 with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Dec 2002 12:31:29 -0600 Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A16F441@STL-EXBE-I03.corp.erac.com> From: "Martin, Daniel" To: =?iso-8859-1?Q?=27Manuel_Marichal_P=E9rez=27?= , Lista MapSever Subject: RE: [Mapserver-users] Change the thickness of the lines in MapSer ver Date: Thu, 5 Dec 2002 12:32:41 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-e0b25c34-087a-11d7-bb0c-00508bcfdcc7" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: 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. ------=_NextPartTM-000-e0b25c34-087a-11d7-bb0c-00508bcfdcc7 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C29C8C.B1F49F06" ------_=_NextPart_001_01C29C8C.B1F49F06 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Use a circle symbol as your CLASS in the layer. Set the size of the = circle to the thickness you want.=20 =20 LAYER TYPE POLYGON CLASS SYMBOL 'circle' SIZE 3 END END =20 -Dan Martin -----Original Message----- From: Manuel Marichal P=E9rez [mailto:marichalperez@yahoo.es] Sent: Thursday, December 05, 2002 5:23 AM To: Lista MapSever Subject: [Mapserver-users] Change the thickness of the lines in = MapServer Hi all. =20 Does anybody know if it's possible to change the thickness of the lines = (in polygons layers) in MapServer?. I'm unable to do that. =20 Thanks, Manolo =20 ------_=_NextPart_001_01C29C8C.B1F49F06 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mensaje
Use a=20 circle symbol as your CLASS in the layer.  Set the size of the = circle to=20 the thickness you want.
 
LAYER
   TYPE POLYGON
   CLASS
      SYMBOL=20 'circle'
      SIZE 3
 =20 END
END
 
-Dan=20 Martin
-----Original Message-----
From: Manuel Marichal = P=E9rez=20 [mailto:marichalperez@yahoo.es]
Sent: Thursday, December = 05, 2002=20 5:23 AM
To: Lista MapSever
Subject: = [Mapserver-users]=20 Change the thickness of the lines in MapServer

Hi=20 all.
 
Does anybody know=20 if it's possible to change the thickness of the lines (in polygons = layers) in=20 MapServer?.
I'm = unable to do=20 that.
 
Thanks,
Manolo
 
------_=_NextPart_001_01C29C8C.B1F49F06-- ------=_NextPartTM-000-e0b25c34-087a-11d7-bb0c-00508bcfdcc7-- From vinko@mail.cprsig.cl Thu Dec 5 14:06:05 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5K64ae027515 for ; Thu, 5 Dec 2002 14:06:05 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id C9F5949357; Thu, 5 Dec 2002 17:04:58 -0500 (EST) Date: Thu, 5 Dec 2002 17:04:58 -0500 From: Vinko Vrsalovic To: Benjamin Wragg Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Map files CGI - PHP MapScript Message-ID: <20021205220458.GA7011@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: <20021203235705.GA14880@landsat.cprsig.cl> <000301c29c98$1adcb870$0100a8c0@mapping12> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000301c29c98$1adcb870$0100a8c0@mapping12> User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Fri, Dec 06, 2002 at 06:24:20AM +1030, Benjamin Wragg wrote: > I'm new to both PHP and MapServer so the following questions might be a > little simple. > > So from what you've said I can store the $map object in a session > variable and not have to save it to a new mapfile. Nope, when i said session variables or DB's i meant to save the values (extents, symbols, colors, fonts, etc, etc.) to be set by PHP/Mapscript in the next run in a new mapObj. You can't save the mapObj in a PHP session variable because PHP needs to have the definition of the class to reconstruct it, and cannot see classes defined through extensions. The bottom line is that PHP can only store objects in a session variable if the class that define that object is written in PHP and available in the script that will have to deserialize the object. This was discussed on the list a while ago, and I think I asked it :-). And it was agreed that it would be nice to have a persistent mapObj, but, as always, hands and brains with time to do it are needed. > If I did save it to a new mapfile, on the next request my new mapfile > would have to be parsed and the database connections restored. Is this > correct? Correct. Unless you leave the connections open and close them only upon exiting the application. But the parsing (or construction through MapScript) of the mapfile needs to be done everytime. -- Vinko Vrsalovic http://www.cprsig.cl From vinko@mail.cprsig.cl Thu Dec 5 14:17:43 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB5KHgae027597 for ; Thu, 5 Dec 2002 14:17:43 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id 28D6049357; Thu, 5 Dec 2002 17:16:41 -0500 (EST) Date: Thu, 5 Dec 2002 17:16:41 -0500 From: Vinko Vrsalovic To: Sven Jacobi Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] (no subject) Message-ID: <20021205221641.GA7214@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl References: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> User-Agent: Mutt/1.3.25i Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: On Thu, Dec 05, 2002 at 10:56:57AM +0100, Sven Jacobi wrote: > Hi, > > is there any documentation about mapscript for Python > available? There's a little installation guide in the Wiki. There're some posts about Python MapScript in the archives. But the documentation about syntax and classes and methods is just the same as Perl MapScript, so you can look at that documentation, and adapt it to Python syntax, of course... -- Vinko Vrsalovic http://www.cprsig.cl From mzm@imagecatinc.com Thu Dec 5 19:15:25 2002 Received: from mail05b.webhosting-verizon.net (mail05b.webhosting-verizon.net [209.238.3.61]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB61FOae028842 for ; Thu, 5 Dec 2002 19:15:25 -0600 (CST) Received: from www.imagecatinc.com (209.238.235.214) by mail05b.webhosting-verizon.net (RS ver 1.0.63s) with SMTP id 037522 for ; Thu, 5 Dec 2002 20:14:42 -0500 (EST) From: "Michael Mio" To: Date: Thu, 5 Dec 2002 17:14:44 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Loop-Detect: 1 Subject: [Mapserver-users] Problem with Viewing Legend Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi everyone. I am having a hard time viewing the legend in my Mapserver application. Where the legend should be the icon of a broken link appears. When I right click on the icon and look at it's properties, it seems like the correct path is there. In my tmp folder, there are some legend gis that are being produced. Here is the path: http://mike/mapserver/mapserv.exe?map=c%3A%5CInetpub%5Cwwwroot%5Cadapazari%5 Cexample.map&mode=legend&layer=dots&layer=route When I put this link in my browser the error I get is msCalculateScale(): General error message. Invalid image extent. So I am unsure what to do next to fix this. Any help would be greatly appreciated. I am running XP Pro with Mapserver 3.6.3. Thanks a lot everyone. *************** Michael Mio ImageCat, Inc. From vinko@mail.cprsig.cl Thu Dec 5 23:48:34 2002 Received: from mail.cprsig.cl (cpattillo.manquehue.net [200.74.169.124]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB65mXae029710 for ; Thu, 5 Dec 2002 23:48:34 -0600 (CST) Received: by mail.cprsig.cl (Postfix, from userid 501) id B930649357; Fri, 6 Dec 2002 02:47:30 -0500 (EST) Date: Fri, 6 Dec 2002 02:47:30 -0500 From: Vinko Vrsalovic To: mapserver-users@lists.gis.umn.edu Message-ID: <20021206074730.GA11293@landsat.cprsig.cl> Reply-To: vinko@cprsig.cl Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.25i Subject: [Mapserver-users] Intermittent failure to draw symbols Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Just adding this as a note for the archives, in case someone steps into this too. If you're using PHP/MapScript the symbolset in the mapObj _MUST_ be set with the absolute path. I spent the last 5 hours trying to discover why the $·$·%"·" did the symbols one time get drawn and the next one didn't. -- Vinko Vrsalovic http://www.cprsig.cl From mschulz@webgis.de Fri Dec 6 01:50:48 2002 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.185]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB67olae000224 for ; Fri, 6 Dec 2002 01:50:48 -0600 (CST) Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 18KDFV-0007nT-00; Fri, 06 Dec 2002 08:50:13 +0100 Received: from [213.148.134.127] (helo=webgis.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 18KDFV-00060c-00; Fri, 06 Dec 2002 08:50:13 +0100 Message-ID: <3DF05655.806E8819@webgis.de> Date: Fri, 06 Dec 2002 08:48:38 +0100 From: Michael Schulz X-Mailer: Mozilla 4.78 [de] (Windows NT 5.0; U) X-Accept-Language: de MIME-Version: 1.0 To: Sven Jacobi , MapServer Userlist Subject: Re: [Mapserver-users] (no subject) References: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi Sven, not yet. Since most of the syntax documentation is very similiar to the perl-mapscript docs, this is the bets point to start. We will try to get the docs ready soon as possible. Cheers, Michael Sven Jacobi schrieb: > Hi, > > is there any documentation about mapscript for Python > available? > > Cheers, > Sven > > _______________________________________________ > 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 LVN@hvm.dk Fri Dec 6 05:11:58 2002 Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6BBvae001095 for ; Fri, 6 Dec 2002 05:11:58 -0600 (CST) Received: from odin (213.237.87.70.adsl.od.worldonline.dk [213.237.87.70]) by smtp010.tiscali.dk (8.12.5/8.12.5) with SMTP id gB6BBHoj011054 for ; Fri, 6 Dec 2002 12:11:22 +0100 (MET) Message-ID: <00e201c29d18$36cf33c0$1c01a8c0@odin> From: "Lars V. Nielsen" To: "Mapserver-L" Date: Fri, 6 Dec 2002 12:11:19 +0100 Organization: Hveengaard & Meklenborg MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi List, I'm getting my grand tour of Mapserver setup/programming, so yet another question :-) Also see my development suggestion about pixmap symbols at the bottom. I'm trying to set both point layers and inline point features to display with defined symbols. Sofar I've only been succesful with type pixmap. Primarily, I'm trying to utilize the standard MapInfo symbol fonts, e.g. "MapInfo Arrows". But I can't seem to make them display. I tried to switch to "standard" vector symbol "circle", but still no display. However, when I switch to a pixmap symbol (defined in the same symbol set file), it displays correctly ! I've also tried to switch to standard Windows TrueType fonts Webdings and Wingdings, but they don't display either. What am I doing wrong here ? Please help me out. Are there any special requirements for the TrueType fonts to be used with Mapserver ? Extract of MAP file: FONTSET "c:/Mapserver/fontset/fontset.txt" SYMBOLSET "C:/Mapserver/symbols/symbols.txt" LAYER NAME "myPoints" TYPE POINT STATUS ON FEATURE POINTS 706000 6137000 END END CLASS SYMBOL "CompassRose" SIZE 48 COLOR 0 0 0 BACKGROUNDCOLOR -1 -1 -1 OUTLINECOLOR 0 0 0 END END Extract of Symbols definition (C:/Mapserver/symbols/symbols.txt): SYMBOL NAME CompassRose TYPE TRUETYPE FONT mapinfo-arrows FILLED true ANTIALIAS true CHARACTER "!" END Extract of Fontset file (c:/Mapserver/fontset/fontset.txt): mapinfo-arrows C:/winnt/fonts/ttmiar__.ttf -- Development suggestion: The pixmap symbols I'm using depict "tacks", i.e. with a logical insertion at the tack point. This puts the whole symbol above this point. But Mapserver won't allow my to position the symbol according to the insertion point (i.e. POSITION UC), always using the center of the image, which makes it necessary for me to "double" my symbol picture appending a dummy, transparent half below the insertion point. How about adding a POSITION clause to the SYMBOL definition (similar to LABEL do.) to allow for non-centered pixmap symbols ? Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk From Peter.Bruton@CCRS.NRCan.gc.ca Fri Dec 6 06:00:57 2002 Received: from dns1.CCRS.NRCan.gc.ca (dns1.ccrs.nrcan.gc.ca [132.156.11.189]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6C0vae001310 for ; Fri, 6 Dec 2002 06:00:57 -0600 (CST) Received: from s5-ccr-r1.ccrs.nrcan.gc.ca (s5-ccr-r1.ccrs.nrcan.gc.ca [132.156.47.71]) by dns1.CCRS.NRCan.gc.ca (8.12.3/8.12.3) with ESMTP id gB6Bx8Pl032009; Fri, 6 Dec 2002 07:00:23 -0500 (EST) Received: by s5-ccr-r1.ccrs.nrcan.gc.ca with Internet Mail Service (5.5.2653.19) id <44JDHHZM>; Fri, 6 Dec 2002 06:59:57 -0500 Message-ID: <7CDD7B94357FD5119E800002A537C46EB0FEE4@s5-ccr-r1.ccrs.nrcan.gc.ca> From: Peter.Bruton@CCRS.NRCan.gc.ca To: LVN@hvm.dk, mapserver-users@lists.gis.umn.edu Subject: RE: [Mapserver-users] TrueType symbol problems + development sugg estion for pixmap symbols Date: Fri, 6 Dec 2002 06:59:57 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Hits: 3.3 X-Scanned-By: MIMEDefang 2.12 (www dot roaringpenguin dot com slash mimedefang) Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hello Lars; I have also had trouble using fonts that originated in MapInfo. What I found was that in order for Mapserver to "recognize" a font, the font must use Windows Unicode character encoding. You can check the character encoding of a font by using "Character Map" on your PC. I was not able to add character encoding to my MapInfo font using the font creation software I had. So I: - found an existing font that used Windows Unicode character encoding - loaded it into my font creation software - loaded my MapInfo font into my font creation software - deleted one of the glyphs from the existing font - copied the required MapInfo glyph - pasted it into existing font This worked fine for me. Have a good day. Peter Bruton -----Original Message----- From: Lars V. Nielsen [mailto:LVN@hvm.dk] Sent: Friday, December 06, 2002 6:11 AM To: Mapserver-L Subject: [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols Hi List, I'm getting my grand tour of Mapserver setup/programming, so yet another question :-) Also see my development suggestion about pixmap symbols at the bottom. I'm trying to set both point layers and inline point features to display with defined symbols. Sofar I've only been succesful with type pixmap. Primarily, I'm trying to utilize the standard MapInfo symbol fonts, e.g. "MapInfo Arrows". But I can't seem to make them display. I tried to switch to "standard" vector symbol "circle", but still no display. However, when I switch to a pixmap symbol (defined in the same symbol set file), it displays correctly ! I've also tried to switch to standard Windows TrueType fonts Webdings and Wingdings, but they don't display either. What am I doing wrong here ? Please help me out. Are there any special requirements for the TrueType fonts to be used with Mapserver ? Extract of MAP file: FONTSET "c:/Mapserver/fontset/fontset.txt" SYMBOLSET "C:/Mapserver/symbols/symbols.txt" LAYER NAME "myPoints" TYPE POINT STATUS ON FEATURE POINTS 706000 6137000 END END CLASS SYMBOL "CompassRose" SIZE 48 COLOR 0 0 0 BACKGROUNDCOLOR -1 -1 -1 OUTLINECOLOR 0 0 0 END END Extract of Symbols definition (C:/Mapserver/symbols/symbols.txt): SYMBOL NAME CompassRose TYPE TRUETYPE FONT mapinfo-arrows FILLED true ANTIALIAS true CHARACTER "!" END Extract of Fontset file (c:/Mapserver/fontset/fontset.txt): mapinfo-arrows C:/winnt/fonts/ttmiar__.ttf -- Development suggestion: The pixmap symbols I'm using depict "tacks", i.e. with a logical insertion at the tack point. This puts the whole symbol above this point. But Mapserver won't allow my to position the symbol according to the insertion point (i.e. POSITION UC), always using the center of the image, which makes it necessary for me to "double" my symbol picture appending a dummy, transparent half below the insertion point. How about adding a POSITION clause to the SYMBOL definition (similar to LABEL do.) to allow for non-centered pixmap symbols ? Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From rich@greenwoodmap.com Fri Dec 6 09:04:26 2002 Received: from carme.wyom.net (carme.wyom.net [63.173.212.8]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6F4Pae002234 for ; Fri, 6 Dec 2002 09:04:26 -0600 (CST) Received: from Trentino.greenwoodmap.com (wireless-212-235.wyom.net [63.173.212.235]) by carme.wyom.net (Postfix) with ESMTP id 36B015C7C4; Fri, 6 Dec 2002 08:02:06 -0700 (MST) Message-Id: <5.2.0.9.0.20021206075749.00a7aa28@mail.greenwoodmap.com> X-Sender: greenwoodmap02@mail.greenwoodmap.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 06 Dec 2002 08:03:59 -0700 To: "Lars V. Nielsen" From: Richard Greenwood Subject: Re: [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <00e201c29d18$36cf33c0$1c01a8c0@odin> Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-225A5B95; boundary="=======73E51027=======" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: --=======73E51027======= Content-Type: text/plain; x-avg-checked=avg-ok-225A5B95; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit The MapInfo truetype fonts are of type "symbol", which are not supported by the freetype library. You need to convert them to ANSI. I use the High Logic Font Creator program to convert them: http://www.high-logic.com/ Rich At 12:11 PM 12/6/2002 +0100, you wrote: >Hi List, > >I'm getting my grand tour of Mapserver setup/programming, so yet another >question :-) >Also see my development suggestion about pixmap symbols at the bottom. > >I'm trying to set both point layers and inline point features to display >with defined symbols. Sofar I've only been succesful with type pixmap. > >Primarily, I'm trying to utilize the standard MapInfo symbol fonts, e.g. >"MapInfo Arrows". But I can't seem to make them display. I tried to switch >to "standard" vector symbol "circle", but still no display. However, when I >switch to a pixmap symbol (defined in the same symbol set file), it displays >correctly ! I've also tried to switch to standard Windows TrueType fonts >Webdings and Wingdings, but they don't display either. > >What am I doing wrong here ? Please help me out. >Are there any special requirements for the TrueType fonts to be used with >Mapserver ? > >Extract of MAP file: >FONTSET "c:/Mapserver/fontset/fontset.txt" >SYMBOLSET "C:/Mapserver/symbols/symbols.txt" >LAYER > NAME "myPoints" > TYPE POINT > STATUS ON > FEATURE > POINTS > 706000 6137000 > END > END > CLASS > SYMBOL "CompassRose" > SIZE 48 > COLOR 0 0 0 > BACKGROUNDCOLOR -1 -1 -1 > OUTLINECOLOR 0 0 0 > END >END > >Extract of Symbols definition (C:/Mapserver/symbols/symbols.txt): >SYMBOL > NAME CompassRose > TYPE TRUETYPE > FONT mapinfo-arrows > FILLED true > ANTIALIAS true > CHARACTER "!" >END > >Extract of Fontset file (c:/Mapserver/fontset/fontset.txt): >mapinfo-arrows C:/winnt/fonts/ttmiar__.ttf > >-- Development suggestion: > >The pixmap symbols I'm using depict "tacks", i.e. with a logical insertion >at the tack point. This puts the whole symbol above this point. But >Mapserver won't allow my to position the symbol according to the insertion >point (i.e. POSITION UC), always using the center of the image, which makes >it necessary for me to "double" my symbol picture appending a dummy, >transparent half below the insertion point. > >How about adding a POSITION clause to the SYMBOL definition (similar to >LABEL do.) to allow for non-centered pixmap symbols ? > >Best regards / Med venlig hilsen >Lars V. Nielsen >-------------------------------------------------------- >Hvenegaard & Meklenborg >Rugaardsvej 55, DK-5000 Odense C >Denmark >http://www.hvm.dk > > > > >_______________________________________________ >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 --=======73E51027=======-- From runa@runa.sytes.net Fri Dec 6 09:16:26 2002 Received: from runa.sytes.net (mail@ADSL154-145.advancedsl.com.ar [200.63.154.145]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6FGPae002324 for ; Fri, 6 Dec 2002 09:16:26 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KKCt-0007m6-00 for ; Fri, 06 Dec 2002 12:15:59 -0300 Date: Fri, 6 Dec 2002 12:15:59 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Message-Id: <20021206121559.49701ef0.lists@runa.sytes.net> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] FAQ: Extent help Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Dear All: Im trying to set up a mapserver for our wireless lan. We want show on a map our Access Points. Im testing the program with a shape I got from a friend, but I've no clue on what to put on the 'EXTENT' attribute. I was searching thru the mailing list and I found some people asking the same question, but nobody answered them. On other thread I found that the units in 'EXTENT' are the same as in the shape, but I've no idea on which unit is this testing shp. Thanks in advance. Martin From m.spring@gmx.de Fri Dec 6 10:56:03 2002 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB6Gu2ae002882 for ; Fri, 6 Dec 2002 10:56:02 -0600 (CST) Received: (qmail 22526 invoked by uid 0); 6 Dec 2002 16:55:22 -0000 Received: from p50808753.dip0.t-ipconnect.de (HELO gemini.local) (80.128.135.83) by mail.gmx.net (mp021-rz3) with SMTP; 6 Dec 2002 16:55:22 -0000 Received: by gemini.local ("", from userid 500) id 8562B12C5C9; Fri, 6 Dec 2002 17:57:22 +0100 (CET) To: mapserver-users@lists.gis.umn.edu Reply-To: m.spring@gmx.de From: m.spring@gmx.de Date: Fri, 06 Dec 2002 17:57:22 +0100 Message-ID: Lines: 21 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Mapserver-users] segfault: mapserver 3.7 and gd-2.0.7gif Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, trying to compile mapserv 3.7 nightly with the gif-patched gd library 2.0.7 from http://www.rhyme.com.au/gd/ I always get segfaults. Is this a known issue or is this a 'feature' meaning no more gif in future mapservers? Regards Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard iD8DBQE98NbyxxUzQSse11ARAtXLAJ9tTj/dO1yacxz9N0M8C69nR+3ylACdH6Yq ZZ7hOkypjd6+pi6Mt3YupqM= =ePjS -----END PGP SIGNATURE----- From runa@runa.sytes.net Fri Dec 6 12:19:03 2002 Received: from runa.sytes.net (mail@ADSL154-139.advancedsl.com.ar [200.63.154.139]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6IIuae003368 for ; Fri, 6 Dec 2002 12:19:01 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KN3Q-0000vi-00 for ; Fri, 06 Dec 2002 15:18:24 -0300 Date: Fri, 6 Dec 2002 15:18:24 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Message-Id: <20021206151824.3baaebcb.lists@runa.sytes.net> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] Problem with raster images Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Im trying to configure mapserver to show a background image but it's not working and Im not sure why: my ex1.map has: LAYER # Shaded Relief Raster NAME "coso" DATA "jul.tif" STATUS ON TYPE RASTER END but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. Some extra info: ------------ ../mapserv -v MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE ------------ NAME P1EX1 EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 SIZE 400 300 SHAPEPATH "/opt/runa/mapserver/shapes/" LAYER # start of the "states" layer object NAME "states" DATA "cari-amb" STATUS DEFAULT TYPE POLYGON CLASS # COLOR 220 220 220 OUTLINECOLOR 0 0 0 END # end of class object END # end of layer object LAYER # start of the "states" layer object NAME "states" DATA "cari-lot" STATUS DEFAULT TYPE POLYGON CLASS # COLOR 220 220 220 OUTLINECOLOR 200 0 0 END # end of class object END # end of layer object LAYER # Shaded Relief Raster NAME "coso" DATA "jul.tif" STATUS ON TYPE RASTER END END # end of map file ---------- pd: Where can I find a log with mapserv errors? thanks! From m.spring@gmx.de Fri Dec 6 12:19:03 2002 Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by lists.gis.umn.edu (8.12.6/8.12.6) with SMTP id gB6IJ1ae003369 for ; Fri, 6 Dec 2002 12:19:02 -0600 (CST) Received: (qmail 20680 invoked by uid 0); 6 Dec 2002 18:18:22 -0000 Received: from p50808753.dip0.t-ipconnect.de (HELO gemini.local) (80.128.135.83) by mail.gmx.net (mp002-rz3) with SMTP; 6 Dec 2002 18:18:22 -0000 Received: by gemini.local ("", from userid 500) id 2C97F12C5C9; Fri, 6 Dec 2002 19:20:22 +0100 (CET) To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] segfault: mapserver 3.7 and gd-2.0.7gif References: Reply-To: m.spring@gmx.de From: m.spring@gmx.de Date: Fri, 06 Dec 2002 19:20:21 +0100 In-Reply-To: (m.spring@gmx.de's message of "Fri, 06 Dec 2002 17:57:22 +0100") Message-ID: Lines: 18 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 2.0.7 from http://www.rhyme.com.au/gd/ I always get segfaults. Is this > a known issue or is this a 'feature' meaning no more gif in future sorry, should have written side-effect instead of 'feature'. No offense intended. Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard iD4DBQE98OplxxUzQSse11ARAh2oAJi9pgoX/fOH1BXgRD+QVBU0EFzpAJ0ejD3O 67+g9wPbGGvrvgvr5otssg== =54zB -----END PGP SIGNATURE----- From ed@topozone.com Fri Dec 6 12:28:26 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6ISPae003442 for ; Fri, 6 Dec 2002 12:28:26 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 13:27:52 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39F1@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdVLCyfkCWEe25RlSp8By9ircfFAAAE4kg From: "Ed McNierney" To: "Martin Sarsale" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6ISPae003442 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Martin - Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. - 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: Martin Sarsale [mailto:lists@runa.sytes.net] Sent: Friday, December 06, 2002 1:18 PM To: mapserver-users@lists.gis.umn.edu Subject: [Mapserver-users] Problem with raster images Im trying to configure mapserver to show a background image but it's not working and Im not sure why: my ex1.map has: LAYER # Shaded Relief Raster NAME "coso" DATA "jul.tif" STATUS ON TYPE RASTER END but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. Some extra info: ------------ ../mapserv -v MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE ------------ NAME P1EX1 EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 SIZE 400 300 SHAPEPATH "/opt/runa/mapserver/shapes/" LAYER # start of the "states" layer object NAME "states" DATA "cari-amb" STATUS DEFAULT TYPE POLYGON CLASS # COLOR 220 220 220 OUTLINECOLOR 0 0 0 END # end of class object END # end of layer object LAYER # start of the "states" layer object NAME "states" DATA "cari-lot" STATUS DEFAULT TYPE POLYGON CLASS # COLOR 220 220 220 OUTLINECOLOR 200 0 0 END # end of class object END # end of layer object LAYER # Shaded Relief Raster NAME "coso" DATA "jul.tif" STATUS ON TYPE RASTER END END # end of map file ---------- pd: Where can I find a log with mapserv errors? thanks! _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From runa@runa.sytes.net Fri Dec 6 12:43:43 2002 Received: from runa.sytes.net (ADSL154-139.advancedsl.com.ar [200.63.154.139]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6IhXae003522 for ; Fri, 6 Dec 2002 12:43:38 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KNRD-00018H-00 for ; Fri, 06 Dec 2002 15:42:59 -0300 Date: Fri, 6 Dec 2002 15:42:59 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Message-Id: <20021206154259.16c729b5.lists@runa.sytes.net> In-Reply-To: <13858AA1A74F30419F319ACB66A9D1221F39F1@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1221F39F1@mercator.topozone.com> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Ed: I don't have the TFW file, but the TIFF is geoTIFF. Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? On Fri, 6 Dec 2002 13:27:52 -0500 "Ed McNierney" wrote: > Martin - > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 1:18 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] Problem with raster images > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > my ex1.map has: > LAYER # Shaded Relief Raster > NAME "coso" > DATA "jul.tif" > STATUS ON > TYPE RASTER > END > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > Some extra info: > > ------------ > > ../mapserv -v > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > ------------ > > NAME P1EX1 > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > SIZE 400 300 > SHAPEPATH "/opt/runa/mapserver/shapes/" > > LAYER # start of the "states" layer object > NAME "states" > DATA "cari-amb" > STATUS DEFAULT > TYPE POLYGON > CLASS > # COLOR 220 220 220 > OUTLINECOLOR 0 0 0 > END # end of class object > END # end of layer object > LAYER # start of the "states" layer object > NAME "states" > DATA "cari-lot" > STATUS DEFAULT > TYPE POLYGON > CLASS > # COLOR 220 220 220 > OUTLINECOLOR 200 0 0 > END # end of class object > END # end of layer object > LAYER # Shaded Relief Raster > NAME "coso" > DATA "jul.tif" > STATUS ON > TYPE RASTER > END > > END # end of map file > ---------- > > pd: Where can I find a log with mapserv errors? > > > thanks! > _______________________________________________ > 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 > Re From ed@topozone.com Fri Dec 6 12:53:32 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6IrWae003596 for ; Fri, 6 Dec 2002 12:53:32 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 13:52:58 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39F4@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdV5fdWUM3t1b7Q3GTPjC69adcvgAAP4gA From: "Ed McNierney" To: "Martin Sarsale" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6IrWae003596 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Martin - First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. - Ed -----Original Message----- From: Martin Sarsale [mailto:lists@runa.sytes.net] Sent: Friday, December 06, 2002 1:43 PM To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Ed: I don't have the TFW file, but the TIFF is geoTIFF. Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? On Fri, 6 Dec 2002 13:27:52 -0500 "Ed McNierney" wrote: > Martin - > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 1:18 PM > To: mapserver-users@lists.gis.umn.edu > Subject: [Mapserver-users] Problem with raster images > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > my ex1.map has: > LAYER # Shaded Relief Raster > NAME "coso" > DATA "jul.tif" > STATUS ON > TYPE RASTER > END > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > Some extra info: > > ------------ > > ../mapserv -v > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > ------------ > > NAME P1EX1 > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > SIZE 400 300 > SHAPEPATH "/opt/runa/mapserver/shapes/" > > LAYER # start of the "states" layer object > NAME "states" > DATA "cari-amb" > STATUS DEFAULT > TYPE POLYGON > CLASS > # COLOR 220 220 220 > OUTLINECOLOR 0 0 0 > END # end of class object > END # end of layer object > LAYER # start of the "states" layer object > NAME "states" > DATA "cari-lot" > STATUS DEFAULT > TYPE POLYGON > CLASS > # COLOR 220 220 220 > OUTLINECOLOR 200 0 0 > END # end of class object > END # end of layer object > LAYER # Shaded Relief Raster > NAME "coso" > DATA "jul.tif" > STATUS ON > TYPE RASTER > END > > END # end of map file > ---------- > > pd: Where can I find a log with mapserv errors? > > > thanks! > _______________________________________________ > 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 > Re _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak@medinaco.org Fri Dec 6 13:37:17 2002 Received: from yogi.medinaco.net (lca7.cvzoom.net [63.65.158.7]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6JbHae003819 for ; Fri, 6 Dec 2002 13:37:17 -0600 (CST) Received: from 216.71.100.197 (webbster.medinaco.net [192.168.1.34]) by yogi.medinaco.net (8.11.2/8.11.2) with SMTP id gB6JZQu07282; Fri, 6 Dec 2002 14:35:26 -0500 Message-Id: <200212061935.gB6JZQu07282@yogi.medinaco.net> To: Martin Sarsale , mapserver-users@lists.gis.umn.edu From: "Lowell Filak" Subject: Re: [Mapserver-users] FAQ: Extent help Date: Fri, 06 Dec 2002 14:37:26 -0500 X-Mailer: "Alex Hart's Very Own Web Based Email, Version 2.4 (Medina County Edition)" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: There is a shpinfo.pl script distributed as part of mapserver->mapscript that will display the bounding box of the specified shapefile. You could use that as a starting point for the EXTENT. HTH Lowell F. The following message was sent by Martin Sarsale on Fri, 6 Dec 2002 12:15:59 -0300. > Dear All: > > Im trying to set up a mapserver for our wireless lan. We want show on a map our Access Points. > > Im testing the program with a shape I got from a friend, but I've no clue on what to put on the 'EXTENT' attribute. > I was searching thru the mailing list and I found some people asking the same question, but nobody answered them. On other thread I found that the units in 'EXTENT' are the same as in the shape, but I've no idea on which unit is this testing shp. > > Thanks in advance. > > Martin > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From runa@runa.sytes.net Fri Dec 6 14:07:50 2002 Received: from runa.sytes.net (mail@ADSL154-139.advancedsl.com.ar [200.63.154.139]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6K7Uae003973 for ; Fri, 6 Dec 2002 14:07:35 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KOkR-0001vE-00 for ; Fri, 06 Dec 2002 17:06:55 -0300 Date: Fri, 6 Dec 2002 17:06:55 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Message-Id: <20021206170655.6f9b4282.lists@runa.sytes.net> In-Reply-To: <13858AA1A74F30419F319ACB66A9D1221F39F4@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1221F39F4@mercator.topozone.com> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I have created my TFW file from the geotiff, but the image layer doesn't appear. stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? On Fri, 6 Dec 2002 13:52:58 -0500 "Ed McNierney" wrote: > Martin - > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > - Ed > > -----Original Message----- > From: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 1:43 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > On Fri, 6 Dec 2002 13:27:52 -0500 > "Ed McNierney" wrote: > > > Martin - > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 1:18 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: [Mapserver-users] Problem with raster images > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > my ex1.map has: > > LAYER # Shaded Relief Raster > > NAME "coso" > > DATA "jul.tif" > > STATUS ON > > TYPE RASTER > > END > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > Some extra info: > > > > ------------ > > > > ../mapserv -v > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > ------------ > > > > NAME P1EX1 > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > SIZE 400 300 > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > LAYER # start of the "states" layer object > > NAME "states" > > DATA "cari-amb" > > STATUS DEFAULT > > TYPE POLYGON > > CLASS > > # COLOR 220 220 220 > > OUTLINECOLOR 0 0 0 > > END # end of class object > > END # end of layer object > > LAYER # start of the "states" layer object > > NAME "states" > > DATA "cari-lot" > > STATUS DEFAULT > > TYPE POLYGON > > CLASS > > # COLOR 220 220 220 > > OUTLINECOLOR 200 0 0 > > END # end of class object > > END # end of layer object > > LAYER # Shaded Relief Raster > > NAME "coso" > > DATA "jul.tif" > > STATUS ON > > TYPE RASTER > > END > > > > END # end of map file > > ---------- > > > > pd: Where can I find a log with mapserv errors? > > > > > > thanks! > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re From ed@topozone.com Fri Dec 6 14:35:20 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6KZJae004169 for ; Fri, 6 Dec 2002 14:35:19 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 15:34:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39FB@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdY0HCOuP3bASWSZWQw3T7ao1zlgAAUVQQ From: "Ed McNierney" To: "Martin Sarsale" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6KZJae004169 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Yes! "If you do have such a file, could you post the contents? It's a six-line text file." - 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: Martin Sarsale [mailto:lists@runa.sytes.net] Sent: Friday, December 06, 2002 3:07 PM To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images I have created my TFW file from the geotiff, but the image layer doesn't appear. stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? On Fri, 6 Dec 2002 13:52:58 -0500 "Ed McNierney" wrote: > Martin - > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > - Ed > > -----Original Message----- > From: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 1:43 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > On Fri, 6 Dec 2002 13:27:52 -0500 > "Ed McNierney" wrote: > > > Martin - > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 1:18 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: [Mapserver-users] Problem with raster images > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > my ex1.map has: > > LAYER # Shaded Relief Raster > > NAME "coso" > > DATA "jul.tif" > > STATUS ON > > TYPE RASTER > > END > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > Some extra info: > > > > ------------ > > > > ../mapserv -v > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > ------------ > > > > NAME P1EX1 > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > SIZE 400 300 > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > LAYER # start of the "states" layer object > > NAME "states" > > DATA "cari-amb" > > STATUS DEFAULT > > TYPE POLYGON > > CLASS > > # COLOR 220 220 220 > > OUTLINECOLOR 0 0 0 > > END # end of class object > > END # end of layer object > > LAYER # start of the "states" layer object > > NAME "states" > > DATA "cari-lot" > > STATUS DEFAULT > > TYPE POLYGON > > CLASS > > # COLOR 220 220 220 > > OUTLINECOLOR 200 0 0 > > END # end of class object > > END # end of layer object > > LAYER # Shaded Relief Raster > > NAME "coso" > > DATA "jul.tif" > > STATUS ON > > TYPE RASTER > > END > > > > END # end of map file > > ---------- > > > > pd: Where can I find a log with mapserv errors? > > > > > > thanks! > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From araya_lf@hotmail.com Fri Dec 6 14:38:07 2002 Received: from hotmail.com (bay1-dav63.bay1.hotmail.com [65.54.244.198]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6Kc7ae004193 for ; Fri, 6 Dec 2002 14:38:07 -0600 (CST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 6 Dec 2002 12:37:15 -0800 X-Originating-IP: [200.30.155.102] From: "LUIS FRANCISCO Araya" To: Date: Fri, 6 Dec 2002 14:36:12 -0600 MIME-Version: 1.0 X-Mailer: MSN Explorer 6.10.0016.1624 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0000_01C29D34.D2F7A360" Message-ID: X-OriginalArrivalTime: 06 Dec 2002 20:37:15.0104 (UTC) FILETIME=[42FFAE00:01C29D67] Subject: [Mapserver-users] Draw symbols from DB Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: ------=_NextPart_001_0000_01C29D34.D2F7A360 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have a database with points (coordinates). I need to draw a symbol in t= hose points. Anyone have a example or can give me some hints about thisObtenga el m=E1= ximo provecho del Web. Descarga GRATUITA de MSN Explorer: http://explorer= .msn.es/intl.asp#es ------=_NextPart_001_0000_01C29D34.D2F7A360 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have a datab= ase with points (coordinates). I need to draw a symbol in those points.
Anyone have a example or can give me some hints about this

Obtenga el m=E1ximo provecho del Web. = Descarga GRATUITA de MSN Explorer: http://explorer.msn.es/intl.asp#es

------=_NextPart_001_0000_01C29D34.D2F7A360-- From lfilak@medinaco.org Fri Dec 6 14:52:29 2002 Received: from yogi.medinaco.net (lca7.cvzoom.net [63.65.158.7]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6KqTae004284 for ; Fri, 6 Dec 2002 14:52:29 -0600 (CST) Received: from 216.71.100.197 (webbster.medinaco.net [192.168.1.34]) by yogi.medinaco.net (8.11.2/8.11.2) with SMTP id gB6KpQu08726; Fri, 6 Dec 2002 15:51:26 -0500 Message-Id: <200212062051.gB6KpQu08726@yogi.medinaco.net> To: "LUIS FRANCISCO Araya" , From: "Lowell Filak" Subject: Re: [Mapserver-users] Draw symbols from DB Date: Fri, 06 Dec 2002 15:53:26 -0500 X-Mailer: "Alex Hart's Very Own Web Based Email, Version 2.4 (Medina County Edition)" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: You may want to check the mapquakes example in the wiki: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35 HTH Lowell F. The following message was sent by "LUIS FRANCISCO Araya" on Fri, 6 Dec 2002 14:36:12 -0600. > I have a database with points (coordinates). I need to draw a symbol in t> hose points. > Anyone have a example or can give me some hints about thisObtenga el má> ximo provecho del Web. Descarga GRATUITA de MSN Explorer: http://explorer> .msn.es/intl.asp#es > From runa@runa.sytes.net Fri Dec 6 14:58:21 2002 Received: from runa.sytes.net (mail@ADSL154-139.advancedsl.com.ar [200.63.154.139]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6Kw6ae004345 for ; Fri, 6 Dec 2002 14:58:12 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KPXS-00047o-00 for ; Fri, 06 Dec 2002 17:57:34 -0300 Date: Fri, 6 Dec 2002 17:57:34 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Message-Id: <20021206175734.0af5a624.lists@runa.sytes.net> In-Reply-To: <13858AA1A74F30419F319ACB66A9D1221F39FB@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1221F39FB@mercator.topozone.com> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Thanks for your help :) 30.0000000000 0.0000000000 0.0000000000 -30.0000000000 4536934.0000000000 6005021.0000000000 (the file was created with the output of listgeo) On Fri, 6 Dec 2002 15:34:45 -0500 "Ed McNierney" wrote: > Yes! > > "If you do have such a file, could you post the contents? It's a six-line text file." > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 3:07 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > I have created my TFW file from the geotiff, but the image layer doesn't appear. > stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? > > > On Fri, 6 Dec 2002 13:52:58 -0500 > "Ed McNierney" wrote: > > > Martin - > > > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > > > - Ed > > > > -----Original Message----- > > From: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 1:43 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > > > > On Fri, 6 Dec 2002 13:27:52 -0500 > > "Ed McNierney" wrote: > > > > > Martin - > > > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > > Sent: Friday, December 06, 2002 1:18 PM > > > To: mapserver-users@lists.gis.umn.edu > > > Subject: [Mapserver-users] Problem with raster images > > > > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > > my ex1.map has: > > > LAYER # Shaded Relief Raster > > > NAME "coso" > > > DATA "jul.tif" > > > STATUS ON > > > TYPE RASTER > > > END > > > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > > > Some extra info: > > > > > > ------------ > > > > > > ../mapserv -v > > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > > > ------------ > > > > > > NAME P1EX1 > > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > > SIZE 400 300 > > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > > > LAYER # start of the "states" layer object > > > NAME "states" > > > DATA "cari-amb" > > > STATUS DEFAULT > > > TYPE POLYGON > > > CLASS > > > # COLOR 220 220 220 > > > OUTLINECOLOR 0 0 0 > > > END # end of class object > > > END # end of layer object > > > LAYER # start of the "states" layer object > > > NAME "states" > > > DATA "cari-lot" > > > STATUS DEFAULT > > > TYPE POLYGON > > > CLASS > > > # COLOR 220 220 220 > > > OUTLINECOLOR 200 0 0 > > > END # end of class object > > > END # end of layer object > > > LAYER # Shaded Relief Raster > > > NAME "coso" > > > DATA "jul.tif" > > > STATUS ON > > > TYPE RASTER > > > END > > > > > > END # end of map file > > > ---------- > > > > > > pd: Where can I find a log with mapserv errors? > > > > > > > > > thanks! > > > _______________________________________________ > > > 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 > > > Re > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re From ed@topozone.com Fri Dec 6 15:09:50 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6L9nae004425 for ; Fri, 6 Dec 2002 15:09:49 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 16:09:16 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39FD@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdavFs2Npc3bBTSnmkIXWeFkdlVQAAAz3w From: "Ed McNierney" To: "Martin Sarsale" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6L9nae004425 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Martin - A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. - Ed -----Original Message----- From: Martin Sarsale [mailto:lists@runa.sytes.net] Sent: Friday, December 06, 2002 3:58 PM To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Thanks for your help :) 30.0000000000 0.0000000000 0.0000000000 -30.0000000000 4536934.0000000000 6005021.0000000000 (the file was created with the output of listgeo) On Fri, 6 Dec 2002 15:34:45 -0500 "Ed McNierney" wrote: > Yes! > > "If you do have such a file, could you post the contents? It's a six-line text file." > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 3:07 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > I have created my TFW file from the geotiff, but the image layer doesn't appear. > stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? > > > On Fri, 6 Dec 2002 13:52:58 -0500 > "Ed McNierney" wrote: > > > Martin - > > > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > > > - Ed > > > > -----Original Message----- > > From: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 1:43 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > > > > On Fri, 6 Dec 2002 13:27:52 -0500 > > "Ed McNierney" wrote: > > > > > Martin - > > > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > > Sent: Friday, December 06, 2002 1:18 PM > > > To: mapserver-users@lists.gis.umn.edu > > > Subject: [Mapserver-users] Problem with raster images > > > > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > > my ex1.map has: > > > LAYER # Shaded Relief Raster > > > NAME "coso" > > > DATA "jul.tif" > > > STATUS ON > > > TYPE RASTER > > > END > > > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > > > Some extra info: > > > > > > ------------ > > > > > > ../mapserv -v > > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > > > ------------ > > > > > > NAME P1EX1 > > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > > SIZE 400 300 > > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > > > LAYER # start of the "states" layer object > > > NAME "states" > > > DATA "cari-amb" > > > STATUS DEFAULT > > > TYPE POLYGON > > > CLASS > > > # COLOR 220 220 220 > > > OUTLINECOLOR 0 0 0 > > > END # end of class object > > > END # end of layer object > > > LAYER # start of the "states" layer object > > > NAME "states" > > > DATA "cari-lot" > > > STATUS DEFAULT > > > TYPE POLYGON > > > CLASS > > > # COLOR 220 220 220 > > > OUTLINECOLOR 200 0 0 > > > END # end of class object > > > END # end of layer object > > > LAYER # Shaded Relief Raster > > > NAME "coso" > > > DATA "jul.tif" > > > STATUS ON > > > TYPE RASTER > > > END > > > > > > END # end of map file > > > ---------- > > > > > > pd: Where can I find a log with mapserv errors? > > > > > > > > > thanks! > > > _______________________________________________ > > > 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 > > > Re > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From runa@runa.sytes.net Fri Dec 6 15:14:29 2002 Received: from runa.sytes.net (mail@ADSL154-139.advancedsl.com.ar [200.63.154.139]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6LEHae004460 for ; Fri, 6 Dec 2002 15:14:21 -0600 (CST) Received: from runa by runa.sytes.net with local (Exim 3.36 #1 (Debian)) id 18KPn7-0004GX-00 for ; Fri, 06 Dec 2002 18:13:45 -0300 Date: Fri, 6 Dec 2002 18:13:45 -0300 From: Martin Sarsale To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Message-Id: <20021206181345.571dd3c0.lists@runa.sytes.net> In-Reply-To: <13858AA1A74F30419F319ACB66A9D1221F39FD@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1221F39FD@mercator.topozone.com> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-debian-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Thanks a lot :) 14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 On Fri, 6 Dec 2002 16:09:16 -0500 "Ed McNierney" wrote: > Martin - > > A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. > > The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? > > I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. > > - Ed > > > > -----Original Message----- > From: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 3:58 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > Thanks for your help :) > 30.0000000000 > 0.0000000000 > 0.0000000000 > -30.0000000000 > 4536934.0000000000 > 6005021.0000000000 > > (the file was created with the output of listgeo) > > On Fri, 6 Dec 2002 15:34:45 -0500 > "Ed McNierney" wrote: > > > Yes! > > > > "If you do have such a file, could you post the contents? It's a six-line text file." > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 3:07 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > I have created my TFW file from the geotiff, but the image layer doesn't appear. > > stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? > > > > > > On Fri, 6 Dec 2002 13:52:58 -0500 > > "Ed McNierney" wrote: > > > > > Martin - > > > > > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > > > > > - Ed > > > > > > -----Original Message----- > > > From: Martin Sarsale [mailto:lists@runa.sytes.net] > > > Sent: Friday, December 06, 2002 1:43 PM > > > To: mapserver-users@lists.gis.umn.edu > > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > > > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > > > > > > > On Fri, 6 Dec 2002 13:27:52 -0500 > > > "Ed McNierney" wrote: > > > > > > > Martin - > > > > > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > > > Sent: Friday, December 06, 2002 1:18 PM > > > > To: mapserver-users@lists.gis.umn.edu > > > > Subject: [Mapserver-users] Problem with raster images > > > > > > > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > > > my ex1.map has: > > > > LAYER # Shaded Relief Raster > > > > NAME "coso" > > > > DATA "jul.tif" > > > > STATUS ON > > > > TYPE RASTER > > > > END > > > > > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > > > > > Some extra info: > > > > > > > > ------------ > > > > > > > > ../mapserv -v > > > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > > > > > ------------ > > > > > > > > NAME P1EX1 > > > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > > > SIZE 400 300 > > > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > > > > > LAYER # start of the "states" layer object > > > > NAME "states" > > > > DATA "cari-amb" > > > > STATUS DEFAULT > > > > TYPE POLYGON > > > > CLASS > > > > # COLOR 220 220 220 > > > > OUTLINECOLOR 0 0 0 > > > > END # end of class object > > > > END # end of layer object > > > > LAYER # start of the "states" layer object > > > > NAME "states" > > > > DATA "cari-lot" > > > > STATUS DEFAULT > > > > TYPE POLYGON > > > > CLASS > > > > # COLOR 220 220 220 > > > > OUTLINECOLOR 200 0 0 > > > > END # end of class object > > > > END # end of layer object > > > > LAYER # Shaded Relief Raster > > > > NAME "coso" > > > > DATA "jul.tif" > > > > STATUS ON > > > > TYPE RASTER > > > > END > > > > > > > > END # end of map file > > > > ---------- > > > > > > > > pd: Where can I find a log with mapserv errors? > > > > > > > > > > > > thanks! > > > > _______________________________________________ > > > > 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 > > > > Re > > > _______________________________________________ > > > 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 > > > Re > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re From ed@topozone.com Fri Dec 6 15:24:37 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6LOXae004512 for ; Fri, 6 Dec 2002 15:24:37 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 16:24:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F39FE@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdbS9dExS0KWflSB2onINOxte0rwAAGCag From: "Ed McNierney" To: "Martin Sarsale" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6LOXae004512 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Martin - Does this line: 14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 mean that your image is 2,507 by 1,802 pixels and is 13,238 KB in size? If so, you've got a 24-bit TIFF image, and that's your problem. The base MapServer support is for 8-bit TIFFs only, and if you rebuild with GDAL, you CAN get it to work, but you'll be better off resampling your image to 8-bit color first - in which case you don't need GDAL. - 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: Martin Sarsale [mailto:lists@runa.sytes.net] Sent: Friday, December 06, 2002 4:14 PM To: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Thanks a lot :) 14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 On Fri, 6 Dec 2002 16:09:16 -0500 "Ed McNierney" wrote: > Martin - > > A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. > > The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? > > I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. > > - Ed > > > > -----Original Message----- > From: Martin Sarsale [mailto:lists@runa.sytes.net] > Sent: Friday, December 06, 2002 3:58 PM > To: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > Thanks for your help :) > 30.0000000000 > 0.0000000000 > 0.0000000000 > -30.0000000000 > 4536934.0000000000 > 6005021.0000000000 > > (the file was created with the output of listgeo) > > On Fri, 6 Dec 2002 15:34:45 -0500 > "Ed McNierney" wrote: > > > Yes! > > > > "If you do have such a file, could you post the contents? It's a six-line text file." > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > Sent: Friday, December 06, 2002 3:07 PM > > To: mapserver-users@lists.gis.umn.edu > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > I have created my TFW file from the geotiff, but the image layer doesn't appear. > > stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? > > > > > > On Fri, 6 Dec 2002 13:52:58 -0500 > > "Ed McNierney" wrote: > > > > > Martin - > > > > > > First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. > > > > > > - Ed > > > > > > -----Original Message----- > > > From: Martin Sarsale [mailto:lists@runa.sytes.net] > > > Sent: Friday, December 06, 2002 1:43 PM > > > To: mapserver-users@lists.gis.umn.edu > > > Subject: Re: [Mapserver-users] Problem with raster images > > > > > > > > > Ed: I don't have the TFW file, but the TIFF is geoTIFF. > > > Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? > > > > > > > > > On Fri, 6 Dec 2002 13:27:52 -0500 > > > "Ed McNierney" wrote: > > > > > > > Martin - > > > > > > > > Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. > > > > > > > > - 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: Martin Sarsale [mailto:lists@runa.sytes.net] > > > > Sent: Friday, December 06, 2002 1:18 PM > > > > To: mapserver-users@lists.gis.umn.edu > > > > Subject: [Mapserver-users] Problem with raster images > > > > > > > > > > > > Im trying to configure mapserver to show a background image but it's not working and Im not sure why: > > > > my ex1.map has: > > > > LAYER # Shaded Relief Raster > > > > NAME "coso" > > > > DATA "jul.tif" > > > > STATUS ON > > > > TYPE RASTER > > > > END > > > > > > > > but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. > > > > > > > > Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. > > > > > > > > Some extra info: > > > > > > > > ------------ > > > > > > > > ../mapserv -v > > > > MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE > > > > > > > > ------------ > > > > > > > > NAME P1EX1 > > > > EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 > > > > SIZE 400 300 > > > > SHAPEPATH "/opt/runa/mapserver/shapes/" > > > > > > > > LAYER # start of the "states" layer object > > > > NAME "states" > > > > DATA "cari-amb" > > > > STATUS DEFAULT > > > > TYPE POLYGON > > > > CLASS > > > > # COLOR 220 220 220 > > > > OUTLINECOLOR 0 0 0 > > > > END # end of class object > > > > END # end of layer object > > > > LAYER # start of the "states" layer object > > > > NAME "states" > > > > DATA "cari-lot" > > > > STATUS DEFAULT > > > > TYPE POLYGON > > > > CLASS > > > > # COLOR 220 220 220 > > > > OUTLINECOLOR 200 0 0 > > > > END # end of class object > > > > END # end of layer object > > > > LAYER # Shaded Relief Raster > > > > NAME "coso" > > > > DATA "jul.tif" > > > > STATUS ON > > > > TYPE RASTER > > > > END > > > > > > > > END # end of map file > > > > ---------- > > > > > > > > pd: Where can I find a log with mapserv errors? > > > > > > > > > > > > thanks! > > > > _______________________________________________ > > > > 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 > > > > Re > > > _______________________________________________ > > > 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 > > > Re > > _______________________________________________ > > 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 > > Re > _______________________________________________ > 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 > Re _______________________________________________ Mapserver-users mailing list Mapserver-users@lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pucher@atlas.gis.univie.ac.at Fri Dec 6 15:35:40 2002 Received: from unet.univie.ac.at (unet.univie.ac.at [131.130.221.38]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6LZdae004602 for ; Fri, 6 Dec 2002 15:35:40 -0600 (CST) Received: from atlas.gis.univie.ac.at (unet2-68.univie.ac.at [131.130.232.68]) by unet.univie.ac.at (8.12.2/8.12.2) with ESMTP id gB6LYpkx039862 for ; Fri, 6 Dec 2002 22:35:02 +0100 Message-ID: <3DF117F6.1020606@atlas.gis.univie.ac.at> Date: Fri, 06 Dec 2002 22:34:46 +0100 From: Alexander Pucher User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 MultiZilla/v1.1.20 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] SDE Documentation Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi, is there any documentation about using ArcSDE with MS available on the official Homepage or somewhere else? mfg alex -- ________________________________________________________ Institut fuer Geographie und Regionalforschung Universitaet Wien Kartografie und Geoinformation Departement of Geography and Regional Research University of Vienna Cartography and GIS Universitaetstr. 7, A-1010 Wien, AUSTRIA Tel: (+43 1) 4277 48644 Fax: (+43 1) 4277 48649 E-mail: alexander.pucher@univie.ac.at FTP: ftp://ftp.gis.univie.ac.at WWW: http://www.gis.univie.ac.at/karto -------------------------------------------------------- Virtual Map Forum: http://www.gis.univie.ac.at/vmf -------------------------------------------------------- M$ is not the answer. M$ is the question! No is the answer -- Eric Naggum From jhart@frw.uva.nl Fri Dec 6 15:45:12 2002 Received: from uvapsy.fmg.uva.nl (root@uvapsy.fmg.uva.nl [145.18.152.23]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6LjBae004658 for ; Fri, 6 Dec 2002 15:45:12 -0600 (CST) Received: from frw.uva.nl (g0400.fmg.uva.nl [145.18.125.57]) by uvapsy.fmg.uva.nl (8.9.3/8.9.3) with ESMTP id WAA27134; Fri, 6 Dec 2002 22:43:59 +0100 (MET) Message-ID: <3DF11A1D.6010504@frw.uva.nl> Date: Fri, 06 Dec 2002 22:43:57 +0100 From: Jan Hartmann Organization: University of Amsterdam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Sarsale CC: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images References: <13858AA1A74F30419F319ACB66A9D1221F39FD@mercator.topozone.com> <20021206181345.571dd3c0.lists@runa.sytes.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Martin, Please try setting STATUS DEFAULT. In the past this has sometimes solved this sort of problem -:) Jan Hartmann Martin Sarsale wrote: > Thanks a lot :) > > 14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 > > > On Fri, 6 Dec 2002 16:09:16 -0500 > "Ed McNierney" wrote: > > >>Martin - >> >>A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. >> >>The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? >> >>I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. >> >> - Ed >> >> >> >>-----Original Message----- >>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>Sent: Friday, December 06, 2002 3:58 PM >>To: mapserver-users@lists.gis.umn.edu >>Subject: Re: [Mapserver-users] Problem with raster images >> >> >>Thanks for your help :) >> 30.0000000000 >> 0.0000000000 >> 0.0000000000 >> -30.0000000000 >> 4536934.0000000000 >> 6005021.0000000000 >> >>(the file was created with the output of listgeo) >> >>On Fri, 6 Dec 2002 15:34:45 -0500 >>"Ed McNierney" wrote: >> >> >>>Yes! >>> >>>"If you do have such a file, could you post the contents? It's a six-line text file." >>> >>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>Sent: Friday, December 06, 2002 3:07 PM >>>To: mapserver-users@lists.gis.umn.edu >>>Subject: Re: [Mapserver-users] Problem with raster images >>> >>> >>>I have created my TFW file from the geotiff, but the image layer doesn't appear. >>>stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? >>> >>> >>>On Fri, 6 Dec 2002 13:52:58 -0500 >>>"Ed McNierney" wrote: >>> >>> >>>>Martin - >>>> >>>>First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. >>>> >>>> - Ed >>>> >>>>-----Original Message----- >>>>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>Sent: Friday, December 06, 2002 1:43 PM >>>>To: mapserver-users@lists.gis.umn.edu >>>>Subject: Re: [Mapserver-users] Problem with raster images >>>> >>>> >>>>Ed: I don't have the TFW file, but the TIFF is geoTIFF. >>>>Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? >>>> >>>> >>>>On Fri, 6 Dec 2002 13:27:52 -0500 >>>>"Ed McNierney" wrote: >>>> >>>> >>>>>Martin - >>>>> >>>>>Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. >>>>> >>>>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>>Sent: Friday, December 06, 2002 1:18 PM >>>>>To: mapserver-users@lists.gis.umn.edu >>>>>Subject: [Mapserver-users] Problem with raster images >>>>> >>>>> >>>>>Im trying to configure mapserver to show a background image but it's not working and Im not sure why: >>>>>my ex1.map has: >>>>>LAYER # Shaded Relief Raster >>>>> NAME "coso" >>>>> DATA "jul.tif" >>>>> STATUS ON >>>>> TYPE RASTER >>>>>END >>>>> >>>>>but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. >>>>> >>>>>Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. >>>>> >>>>>Some extra info: >>>>> >>>>>------------ >>>>> >>>>>../mapserv -v >>>>>MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE >>>>> >>>>>------------ >>>>> >>>>>NAME P1EX1 >>>>>EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 >>>>>SIZE 400 300 >>>>>SHAPEPATH "/opt/runa/mapserver/shapes/" >>>>> >>>>>LAYER # start of the "states" layer object >>>>> NAME "states" >>>>> DATA "cari-amb" >>>>> STATUS DEFAULT >>>>> TYPE POLYGON >>>>> CLASS >>>>># COLOR 220 220 220 >>>>> OUTLINECOLOR 0 0 0 >>>>> END # end of class object >>>>>END # end of layer object >>>>>LAYER # start of the "states" layer object >>>>> NAME "states" >>>>> DATA "cari-lot" >>>>> STATUS DEFAULT >>>>> TYPE POLYGON >>>>> CLASS >>>>># COLOR 220 220 220 >>>>> OUTLINECOLOR 200 0 0 >>>>> END # end of class object >>>>>END # end of layer object >>>>>LAYER # Shaded Relief Raster >>>>> NAME "coso" >>>>> DATA "jul.tif" >>>>> STATUS ON >>>>> TYPE RASTER >>>>>END >>>>> >>>>>END # end of map file >>>>>---------- >>>>> >>>>>pd: Where can I find a log with mapserv errors? >>>>> >>>>> >>>>>thanks! >>>>>_______________________________________________ >>>>>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 >>>>>Re >>>> >>>>_______________________________________________ >>>>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 >>>>Re >>> >>>_______________________________________________ >>>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 >>>Re >> >>_______________________________________________ >>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 >>Re > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From sgillies@frii.com Fri Dec 6 15:50:10 2002 Received: from deimos.frii.net (deimos.frii.com [216.17.128.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6Lo9ae004716 for ; Fri, 6 Dec 2002 15:50:09 -0600 (CST) Received: from frii.com (dsl-179-29.dynamic-dsl.frii.net [216.17.179.29]) by deimos.frii.net (8.12.5/8.12.5) with ESMTP id gB6LnVlD074824; Fri, 6 Dec 2002 14:49:32 -0700 (MST) Message-ID: <3DF11BE7.5080807@frii.com> Date: Fri, 06 Dec 2002 14:51:35 -0700 From: Sean Gillies User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sven Jacobi CC: mapserver-users@lists.gis.umn.edu Subject: Python mapsctript documentation (Re: [Mapserver-users] (no subject)) References: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> In-Reply-To: <200212050955.gB59tj1D014788@corp-200.dfki.uni-sb.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Sven Jacobi wrote: > Hi, > > is there any documentation about mapscript for Python > available? > > Cheers, > Sven > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users@lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > Sven, Which version are you using? If you are using the pre-release 3.7 version, there is a function that you won't find in the Perl documentation. The imagObj method saveToString() is very useful for mapscript apps and can be used to make file-like image objects. import mapscript, StringIO mymap = mapscript.mapObj('my.map') myimage = map.draw() myimagedata = myimage.saveToString() myimagethingy = StringIO.StringIO(myimagedata) Now you can use myimagethingy as an argument to other Python methods that require a file object such as the manage_addImage() method of a Zope folder, or the open() method of the Python Imaging Library. Otherwise, the Perl docs are a good start. cheers, Sean -- Sean Gillies sgillies@frii.com From ed@topozone.com Fri Dec 6 16:02:20 2002 Received: from topozone.com (host218.209.113.211.conversent.net [209.113.211.218]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6M2Kae004776 for ; Fri, 6 Dec 2002 16:02:20 -0600 (CST) content-class: urn:content-classes:message Subject: RE: [Mapserver-users] Problem with raster images MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 6 Dec 2002 17:01:46 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: <13858AA1A74F30419F319ACB66A9D1221F3A02@mercator.topozone.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Mapserver-users] Problem with raster images Thread-Index: AcKdcTfruFMXG0jySeS8iYsbaLw07wAAcK6Q From: "Ed McNierney" To: "Jan Hartmann" , "Martin Sarsale" Cc: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by lists.gis.umn.edu id gB6M2Kae004776 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Let's see how many wrong trees we can bark up ! We really should do something about that STATUS ON situation. It seems to trip up most new users.... - Ed -----Original Message----- From: Jan Hartmann [mailto:jhart@frw.uva.nl] Sent: Friday, December 06, 2002 4:44 PM To: Martin Sarsale Cc: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images Martin, Please try setting STATUS DEFAULT. In the past this has sometimes solved this sort of problem -:) Jan Hartmann Martin Sarsale wrote: > Thanks a lot :) > > 14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 > > > On Fri, 6 Dec 2002 16:09:16 -0500 > "Ed McNierney" wrote: > > >>Martin - >> >>A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. >> >>The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? >> >>I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. >> >> - Ed >> >> >> >>-----Original Message----- >>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>Sent: Friday, December 06, 2002 3:58 PM >>To: mapserver-users@lists.gis.umn.edu >>Subject: Re: [Mapserver-users] Problem with raster images >> >> >>Thanks for your help :) >> 30.0000000000 >> 0.0000000000 >> 0.0000000000 >> -30.0000000000 >> 4536934.0000000000 >> 6005021.0000000000 >> >>(the file was created with the output of listgeo) >> >>On Fri, 6 Dec 2002 15:34:45 -0500 >>"Ed McNierney" wrote: >> >> >>>Yes! >>> >>>"If you do have such a file, could you post the contents? It's a six-line text file." >>> >>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>Sent: Friday, December 06, 2002 3:07 PM >>>To: mapserver-users@lists.gis.umn.edu >>>Subject: Re: [Mapserver-users] Problem with raster images >>> >>> >>>I have created my TFW file from the geotiff, but the image layer doesn't appear. >>>stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? >>> >>> >>>On Fri, 6 Dec 2002 13:52:58 -0500 >>>"Ed McNierney" wrote: >>> >>> >>>>Martin - >>>> >>>>First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. >>>> >>>> - Ed >>>> >>>>-----Original Message----- >>>>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>Sent: Friday, December 06, 2002 1:43 PM >>>>To: mapserver-users@lists.gis.umn.edu >>>>Subject: Re: [Mapserver-users] Problem with raster images >>>> >>>> >>>>Ed: I don't have the TFW file, but the TIFF is geoTIFF. >>>>Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? >>>> >>>> >>>>On Fri, 6 Dec 2002 13:27:52 -0500 >>>>"Ed McNierney" wrote: >>>> >>>> >>>>>Martin - >>>>> >>>>>Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. >>>>> >>>>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>>Sent: Friday, December 06, 2002 1:18 PM >>>>>To: mapserver-users@lists.gis.umn.edu >>>>>Subject: [Mapserver-users] Problem with raster images >>>>> >>>>> >>>>>Im trying to configure mapserver to show a background image but it's not working and Im not sure why: >>>>>my ex1.map has: >>>>>LAYER # Shaded Relief Raster >>>>> NAME "coso" >>>>> DATA "jul.tif" >>>>> STATUS ON >>>>> TYPE RASTER >>>>>END >>>>> >>>>>but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. >>>>> >>>>>Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. >>>>> >>>>>Some extra info: >>>>> >>>>>------------ >>>>> >>>>>../mapserv -v >>>>>MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE >>>>> >>>>>------------ >>>>> >>>>>NAME P1EX1 >>>>>EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 >>>>>SIZE 400 300 >>>>>SHAPEPATH "/opt/runa/mapserver/shapes/" >>>>> >>>>>LAYER # start of the "states" layer object >>>>> NAME "states" >>>>> DATA "cari-amb" >>>>> STATUS DEFAULT >>>>> TYPE POLYGON >>>>> CLASS >>>>># COLOR 220 220 220 >>>>> OUTLINECOLOR 0 0 0 >>>>> END # end of class object >>>>>END # end of layer object >>>>>LAYER # start of the "states" layer object >>>>> NAME "states" >>>>> DATA "cari-lot" >>>>> STATUS DEFAULT >>>>> TYPE POLYGON >>>>> CLASS >>>>># COLOR 220 220 220 >>>>> OUTLINECOLOR 200 0 0 >>>>> END # end of class object >>>>>END # end of layer object >>>>>LAYER # Shaded Relief Raster >>>>> NAME "coso" >>>>> DATA "jul.tif" >>>>> STATUS ON >>>>> TYPE RASTER >>>>>END >>>>> >>>>>END # end of map file >>>>>---------- >>>>> >>>>>pd: Where can I find a log with mapserv errors? >>>>> >>>>> >>>>>thanks! >>>>>_______________________________________________ >>>>>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 >>>>>Re >>>> >>>>_______________________________________________ >>>>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 >>>>Re >>> >>>_______________________________________________ >>>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 >>>Re >> >>_______________________________________________ >>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 >>Re > > _______________________________________________ > 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 jhart@frw.uva.nl Fri Dec 6 16:09:23 2002 Received: from uvapsy.fmg.uva.nl (root@uvapsy.fmg.uva.nl [145.18.152.23]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6M9Mae004840 for ; Fri, 6 Dec 2002 16:09:23 -0600 (CST) Received: from frw.uva.nl (g0400.fmg.uva.nl [145.18.125.57]) by uvapsy.fmg.uva.nl (8.9.3/8.9.3) with ESMTP id XAA27279; Fri, 6 Dec 2002 23:08:23 +0100 (MET) Message-ID: <3DF11FD6.4070606@frw.uva.nl> Date: Fri, 06 Dec 2002 23:08:22 +0100 From: Jan Hartmann Organization: University of Amsterdam User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ed McNierney CC: Martin Sarsale , mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Problem with raster images References: <13858AA1A74F30419F319ACB66A9D1221F3A02@mercator.topozone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: And even some seasoned ones on occasion ... Jan Ed McNierney wrote: > Let's see how many wrong trees we can bark up ! > > We really should do something about that STATUS ON situation. It seems to trip up most new users.... > > - Ed > > -----Original Message----- > From: Jan Hartmann [mailto:jhart@frw.uva.nl] > Sent: Friday, December 06, 2002 4:44 PM > To: Martin Sarsale > Cc: mapserver-users@lists.gis.umn.edu > Subject: Re: [Mapserver-users] Problem with raster images > > > Martin, > > Please try setting STATUS DEFAULT. In the past this has sometimes solved > this sort of problem -:) > > Jan Hartmann > > Martin Sarsale wrote: > >>Thanks a lot :) >> >>14ene02-g.tif TIFF 2507x1802 DirectClass 8-bit 13238kb 0.5u 0:02 >> >> >>On Fri, 6 Dec 2002 16:09:16 -0500 >>"Ed McNierney" wrote: >> >> >> >>>Martin - >>> >>>A quick look indicates that the problem MAY be that your raster image does not cover the same area you're mapping. >>> >>>The minimum X coordinate in your EXTENT statement in your map file is 4,571,854. This is the left-hand edge of the map. The X coordinate of the upper-left corner of your raster image is 4,536,934 or 1,164 pixels (at 30 units per pixel) to the left. Is the image at least 1,164 pixels wide? If not, it won't show up. Likewise, the image needs to be at least 739 pixels high - the upper-left corner of the raster image is above and to the left of your map EXTENTs. Is that what you expect? >>> >>>I should have asked the first time, but can you give us the width and height of the raster in pixels? Thanks. >>> >>> - Ed >>> >>> >>> >>>-----Original Message----- >>>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>>Sent: Friday, December 06, 2002 3:58 PM >>>To: mapserver-users@lists.gis.umn.edu >>>Subject: Re: [Mapserver-users] Problem with raster images >>> >>> >>>Thanks for your help :) >>> 30.0000000000 >>> 0.0000000000 >>> 0.0000000000 >>> -30.0000000000 >>> 4536934.0000000000 >>> 6005021.0000000000 >>> >>>(the file was created with the output of listgeo) >>> >>>On Fri, 6 Dec 2002 15:34:45 -0500 >>>"Ed McNierney" wrote: >>> >>> >>> >>>>Yes! >>>> >>>>"If you do have such a file, could you post the contents? It's a six-line text file." >>>> >>>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>Sent: Friday, December 06, 2002 3:07 PM >>>>To: mapserver-users@lists.gis.umn.edu >>>>Subject: Re: [Mapserver-users] Problem with raster images >>>> >>>> >>>>I have created my TFW file from the geotiff, but the image layer doesn't appear. >>>>stracing mapserver doesn't show anything related to the file (nor the tiff or the TFW)... any ideas? >>>> >>>> >>>>On Fri, 6 Dec 2002 13:52:58 -0500 >>>>"Ed McNierney" wrote: >>>> >>>> >>>> >>>>>Martin - >>>>> >>>>>First, that's the problem. The quickest solution is to use the listgeo utility (part of the libgeotiff distribution) to create a TFW file from your TIF. >>>>> >>>>> - Ed >>>>> >>>>>-----Original Message----- >>>>>From: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>>Sent: Friday, December 06, 2002 1:43 PM >>>>>To: mapserver-users@lists.gis.umn.edu >>>>>Subject: Re: [Mapserver-users] Problem with raster images >>>>> >>>>> >>>>>Ed: I don't have the TFW file, but the TIFF is geoTIFF. >>>>>Can I build the TFW from the geoTIFF? or I should recompile mapserver to use the geotiff? >>>>> >>>>> >>>>>On Fri, 6 Dec 2002 13:27:52 -0500 >>>>>"Ed McNierney" wrote: >>>>> >>>>> >>>>> >>>>>>Martin - >>>>>> >>>>>>Do you have a world file (.TFW) of the same root name as the TIF file in the same directory? You need to have the geographic reference information to go with the TIF so MapServer knows how to locate it geographically. If you don't have such a file, you need one. If you do have such a file, could you post the contents? It's a six-line text file. >>>>>> >>>>>> - 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: Martin Sarsale [mailto:lists@runa.sytes.net] >>>>>>Sent: Friday, December 06, 2002 1:18 PM >>>>>>To: mapserver-users@lists.gis.umn.edu >>>>>>Subject: [Mapserver-users] Problem with raster images >>>>>> >>>>>> >>>>>>Im trying to configure mapserver to show a background image but it's not working and Im not sure why: >>>>>>my ex1.map has: >>>>>>LAYER # Shaded Relief Raster >>>>>> NAME "coso" >>>>>> DATA "jul.tif" >>>>>> STATUS ON >>>>>> TYPE RASTER >>>>>>END >>>>>> >>>>>>but when I render the map, it shows all the other layers except this one. I've tried moving the file (jul.tif) to the same dir than ex1.map and the shapepath dir, but it still doesn't works. >>>>>> >>>>>>Then, I straced mapserver and I found that it nevers try to open the file jul.tif, so I guess there's a configuration problem, but I've no idea where it is. >>>>>> >>>>>>Some extra info: >>>>>> >>>>>>------------ >>>>>> >>>>>>../mapserv -v >>>>>>MapServer version 3.6.3 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE >>>>>> >>>>>>------------ >>>>>> >>>>>>NAME P1EX1 >>>>>>EXTENT 4571854.02353 5982849.309224 4577998.955481 5978889.343811 >>>>>>SIZE 400 300 >>>>>>SHAPEPATH "/opt/runa/mapserver/shapes/" >>>>>> >>>>>>LAYER # start of the "states" layer object >>>>>> NAME "states" >>>>>> DATA "cari-amb" >>>>>> STATUS DEFAULT >>>>>> TYPE POLYGON >>>>>> CLASS >>>>>># COLOR 220 220 220 >>>>>> OUTLINECOLOR 0 0 0 >>>>>> END # end of class object >>>>>>END # end of layer object >>>>>>LAYER # start of the "states" layer object >>>>>> NAME "states" >>>>>> DATA "cari-lot" >>>>>> STATUS DEFAULT >>>>>> TYPE POLYGON >>>>>> CLASS >>>>>># COLOR 220 220 220 >>>>>> OUTLINECOLOR 200 0 0 >>>>>> END # end of class object >>>>>>END # end of layer object >>>>>>LAYER # Shaded Relief Raster >>>>>> NAME "coso" >>>>>> DATA "jul.tif" >>>>>> STATUS ON >>>>>> TYPE RASTER >>>>>>END >>>>>> >>>>>>END # end of map file >>>>>>---------- >>>>>> >>>>>>pd: Where can I find a log with mapserv errors? >>>>>> >>>>>> >>>>>>thanks! >>>>>>_______________________________________________ >>>>>>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 >>>>>>Re >>>>> >>>>>_______________________________________________ >>>>>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 >>>>>Re >>>> >>>>_______________________________________________ >>>>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 >>>>Re >>> >>>_______________________________________________ >>>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 >>>Re >> >>_______________________________________________ >>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 gerry.creager@tamu.edu Fri Dec 6 16:31:42 2002 Received: from cs.tamu.edu (IDENT:0@clavin.cs.tamu.edu [128.194.130.106]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6MVgae004965 for ; Fri, 6 Dec 2002 16:31:42 -0600 (CST) Received: from page4.cs.tamu.edu (page4 [128.194.145.136]) by cs.tamu.edu (8.11.0/8.11.0) with ESMTP id gB6MV8F15529 for ; Fri, 6 Dec 2002 16:31:08 -0600 (CST) Received: from tamu.edu (page4.cs.tamu.edu [128.194.145.136]) by page4.cs.tamu.edu (8.11.6/8.9.3) with ESMTP id gB6MSWS21025 for ; Fri, 6 Dec 2002 16:28:32 -0600 Message-ID: <3DF12490.4040200@tamu.edu> Date: Fri, 06 Dec 2002 16:28:32 -0600 From: Gerry Creager Reply-To: gerry.creager@tamu.edu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mapserver-users@lists.gis.umn.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] Timestamp? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Is there a good way to place a "Current Time" on the generated MS page? Thanks, Gerry -- Gerry Creager -- gerry.creager@tamu.edu Texas Mesonet -- AATLT, Texas A&M University Office: 979.458.4020 FAX: 979.847.8578 Cell: 979.229.4301 Pager: 979.228.0173 From keon@nacse.org Fri Dec 6 16:43:34 2002 Received: from pancake.NACSE.ORG (pancake.NACSE.ORG [128.193.34.5]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB6MhXae005034 for ; Fri, 6 Dec 2002 16:43:33 -0600 (CST) Received: from nacse.org (widberry.NACSE.ORG [128.193.34.70]) by pancake.NACSE.ORG (8.12.4/8.12.4) with ESMTP id gB6MgxcP009929; Fri, 6 Dec 2002 14:42:59 -0800 (PST) Message-ID: <3DF127F2.1010100@nacse.org> Date: Fri, 06 Dec 2002 14:42:58 -0800 From: Dylan Keon User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gerry.creager@tamu.edu CC: mapserver-users@lists.gis.umn.edu Subject: Re: [Mapserver-users] Timestamp? References: <3DF12490.4040200@tamu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Gerry Creager wrote: > Is there a good way to place a "Current Time" on the generated MS > page? > > Thanks, Gerry If you're not using PHP or Perl, you could use server-side includes if your web server is configured to support them. Something like this... Something like this: will appear as: Friday, 06-Dec-02 14:38:18 PST --Dylan -- ************************************************ Dylan Keon GIS/Database Research Specialist Northwest Alliance for Computational Science and Engineering (NACSE) Oregon State University Corvallis, OR 97331 keon@nacse.org (541) 737-6608 ************************************************ From fx.gamoy@mapxplore.com Sat Dec 7 02:30:40 2002 Received: from smarthost1.mail.easynet.fr (smarthost1.mail.easynet.fr [212.180.1.68]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB78Ueae006795 for ; Sat, 7 Dec 2002 02:30:40 -0600 (CST) Received: from [212.11.36.243] (helo=dns1.mapxplore.com) by smarthost1.mail.easynet.fr with esmtp (Exim 3.35 #1 (Debian)) id 18KaLc-0007tA-00 for ; Sat, 07 Dec 2002 09:30:04 +0100 Received: from local-ip[x.x.x.x] by dns1.mapxplore.com; Sat, 07 Dec 2002 09:30:29 +0000 Message-ID: <001201c29dd3$48475590$0201a8c0@mapxplore.com> From: "fx gamoy" To: Date: Sat, 7 Dec 2002 09:30:29 -0000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C29DD3.48154910" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Subject: [Mapserver-users] help compiling gd-1.8.4 under window plateform Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_000F_01C29DD3.48154910 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello world, i ve got problems to compile this library. gd.lib(gd.obj) : error LNK2001: unresolved external symbol _gdCalloc ........ i am on a win NT plateform. i have read a message talking about this = probleme and have made some changes in the "gd_wbmp.c". What are the other changes i have to do in order to compile this = library? Thanks fx gamoy http://www.mapxplore.com/ =20 ------=_NextPart_000_000F_01C29DD3.48154910 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello world,
i ve got problems to compile this=20 library.
gd.lib(gd.obj) : error LNK2001: unresolved external symbol=20 _gdCalloc
........
 
i am on a win NT plateform. i have read = a message=20 talking about this probleme and have made some changes in the=20 "gd_wbmp.c".
What are the other changes i have to do = in order to=20 compile this library?
Thanks
fx gamoy
http://www.mapxplore.com/
 
 
------=_NextPart_000_000F_01C29DD3.48154910-- From LVN@hvm.dk Sun Dec 8 05:47:37 2002 Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [193.162.153.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB8BlZae013546 for ; Sun, 8 Dec 2002 05:47:36 -0600 (CST) Received: from odin (x1-6-00-80-ad-78-f8-7f.k64.webspeed.dk [80.197.2.47]) by pfepa.post.tele.dk (Postfix) with SMTP id 7C57F4801D1; Sun, 8 Dec 2002 12:47:00 +0100 (CET) Message-ID: <003b01c29eaf$864f3b00$6e00a8c0@odin> Reply-To: "Lars V. Nielsen" From: "Lars V. Nielsen" To: "Richard Greenwood" , Cc: References: <5.2.0.9.0.20021206075749.00a7aa28@mail.greenwoodmap.com> Subject: SUM [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols Date: Sun, 8 Dec 2002 12:43:58 +0100 Organization: Hvenegaard & Meklenborg MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: Hi Both, Thank you Richard and Peter. You're both absolutely right. I installed FontCreator, used it to create a new Unicode font and transfer the glyphs from the original font. And it works ! Which makes me wonder: I've seen Unicode versions of these fonts somewhen (on NT), and I'm running Win2K, so why weren't Unicode fonts installed in the first place !? But that's a different question (and forum). I thank you both. An easy and fast solution is always appreciated :-) Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk ----- Original Messages ----- From: "Richard Greenwood" To: "Lars V. Nielsen" Cc: Sent: Friday, December 06, 2002 4:03 PM Subject: Re: [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols > The MapInfo truetype fonts are of type "symbol", which are not supported by > the freetype library. You need to convert them to ANSI. I use the High > Logic Font Creator program to convert them: http://www.high-logic.com/ > > Rich From: To: ; Sent: Friday, December 06, 2002 12:59 PM Subject: RE: [Mapserver-users] TrueType symbol problems + development suggestion for pixmap symbols > Hello Lars; > > I have also had trouble using fonts that originated in MapInfo. What I > found was that in order for Mapserver to "recognize" a font, the font must > use Windows Unicode character encoding. You can check the character > encoding of a font by using "Character Map" on your PC. > > I was not able to add character encoding to my MapInfo font using the font > creation software I had. So I: > > - found an existing font that used Windows Unicode character encoding > - loaded it into my font creation software > - loaded my MapInfo font into my font creation software > - deleted one of the glyphs from the existing font > - copied the required MapInfo glyph > - pasted it into existing font > > This worked fine for me. > > Have a good day. > > Peter Bruton From LVN@gispro.dk Sun Dec 8 10:34:05 2002 Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [193.162.153.2]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB8GY4ae014478 for ; Sun, 8 Dec 2002 10:34:05 -0600 (CST) Received: from odin (x1-6-00-80-ad-78-f8-7f.k64.webspeed.dk [80.197.2.47]) by pfepa.post.tele.dk (Postfix) with SMTP id AF4E1480235 for ; Sun, 8 Dec 2002 17:33:24 +0100 (CET) Message-ID: <00ae01c29ed7$88b51040$6e00a8c0@odin> From: "Lars V. Nielsen" To: "MAPSERVER-L" Date: Sun, 8 Dec 2002 17:33:21 +0100 Organization: GisPro MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00AB_01C29EDF.E7189A00" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Mapserver-users] Distributed location of tiled images ? Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_00AB_01C29EDF.E7189A00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi List, I'm trying to get a grip on the paths to tiled images. But the only setups that seems to work for me is either having everything cramped into the SHAPEPATH directory, or putting full paths into the index file/table, both of which is not really desirable. There are three setup factors: SHAPEPATH, TILEINDEX and DATA (in the tiled layer), plus a possible path (relative or absolute) in the tile index file/table records (i.e. field Location). Having a index table (without path) + raster in a seperate subdirectory doesn't work. It seems tiles are not relative to the tilindex table itself. Adding a DATA with absolute or relative path to the subdirectory doesn't help. I've also tried more elaborate setups, but listing those will probably obscure the point of this mail. Can anyone tell me exactly how the tiled image location is calculated using the above parameters ? I'm NOT looking for a way to dynamically change locations, I just want to have the rasters distributed in a suitable tree structure. I have "RTFM" :-) , but the documentation of this feature seems a little vague: << TILEINDEX [filename] Full filename for the index or tile definition for this layer. Similar to an ArcInfo library index, this shapefile contains polygon features for each tile. The item that contains the location of the tiled data is given using the TILEITEM parameter. If the DATA parameter contains a value then it is added to the end of the location. If DATA is empty then the location should contain the entire filename. >> Is that SHAPEPATH+TILEINDEX+DATA+Location, or SHAPEPATH+DATA+TILEINDEX+Location, or SHAPEPATH+TILEINDEX+Location+DATA, or always just SHAPEPATH or Location ?? Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ http://hjem.get2net.dk/lars-online/ WGS84: 10.20'40"E 55.20'20"N ------=_NextPart_000_00AB_01C29EDF.E7189A00 Content-Type: text/x-vcard; name="Lars hos GisPro.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Lars hos GisPro.vcf" BEGIN:VCARD VERSION:2.1 N:Nielsen;Lars;V. FN:Lars hos GisPro ORG:GisPro TITLE:Company Manager TEL;WORK;VOICE:+45 70 23 9876 TEL;WORK;FAX:+45 6595 9877 ADR;WORK:;;Ugletoften 309;Odense S;;DK-5260;Denmark LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ugletoften 309=0D=0AOdense S DK-5260=0D=0ADenmark X-WAB-GENDER:2 URL;HOME:http://hjem.get2net.dk/lars-online/ URL;WORK:http://www.gispro.dk EMAIL;PREF;INTERNET:lvn@gispro.dk REV:20021208T163321Z END:VCARD ------=_NextPart_000_00AB_01C29EDF.E7189A00-- From rich@greenwoodmap.com Sun Dec 8 10:50:59 2002 Received: from carme.wyom.net (carme.wyom.net [63.173.212.8]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB8Gowae014535 for ; Sun, 8 Dec 2002 10:50:59 -0600 (CST) Received: from Trentino.greenwoodmap.com (wireless-212-235.wyom.net [63.173.212.235]) by carme.wyom.net (Postfix) with ESMTP id C8EA45C75D; Sun, 8 Dec 2002 09:48:30 -0700 (MST) Message-Id: <5.2.0.9.0.20021208094306.00a774e0@mail.greenwoodmap.com> X-Sender: greenwoodmap02@mail.greenwoodmap.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sun, 08 Dec 2002 09:50:15 -0700 To: "Lars V. Nielsen" From: Richard Greenwood Subject: Re: [Mapserver-users] Distributed location of tiled images ? Cc: mapserver-users@lists.gis.umn.edu In-Reply-To: <00ae01c29ed7$88b51040$6e00a8c0@odin> Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-31E95539; boundary="=======4A181F86=======" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: --=======4A181F86======= Content-Type: text/plain; x-avg-checked=avg-ok-31E95539; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit I can not tell you exactly how the paths work. But I would point out that if you want to work with relative paths be sure to pre-pend ./ to the path in the tile index. For example, if you have a DATA directory and you have an IMAGE directory below it, in your tile index you should specify: ./IMAGE/filename.tif not simply: IMAGE/filename.tif Rich At 05:33 PM 12/8/2002 +0100, you wrote: >Hi List, > >I'm trying to get a grip on the paths to tiled images. But the only setups >that seems to work for me is either having everything >cramped into the SHAPEPATH directory, or putting full paths into the index >file/table, both of which is not really desirable. > >There are three setup factors: SHAPEPATH, TILEINDEX and DATA (in the tiled >layer), plus a possible path (relative or absolute) in >the tile index file/table records (i.e. field Location). > >Having a index table (without path) + raster in a seperate subdirectory >doesn't work. It seems tiles are not relative to the >tilindex table itself. Adding a DATA with absolute or relative path to the >subdirectory doesn't help. I've also tried more elaborate >setups, but listing those will probably obscure the point of this mail. > >Can anyone tell me exactly how the tiled image location is calculated >using the above parameters ? >I'm NOT looking for a way to dynamically change locations, I just want to >have the rasters distributed in a suitable tree structure. > >I have "RTFM" :-) , but the documentation of this feature seems a little >vague: ><< >TILEINDEX [filename] >Full filename for the index or tile definition for this layer. Similar to >an ArcInfo library index, this shapefile contains polygon >features for each tile. The item that contains the location of the tiled >data is given using the TILEITEM parameter. If the DATA >parameter contains a value then it is added to the end of the location. If >DATA is empty then the location should contain the entire >filename. > >> > >Is that SHAPEPATH+TILEINDEX+DATA+Location, or >SHAPEPATH+DATA+TILEINDEX+Location, or SHAPEPATH+TILEINDEX+Location+DATA, >or always >just SHAPEPATH or Location ?? > >Best regards/Med venlig hilsen >Lars V. Nielsen >GisPro, Denmark >http://www.gispro.dk/ >http://hjem.get2net.dk/lars-online/ >WGS84: 10.20'40"E 55.20'20"N > Richard W. Greenwood, PLS (307) 733-0203 Rich@GreenwoodMap.com www.GreenwoodMap.com --=======4A181F86=======-- From rich@greenwoodmap.com Sun Dec 8 19:38:32 2002 Received: from carme.wyom.net (carme.wyom.net [63.173.212.8]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB91cWae026153 for ; Sun, 8 Dec 2002 19:38:32 -0600 (CST) Received: from Trentino.greenwoodmap.com (wireless-212-235.wyom.net [63.173.212.235]) by carme.wyom.net (Postfix) with ESMTP id 3AB0C5C7C3; Sun, 8 Dec 2002 18:36:10 -0700 (MST) Message-Id: <5.2.0.9.0.20021208183246.00a866c8@mail.greenwoodmap.com> X-Sender: greenwoodmap02@mail.greenwoodmap.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Sun, 08 Dec 2002 18:37:57 -0700 To: LVN@hvm.dk From: Richard Greenwood Subject: Fwd: Re: [mapserver-users] MapInfo Truetype fonts Cc: Peter.Bruton@CCRS.NRCan.gc.ca, mapserver-users@lists.gis.umn.edu Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-364D6685; boundary="=======1625790A=======" Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: --=======1625790A======= Content-Type: text/plain; x-avg-checked=avg-ok-364D6685; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Hi Lars and Peter, I was just cleaning up some old emails and came across the following from Flavio Hendry. It addresses our mutual question as to why we need to start with an existing font and copy MapInfo (or other symbol based fonts) characters into it. Thanks Flavio! Rich >MapServer requires "Microsoft Unicode" Platform Fonts (something like >that). You can i.e. use the "Font Creator Program" to alter that (download >on http://www.high-logic.com/). Open the font file and use Format / >Platform Manager, Delete "Microft Symbol" and add "Microsoft Unicode". >Save and it should work (maybe user Save As under some other name ...) > >best regards >flavio Richard W. Greenwood, PLS (307) 733-0203 Rich@GreenwoodMap.com www.GreenwoodMap.com --=======1625790A=======-- From antonienko@el-valles.com Mon Dec 9 02:58:27 2002 Received: from ptserver.net (ptserver.net [212.190.116.225]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB98wQae001569 for ; Mon, 9 Dec 2002 02:58:27 -0600 (CST) Received: from el-valles.com (80-26-49-254.uc.nombres.ttd.es [80.26.49.254]) by ptserver.net (8.12.6/8.12.5) with ESMTP id gB98vjBb049833 for ; Mon, 9 Dec 2002 09:57:51 +0100 (CET) Message-ID: <3DF45B06.7000408@el-valles.com> Date: Mon, 09 Dec 2002 09:57:42 +0100 From: Antonio Hernandez Sanchez User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: es-es, en-us, en MIME-Version: 1.0 To: mapserver-users@lists.gis.umn.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [Mapserver-users] Compilling php_mapscript on FreeBSD Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: I'm trying to compile php_mapscript on freebsd 4.7 with php 4.2.2. As I'm not an expert freebsd user (even not an intermediate unix-like-systems user), I'm not sure of what I'm doing I've downloaded the php 4.2.2 source code, as well as mapscript 3.6.3 source code. I've followed instructions on mapserver documentation, and have run the command: ./configure--with-php=DIR (with the appropiate path to php sources), and I get the following error: ----- checking for location of config.h or php_config.h... configure: error: !!! Could not find config.h or php_config.h in /usr/bin/phpsource/php-4.2.2/. !!! !!! Has PHP been configured yet? !!! ------ I've been searching for php_config.h in the php sources and only found a file named php_config.h.in What else should I've done to get the php_mapscript.so file? Thanks in advance -- Antonio From LVN@gispro.dk Mon Dec 9 05:02:22 2002 Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [193.162.153.3]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB9B2Lae002352 for ; Mon, 9 Dec 2002 05:02:21 -0600 (CST) Received: from odin (x1-6-00-80-ad-78-f8-7f.k64.webspeed.dk [80.197.2.47]) by pfepb.post.tele.dk (Postfix) with SMTP id 0AFFB5EE3A7 for ; Mon, 9 Dec 2002 12:01:47 +0100 (CET) Message-ID: <002901c29f72$5f3d0d80$6e00a8c0@odin> From: "Lars V. Nielsen" To: "MAPSERVER-L" Date: Mon, 9 Dec 2002 12:01:43 +0100 Organization: GisPro MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0026_01C29F7A.BDB77AA0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: [Mapserver-users] Dynamic point creation problems - setXY yields error Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C29F7A.BDB77AA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi List, I'm sure this problem's been touched on before, and as far as I can see I'm doing it by the book. But it still errors. I'm trying to dynamically display points from a MS/SQL using PHP/MapScript, and I've run into a peculiar error: Code snippet: while ($row = mssql_fetch_row($rs)) { $px = $row[1]; // Easting $py = $row[2]; // Northing fputs ($fp, " Coordinate (utm32): ".$px." , ".$py."\r\n"); $pt = ms_newPointObj() or die("Cannot create new point object"); $pt->setXY($px,$py) or die("Cannot assign XY to new point object"); // adding 3rd parameter doesn't help ! ... It aborts with Cannot assign XY to new point object but the previous dump statement produces a valid output: Coordinate (utm32): 724192.12 , 6175749.4 Is this a projection issue ? I haven't set any specifically, but all runs in UTM zone 32 North. I'm simply at my wit's end on this. Mapserver 3.6.3 on Win2K Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ http://hjem.get2net.dk/lars-online/ WGS84: 10.20'40"E 55.20'20"N ------=_NextPart_000_0026_01C29F7A.BDB77AA0 Content-Type: text/x-vcard; name="Lars hos GisPro.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Lars hos GisPro.vcf" BEGIN:VCARD VERSION:2.1 N:Nielsen;Lars;V. FN:Lars hos GisPro ORG:GisPro TITLE:Company Manager TEL;WORK;VOICE:+45 70 23 9876 TEL;WORK;FAX:+45 6595 9877 ADR;WORK:;;Ugletoften 309;Odense S;;DK-5260;Denmark LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Ugletoften 309=0D=0AOdense S DK-5260=0D=0ADenmark X-WAB-GENDER:2 URL;HOME:http://hjem.get2net.dk/lars-online/ URL;WORK:http://www.gispro.dk EMAIL;PREF;INTERNET:lvn@gispro.dk REV:20021209T110143Z END:VCARD ------=_NextPart_000_0026_01C29F7A.BDB77AA0-- From steve.lime@dnr.state.mn.us Mon Dec 9 09:52:12 2002 Received: from co5.dnr.state.mn.us (dnr.state.mn.us [156.98.35.249]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB9FqCae007067 for ; Mon, 9 Dec 2002 09:52:12 -0600 (CST) Received: from DNR-MTA by co5.dnr.state.mn.us with Novell_GroupWise; Mon, 09 Dec 2002 09:51:33 -0600 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0.2 Date: Mon, 09 Dec 2002 09:51:01 -0600 From: "Steve Lime" To: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=_0854CC15.335224A5" Subject: [Mapserver-users] Fwd: Need a new mapscript Sender: mapserver-users-admin@lists.gis.umn.edu Errors-To: mapserver-users-admin@lists.gis.umn.edu X-BeenThere: mapserver-users@lists.gis.umn.edu X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Mapserver Users Mailinglist List-Post: List-Help: List-Subscribe: , List-Archive: --=_0854CC15.335224A5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline --=_0854CC15.335224A5 Content-Type: message/rfc822 Received: from mail.state.mn.us (state.mn.us [156.99.125.109]) by co5.dnr.state.mn.us; Mon, 09 Dec 2002 08:59:11 -0600 Return-Path: Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Mon, 9 Dec 2002 08:58:55 -0600 Received: from caracoli.cdmb.gov.co (caracoli.cdmb.gov.co [200.30.115.142]) by lists.gis.umn.edu (8.12.6/8.12.6) with ESMTP id gB9ExQae004217 for ; Mon, 9 Dec 2002 08:59:27 -0600 (CST) Message-Id: <001d01c29f94$04e3a840$9a0000c0@cdmb.gov.co> Reply-To: "Edgar Jesus Rojas" From: "Edgar Jesus Rojas" To: Subject: Need a new mapscript Date: Mon, 9 Dec 2002 10:02:39 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C29F6A.1BB08C20" This is a multi-part message in MIME format. ------=_NextPart_000_