From wilmanrojas at geoweb.com.co Sat Nov 1 13:50:13 2003 From: wilmanrojas at geoweb.com.co (Wilman Rojas) Date: Sat, 01 Nov 2003 16:50:13 -0500 Subject: [Mapserver-users] String the Atribute Data very long in Mapserv 4.0 Message-ID: <006801c3a0c2$21318960$7d00a8c0@investigacion> This is a multi-part message in MIME format. --Boundary_(ID_awJVbOEmw+mskmNsF5mgzw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Hi. My problem is that set a attribute data of layer by a string of consult very long and no work but in mapserv 3.6 if work. Wilman Rojas. --Boundary_(ID_awJVbOEmw+mskmNsF5mgzw) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

 

Hi.

 

My problem is that set a attribute data of layer by a string of consult very long and no work but in mapserv 3.6 if work.

 

Wilman Rojas.

 

--Boundary_(ID_awJVbOEmw+mskmNsF5mgzw)-- From wilmanrojas at geoweb.com.co Thu Nov 6 18:09:18 2003 From: wilmanrojas at geoweb.com.co (Wilman Rojas) Date: Thu, 06 Nov 2003 21:09:18 -0500 Subject: [Mapserver-users] Select of a element and draw with MapScript Message-ID: <002d01c3a4d4$26d8a4a0$7d00a8c0@investigacion> This is a multi-part message in MIME format. --Boundary_(ID_uIDivuYPo+jQ4I8+/VQa8w) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable Hi. =20 I need select a element in the map. But whit a attribute and de draw the map with element select. How realize this? =20 =20 Wilman Rojas. Jefe Investigaci=F3n y Desarrollo. Geoweb S.A=20 www.geoweb.com.co =20 --Boundary_(ID_uIDivuYPo+jQ4I8+/VQa8w) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: quoted-printable

Hi.

 

I need select a element in the map. But whit a attribute and de draw the map with element = select.

How realize = this?

 

 

Wilman Rojas.

Jefe Investigaci=F3n y = Desarrollo.

Geowe= b S.A

www.g= eoweb.com.co

 

--Boundary_(ID_uIDivuYPo+jQ4I8+/VQa8w)-- From nicolas at mail.maich.gr Sat Nov 1 05:37:36 2003 From: nicolas at mail.maich.gr (Nicolas Boretos) Date: Sat, 1 Nov 2003 15:37:36 +0200 Subject: [Mapserver-users] Simple query Message-ID: <200311011537.AA94110036@mail.maich.gr> Hi, I have 2, seemingly simple questions. Does someone have an example of querying a map and displaying the polygons that fullfill that criteria in a different color; eg AREA > 2000 Is this possible in the ms cgi, or do I need mapscript Is it possible to (over)write a field in a record in the dbf with mapscript? I am searching the list but figured I would ask anyway.... regards, nicolas boretos P.S I am using ms3.4 From gerry.creager at tamu.edu Sat Nov 1 08:15:47 2003 From: gerry.creager at tamu.edu (Gerry Creager N5JXS) Date: Sat, 01 Nov 2003 10:15:47 -0600 Subject: [Mapserver-users] "3D like" polygon rendering ? In-Reply-To: References: Message-ID: <3FA3DC33.4070900@tamu.edu> Very cool! Thanks for the link! gerry Tyler Mitchell wrote: > > > > > Maybe you were thinking of this: > http://www.seascallop.com/Norman_Vine/Gulf_of_Maine3D.html > > mapserver-users-admin at lists.gis.umn.edu wrote on 10/30/2003 03:42:20 PM: > > >>hi, >> >>i can't remember where i saw a mapserver map (i think it was made with >>mapserver, i may be a website listed in the galery part of the mapserver >>website) that renderer polygone with a non flat aspect. >>does anyone can explain to me how to make such an effect ? -- Gerry Creager -- gerry.creager at tamu.edu Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From innaj at web.de Sat Nov 1 09:16:23 2003 From: innaj at web.de (Inna Janssen) Date: Sat, 1 Nov 2003 18:16:23 +0100 Subject: [Mapserver-users] installation of mapscript Message-ID: <200311011716.hA1HGMQ18359@mailgate5.cinetic.de> I'm struggling with the installation of MapScript on redhat 7.3: To have MapScript installed I need to recompile php with the option --with-regex=system but the make procedure of php stops with the following error: /root/php-4.3.3/ext/standard/browscap.c:207: undefined reference to `php_regcomp' /root/php-4.3.3/ext/standard/browscap.c:210: undefined reference to `php_regexec' /root/php-4.3.3/ext/standard/browscap.c:213: undefined reference to `php_regfree' ext/standard/reg.o: In function `_php_regcomp': /root/php-4.3.3/ext/standard/reg.c:47: undefined reference to `php_regcomp' ext/standard/reg.o: In function `php_reg_eprint': /root/php-4.3.3/ext/standard/reg.c:119: undefined reference to `php_regerror' /root/php-4.3.3/ext/standard/reg.c:124: undefined reference to `php_regerror' /root/php-4.3.3/ext/standard/reg.c:129: undefined reference to `php_regerror' /root/php-4.3.3/ext/standard/reg.c:142: undefined reference to `php_regerror' ext/standard/reg.o: In function `php_ereg': /root/php-4.3.3/ext/standard/reg.c:205: undefined reference to `php_regexec' ext/standard/reg.o: In function `php_reg_replace': /root/php-4.3.3/ext/standard/reg.c:306: undefined reference to `php_regexec' ext/standard/reg.o: In function `php_split': /root/php-4.3.3/ext/standard/reg.c:558: undefined reference to `php_regexec' ext/standard/reg.o: In function `_free_reg_cache': /root/php-4.3.3/ext/standard/reg.c:66: undefined reference to `php_regfree' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 I use php4.3.3. Without the option with-regex=system php compiles. I don't find any clue on the web to solve this problem. Can anybody help me? Is it possible to use an older version of php where I don't need that option with-regex=system ? Or can someone provide me the compiled php_mapscript.so for redhat ? Maybe I'm lucky and it just works?... ______________________________________________________________________________ Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2 Kostenlos downloaden: http://screensaver.web.de/?mc=021110 From emiliom at u.washington.edu Sat Nov 1 10:42:16 2003 From: emiliom at u.washington.edu (Emilio Mayorga) Date: Sat, 01 Nov 2003 10:42:16 -0800 Subject: [Mapserver-users] Re: MUM website "Contributed Utilities Message-ID: <3FA3FE88.7050007@u.washington.edu> Chris, Re: TextPad Syntax file. I downloaded one from the Textpad web site about 10 days ago. It looks like it was created by someone else, for MS 3.6 (its file date is March 2003, it's by Laurent Chevalier). It's missing some MS keywords. Did you create yours based on that one, and do you know if yours is better for MS 4? I've done a quick comparison -- the other one seems to miss fewer keywords, compared to yours. Thanks, though! -Emilio From mark at markrodrigo.com Sun Nov 2 12:08:18 2003 From: mark at markrodrigo.com (Mark Rodrigo) Date: Sun, 2 Nov 2003 13:08:18 -0700 Subject: [Mapserver-users] volunteer to test my mapscript.so? Message-ID: Hello: I have just about everything I want built on Linux, but my php_mapscript.so still does not want to show up when I run the phpinfo scripts. I have seen what mapscript looks like after running one of the tests on windows, but have not seen it come up on Linux yet. I am not sure if it is how I have PHP configured. Can anybody test my php_mapscript.so if I email it to you? It was built with Mapserver 4.x & PHP 4.3.3 with FastCGI. Thanks Mark From carl.anderson at vadose.org Sun Nov 2 19:16:20 2003 From: carl.anderson at vadose.org (Carl Anderson) Date: Sun, 2 Nov 2003 22:16:20 -0500 Subject: [Mapserver-users] Very Large tiff output Message-ID: <20031103031620.GA11684@vadose.dvg> I am at a loss...... Sometime ago I remember a comment that production images of 20,000 x 20,000 pixels were being created using mapserver. I am testing compositing images into much larger tiles (building seamless.usgs.gov into quarter quads). When the requested image size exceeds about 12,000 x 12,000 pixels I am getting msSaveImageGDAL(): General error message. Failed to create MEM dataset. using "top" the peak memory use is 2.7Gb The test system has 4Gb or real memory and 6Gb of swap and map.h has #define MS_MAXIMGSIZE 35000 standard gdal tools gdalwarp and gdal_translate are fine with a 25,000 x 25,000 GTiff file. what am I missing? C. From agillesp at vt.edu Sun Nov 2 21:00:09 2003 From: agillesp at vt.edu (Abram Gillespie) Date: Mon, 03 Nov 2003 00:00:09 -0500 Subject: [Mapserver-users] compiling regex on windows Message-ID: <9952785A-0DBA-11D8-9095-000A957A0F9C@vt.edu> i'm trying to compile the regex lib on windows 2000 with vs.net. i get the following error: c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open include file: 'strings.h': No such file or directory then when i define HAVE_STRING_H to try to fix the above error i get these: c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : redefinition; previous definition was a 'function' c:\source_code\regex-0.12\regex.h(404) : see declaration of 're_set_syntax' c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : missing ';' before identifier 'reg_syntax_t' c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected end of file found anything i can do? thanks. abe From ter-haseborg at sf-datentechnik.de Mon Nov 3 03:25:41 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Mon, 3 Nov 2003 12:25:41 +0100 Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty exception Message-ID: <0DF955F15A102E4F81B948D44A45015A06924A@nt-sf-exchange.Windows2000> Hi Debbie, from the PHP/MapScript for dynamic layer creation you shared with us I learned, that you're doing getFeatureInfos against a php-created layer. Does the error description below sound similar to anything you ran against during your development? Or are there any configuration-differences in the mapfile compared to your approach? Since there was low feedback from the list on this , I hope you could give me a hint. TIA, Frieso >-----Original Message----- >From: Frieso ter Haseborg >Sent: Tuesday, October 28, 2003 9:52 AM >To: mapserver-users at lists.gis.umn.edu >Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty >exception > > >Hi, > >I ran into a problem doing a getFeatureInfo-request on a dynamic layer. >I've got a PHP/Mapscript-component to build dynamic layers, this works >well on getMap-requests. Trying to do a getFeatureInfo-request I get >some strange results: > >When performin a request with a url like this: > >http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version= >1.1.0&req >uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te >xt/plain& >BBOX=2574700,5752000,2589700,5767000 > >I get an xml-doc with an empty exception statement: > > >"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> > > > > > >This is the corresponding part of the mapfile: > >LAYER > NAME "wms" > TEMPLATE test.html > STATUS ON > TYPE POLYGON > CONNECTION "http://my.ip/kmvims/test4.php" > CONNECTIONTYPE WMS > TOLERANCE 3 > METADATA > "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326 >EPSG:42304" > "wms_name" "wms" > "wms_title" "test" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" > "wms_format" "image/gif" > "WMS_FEATURE_INFO_MIME_TYPE" "text/html" > > END > OFFSITE 255 255 255 >END > >system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP 4.3.2, >MapScript >rev 1.177 > >The getFeatureInfo-request works fine on my shape-layers but no success >on the dynamic layer. And what's oddest, the php in my dynamic layer >seems not to be executed at all. When doing a getFeatureInfo-request I >do just a echo "test"; and log the get-Parameters into a logfile. But >the log stays untouched, whereas the log works fine on the >getMap-request. Any ideas? > >Any hint would be appreciated. > >TIA, > >Frieso ter Haseborg >- Software Development - > >-- > >-------------------------------------------------- >S&F Datentechnik GmbH&Co.KG >Reimersstr. 41b >26789 Leer, Germany > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From bartvde at xs4all.nl Mon Nov 3 03:48:53 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Mon, 3 Nov 2003 12:48:53 +0100 (CET) Subject: [Mapserver-users] cascading transparently from ArcIMS Message-ID: <10552.212.238.227.182.1067860133.squirrel@webmail.xs4all.nl> Hi list, has anybody succeeded in getting Mapserver to display images from ArcIMS in a transparent way? I tried using PNG (both 8 and 24 bit) on ArcIMS 4.0, since I do not have a GIF license for it. But I cannot get it to display transparently. Any info would be appreciated. Best regards, Bart In the WMS client HWOTO it says: PNG format with transparent=true does not work well with all servers. For instance some servers use the alpha channel for transparency (RGBA images) but this is not well supported by MapServer at the moment. So you may be forced to request GIF format maps in those cases. Transparent PNGs produced by the MapServer WMS work well though since they are paletted images. From edspremolla at Antel.com.uy Mon Nov 3 04:50:02 2003 From: edspremolla at Antel.com.uy (Eduardo Spremolla) Date: 03 Nov 2003 09:50:02 -0300 Subject: [Mapserver-users] Simple query In-Reply-To: <200311011537.AA94110036@mail.maich.gr> References: <200311011537.AA94110036@mail.maich.gr> Message-ID: <1067863801.2876.1.camel@fly.in.iantel.com.uy> Provided that you have a AREA column in the data source, tray a featurequery and set the querymode to HILITE LALO El s??b, 01 de 11 de 2003 a las 10:37, Nicolas Boretos escribi??: > Hi, > > I have 2, seemingly simple questions. > > Does someone have an example of querying a map and displaying the polygons that fullfill that criteria in a different color; > > eg AREA > 2000 > Is this possible in the ms cgi, or do I need mapscript > > Is it possible to (over)write a field in a record in the dbf with mapscript? > > I am searching the list but figured I would ask anyway.... > > regards, > > nicolas boretos > P.S I am using ms3.4 > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From baud.remy at caramail.com Mon Nov 3 05:48:07 2003 From: baud.remy at caramail.com (baud remi ) Date: Mon, 03 Nov 2003 14:48:07 +0100 Subject: [Mapserver-users] mapserver application demo with flash Message-ID: <1067867287015829@lycos-europe.com> 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_Lycos_0158291067867287_ID Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Hi, I wanted to know if someone already made an application with mapserver using Flash output. I'll be very curious to see what we can do with it. Do someone had a link about a sample application? Cheers Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co=FBt du SMS). --=_NextPart_Lycos_0158291067867287_ID-- From nicolas.fortin at ec.gc.ca Mon Nov 3 05:53:54 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Mon, 3 Nov 2003 08:53:54 -0500 Subject: TR : RE : RE : [Mapserver-users] Projection conversion Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A211.EB4A88A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 After speaking to the geo staff here, I found why it doesn't works. = The LCC we use is an "home-made" LCC so I had to add a line to the epsg file. =20 Here is my new line : # Canada Lambert Conformal Conic EC-CMI <111111> +proj=3Dlcc +lat_1=3D49 +lat_2=3D77 +lat_0=3D63 = +lon_0=3D-91.8666 +x_0=3D6200000 +y_0=3D2958000 +ellps=3DGRS80 +datum=3DNAD83 +units=3Dm = no_defs <> Of course, now I use=20 =20 PROJECTION=20 "epsg:111111" END =20 Now the reprojection is perfect! Thx a lot for your help! =20 Nick =20 -----Message d'origine----- De : Tyler Mitchell [mailto:TMitchell at lignum.com]=20 Envoy=E9 : Friday, October 31, 2003 1:52 PM =C0 : nicolas.fortin at ec.gc.ca Objet : Re: RE : RE : [Mapserver-users] Projection conversion Hey Nick,=20 Good stuff, I think you're on the right track. =20 I think that maybe the easiest thing to do would be to change your SDO query: > DATA "GEOLOC FROM USR_BATHY.SHORELINE USING SRID 82196" So that the SRID matches the EPSG:102002. Then you wouldn't, in = theory, have to set your project for the layers at all. =20 Let us know how you get on. =20 Tyler -----mapserver-users-admin at lists.gis.umn.edu wrote: ----- To: TMitchell at lignum.com, nicolas.fortin at ec.gc.ca From: nicolas.fortin at ec.gc.ca Sent by: mapserver-users-admin at lists.gis.umn.edu Date: 10/31/2003 10:15AM cc: mapserver-users at lists.gis.umn.edu Subject: RE : RE : [Mapserver-users] Projection conversion Thanks for your answer! The EXTENT in comment is an extent on the shoreline layer and if I = switch to it, I'll see the shoreline correctly. If I remove all the PROJECTION, all work fine too but only one layer at = a time depending of the bounding box uses. I'll see if epsg:2145 and epsg:102002 are 'really' the same as the SDO projection... Nick -----Message d'origine----- De : Tyler Mitchell [mailto:TMitchell at lignum.com ]=20 Envoy=E9 : Friday, October 31, 2003 11:46 AM =C0 : nicolas.fortin at ec.gc.ca Cc : mapserver-users at lists.gis.umn.edu Objet : RE : [Mapserver-users] Projection conversion I haven't used Oracle Spatiall, but if you are wondering about = projections, here is an idea to try. It looks too me like you have everything setup properly in your map file - the only problem may be your data. Your map = file project setting and your "PointTest" layer's projection settings are = the same, therefore, no reprojecting is required for that layer. Your "shoreline" layer has a different EPSG, so it has to project it. I'd guess that there could be at least 3 things going on: - Your request for the data using SRID=3D82196 may not be giving you = data that is in EPSG:2145 - EPSG:2145 may be wrong altogether - There is no data being returned from Oracle. I suggest changig the EXTENT and map file PROJECTION settings to match = your Shoreline data. If you can view the shoreline data, then you can at = least rule out my last point above. Tyler > I'm new to mapserver and I'm making some tests to make it work with=20 > Oracle spatial (very simple tests though). > > One of my test consist of two layers, one in Lambert Conformal Conic > (LCC) and the other in NAD83 MTM Zone 8. > > I wonder if I have to do something special to make Mapserver convert=20 > between projection... > > For the mapfile below, only the LCC layer is visible in the bounding=20 > box. > > # BEGIN MAPFILE > # Mapserver test 3 for Oracle > # Nicolas Fortin, Env Can nicolas.fortin at ec.gc.ca > > NAME MS_ORA_TEST_3 > EXTENT 7613000 1218000 7620000 1227000 > #EXTENT 275000 5019000 280000 5027000 > SIZE 350 450 > PROJECTION > "init=3Depsg:102002" > END > > LAYER # Test table > NAME "PointTest" > TYPE POINT > CONNECTIONTYPE oraclespatial > CONNECTION "martins/****@bayfield" > DATA "GEOLOC FROM MARTINS.CT_LCC_MI" > STATUS DEFAULT > DUMP TRUE > > PROJECTION > "init=3Depsg:102002" > END > > CLASS # PolyClass > NAME "Point" > COLOR 0 100 240 > OUTLINECOLOR 0 0 0 > END > > END # LAYER > > LAYER # Test table > NAME Shoreline > TYPE LINE > CONNECTIONTYPE oraclespatial > CONNECTION "usr_bathy/****@bayfield" > DATA "GEOLOC FROM USR_BATHY.SHORELINE USING SRID 82196" > STATUS DEFAULT > DUMP TRUE > > PROJECTION > "init=3Depsg:2145" > END > > CLASS # PolyClass > NAME "Shoreline" > COLOR 0 0 0 > #LABEL > # COLOR 0 0 0 > #END # LABEL > END > > END # LAYER > > END > # END MAPFILE > Thx, > Nicolas Fortin > Math=E9maticien, Programmeur, Analyste de donn=E9es > SMC-Qu=E9bec Hydrologie, Environnement Canada > 1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin at ec.gc.ca > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users =20 ------_=_NextPart_001_01C3A211.EB4A88A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi,
 
After=20 speaking to the geo staff here, I found why it doesn't works.  The = LCC we=20 use is an "home-made" LCC so I had to add a line to the epsg=20 file.
 
Here=20 is my new line :
#=20 Canada Lambert Conformal Conic EC-CMI
<111111> +proj=3Dlcc = +lat_1=3D49=20 +lat_2=3D77 +lat_0=3D63 +lon_0=3D-91.8666 +x_0=3D6200000 +y_0=3D2958000 = +ellps=3DGRS80=20 +datum=3DNAD83 +units=3Dm  no_defs = <>
Of=20 course, now I use
 
PROJECTION
 =20 "epsg:111111"
END
 
Now=20 the reprojection is perfect!
Thx a=20 lot for your help!
 
Nick
 
-----Message d'origine-----
De : Tyler Mitchell = [mailto:TMitchell at lignum.com]
Envoy=E9 : Friday, = October 31, 2003=20 1:52 PM
=C0 : = nicolas.fortin at ec.gc.ca
Objet : Re: RE=20 : RE : [Mapserver-users] Projection = conversion

Hey Nick,
Good stuff, I think you're on the right track. 
I think that maybe the easiest thing to do would be to change your = SDO=20 query:
>   DATA "GEOLOC FROM = USR_BATHY.SHORELINE=20 USING SRID 82196"
So that the SRID matches the = EPSG:102002.  Then=20 you wouldn't, in theory, have to set your project for the layers at = all.
 
Let us know how you get on.
 
Tyler
-----mapserver-users-admin at lists.gis.umn.edu wrote:=20 -----

To: TMitchell at lignum.com, = nicolas.fortin at ec.gc.ca
From:=20 nicolas.fortin at ec.gc.ca
Sent by:=20 mapserver-users-admin at lists.gis.umn.edu
Date: 10/31/2003 10:15AM
c= c:=20 mapserver-users at lists.gis.umn.edu
Subject: RE : RE : = [Mapserver-users]=20 Projection conversion

Thanks for = your=20 answer!

The EXTENT in comment is an extent on the shoreline = layer and if=20 I switch to
it, I'll see the shoreline correctly.

If I remove = all the=20 PROJECTION, all work fine too but only one layer at a
time depending = of the=20 bounding box uses.

I'll see if epsg:2145 and epsg:102002 are = 'really' the=20 same as the SDO
projection...

Nick

-----Message=20 d'origine-----
De : Tyler Mitchell [mailto:TMitchell at lignum.com]
Envoy=E9 : Friday, = October 31,=20 2003 11:46 AM
=C0 : nicolas.fortin at ec.gc.ca
Cc :=20 mapserver-users at lists.gis.umn.edu
Objet : RE : [Mapserver-users] = Projection=20 conversion







I haven't used Oracle = Spatiall, but if=20 you are wondering about projections,
here is an idea to try. It = looks too me=20 like you have everything setup
properly in your map file - the only = problem=20 may be your data. Your map file
project setting and your "PointTest" = layer's=20 projection settings are the
same, therefore, no reprojecting is = required for=20 that layer.  Your
"shoreline" layer has a different EPSG, so it = has to=20 project it.

I'd guess that there could be at least 3 things = going=20 on:
- Your request for the data using SRID=3D82196 may not be giving = you data=20 that
is in EPSG:2145
- EPSG:2145 may be wrong altogether
- = There is no=20 data being returned from Oracle.

I suggest changig the EXTENT = and map=20 file PROJECTION settings to match your
Shoreline data.  If you = can view=20 the shoreline data, then you can at least
rule out my last point=20 above.

Tyler

> I'm new to mapserver and I'm making = some tests=20 to make it work with
> Oracle spatial (very simple tests=20 though).
>
> One of my test consist of two layers, one in = Lambert=20 Conformal Conic
> (LCC) and the other in NAD83 MTM Zone = 8.
>
>=20 I wonder if I have to do something special to make Mapserver convert =
>=20 between projection...
>
> For the mapfile below, only the = LCC layer=20 is visible in the bounding
> box.
>
> # BEGIN = MAPFILE
>=20 # Mapserver test 3 for Oracle
> # Nicolas Fortin, Env Can=20 nicolas.fortin at ec.gc.ca
>
> NAME MS_ORA_TEST_3
> = EXTENT=20 7613000 1218000 7620000 1227000
> #EXTENT 275000 5019000 280000=20 5027000
> SIZE 350 450
> PROJECTION
>  =20 "init=3Depsg:102002"
> END
>
> LAYER # Test = table
>  =20 NAME "PointTest"
>   TYPE POINT
>   = CONNECTIONTYPE=20 oraclespatial
>   CONNECTION "martins/****@bayfield"
> =  =20 DATA "GEOLOC FROM MARTINS.CT_LCC_MI"
>   STATUS = DEFAULT
>=20   DUMP TRUE
>
>   PROJECTION
>   =  =20 "init=3Depsg:102002"
>   END
>
>   CLASS #=20 PolyClass
>     NAME "Point"
>     = COLOR 0 100=20 240
>     OUTLINECOLOR 0 0 0
>   = END
>
>=20 END # LAYER
>
> LAYER # Test table
>   NAME=20 Shoreline
>   TYPE LINE
>   CONNECTIONTYPE=20 oraclespatial
>   CONNECTION = "usr_bathy/****@bayfield"
>  =20 DATA "GEOLOC FROM USR_BATHY.SHORELINE USING SRID 82196"
>   = STATUS=20 DEFAULT
>   DUMP TRUE
>
>   = PROJECTION
>=20     "init=3Depsg:2145"
>   END
>
> =   CLASS #=20 PolyClass
>     NAME "Shoreline"
>     = COLOR 0 0=20 0
>     #LABEL
>     #  COLOR 0 0 = 0
>=20     #END # LABEL
>   END
>
> END #=20 LAYER
>
> END
> # END MAPFILE
> Thx,
> = Nicolas=20 Fortin
> Math=E9maticien, Programmeur, Analyste de = donn=E9es
>=20 SMC-Qu=E9bec Hydrologie, Environnement Canada
> 1141, Rte de = l'=C9glise,=20 Sainte-Foy(QC) G1V 4H5
> (418)648-2516
> = nicolas.fortin at ec.gc.ca=20 <mailto:nicolas.fortin at ec.gc.ca>
>

___= ____________________________________________
Mapserver-users=20 mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=
------_=_NextPart_001_01C3A211.EB4A88A0-- From assefa at dmsolutions.ca Mon Nov 3 06:32:21 2003 From: assefa at dmsolutions.ca (Yewondwossen Assefa) Date: Mon, 03 Nov 2003 09:32:21 -0500 Subject: [Mapserver-users] mapserver application demo with flash In-Reply-To: <1067867287015829@lycos-europe.com> References: <1067867287015829@lycos-europe.com> Message-ID: <3FA666F5.3040905@dmsolutions.ca> There is an application done using the flash raster output at : http://www.dmsolutions.ca/techserv/makeapmap.html Later, baud remi wrote: > Hi, > > I wanted to know if someone already made an application with mapserver using Flash output. > > I'll be very curious to see what we can do with it. > > Do someone had a link about a sample application? > > Cheers > > Pour gagner une Playstation 2, envoyez un SMS avec le code PS au 61321 (0,35 euro hors co?t du SMS). > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From Mike.Elstermann at itc-halle.de Mon Nov 3 06:35:52 2003 From: Mike.Elstermann at itc-halle.de (Elstermann, Mike) Date: Mon, 3 Nov 2003 15:35:52 +0100 Subject: [Mapserver-users] postgis/postgrsql/geos Message-ID: <8BC0EAF5B383D711B69E0006293896C7B18370@ZEVHNT6> hi, i have a problem :-( i'm working with suse 8.2 , postgresql 7.3.3, postgis 0.7.5 ... wonderful :-) now i want to use some spatial functions: intersects, .... thats why i have installed GEOS (./configure, make, make install) ... successfully :-) but when I start a select with spatial function it doesn't works ??? for example: select disjoint(\'LINESTRING(0 0,0 0)\'::geometry, \'LINESTRING(0 0,0 1)\'::geometry ); Warning: pg_exec() query failed: ERROR: Function disjoint(geometry, geometry) does not exist Unable to identify a function that satisfies the given argument types You may need to add explicit typecasts where is the error? ::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/RIS, e-Solutions ::: IT-Consult Halle GmbH, Bornknechtstra?e 5, 06108 Halle (Saale) ::: Sitz: Gro?e Nikolaistra?e 8 ::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 02 ::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de ::: GeoDaten Online? -> http://www.itcgis.de From api at justapi.de Mon Nov 3 06:40:49 2003 From: api at justapi.de (Sebastian Albrecht) Date: Mon, 3 Nov 2003 15:40:49 +0100 Subject: [Mapserver-users] distanceToPoint in kilometres? Message-ID: <86286400752.20031103154049@justapi.de> Hi everybody, I just tried to use the distanceToPoint method in my PHP Mapscript application. It seems to calculate the mathematical distance of the two given points (Pythagoras?). Of course this is not very useful because I cannot convert it to a metric distance so that a distance of 90,00 can be very short (at the poles) or very long. Is there a possibility to calculate the real distance considering projection and ellipsoids? I think it might work with PROJ.4 somehow, but the whole site seems to be offline at the moment. Does anybody have a clue? Best regards, Sebastian From eric at gomoos.org Mon Nov 3 01:52:42 2003 From: eric at gomoos.org (Eric Bridger) Date: 03 Nov 2003 09:52:42 +0000 Subject: [Mapserver-users] symbols within my legend In-Reply-To: References: Message-ID: <1067853167.1838.4.camel@ubet.gomoos.org> You should post your map file so we can see if there are any problems with it. On Sat, 2003-11-01 at 05:08, Richie Pierce wrote: > I am working on my first MapServer application and have some basic question. I have got a map up with 3 layers. 1) the symbols for my layers are not showing up within my legend. The text is fine but the symbols are blank. 2) the bounding box for my reference (overview) window is way off. When I am zoomed to full extent in the map, the reference box is a small box in the northern part of the reference image. 3) eventually I would like to have a text box where the user would be able to enter text and search for a record, then zoom to that record. Any one have some examples of this. As well as the basic answers to my other questions? Thanks in advance > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From eric at gomoos.org Mon Nov 3 02:00:47 2003 From: eric at gomoos.org (Eric Bridger) Date: 03 Nov 2003 10:00:47 +0000 Subject: [Mapserver-users] Simple query In-Reply-To: <200311011537.AA94110036@mail.maich.gr> References: <200311011537.AA94110036@mail.maich.gr> Message-ID: <1067853653.1838.12.camel@ubet.gomoos.org> 1) You can display polygons in different colors by using CLASS EXPRESSIONs in you map file. e.g. LAYER NAME "polys" TYPE POLYGON DATA "data/polys" CLASS EXPRESSION ([AREA] > 2000) COLOR 255 0 0 END CLASS EXPRESSION ([AREA] <= 2000) COLOR 0 255 0 END END 2) You will need to use a DBF library/module to edit dbf files. I think the mapscript lib only allows you to read dbf files. In perl I use: XBase. On Sat, 2003-11-01 at 13:37, Nicolas Boretos wrote: > Hi, > > I have 2, seemingly simple questions. > > Does someone have an example of querying a map and displaying the polygons that fullfill that criteria in a different color; > > eg AREA > 2000 > Is this possible in the ms cgi, or do I need mapscript > > Is it possible to (over)write a field in a record in the dbf with mapscript? > > I am searching the list but figured I would ask anyway.... > > regards, > > nicolas boretos > P.S I am using ms3.4 > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From thorne at dmsolutions.ca Mon Nov 3 07:07:08 2003 From: thorne at dmsolutions.ca (Christopher R. Thorne) Date: Mon, 03 Nov 2003 10:07:08 -0500 Subject: [Mapserver-users] Re: MUM website "Contributed Utilities In-Reply-To: <3FA3FE88.7050007@u.washington.edu> References: <3FA3FE88.7050007@u.washington.edu> Message-ID: <3FA66F1C.5040103@dmsolutions.ca> For the most part it handle's MS 4. The Parameter "STYLE" is highlighted. The symbol file I have is out of date, for sure. I believe that I also got it from TextPad several months ago. I will look into the latest map.sym Thanks, Chris Emilio Mayorga wrote: > > Chris, > > Re: TextPad Syntax file. I downloaded one from the Textpad web site > about 10 days ago. It looks like it was created by someone else, for MS > 3.6 (its file date is March 2003, it's by Laurent Chevalier). It's > missing some MS keywords. Did you create yours based on that one, and do > you know if yours is better for MS 4? > > I've done a quick comparison -- the other one seems to miss fewer > keywords, compared to yours. > > Thanks, though! > > -Emilio > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- Christopher R. Thorne GIS Specialist, DM Solutions Group Inc. http://www.dmsolutions.ca email: thorne at dmsolutions.ca Phone: (613) 565-5056 ext.22 Fax : (613) 565-0925 ------------------------------ From warmerdam at pobox.com Mon Nov 3 07:07:43 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon, 03 Nov 2003 10:07:43 -0500 Subject: [Mapserver-users] Very Large tiff output In-Reply-To: <20031103031620.GA11684@vadose.dvg> References: <20031103031620.GA11684@vadose.dvg> Message-ID: <3FA66F3F.60208@pobox.com> Carl Anderson wrote: > > I am at a loss...... > > Sometime ago I remember a comment that production images of 20,000 x > 20,000 pixels were being created using mapserver. > > I am testing compositing images into much larger tiles (building > seamless.usgs.gov into quarter quads). When the requested image size > exceeds about 12,000 x 12,000 pixels I am getting > > msSaveImageGDAL(): General error message. Failed to create MEM dataset. > > using "top" the peak memory use is 2.7Gb > > The test system has 4Gb or real memory and 6Gb of swap > and map.h has > #define MS_MAXIMGSIZE 35000 > > standard gdal tools gdalwarp and gdal_translate are fine with a 25,000 > x 25,000 GTiff file. Carl, There are two reasons that MapServer is not very memory efficient for large output files. The first is that the actual drawing is done into a "GD" image in memory. This means there is one complete copy of the output image held in ram. If you are doing 24bit output this is 4bytes per pixel or about 576MB in your case. If you your result to a GDAL support file (instead of using the GD output drivers for PNG for instance) then the msSaveImageGDAL() function actually makes another complete memory copy of the image in RAM as a "virtual" image from which GDAL can create the output image. This is generally a similar amount of memory to the GD image, so 576MB if producing a full 4 band (RGBA) output. This of course doesn't come very near the 2.7GB of RAM you are reporting. I don't know where the other memory is being consumed. Some sort of detailed analysis would likely be needed. There isn't really much that can be done about the GD image. To work around this size you would basically need to split your output size down to a managable size for the system you are running on, and then mosaic the results. However, it seems that MapServer is making it through the rendering to the stage where a virtual copy of the dataset is made. At this stage there are various things that could be done in the code to avoid the extra copy. Either implement virtual reading functions that can read directly from GD, or do direct writing to the output file (only works for some GDAL output formats). The msSaveImageGDAL() code creates a complete copy of the image for convenience and under the assumption that output image sizes are not very large. While I could correct this, it isn't very high on my priority list. However, if it is a pressing concern let me know and I will see what I can do. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From schulz at gaf.de Mon Nov 3 07:34:23 2003 From: schulz at gaf.de (Matthias Schulz) Date: Mon, 3 Nov 2003 16:34:23 +0100 Subject: [Mapserver-users] Label results of a database query Message-ID: <03Nov3.163424cet.119061@pons.gaf.de> Hi all, Is there a way to use the results of a datbase query for labeling a layer? As far as I tried it is not possible to label a layer with a joined item otherwise I would have written out a dbf file (from a Java servlet) and joined it to the layer. But I need to use it as label. I would prefer a way I could use with Java (servlet) but if there is a way perhaps with MapScript I would also be interested in it. I also thought about using inline features but if I had to label a lot of objects I will have to create a lot of new features. Any idea? Thanks, Matthias --- Matthias Schulz GAF AG Arnulfstr. 197 80634 Muenchen Germany tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 mailto:schulz at gaf.de http://www.gaf.de From pagurekd at agr.gc.ca Mon Nov 3 07:40:49 2003 From: pagurekd at agr.gc.ca (Debbie Pagurek) Date: Mon, 03 Nov 2003 10:40:49 -0500 Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty exception Message-ID: Hi Frieso, I will look into this a bit more carefully in a bit, but right off the bat I wonder if you have a problem because you have named your layer "wms" and maybe this is a reserved word. Try naming your layer something else? Debbie >>> "Frieso ter Haseborg" 11/03/03 06:25AM >>> Hi Debbie, from the PHP/MapScript for dynamic layer creation you shared with us I learned, that you're doing getFeatureInfos against a php-created layer. Does the error description below sound similar to anything you ran against during your development? Or are there any configuration-differences in the mapfile compared to your approach? Since there was low feedback from the list on this , I hope you could give me a hint. TIA, Frieso >-----Original Message----- >From: Frieso ter Haseborg >Sent: Tuesday, October 28, 2003 9:52 AM >To: mapserver-users at lists.gis.umn.edu >Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty >exception > > >Hi, > >I ran into a problem doing a getFeatureInfo-request on a dynamic layer. >I've got a PHP/Mapscript-component to build dynamic layers, this works >well on getMap-requests. Trying to do a getFeatureInfo-request I get >some strange results: > >When performin a request with a url like this: > >http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version= >1.1.0&req >uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te >xt/plain& >BBOX=2574700,5752000,2589700,5767000 > >I get an xml-doc with an empty exception statement: > > >"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> > > > > > >This is the corresponding part of the mapfile: > >LAYER > NAME "wms" > TEMPLATE test.html > STATUS ON > TYPE POLYGON > CONNECTION "http://my.ip/kmvims/test4.php" > CONNECTIONTYPE WMS > TOLERANCE 3 > METADATA > "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326 >EPSG:42304" > "wms_name" "wms" > "wms_title" "test" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" > "wms_format" "image/gif" > "WMS_FEATURE_INFO_MIME_TYPE" "text/html" > > END > OFFSITE 255 255 255 >END > >system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP 4.3.2, >MapScript >rev 1.177 > >The getFeatureInfo-request works fine on my shape-layers but no success >on the dynamic layer. And what's oddest, the php in my dynamic layer >seems not to be executed at all. When doing a getFeatureInfo-request I >do just a echo "test"; and log the get-Parameters into a logfile. But >the log stays untouched, whereas the log works fine on the >getMap-request. Any ideas? > >Any hint would be appreciated. > >TIA, > >Frieso ter Haseborg >- Software Development - > >-- > >-------------------------------------------------- >S&F Datentechnik GmbH&Co.KG >Reimersstr. 41b >26789 Leer, Germany > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pagurekd at agr.gc.ca Mon Nov 3 07:54:28 2003 From: pagurekd at agr.gc.ca (Debbie Pagurek) Date: Mon, 03 Nov 2003 10:54:28 -0500 Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty exception Message-ID: Hi again Frieso, another thing I see is that you are requesting a WMS layer, but you have specified TYPE POLYGON in your mapfile Layer section. It should be TYPE RASTER. Debbie >>> "Frieso ter Haseborg" 11/03/03 06:25AM >>> Hi Debbie, from the PHP/MapScript for dynamic layer creation you shared with us I learned, that you're doing getFeatureInfos against a php-created layer. Does the error description below sound similar to anything you ran against during your development? Or are there any configuration-differences in the mapfile compared to your approach? Since there was low feedback from the list on this , I hope you could give me a hint. TIA, Frieso >-----Original Message----- >From: Frieso ter Haseborg >Sent: Tuesday, October 28, 2003 9:52 AM >To: mapserver-users at lists.gis.umn.edu >Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty >exception > > >Hi, > >I ran into a problem doing a getFeatureInfo-request on a dynamic layer. >I've got a PHP/Mapscript-component to build dynamic layers, this works >well on getMap-requests. Trying to do a getFeatureInfo-request I get >some strange results: > >When performin a request with a url like this: > >http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version= >1.1.0&req >uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te >xt/plain& >BBOX=2574700,5752000,2589700,5767000 > >I get an xml-doc with an empty exception statement: > > >"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> > > > > > >This is the corresponding part of the mapfile: > >LAYER > NAME "wms" > TEMPLATE test.html > STATUS ON > TYPE POLYGON > CONNECTION "http://my.ip/kmvims/test4.php" > CONNECTIONTYPE WMS > TOLERANCE 3 > METADATA > "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326 >EPSG:42304" > "wms_name" "wms" > "wms_title" "test" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" > "wms_format" "image/gif" > "WMS_FEATURE_INFO_MIME_TYPE" "text/html" > > END > OFFSITE 255 255 255 >END > >system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP 4.3.2, >MapScript >rev 1.177 > >The getFeatureInfo-request works fine on my shape-layers but no success >on the dynamic layer. And what's oddest, the php in my dynamic layer >seems not to be executed at all. When doing a getFeatureInfo-request I >do just a echo "test"; and log the get-Parameters into a logfile. But >the log stays untouched, whereas the log works fine on the >getMap-request. Any ideas? > >Any hint would be appreciated. > >TIA, > >Frieso ter Haseborg >- Software Development - > >-- > >-------------------------------------------------- >S&F Datentechnik GmbH&Co.KG >Reimersstr. 41b >26789 Leer, Germany > > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ter-haseborg at sf-datentechnik.de Mon Nov 3 08:23:02 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Mon, 3 Nov 2003 17:23:02 +0100 Subject: [Mapserver-users] getFeatureInfo on dynamic layer - emptyexception Message-ID: <0DF955F15A102E4F81B948D44A45015A06924B@nt-sf-exchange.Windows2000> Hi Debbie, thanks for your response. >[...] >I wonder if you have a problem because you have named your layer >"wms" and maybe this is a reserved word. Try naming your layer >something else? Looks like the layer-name is not cause of the problem, with a more qualified term or simply any other "non-reserved-word"-name it doesn't work either. >[...] >another thing I see is that you are requesting a WMS layer, but you >have specified TYPE POLYGON in your mapfile Layer section. >It should be TYPE RASTER. Whoops! Sorry, these are remains of my desperate trials to isolate the problem. I had the idea that perhaps getFeatureInfo-requests would only be executed on non-raster layers. But there's no difference in this special problem when changing the layer-type: in both cases the php simply isn't called at all. TIA, Frieso >-----Original Message----- >From: Debbie Pagurek [mailto:pagurekd at agr.gc.ca] >Sent: Monday, November 03, 2003 4:41 PM >To: Frieso ter Haseborg >Cc: mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] getFeatureInfo on dynamic layer - >emptyexception > > >Hi Frieso, >I will look into this a bit more carefully in a bit, but right off the >bat I wonder if you have a problem because you have named your layer >"wms" and maybe this is a reserved word. Try naming your layer >something else? > >Debbie > >>>> "Frieso ter Haseborg" 11/03/03 >06:25AM >>> >Hi Debbie, > >from the PHP/MapScript for dynamic layer creation you shared with us I >learned, that you're doing getFeatureInfos against a php-created layer. > > >Does the error description below sound similar to anything you ran >against during your development? Or are there any >configuration-differences in the mapfile compared to your approach? > >Since there was low feedback from the list on this , I hope you could >give me a hint. > >TIA, >Frieso > >>-----Original Message----- >>From: Frieso ter Haseborg >>Sent: Tuesday, October 28, 2003 9:52 AM >>To: mapserver-users at lists.gis.umn.edu >>Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty >>exception >> >> >>Hi, >> >>I ran into a problem doing a getFeatureInfo-request on a dynamic >layer. >>I've got a PHP/Mapscript-component to build dynamic layers, this >works >>well on getMap-requests. Trying to do a getFeatureInfo-request I get >>some strange results: >> >>When performin a request with a url like this: >> >>http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version= >>1.1.0&req >>uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te >>xt/plain& >>BBOX=2574700,5752000,2589700,5767000 >> >>I get an xml-doc with an empty exception statement: >> >> >>>"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> >> >> >> >> >> >>This is the corresponding part of the mapfile: >> >>LAYER >> NAME "wms" >> TEMPLATE test.html >> STATUS ON >> TYPE POLYGON >> CONNECTION "http://my.ip/kmvims/test4.php" >> CONNECTIONTYPE WMS >> TOLERANCE 3 >> METADATA >> "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326 >>EPSG:42304" >> "wms_name" "wms" >> "wms_title" "test" >> "wms_server_version" "1.1.0" >> "wms_formatlist" >"image/gif,image/png,image/jpeg,image/wbmp" >> "wms_format" "image/gif" >> "WMS_FEATURE_INFO_MIME_TYPE" "text/html" >> >> END >> OFFSITE 255 255 255 >>END >> >>system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP 4.3.2, >>MapScript >>rev 1.177 >> >>The getFeatureInfo-request works fine on my shape-layers but no >success >>on the dynamic layer. And what's oddest, the php in my dynamic layer >>seems not to be executed at all. When doing a getFeatureInfo-request >I >>do just a echo "test"; and log the get-Parameters into a logfile. But >>the log stays untouched, whereas the log works fine on the >>getMap-request. Any ideas? >> >>Any hint would be appreciated. >> >>TIA, >> >>Frieso ter Haseborg >>- Software Development - >> >>-- >> >>-------------------------------------------------- >>S&F Datentechnik GmbH&Co.KG >>Reimersstr. 41b >>26789 Leer, Germany >> >> >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >> > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From pagurekd at agr.gc.ca Mon Nov 3 08:45:59 2003 From: pagurekd at agr.gc.ca (Debbie Pagurek) Date: Mon, 03 Nov 2003 11:45:59 -0500 Subject: [Mapserver-users] getFeatureInfo on dynamic layer - emptyexception Message-ID: Aside from trying to do a getfeatureinfo request - are you able to even just see the image of your dynamic layer when you set up your dynamic layer within a mapfile like this? I am asking because in order for me to see my dynamic layer of points via a wms request from within a mapfile, I need to add some parameters to the connection string. Here's what my LAYER looks like in my mapfile ( by the way I haven't tested getfeatureinfo - I don't really understand this part yet because it looks to me like you would need an interface with a query tool on it and it is Mapserver that then forms a query request and it would need to know how to generate a getfeatureinfo request?) Here is my LAYER and I can see the image of my dynamic layer points: LAYER NAME "taxa" TYPE RASTER STATUS ON TEMPLATE VOID CONNECTION "http://myhost/mapdata/itis/testscript.php?version=1.1.0&request=Getmap&layers=Cyanocitta%20cristata&format=image/png" CONNECTIONTYPE WMS PROJECTION "init=epsg:4326" END METADATA "wms_title" "test" "wms_srs" "EPSG:4326" "wms_abstract" "itis wms layer" "wms_extent" "-180 -90 180 90" "wms_opaque" "1" "wms_onlineresource" "http://latlong24.gis.agr.gc.ca/mapdata/itis/testscript.php?version=1.1.0&request=Getmap&layers=Cyanocitta%20cristata" "wms_server_version" "1.1.0" "wms_name" "test" END END I can then see the dynamic layer in the browser when I send the URL: http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv_40?map=/usr/www/httpd/htdocs/mapdata/itis/test.map&Layers=taxa&mode=map this is different from what you are trying to do with your URL, which is trying sending a WMS getfeatureinfo request to your dynamic layer via a wms layer included in a mapfile. Are you able to send a getfeatureinfo request directly to your script http://my.ip/kmvims/test4.php as in http://my.ip/kmvims/test4.php?version=1.1.0&request=getfeatureinfo&query_layers=wms&x=251&y=329&INFO_FORMAT=text/plain?? Debbie >>> "Frieso ter Haseborg" 11/03/03 11:23AM >>> Hi Debbie, thanks for your response. >[...] >I wonder if you have a problem because you have named your layer >"wms" and maybe this is a reserved word. Try naming your layer >something else? Looks like the layer-name is not cause of the problem, with a more qualified term or simply any other "non-reserved-word"-name it doesn't work either. >[...] >another thing I see is that you are requesting a WMS layer, but you >have specified TYPE POLYGON in your mapfile Layer section. >It should be TYPE RASTER. Whoops! Sorry, these are remains of my desperate trials to isolate the problem. I had the idea that perhaps getFeatureInfo-requests would only be executed on non-raster layers. But there's no difference in this special problem when changing the layer-type: in both cases the php simply isn't called at all. TIA, Frieso >-----Original Message----- >From: Debbie Pagurek [mailto:pagurekd at agr.gc.ca] >Sent: Monday, November 03, 2003 4:41 PM >To: Frieso ter Haseborg >Cc: mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] getFeatureInfo on dynamic layer - >emptyexception > > >Hi Frieso, >I will look into this a bit more carefully in a bit, but right off the >bat I wonder if you have a problem because you have named your layer >"wms" and maybe this is a reserved word. Try naming your layer >something else? > >Debbie > >>>> "Frieso ter Haseborg" 11/03/03 >06:25AM >>> >Hi Debbie, > >from the PHP/MapScript for dynamic layer creation you shared with us I >learned, that you're doing getFeatureInfos against a php-created layer. > > >Does the error description below sound similar to anything you ran >against during your development? Or are there any >configuration-differences in the mapfile compared to your approach? > >Since there was low feedback from the list on this , I hope you could >give me a hint. > >TIA, >Frieso > >>-----Original Message----- >>From: Frieso ter Haseborg >>Sent: Tuesday, October 28, 2003 9:52 AM >>To: mapserver-users at lists.gis.umn.edu >>Subject: [Mapserver-users] getFeatureInfo on dynamic layer - empty >>exception >> >> >>Hi, >> >>I ran into a problem doing a getFeatureInfo-request on a dynamic >layer. >>I've got a PHP/Mapscript-component to build dynamic layers, this >works >>well on getMap-requests. Trying to do a getFeatureInfo-request I get >>some strange results: >> >>When performin a request with a url like this: >> >>http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/ims.map&version= >>1.1.0&req >>uest=getFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=te >>xt/plain& >>BBOX=2574700,5752000,2589700,5767000 >> >>I get an xml-doc with an empty exception statement: >> >> >>>"http://www.digitalearth.gov/wmt/xml/exception_1_1_0.dtd"> >> >> >> >> >> >>This is the corresponding part of the mapfile: >> >>LAYER >> NAME "wms" >> TEMPLATE test.html >> STATUS ON >> TYPE POLYGON >> CONNECTION "http://my.ip/kmvims/test4.php" >> CONNECTIONTYPE WMS >> TOLERANCE 3 >> METADATA >> "wms_srs" "EPSG:26915 EPSG:42101 EPSG:4269 EPSG:4326 >>EPSG:42304" >> "wms_name" "wms" >> "wms_title" "test" >> "wms_server_version" "1.1.0" >> "wms_formatlist" >"image/gif,image/png,image/jpeg,image/wbmp" >> "wms_format" "image/gif" >> "WMS_FEATURE_INFO_MIME_TYPE" "text/html" >> >> END >> OFFSITE 255 255 255 >>END >> >>system-configuration: Win2k; Apache 2.0.47; MS 4.0; PHP 4.3.2, >>MapScript >>rev 1.177 >> >>The getFeatureInfo-request works fine on my shape-layers but no >success >>on the dynamic layer. And what's oddest, the php in my dynamic layer >>seems not to be executed at all. When doing a getFeatureInfo-request >I >>do just a echo "test"; and log the get-Parameters into a logfile. But >>the log stays untouched, whereas the log works fine on the >>getMap-request. Any ideas? >> >>Any hint would be appreciated. >> >>TIA, >> >>Frieso ter Haseborg >>- Software Development - >> >>-- >> >>-------------------------------------------------- >>S&F Datentechnik GmbH&Co.KG >>Reimersstr. 41b >>26789 Leer, Germany >> >> >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >> > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From innaj at web.de Mon Nov 3 09:42:35 2003 From: innaj at web.de (Inna Janssen) Date: Mon, 3 Nov 2003 18:42:35 +0100 Subject: [Mapserver-users] gdlib and pdflib Message-ID: <200311031742.hA3HgZQ06450@mailgate5.cinetic.de> Hello, my web provider told me the PDFlib and the GDLib don't work together. So they can only offer me a server with one of the both libraries installed. If I understand correctly, MapScript does need BOTH libraries ? Or is it possible to use MapScript without the PDFLib library? I'm confused... Inna ______________________________________________________________________________ Die Besten ihrer Klasse! WEB.DE FreeMail (1,7) und WEB.DE Club (1,9) - bei der Stiftung Warentest - ein Doppelsieg! http://f.web.de/?mc=021184 From dblasby at refractions.net Mon Nov 3 09:41:29 2003 From: dblasby at refractions.net (David Blasby) Date: Mon, 03 Nov 2003 09:41:29 -0800 Subject: [Mapserver-users] postgis/postgrsql/geos In-Reply-To: <8BC0EAF5B383D711B69E0006293896C7B18370@ZEVHNT6> References: <8BC0EAF5B383D711B69E0006293896C7B18370@ZEVHNT6> Message-ID: <3FA69349.3090209@refractions.net> Elstermann, Mike wrote: > for example: > select disjoint(\'LINESTRING(0 0,0 0)\'::geometry, \'LINESTRING(0 0,0 > 1)\'::geometry ); > > Warning: pg_exec() query failed: ERROR: Function disjoint(geometry, > geometry) does not exist Unable to identify a function that satisfies the > given argument types You may need to add explicit typecasts > > where is the error? Use the CVS version of postgis and set "USE_GEOS=1" in the makefile. dave From EBashi at chesapeakebay.net Mon Nov 3 11:51:02 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Mon, 3 Nov 2003 14:51:02 -0500 Subject: [Mapserver-users] new install on Redhat 9 Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099686@mail2.chesapeakebay.net> Dear Mapserver Users, I have installed mapserver on Redhat 9 and I place mapserv binary in the cgi-bin directory of my Apache2 and I get an internal error message. I checked the file permissions and they are rwxr-xr-x. Does anybody have any idea about whats going on here. Also, Is there a nice step by step installation file put together. Using the mapserver website for all the packages needed prior to installation was a bit crude. Any and all feedback would be greatly appreciated. Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net From steve.lime at dnr.state.mn.us Mon Nov 3 11:52:11 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Mon, 03 Nov 2003 13:52:11 -0600 Subject: [Mapserver-users] gdlib and pdflib Message-ID: You must have GD, PDFlib is optional. You certainly could compile a version of MapServer that uses both. Steve >>> "Inna Janssen" 11/3/2003 11:42:35 AM >>> Hello, my web provider told me the PDFlib and the GDLib don't work together. So they can only offer me a server with one of the both libraries installed. If I understand correctly, MapScript does need BOTH libraries ? Or is it possible to use MapScript without the PDFLib library? I'm confused... Inna ______________________________________________________________________________ Die Besten ihrer Klasse! WEB.DE FreeMail (1,7) und WEB.DE Club (1,9) - bei der Stiftung Warentest - ein Doppelsieg! http://f.web.de/?mc=021184 _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From john.hagstrand at interageresearch.com Mon Nov 3 12:40:30 2003 From: john.hagstrand at interageresearch.com (John Hagstrand) Date: Mon, 3 Nov 2003 14:40:30 -0600 Subject: [Mapserver-users] mySQL 4.1 spatial extensions Message-ID: Hello, Does MapServer now support the mySQL 4.1 spatial extensions in the same way that it supports PostGIS? John John Hagstrand Interage Research, Inc. www.interageresearch.com Information Technology Consulting From stephen.clark at focus.ca Mon Nov 3 14:00:52 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 3 Nov 2003 14:00:52 -0800 Subject: [Mapserver-users] compiling regex on windows References: <9952785A-0DBA-11D8-9095-000A957A0F9C@vt.edu> Message-ID: <114201c3a255$f35bdeb0$6c000a0a@sclark> Heve you tried compiling using at a command window: nmake /f makefile.vc ----- Original Message ----- From: "Abram Gillespie" To: Sent: Sunday, November 02, 2003 9:00 PM Subject: [Mapserver-users] compiling regex on windows > i'm trying to compile the regex lib on windows 2000 with vs.net. i get > the following error: > c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open > include file: 'strings.h': No such file or directory > > then when i define HAVE_STRING_H to try to fix the above error i get > these: > c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : > redefinition; previous definition was a 'function' > c:\source_code\regex-0.12\regex.h(404) : see declaration of > 're_set_syntax' > c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : > missing ';' before identifier 'reg_syntax_t' > c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected > end of file found > > anything i can do? > > thanks. > abe > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From assefa at dmsolutions.ca Mon Nov 3 13:04:55 2003 From: assefa at dmsolutions.ca (Yewondwossen Assefa) Date: Mon, 03 Nov 2003 16:04:55 -0500 Subject: [Mapserver-users] distanceToPoint in kilometres? In-Reply-To: <86286400752.20031103154049@justapi.de> References: <86286400752.20031103154049@justapi.de> Message-ID: <3FA6C2F7.20506@dmsolutions.ca> One possible way of doing that would be to convert your 2 lat/long positions to a projected unit system and then use the distanceToPoint (or your local code) to compute the distance. You can use the php_proj utility (which uses Proj.4) to do your conversion. If you are builing mapserver yourself, the file is php_proj.c inside the php3 directory and It should be built into a php_proj.so. If you are on windows, you can download the php_proj.dll which should be bundeled with the php zip file at http://www.maptools.org/php_mapscript/index.phtml Later, Sebastian Albrecht wrote: > Hi everybody, > > I just tried to use the distanceToPoint method in my PHP Mapscript > application. It seems to calculate the mathematical distance of the > two given points (Pythagoras?). > > Of course this is not very useful because I cannot convert it to a > metric distance so that a distance of 90,00 can be very short (at the > poles) or very long. > > Is there a possibility to calculate the real distance considering > projection and ellipsoids? I think it might work with PROJ.4 somehow, > but the whole site seems to be offline at the moment. > > Does anybody have a clue? > > Best regards, > Sebastian > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From morissette at dmsolutions.ca Mon Nov 3 13:14:40 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 03 Nov 2003 16:14:40 -0500 Subject: [Mapserver-users] mySQL 4.1 spatial extensions In-Reply-To: References: Message-ID: <3FA6C540.3080705@dmsolutions.ca> John Hagstrand wrote: > > Does MapServer now support the mySQL 4.1 spatial extensions in the same way > that it supports PostGIS? > Nothing changed in the source yet for sure and I'm not aware of any plans to add this. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From scoota at supanet.com Mon Nov 3 13:13:23 2003 From: scoota at supanet.com (Keith Campbell) Date: Mon, 03 Nov 2003 21:13:23 +0000 Subject: [Mapserver-users] MySQL Spatial Extensions Message-ID: <3FA6C4F3.8000105@supanet.com> Hello All, Does Mapserver provide support for the MySQL Spatial Extensions (R4.1)? Keith From EBashi at chesapeakebay.net Mon Nov 3 13:27:07 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Mon, 3 Nov 2003 16:27:07 -0500 Subject: [Mapserver-users] mapserver build on redhat 9 problems Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099688@mail2.chesapeakebay.net> Hi all, Here is a directory view of the packages I have build from source. [root at nutria mapserver]# ls freetype-2.1.4 jpeg-6b mapserver-4.0.1 proj-4.4.7 xpm-3.4k-linux gd-2.0.15 libpng-1.2.5 ming-0.2a tiff-v3.5.6-beta zlib-1.1.4 When I try to specifiy the path of the required packages, here is what I get: [root at nutria mapserver-4.0.1]# ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-freetype=/noaa/mapserver/freetype-2.1.4/ --with-gd=/noaa/mapserver/gd-2.0.15/ --with-jpeg=/noaa/mapserver/jpeg-6b/ --with-libiconv=/noaa/mapserver/libiconv-1.9.1/ --with-libpng=/noaa/mapserver/libpng-1.2.5/ --with-ming=/noaa/mapserver/ming-0.2a/ --with-xpm=/noaa/mapserver/xpm-3.4k-linux/ --with-prog=/noaa/mapserver/proj-4.4.7/ --with-tiff=/noaa/mapserver/tiff-v3.5.6-beta/ --with-zlib=/noaa/mapserver/zlib-1.1.4/ loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for flex... flex checking for yywrap in -lfl... yes checking for bison... bison -y checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for exp in -lm... yes checking for __gxx_personality_v0 in -lstdc++... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking whether we should include JPEG support... Could not find jpeglib.h or libjpeg.a/libjpeg.so in /noaa/mapserver/jpeg-6b/. checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. checking where FreeType 2.x is installed... checking for FT_Init_FreeType in -lfreetype... yes using libfreetype -lfreetype from system libs. checking where Zlib is installed... using libz from -L/noaa/mapserver/zlib-1.1.4/ -lz checking where PNG is installed... checking for png_init_io in -lpng... yes using libpng from system libs. checking where libXpm is installed... using libXpm from -L/noaa/mapserver/xpm-3.4k-linux//lib -lXpm -lX11 checking where libiconv is installed... checking for libiconv_open in -liconv... yes using libiconv from system libs. checking for GD 2.0.12 or higher... checking for gdImageSetAntiAliased in -lgd... no checking whether GD needs libiconv... checking for gdImageSetAntiAliased in -lgd... no configure: error: Could not find gd.h or libgd.a/libgd.so in /noaa/mapserver/gd-2.0.15/. Make sure GD 2.0.12 or higher is compiled before calling configure. --------------------- The files it is complaining about are in /noaa/mapserver/gd-2.0.15. [root at nutria gd-2.0.15]# find . -name "gd.h" ./gd.h [root at nutria gd-2.0.15]# find . -name "libgd.a" ./.libs/libgd.a [root at nutria gd-2.0.15]# find . -name "libgd.so" ./.libs/libgd.so --- Is this weird or what? If I run configure with no options it runs ok, but the mapserv binary does not work with apache2 ( and the permissions are set right) Does anyone have a clue of what's happening here? --- Enils From morissette at dmsolutions.ca Mon Nov 3 13:36:46 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 03 Nov 2003 16:36:46 -0500 Subject: [Mapserver-users] distanceToPoint in kilometres? In-Reply-To: <3FA6C2F7.20506@dmsolutions.ca> References: <86286400752.20031103154049@justapi.de> <3FA6C2F7.20506@dmsolutions.ca> Message-ID: <3FA6CA6E.1060408@dmsolutions.ca> You could also have a look at the 'geod' program that comes with PROJ. Daniel Yewondwossen Assefa wrote: > One possible way of doing that would be to convert your 2 lat/long > positions to a projected unit system and then use the distanceToPoint > (or your local code) to compute the distance. > You can use the php_proj utility (which uses Proj.4) to do your > conversion. If you are builing mapserver yourself, the file is > php_proj.c inside the php3 directory and It should be built into a > php_proj.so. If you are on windows, you can download the php_proj.dll > which should be bundeled with the php zip file at > http://www.maptools.org/php_mapscript/index.phtml > > Later, > > Sebastian Albrecht wrote: > >> Hi everybody, >> >> I just tried to use the distanceToPoint method in my PHP Mapscript >> application. It seems to calculate the mathematical distance of the >> two given points (Pythagoras?). >> >> Of course this is not very useful because I cannot convert it to a >> metric distance so that a distance of 90,00 can be very short (at the >> poles) or very long. >> >> Is there a possibility to calculate the real distance considering >> projection and ellipsoids? I think it might work with PROJ.4 somehow, >> but the whole site seems to be offline at the moment. >> >> Does anybody have a clue? >> >> Best regards, >> Sebastian >> From erich at museum.state.il.us Mon Nov 3 14:02:21 2003 From: erich at museum.state.il.us (Erich Schroeder) Date: Mon, 3 Nov 2003 16:02:21 -0600 (CST) Subject: [Mapserver-users] distanceToPoint in kilometres? In-Reply-To: <3FA6CA6E.1060408@dmsolutions.ca> Message-ID: On Mon, 3 Nov 2003, Daniel Morissette wrote: > Yewondwossen Assefa wrote: > > One possible way of doing that would be to convert your 2 lat/long > > positions to a projected unit system and then use the distanceToPoint > > (or your local code) to compute the distance. > > You can use the php_proj utility (which uses Proj.4) to do your > > conversion. If you are builing mapserver yourself, the file is Whoa, I must have missed this before. What is the "php_proj" utility? Erich -- --------------------------------------------------------------------- Erich Schroeder Phone: (217)785-0033 Curator, Information Technologies FAX: (217)785-2857 Illinois State Museum GIS Lab email:erich(at)illinois.state.museum http://illinois.state.museum/ --------------------------------------------------------------------- From erich at museum.state.il.us Mon Nov 3 14:10:17 2003 From: erich at museum.state.il.us (Erich Schroeder) Date: Mon, 3 Nov 2003 16:10:17 -0600 (CST) Subject: [Mapserver-users] distanceToPoint in kilometres? In-Reply-To: Message-ID: Nevermind, I found it. I just had never heard of it before. On Mon, 3 Nov 2003, Erich Schroeder wrote: > On Mon, 3 Nov 2003, Daniel Morissette wrote: > > > Yewondwossen Assefa wrote: > > > One possible way of doing that would be to convert your 2 lat/long > > > positions to a projected unit system and then use the distanceToPoint > > > (or your local code) to compute the distance. > > > You can use the php_proj utility (which uses Proj.4) to do your > > > conversion. If you are builing mapserver yourself, the file is > > Whoa, I must have missed this before. What is the "php_proj" utility? > > Erich > > -- --------------------------------------------------------------------- Erich Schroeder Phone: (217)785-0033 Curator, Information Technologies FAX: (217)785-2857 Illinois State Museum GIS Lab email:erich(at)illinois.state.museum http://illinois.state.museum/ --------------------------------------------------------------------- From morissette at dmsolutions.ca Mon Nov 3 14:13:24 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 03 Nov 2003 17:13:24 -0500 Subject: [Mapserver-users] mapserver build on redhat 9 problems In-Reply-To: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099688@mail2.chesapeakebay.net> References: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099688@mail2.chesapeakebay.net> Message-ID: <3FA6D304.7080102@dmsolutions.ca> Enils Bashi wrote: > configure: error: Could not find gd.h or libgd.a/libgd.so in > /noaa/mapserver/gd-2.0.15/. Make sure GD 2.0.12 or higher is compiled before > calling configure. > --------------------- > > The files it is complaining about are in /noaa/mapserver/gd-2.0.15. > > [root at nutria gd-2.0.15]# find . -name "gd.h" > ./gd.h > > [root at nutria gd-2.0.15]# find . -name "libgd.a" > ./.libs/libgd.a > > [root at nutria gd-2.0.15]# find . -name "libgd.so" > ./.libs/libgd.so > > > --- Is this weird or what? > It is quite likely that you didn't 'install' the GD files. You need to run 'make install' as root in the gd-2.0.15 directory to have the files installed in a location where they can be used for compiling and at runtime by a program. By default the files will be installed under /usr/local/lib and /usr/local/bin. If you do not want to install in that location then you can use the --prefix configure option to specify a different install destination when you configure GD. > If I run configure with no options it runs ok, but the mapserv binary does > not work with > apache2 ( and the permissions are set right) > > So you already have another GD installed in the default system directory, MapServer's configure finds it and tries to use it. It's either coming from RH RPMs, or you did run make install in the GD directory already but didn't run 'ldconfig'. Either way read on, there may be a couple of reasons why you get the error... check the Apache error_log, and look for an error message. If the error_log says something about libgd.so.x.y not found then make sure that library is in your runtime library path, see the following wiki page: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?FindingSharedLibraries It may also be a crash or a 'libgd.so: symbol xxx not found' kind of error, in which case you quite likely have more than one copy of the GD lib + headers installed on your system (one coming from RH RPM, and one coming from source?) and you may need to remove the gd-devel RPM to avoid a conflict with the copy that you installed from source. HTH Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Mon Nov 3 14:25:08 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 03 Nov 2003 17:25:08 -0500 Subject: [Mapserver-users] cascading transparently from ArcIMS In-Reply-To: <10552.212.238.227.182.1067860133.squirrel@webmail.xs4all.nl> References: <10552.212.238.227.182.1067860133.squirrel@webmail.xs4all.nl> Message-ID: <3FA6D5C4.9040109@dmsolutions.ca> bartvde at xs4all.nl wrote: > Hi list, > > has anybody succeeded in getting Mapserver to display images from ArcIMS > in a transparent way? > > I tried using PNG (both 8 and 24 bit) on ArcIMS 4.0, since I do not have a > GIF license for it. But I cannot get it to display transparently. > > Any info would be appreciated. > > Best regards, > Bart > > In the WMS client HWOTO it says: > > PNG format with transparent=true does not work well with all servers. For > instance some servers use the alpha channel for transparency (RGBA images) > but this is not well supported by MapServer at the moment. So you may be > forced to request GIF format maps in those cases. Transparent PNGs > produced by the MapServer WMS work well though since they are paletted > images. I believe we've used transparent ArcIMS layers as part of WMS client maps before and I also thought most of those PNG issues had been resolved in 4.0, making this note obsolete, but I could be wrong with both affirmations. If you have a mapfile pointing to public ArcIMS layers that reproduces this then perhaps you could file a bug and we can try to have a look. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Mon Nov 3 15:04:24 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 03 Nov 2003 18:04:24 -0500 Subject: [Mapserver-users] Php Mapscript with 500 layers, 1000 classes ?? In-Reply-To: <023d01c3a00e$5ae6b040$6c000a0a@sclark> References: <1067514633.3fa0fb09da8e6@dutilleux.ensg.ign.fr> <002601c39f03$2a5c82d0$6c000a0a@sclark> <3FA1363E.9090508@dmsolutions.ca> <023d01c3a00e$5ae6b040$6c000a0a@sclark> Message-ID: <3FA6DEF8.8000007@dmsolutions.ca> Stephen Clark wrote: > Would DM Solutions be willing to post a PHP Mapscript version with 500 > layers, 1000 classes? > P.H.P version 4.3.2 Mapserver 4.0.0 > There is currently a build that was prepared for (and paid for by) another user on this list with the latest 4.0.1 source, PHP 4.3.3 (should work with all 4.3.x) and 500 layers, 500 classes and 500 symbols at: http://www.maptools.org/dl/mapserver-4.0.1-win32-php4.3.3-MAX=500.zip Since this custom build question seems to be becoming an FAQ, here is our (DM Solutions') position on custom windows builds: We do post generic windows builds with the default values and the most common options enabled for every release for free, but we have to draw the line somewhere and can't do custom builds for free since it costs us money (employee time=money) to prepare them. However if you are willing to pay (to cover our costs) for a custom build we can do that for you and then we'll be happy to post it on our site for others to download as well. For a build with the regular options enabled and just the numbers of layers/classes/symbols changed it costs 150$CAD (plus the usual taxes if you're in Canada). I know there are also other users that prepare and distribute custom builds and we encourage them to do so if they have the time... we don't really base our business on custom builds, it's more a service to the users. Finally, we've wanted to remove those static limits in MapServer for quite a while, there is bug 302 about this. Hopefully we can get to this for version 4.1 and this whole thing won't be an issue any more. > If not could you post a description of how to compile php mapscript. The > Wiki and online docs are a little sketchy. Or perhaps someone could update > the docs for php mapsript to version 4.0.0 and php 4.3.2. > We provide win32 builds for download because it's much easier for us and for windows users this way than it would be to support people who aren't familiar with a compiler environment through the process of compiling MapServer and all its dependencies. This being said, if you are familiar with compiling programs on Windows then the stuff that's currently in the docs and the wiki and README.WIN32 in the source should hopefully get you going. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From steve.lime at dnr.state.mn.us Mon Nov 3 15:08:39 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Mon, 03 Nov 2003 17:08:39 -0600 Subject: [Mapserver-users] distanceToPoint in kilometres? Message-ID: Also note that mapscript itself has project methods defined for points and shapes if MapScript is built with Proj.4, at least the Swig'd version does... Steve >>> Erich Schroeder 11/3/2003 4:10:17 PM >>> Nevermind, I found it. I just had never heard of it before. On Mon, 3 Nov 2003, Erich Schroeder wrote: > On Mon, 3 Nov 2003, Daniel Morissette wrote: > > > Yewondwossen Assefa wrote: > > > One possible way of doing that would be to convert your 2 lat/long > > > positions to a projected unit system and then use the distanceToPoint > > > (or your local code) to compute the distance. > > > You can use the php_proj utility (which uses Proj.4) to do your > > > conversion. If you are builing mapserver yourself, the file is > > Whoa, I must have missed this before. What is the "php_proj" utility? > > Erich > > -- --------------------------------------------------------------------- Erich Schroeder Phone: (217)785-0033 Curator, Information Technologies FAX: (217)785-2857 Illinois State Museum GIS Lab email:erich(at)illinois.state.museum http://illinois.state.museum/ --------------------------------------------------------------------- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime at dnr.state.mn.us Mon Nov 3 15:11:08 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Mon, 03 Nov 2003 17:11:08 -0600 Subject: [Mapserver-users] mapserver build on redhat 9 problems Message-ID: Redhat likely has a version of GD already installed on the system, check in /usr/lib. Steve >>> Enils Bashi 11/3/2003 3:27:07 PM >>> Hi all, Here is a directory view of the packages I have build from source. [root at nutria mapserver]# ls freetype-2.1.4 jpeg-6b mapserver-4.0.1 proj-4.4.7 xpm-3.4k-linux gd-2.0.15 libpng-1.2.5 ming-0.2a tiff-v3.5.6-beta zlib-1.1.4 When I try to specifiy the path of the required packages, here is what I get: [root at nutria mapserver-4.0.1]# ./configure --with-apxs=/usr/local/apache2/bin/apxs --with-freetype=/noaa/mapserver/freetype-2.1.4/ --with-gd=/noaa/mapserver/gd-2.0.15/ --with-jpeg=/noaa/mapserver/jpeg-6b/ --with-libiconv=/noaa/mapserver/libiconv-1.9.1/ --with-libpng=/noaa/mapserver/libpng-1.2.5/ --with-ming=/noaa/mapserver/ming-0.2a/ --with-xpm=/noaa/mapserver/xpm-3.4k-linux/ --with-prog=/noaa/mapserver/proj-4.4.7/ --with-tiff=/noaa/mapserver/tiff-v3.5.6-beta/ --with-zlib=/noaa/mapserver/zlib-1.1.4/ loading cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for flex... flex checking for yywrap in -lfl... yes checking for bison... bison -y checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for exp in -lm... yes checking for __gxx_personality_v0 in -lstdc++... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking whether we should include JPEG support... Could not find jpeglib.h or libjpeg.a/libjpeg.so in /noaa/mapserver/jpeg-6b/. checking for jpeg_read_header in -ljpeg... yes using libjpeg from system libs. checking where FreeType 2.x is installed... checking for FT_Init_FreeType in -lfreetype... yes using libfreetype -lfreetype from system libs. checking where Zlib is installed... using libz from -L/noaa/mapserver/zlib-1.1.4/ -lz checking where PNG is installed... checking for png_init_io in -lpng... yes using libpng from system libs. checking where libXpm is installed... using libXpm from -L/noaa/mapserver/xpm-3.4k-linux//lib -lXpm -lX11 checking where libiconv is installed... checking for libiconv_open in -liconv... yes using libiconv from system libs. checking for GD 2.0.12 or higher... checking for gdImageSetAntiAliased in -lgd... no checking whether GD needs libiconv... checking for gdImageSetAntiAliased in -lgd... no configure: error: Could not find gd.h or libgd.a/libgd.so in /noaa/mapserver/gd-2.0.15/. Make sure GD 2.0.12 or higher is compiled before calling configure. --------------------- The files it is complaining about are in /noaa/mapserver/gd-2.0.15. [root at nutria gd-2.0.15]# find . -name "gd.h" ./gd.h [root at nutria gd-2.0.15]# find . -name "libgd.a" ./.libs/libgd.a [root at nutria gd-2.0.15]# find . -name "libgd.so" ./.libs/libgd.so --- Is this weird or what? If I run configure with no options it runs ok, but the mapserv binary does not work with apache2 ( and the permissions are set right) Does anyone have a clue of what's happening here? --- Enils _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pramsey at refractions.net Mon Nov 3 15:30:09 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Mon, 03 Nov 2003 15:30:09 -0800 Subject: [Mapserver-users] MySQL Spatial Extensions In-Reply-To: <3FA6C4F3.8000105@supanet.com> References: <3FA6C4F3.8000105@supanet.com> Message-ID: <3FA6E501.3000504@refractions.net> Keith Campbell wrote: > Does Mapserver provide support for the MySQL Spatial Extensions (R4.1)? Not at the moment. Tried PostGIS (postgis.refractions.net)? P -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_ From stephen.clark at focus.ca Mon Nov 3 16:34:27 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 3 Nov 2003 16:34:27 -0800 Subject: [Mapserver-users] WMS connection for BC Albers -- howto ?? References: <1067528000.3fa12f40a2687@dutilleux.ensg.ign.fr> <3FA29BE8.4020101@dmsolutions.ca> Message-ID: <121b01c3a26b$67aa72d0$6c000a0a@sclark> Hello, Has anyone setup a wms connection to the BC Government wms servers that send out data in C Albers format? thanks, Stephen From snelson at refractions.net Mon Nov 3 16:03:30 2003 From: snelson at refractions.net (Shane Nelson) Date: Mon, 3 Nov 2003 16:03:30 -0800 Subject: [Mapserver-users] WMS connection for BC Albers -- howto ?? In-Reply-To: <121b01c3a26b$67aa72d0$6c000a0a@sclark> References: <1067528000.3fa12f40a2687@dutilleux.ensg.ign.fr> <3FA29BE8.4020101@dmsolutions.ca> <121b01c3a26b$67aa72d0$6c000a0a@sclark> Message-ID: <1067904210.3fa6ecd27338e@hydra> This message is in MIME format. --=_9e1e5a08cf877fb49bc7679a Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Yes. I've attached an OGC file from the Arc3WMS client (http://www.refractions.net/arc3wms/). This particular server is very picky about how it works. After loading the ogc file you can check the connection strings. If you have beta2 of the WMS client they will be in the %temp%\wms_client_log.txt file. ShaneQuoting Stephen Clark : > Hello, > > Has anyone setup a wms connection to the BC Government wms servers that send > out data in C Albers format? > > thanks, > Stephen > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > --=_9e1e5a08cf877fb49bc7679a Content-Type: application/octet-stream; name="BC Orthomosaic Albers.ogc" Content-Disposition: attachment; filename="BC Orthomosaic Albers.ogc" Content-Transfer-Encoding: base64 PHdtc19jbGllbnRfY29uZmlnPg0KCTx3bXNfdmVyc2lvbj4xLjAuMDwvd21zX3ZlcnNpb24+DQoJ PG9ubGluZV9yZXNvdXJjZT5odHRwOi8vc2xrYXBwczIuZW52Lmdvdi5iYy5jYTo4MC9zZXJ2bGV0 L2NvbS5lc3JpLndtcy5Fc3JpbWFwPC9vbmxpbmVfcmVzb3VyY2U+DQoJPGltYWdlX2Zvcm1hdF9s aXN0Pg0KCQk8aW1hZ2VfZm9ybWF0PmpwZWc8L2ltYWdlX2Zvcm1hdD4NCgk8L2ltYWdlX2Zvcm1h dF9saXN0Pg0KCTxsYXllcl9saXN0Pg0KCQk8bGF5ZXI+VFJJTSBPcnRob21vc2FpYzwvbGF5ZXI+ DQoJCTxsYXllcj5UUklNIE9ydGhvbW9zYWljIE92ZXJ2aWV3PC9sYXllcj4NCgk8L2xheWVyX2xp c3Q+DQoJPHNycz5lcHNnOjQyMTAyPC9zcnM+DQoJPGV4dGVudHMgbWlueD0iMjgwNjQ0IiBtaW55 PSIzNzE2ODYiIG1heHg9IjE4Mzk0NjMiIG1heHk9IjE3NDM5MjkiPjwvZXh0ZW50cz4NCjwvd21z X2NsaWVudF9jb25maWc+DQoNCg== --=_9e1e5a08cf877fb49bc7679a-- From Richard.Pierce at mail.state.ar.us Mon Nov 3 20:17:53 2003 From: Richard.Pierce at mail.state.ar.us (Richie Pierce) Date: Mon, 3 Nov 2003 22:17:53 -0600 Subject: [Mapserver-users] Basic text box query Message-ID: I am searching the archives for an example of a basic query, using a text box on a point layer. Thought I would send it too the list as well. Any help would be appreciated. Thanks in advance From H.Spalting at lippe.de Tue Nov 4 00:56:32 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Tue, 4 Nov 2003 09:56:32 +0100 Subject: [Mapserver-users] scaling labels Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A2B1.8B52B3F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I want my labels to be scaled like in a photocopy. Becomming bigger and bigger when zooming in. How does that work? Are truetypes required? Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: << mailto:h.spalting at lippe.de >> Tel: 05231/62-625 (oder -7827) =20 ------_=_NextPart_001_01C3A2B1.8B52B3F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I want my=20 labels to be scaled like in a photocopy. Becomming bigger and bigger = when=20 zooming in.
How does that work? Are truetypes required?

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email: <<mailto:h.spalting at lippe.de>&g= t;
Tel: 05231/62-625 (oder -7827)

 
------_=_NextPart_001_01C3A2B1.8B52B3F0-- From mschulz at webgis.de Tue Nov 4 01:25:12 2003 From: mschulz at webgis.de (Michael Schulz) Date: Tue, 04 Nov 2003 10:25:12 +0100 Subject: [Mapserver-users] scaling labels In-Reply-To: References: Message-ID: <3FA77078.8060205@webgis.de> Hello, scaling of symbols and labels is done using SYMBOLSCALE on the layerobj together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to limit dynamic sizing between these values. Not 100% sure, but i don't think Truetype is required. More information: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer Cheers und Gr??e, Michael Spalting, Hermann (Kreis Lippe) schrieb: > I want my labels to be scaled like in a photocopy. Becomming bigger and > bigger when zooming in. > How does that work? Are truetypes required? > > Hermann Spalting > Kreis Lippe > FG 4.4 > Felix-Fechenbach-Stra?e 5 > 32756 Detmold > email: <> > Tel: 05231/62-625 (oder -7827) > > -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de From adams at terrestris.de Tue Nov 4 01:43:25 2003 From: adams at terrestris.de (Till Adams) Date: Tue, 04 Nov 2003 10:43:25 +0100 Subject: [Mapserver-users] scaling labels References: Message-ID: <3FA774BD.2000608@terrestris.de> Dear Mr.Spalting, you need the keyword "SYMBOLSCALE" which defines a scale from which the symbols and labels become bigger. An example: LAYER NAME 'Linie' DATA 'shape' STATUS ON TYPE Line MAXSCALE 1000 SYMBOLSCALE 750 METADATA WMS_SRS 'epsg:31493' WMS_TITLE 'Linie' WMS_FEATURE_INFO_MIME_TYPE 'text/html' END PROJECTION 'init=epsg:31493' END CLASSITEM 'item' CLASS NAME 'Grenze_x' EXPRESSION /^xxx/ SYMBOL 'line' SIZE 1 COLOR 0 0 0 END # CLASS END # END LAYERFILE Greetings from Bonn, Till Spalting, Hermann (Kreis Lippe) schrieb: > I want my labels to be scaled like in a photocopy. Becomming bigger and > bigger when zooming in. > How does that work? Are truetypes required? > > Hermann Spalting > Kreis Lippe > FG 4.4 > Felix-Fechenbach-Stra?e 5 > 32756 Detmold > email: <> > Tel: 05231/62-625 (oder -7827) > > -- ***** Besuchen Sie uns auf der acqua alta ***** ***** vom 24.-27. November in M?nchen ***** ----- Dipl. Geogr. Till Adams terrestris, Paulsen&Adams GbR Siemensstr. 8 * 53121 Bonn Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 info at terrestris.de * www.terrestris.de From baud.remy at caramail.com Tue Nov 4 02:19:06 2003 From: baud.remy at caramail.com (baud remi ) Date: Tue, 04 Nov 2003 11:19:06 +0100 Subject: [Mapserver-users] flash output problem Message-ID: <1067941146032394@lycos-europe.com> 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_Lycos_0323941067941146_ID Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi the list, I wanted to output flash file for vector datas like polygons. (I use chameleon 1.1, ms4w 0.5) I've set in my chameleon.map file: In map object: IMAGETYPE SWF and an OUTPUTFORMAT: OUTPUTFORMAT NAME swf MIMETYPE "application/x-shockwave-flash" DRIVER swf IMAGEMODE PC256 FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" END Then, when I lauch my application, no .swf file are written in c:\ms4w\tmp\ms_tmp\ My application don't load, it's always the "please wait ..." displayed. I suppose there is something with drawmap.php which tells that he encoutred problem with .swf files. My configuaration for mapserver 4.1 tells that mapscript support swf files. Do Anyone had a suggestion? Cheers! Votre e-mail et vos SMS vous suivent sur Minitel : 3615 CARAMAIL --=_NextPart_Lycos_0323941067941146_ID-- From ter-haseborg at sf-datentechnik.de Tue Nov 4 03:14:41 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Tue, 4 Nov 2003 12:14:41 +0100 Subject: [Mapserver-users] getFeatureInfo on dynamic layer -emptyexception Message-ID: <0DF955F15A102E4F81B948D44A45015A06924C@nt-sf-exchange.Windows2000> Hi Debbie, yes, I get an image of my dynamic layers. It works for one and for multiple layers and also in combination with static data from vector- or raster-files. >[...]I need to add some parameters >to the connection string. In my setup it works without parameters like "?version=1.1.0&request=Getmap&layers=...&format=..." since MS add's them automatically when performing a WMS-request like http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv_40?map=/usr/www/httpd/htd ocs/mapdata/itis/test.map&Layers=taxa&mode=map In the connection-parm I've just the path to the php, actually there will be added some parameters like 'uid' and 'pwd' for security purposes, but no wms-parms since this are passed automatically. btw: This should work for you too, AFAIK this is standard MS behaviour, I didn't add any special features to achieve this. In my understanding MS should call my php with the request passed behind the mapfile-parm, so when calling http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map&version=1 .1.0&request=GetMap I want MS to call my php like this: http://my.ip/kmvims/test4.php?version=1.1.0&request=GetMap. This part works! When calling http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map&version=1 .1.0&request=GetFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=tex t/plain I want MS to call my php like this: http://my.ip/kmvims/test4.php?version=1.1.0&request=GetFeatureInfo&query _layers=wms&x=251&y=329&INFO_FORMAT=text/plain So I could do the getFeatureInfo-processing in my php and just return a plain text, html or whatever MS needs to process. But MS refuses to call the php at all on doing a getFeatureInfo-req. I'm not sure if I understand the query-interface part, I thought in a wms-implementation each layer would return the results in a certain format and MS would combine them. Is there any documentation about a query-interface I overlooked? >Are you able to send a getfeatureinfo request directly to your script >http://my.ip/kmvims/test4.php >as in >http://my.ip/kmvims/test4.php?version=1.1.0&request=getfeaturei >nfo&query_layers=wms&x=251&y=329&INFO_FORMAT=text/plain?? Yes this works, on a call like this I get a "test" as a result of my "echo 'test'" coded for the "getFeatureInfo"-part. TIA, Frieso >-----Original Message----- >From: Debbie Pagurek [mailto:pagurekd at agr.gc.ca] >Sent: Monday, November 03, 2003 5:46 PM >To: Frieso ter Haseborg >Cc: mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] getFeatureInfo on dynamic layer >-emptyexception > > >Aside from trying to do a getfeatureinfo request - are you able to even >just see the image of your dynamic layer when you set up your dynamic >layer within a mapfile like this? > >I am asking because in order for me to see my dynamic layer of points >via a wms request from within a mapfile, I need to add some parameters >to the connection string. Here's what my LAYER looks like in >my mapfile > > >( by the way I haven't tested getfeatureinfo - I don't really >understand this part yet because it looks to me like you would need an >interface with a query tool on it and it is Mapserver that then forms a >query request and it would need to know how to generate a >getfeatureinfo >request?) > >Here is my LAYER and I can see the image of my dynamic layer points: >LAYER > NAME "taxa" > TYPE RASTER > STATUS ON > TEMPLATE VOID > CONNECTION >"http://myhost/mapdata/itis/testscript.php?version=1.1.0&reques >t=Getmap&layers=Cyanocitta%20cristata&format=image/png" > CONNECTIONTYPE WMS > PROJECTION > "init=epsg:4326" > END > METADATA > "wms_title" "test" > "wms_srs" "EPSG:4326" > "wms_abstract" "itis wms layer" > "wms_extent" "-180 -90 180 90" > "wms_opaque" "1" > "wms_onlineresource" >"http://latlong24.gis.agr.gc.ca/mapdata/itis/testscript.php?ver >sion=1.1.0&request=Getmap&layers=Cyanocitta%20cristata" > "wms_server_version" "1.1.0" > "wms_name" "test" > END >END > >I can then see the dynamic layer in the browser when I send the URL: >http://latlong24.gis.agr.gc.ca/cgi-bin/mapserv_40?map=/usr/www/ httpd/htdocs/mapdata/itis/test.map&Layers=taxa&mo>de=map > >this is different from what you are trying to do with your URL, which >is trying sending a WMS getfeatureinfo request to your dynamic >layer via >a wms layer included in a mapfile. >Are you able to send a getfeatureinfo request directly to your script >http://my.ip/kmvims/test4.php >as in >http://my.ip/kmvims/test4.php?version=1.1.0&request=getfeaturei >nfo&query_layers=wms&x=251&y=329&INFO_FORMAT=text/plain?? > >Debbie > > > >>>> "Frieso ter Haseborg" 11/03/03 >11:23AM >>> >Hi Debbie, > >thanks for your response. > >>[...] >>I wonder if you have a problem because you have named your layer >>"wms" and maybe this is a reserved word. Try naming your layer >>something else? >Looks like the layer-name is not cause of the problem, with a more >qualified term or simply any other "non-reserved-word"-name it doesn't >work either. > >>[...] >>another thing I see is that you are requesting a WMS layer, but you >>have specified TYPE POLYGON in your mapfile Layer section. >>It should be TYPE RASTER. >Whoops! Sorry, these are remains of my desperate trials to isolate the >problem. I had the idea that perhaps getFeatureInfo-requests would >only >be executed on non-raster layers. But there's no difference in this >special problem when changing the layer-type: in both cases the php >simply isn't called at all. > >TIA, >Frieso > From LVN at hvm.dk Tue Nov 4 03:22:04 2003 From: LVN at hvm.dk (Lars V. Nielsen) Date: Tue, 4 Nov 2003 12:22:04 +0100 Subject: [Mapserver-users] SYMBOL definitions inside MAP file ? Message-ID: <053e01c3a2c5$e0398970$2401a8c0@odin> Hello List, I'm attempting to generate and use a MAP file with embedded SYMBOL definitions. I can't seem to make it work, it errs with a "Warning: [MapServer Error]: loadSymbol(): ..." regardless of where I put the definitions wrt. their usage (before/after). It only works when I put them in a seperate file (using SYMBOLSET). According to the docs it ought to be possible. Can anyone shed some light on this ? I'm using PIXMAP's that are located in the same dir as the MAP file, and using "./mypic.gif" as a reference to them. Is a full path reference needed ? Using Mapserver 4.0 on Win2000. Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk From ter-haseborg at sf-datentechnik.de Tue Nov 4 03:46:53 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Tue, 4 Nov 2003 12:46:53 +0100 Subject: [Mapserver-users] no variable substitution with special characters? Message-ID: <0DF955F15A102E4F81B948D44A45015A06924D@nt-sf-exchange.Windows2000> Hi, can anybody confirm this problem? Before filing this as a bug, I would like to isolate it. I'm not sure if this is a true Mapserver-problem or rather a wrong configuration on the webserver. A call like http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map&version=1 .1.0&request=getMap&uid=%7F works, but a call like http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map&version=1 .1.0&request=getMap&uid=%80 failes. The only difference is the given value for uid. On a normal php-call I experience no problems when using special-characters witch ascii-values beyond 127. But when using values beyond ascii127 in mapserver-calls, MS refuses to execute the php. TIA, Frieso >Hi, > >isn't it possible to use special characters with the variable >substitution feature in mapfiles. > >I've the following situtation: > >In my mapfile I call a php for creating a dynamic layer: > >LAYER > NAME "wms" > TEMPLATE test.html > STATUS ON > TYPE POLYGON > CONNECTION "http://my.ip/kmvims/kmvims.php?uid=%uid%&pwd=%pwd% > CONNECTIONTYPE WMS > [...] > >For authorization purposes I use uid and pwd parameters. >Everything works fine unless I pass a pwd consisting of >special characters, i.e. characters with a ASCII value above >ASCII 127 (HEX 7F). When pwd contains one or more characters >in the ASCII-range above 127 the layer isn't called at all. > >URL-encoding doesn't solve the problem. I need characters >beyond ASCII 127 since the passwords passed are encrypted and >I've no influence on the encryption. It's just a passthrough >given from a client-server-application, all I want to do is >retrieve the passwords and check them against the database. > >Any ideas about this? Is it a bug or an intended limitation? > >TIA, > >Frieso ter Haseborg >- Software Development - > >-- > >-------------------------------------------------- >S&F Datentechnik GmbH&Co.KG >Reimersstr. 41b >26789 Leer, Germany > From spencer at dmsolutions.ca Tue Nov 4 06:10:55 2003 From: spencer at dmsolutions.ca (Paul Spencer) Date: Tue, 04 Nov 2003 09:10:55 -0500 Subject: [Mapserver-users] [Fwd: flash support] Message-ID: <3FA7B36F.3020100@magma.ca> This is a multi-part message in MIME format. --------------040806050004010702060006 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit -- ----------------------------------------------------------------- |Paul Spencer spencer at dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --------------040806050004010702060006 Content-Type: message/rfc822; name="flash support" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="flash support" Return-Path: Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by in2.magma.ca (Magma's Mail Server) with ESMTP id hA4DpeEm023471 for ; Tue, 4 Nov 2003 08:51:48 -0500 Received: from mail1.eivd.ch (mail1.eivd.ch [193.134.216.148]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id hA4DpY529747 for ; Tue, 4 Nov 2003 08:51:39 -0500 Received: from eint11.einet.ad.eivd.ch ([10.192.41.23]) by mail1.eivd.ch (8.12.7/8.12.7/YCOM SA SMTPGateway 1.31) with ESMTP id hA4DpJnT008858 for ; Tue, 4 Nov 2003 14:51:26 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C3A2DA.BACA7FF0" Subject: flash support Date: Tue, 4 Nov 2003 14:51:21 +0100 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF44 at eint11.einet.ad.eivd.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: <22CD7A0EA6070A4DB932011F3429F190B7FF44 at eint11.einet.ad.eivd.ch> Thread-Topic: ms4w Thread-Index: AcOf81dnGWR7JzXOQOehpPFJp8EwQgC5k3Lo From: "BAUD remi" To: X-Virus-Scanned: Scanned by Amavisd / YCOM SA This is a multi-part message in MIME format. ------_=_NextPart_001_01C3A2DA.BACA7FF0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Paul, supposing I want to display layers in swf files in the gmap application = sample. I should create one outputformat for flash in gmap75.map like: OUTPUTFORMAT=20 NAME swf=20 MIMETYPE "application/x-shockwave-flash"=20 DRIVER swf=20 IMAGEMODE PC256=20 FORMATOPTION "OUTPUT_MOVIE=3DMULTIPLE"=20 END=20 then include the metadata : SWFDUMPATTRIBUTES to my layers But when I launch my application again, I got the fellowing error: Warning: MapServer Error in msLoadMap(): (OUTPUTFORMAT):(81) in = C:\ms4w\apps\gmap\htdocs\gmap75.phtml on line 71 Fatal error: Failed to open map file gmap75.map in = C:\ms4w\apps\gmap\htdocs\gmap75.phtml on line 71 Do I need to specify other things in the gmap application to make flash = support working? Cheers, ------_=_NextPart_001_01C3A2DA.BACA7FF0 Content-Type: application/ms-tnef; name="winmail.dat" Content-Transfer-Encoding: base64 eJ8+IhoNAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEADgAAAGZsYXNoIHN1cHBvcnQASwUB BYADAA4AAADTBwsABAAOADMAFQACAEEBASCAAwAOAAAA0wcLAAQADgAzABcAAgBDAQEJgAEAIQAA ADFDOUVBMDhCNDREN0ExNDk4QTUzODYyQkQzMEUwRDY5ADEHAQOQBgC0CAAANwAAAAMAJgAAAAAA AwA2AAAAAABAADkA8H/KutqiwwEeAD0AAQAAAAEAAAAAAAAAAgFHAAEAAAAuAAAAYz1DSDthPSA7 cD1IRVMtU087bD1FSU5UMTEtMDMxMTA0MTM1MTIxWi05NTkxAAAAHgBJAAEAAAAJAAAAUmU6IG1z NHcAAAAAQABOAADHzkPzn8MBHgBaAAEAAAANAAAAUGF1bCBTcGVuY2VyAAAAAAIBWwABAAAAPAAA AAAAAACBKx+kvqMQGZ1uAN0BD1QCAAAAAFBhdWwgU3BlbmNlcgBTTVRQAHBhZ2FtZWJhQG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AMAHUAAAAAA AwAeQAAAAAAeADBAAQAAAAYAAABSQkFVRAAAAB4AMUABAAAABgAAAFJCQVVEAAAAHgAyQAEAAAAS AAAAcGFnYW1lYmFAbWFnbWEuY2EAAAAeADNAAQAAABIAAABwYWdhbWViYUBtYWdtYS5jYQAAAB4A OEABAAAABgAAAFJCQVVEAAAAHgA5QAEAAAACAAAALgAAAAsAKQAAAAAACwAjAAAAAAADAAYQsxAT TgMABxBbAgAAAwAQEAAAAAADABEQAAAAAB4ACBABAAAAZQAAAEhJUEFVTCxTVVBQT1NJTkdJV0FO VFRPRElTUExBWUxBWUVSU0lOU1dGRklMRVNJTlRIRUdNQVBBUFBMSUNBVElPTlNBTVBMRUlTSE9V TERDUkVBVEVPTkVPVVRQVVRGT1JNQVQAAAAAAgF/AAEAAABBAAAAPDIyQ0Q3QTBFQTYwNzBBNERC OTMyMDExRjM0MjlGMTkwQjdGRjQ0QGVpbnQxMS5laW5ldC5hZC5laXZkLmNoPgAAAAC5EA== ------_=_NextPart_001_01C3A2DA.BACA7FF0-- --------------040806050004010702060006-- From LVN at hvm.dk Tue Nov 4 06:40:58 2003 From: LVN at hvm.dk (Lars V. Nielsen) Date: Tue, 4 Nov 2003 15:40:58 +0100 Subject: [Mapserver-users] SYMBOL definitions inside MAP file ? References: <053e01c3a2c5$e0398970$2401a8c0@odin> <3FA79A8E.6030100@terrestris.de> Message-ID: <055401c3a2e1$adb49460$2401a8c0@odin> Hello Till, Ah, I was looking for a general answer, hence the missing code. I managed to find the error - it wasn't the MAP file. The symbol files referenced by the SYMBOLSET file was a correct (and different) set, which off course worked. Somehow all the referenced pixmap symbol files had ended up being invalid (0 bytes), which off course should provoke an error. When I solved that problem, it all fell into place. One can indeed include symbol definitions in the map file, and reference them by relative paths (wrt. the map file), e.g. IMAGE "./mySYM.gif" Sorry about the fuss. Best regards / Med venlig hilsen Lars V. Nielsen -------------------------------------------------------- Hvenegaard & Meklenborg Rugaardsvej 55, DK-5000 Odense C Denmark http://www.hvm.dk ----- Original Message ----- From: "Till Adams" To: "Lars V. Nielsen" Sent: Tuesday, November 04, 2003 1:24 PM Subject: Re: [Mapserver-users] SYMBOL definitions inside MAP file ? > Dear Lars, > > better, you put some code in your mail ... > > I guess that mapserv v4.0 requires full pathes for the pixmap, because > it requires absolute pathes as well for the fontset. > > Are you sure you've set all > > SYMBOL > > END # SYMBOL > > coeeectly? > > Till > > Lars V. Nielsen schrieb: > > Hello List, > > > > I'm attempting to generate and use a MAP file with embedded SYMBOL > > definitions. > > > > I can't seem to make it work, it errs with a "Warning: [MapServer Error]: > > loadSymbol(): ..." regardless of where I put the definitions wrt. their > > usage (before/after). It only works when I put them in a seperate file > > (using SYMBOLSET). > > > > According to the docs it ought to be possible. Can anyone shed some light on > > this ? > > > > > > I'm using PIXMAP's that are located in the same dir as the MAP file, and > > using "./mypic.gif" as a reference to them. Is a full path reference needed > > ? > > > > Using Mapserver 4.0 on Win2000. > > > > 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 at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > -- > > ***** Besuchen Sie uns auf der acqua alta ***** > ***** vom 24.-27. November in M?nchen ***** > > ----- > > Dipl. Geogr. Till Adams > terrestris, Paulsen&Adams GbR > Siemensstr. 8 * 53121 Bonn > Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 > info at terrestris.de * www.terrestris.de > > > From muratisik at megatek.com.tr Tue Nov 4 07:01:38 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Tue, 4 Nov 2003 17:01:38 +0200 Subject: [Mapserver-users] zoom and pan problem -- help need Message-ID: <010b01c3a2e4$8cd1d1b0$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0108_01C3A2F5.50072A80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have been playing around with mapscript for a while. As I progress, I = have come up with a problem for which I could not find much resource. = It's about zooming. I have studied the second example on = http://mapserver.gis.umn.edu/doc36/phpmapscript-byexample-howto.html and = applied it to my own script as much as possible however I get the = following error: Fatal error: MapServer Error in msCalculateScale(): Invalid image = extent. in /var/www/html/mapserver/itasca/demo_try_mysql_alpha_zoom.php = on line 95 This is the line about extent. I have bolded it below. Please help me = understand what is going wrong. Any ideas? My php code: Displaying a Point
>

DYNAMIC POINT

\n"; if($test_x[$i]=3D=3D$x[$i-1] || $test_y[$i]=3D=3D$y[$i-1]) { --$i; }else { $x[$i] =3D $test_x[$i]; $y[$i] =3D $test_y[$i]; } } mysql_free_result($result); for($k=3D1;$k<=3D$i-1;++$k) { $pt->setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); ?>

" width=3D600 height=3D600 = border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> My map file: # # Start of map file # NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 #OUTPUTFORMAT # NAME PNG # DRIVER "GD/PNG" # MIMETYPE "image/png" # IMAGEMODE PC256 # EXTENSION "png" #END IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'ERENKOY_ORNEKILCE_PG_region' TYPE polygon STATUS DEFAULT DATA ERENKOY_ORNEKILCE_PG_region CLASSITEM 'ID' CLASS EXPRESSION '3' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END LAYER NAME ERENKOY_ORNEKMAHALLE_PG_region GROUP cities TYPE polygon DATA ERENKOY_ORNEKMAHALLE_PG_region STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ # NAME "Cities & Towns" EXPRESSION /./ COLOR 255 225 185 OUTLINECOLOR 0 0 0 END END LAYER NAME 'target2' TYPE point DATA target2 STATUS ON CLASS SYMBOL 'circle' COLOR 255 255 0 SIZE 20 LABEL COLOR 0 0 0 END END END LAYER NAME 'target1' TYPE point DATA target1 STATUS ON CLASS SYMBOL 'circle' COLOR 255 0 0 SIZE 4 LABEL COLOR 0 0 0 END END END END # end of map file Thank you... Have a nice day:) Murat Isik ------=_NextPart_000_0108_01C3A2F5.50072A80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have been playing around with = mapscript for a=20 while. As I progress, I have come up with a problem for which I could = not find=20 much resource. It's about zooming. I have studied the second example on = http://mapserver.gis.umn.edu/doc36/phpmapscript-byexample-howto.html=  and=20 applied it to my own script as much as possible however I get the = following=20 error:
 
Fatal error: MapServer Error in=20 msCalculateScale(): Invalid image extent. in=20 /var/www/html/mapserver/itasca/demo_try_mysql_alpha_zoom.php on = line=20 95
This is the line about extent. I = have bolded=20 it below. Please help me understand what is going wrong. Any = ideas?
 
My php code:
 
<HEAD>
<TITLE>Displaying = a=20 Point</TITLE>
</HEAD>
<CENTER>
<FORM = METHOD=3DPOST=20 ACTION=3D<?php echo $PHP_SELF?>>
<H1>DYNAMIC=20 POINT</H1>
<P>
<?php
dl("php_mapscript.so");
 
mysql_connect("localhost","root","deneme")=20 or
        die ("Could not connect = to=20 database");
 
mysql_select_db("gpstrack")=20 or
        die("Could not select=20 database");
 
$val_zsize=3D3;
$check_pan=3D"CHECKED";
 
$shpFname =3D "target1";
$shpFile = =3D=20 ms_newShapeFileObj($shpFname, MS_SHP_POINT);
 
$shpFname1 =3D "target2";
$shpFile1 = =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);
 
$pt =3D ms_newPointObj();
 
$i =3D 0;
 
$result =3D mysql_query("select * from = track2")=20 or
        die=20 (mysql_error());
 

$x[0]=3D0;
$y[0]=3D0;
 
while ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;
file://echo=20 $row["lominutes"];
file://echo=20 "<br>\n";
 

if($test_x[$i]=3D=3D$x[$i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{
 
$x[$i] =3D $test_x[$i];
$y[$i] =3D=20 $test_y[$i];
 
}
 
}
mysql_free_result($result);
 

for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],= =20 $y[$k]);
$shpFile->addPoint($pt);
};
 
$pt->setXY($x[$i],=20 $y[$i]);
$shpFile1->addPoint($pt);
 

$shpFile->free();
$shpFile1->free();
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$myMap =3D = ms_newMapObj("demo_try.map");
 
#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);
 

if ( = isset($HTTP_POST_VARS["mapa_x"])=20 && = isset($HTTP_POST_VARS["mapa_y"])
     =20 && !isset($HTTP_POST_VARS["full"]) ) {
 
      = $extent_to_set =3D=20 explode(" ",$HTTP_POST_VARS["extent"]);
 
     =20 $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;      =20 $extent_to_set[2],$extent_to_set[3]);
 
      = $my_point =3D=20 ms_newpointObj();
     =20 $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=
 
      = $my_extent =3D=20 ms_newrectObj();
 
     =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);
 
      = $zoom_factor =3D=20 $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 {
           &n= bsp; =20 $zoom_factor =3D=20 1;
           &= nbsp; =20 $check_pan =3D=20 "CHECKED";
          = ;   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor <=20 0)=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "CHECKED";
      = }
 
      = $val_zsize =3D=20 abs($zoom_factor);
 
     =20 $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);
 
}
$img =3D = $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);
 
?>
<BODY>
<center>
<table border=3D0 = cellspacing=3D0 cellpadding=3D4 = bgcolor=3D"#FFFFFF">
<tr>
<td=20 valign=3D"top" align=3Dcenter>
  <table cellpadding=3D"0"=20 cellspacing=3D"5" border=3D"5">
    = <tr><td=20 colspan=3D"2"><INPUT NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php = echo $image_url;=20 ?>" width=3D600 height=3D600=20 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN NAME=3D"extent" = VALUE=3D"<?php echo=20 $extent_to_html?>">
</FORM>
</CENTER>
 
</BODY>
</HTML>
 
 
My map file:
 
#
# Start of map file
#
NAME=20 ERENKOY
STATUS ON
SIZE 600 600
EXTENT 29.057 40.954 29.143=20 40.999
UNITS DD
SHAPEPATH = "/var/www/html/mapserver/itasca/"
IMAGECOLOR=20 255 255 255
 
#OUTPUTFORMAT
#  NAME = PNG
#  DRIVER=20 "GD/PNG"
#  MIMETYPE "image/png"
#  IMAGEMODE = PC256
# =20 EXTENSION "png"
#END
 
IMAGETYPE GIF
 

WEB
  MINSCALE = 1000
  MAXSCALE=20 1550000
  IMAGEPATH "/var/www/html/mapserver/tmp3/"
  = IMAGEURL=20 "/mapserver/tmp3/"
 END
 

SYMBOL
  NAME = 'circle'
  TYPE=20 ELLIPSE
  POINTS 1 1 END
  FILLED = TRUE
END
 

LAYER
  NAME=20 'ERENKOY_ORNEKILCE_PG_region'
  TYPE polygon
  STATUS=20 DEFAULT
  DATA ERENKOY_ORNEKILCE_PG_region
 
  CLASSITEM 'ID'
 =20 CLASS
    EXPRESSION '3'
    = OUTLINECOLOR=20 128 128 128
    COLOR 225 225 185
  = END
 =20 CLASS
    EXPRESSION /./
    = OUTLINECOLOR=20 128 128 128
    COLOR 255 255 255
 =20 END
END
 
LAYER
 NAME=20 ERENKOY_ORNEKMAHALLE_PG_region
  GROUP cities
  TYPE=20 polygon
 DATA ERENKOY_ORNEKMAHALLE_PG_region
  STATUS=20 ON
 CLASSITEM=20 'ID'
 CLASS
        = EXPRESSION=20 /./
#    NAME "Cities & = Towns"
   =20 EXPRESSION /./
    COLOR 255 225=20 185
        OUTLINECOLOR 0 0=20 0
 
  END
 

END
 
LAYER
  NAME = 'target2'
  TYPE=20 point
  DATA target2
  STATUS ON
  =20 CLASS
    SYMBOL 'circle'
    COLOR = 255 255=20 0
    SIZE 20
    =20 LABEL
      COLOR 0 0 = 0
    =20 END
   END
 

END
 
LAYER
  NAME = 'target1'
  TYPE=20 point
  DATA target1
  STATUS ON
  =20 CLASS
    SYMBOL 'circle'
    COLOR = 255 0=20 0
    SIZE 4
    =20 LABEL
      COLOR 0 0 = 0
    =20 END
   END
 

END
 
END # end of map file
 
Thank you...
 
Have a nice day:)
 
Murat = Isik
------=_NextPart_000_0108_01C3A2F5.50072A80-- From agillesp at vt.edu Tue Nov 4 07:03:51 2003 From: agillesp at vt.edu (bean@vt.edu) Date: Tue, 4 Nov 2003 10:03:51 -0500 Subject: [Mapserver-users] compiling regex on windows Message-ID: <3FAEB1C5@zathras> my regex only came with Makefile.in ... that's for *nix. am i missing something? -abe >===== Original Message From Stephen Clark ===== >Heve you tried compiling using at a command window: > >nmake /f makefile.vc > > > > >----- Original Message ----- >From: "Abram Gillespie" >To: >Sent: Sunday, November 02, 2003 9:00 PM >Subject: [Mapserver-users] compiling regex on windows > > >> i'm trying to compile the regex lib on windows 2000 with vs.net. i get >> the following error: >> c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open >> include file: 'strings.h': No such file or directory >> >> then when i define HAVE_STRING_H to try to fix the above error i get >> these: >> c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : >> redefinition; previous definition was a 'function' >> c:\source_code\regex-0.12\regex.h(404) : see declaration of >> 're_set_syntax' >> c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : >> missing ';' before identifier 'reg_syntax_t' >> c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected >> end of file found >> >> anything i can do? >> >> thanks. >> abe >> >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users at lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> From assefa at dmsolutions.ca Tue Nov 4 07:18:33 2003 From: assefa at dmsolutions.ca (Yewondwossen Assefa) Date: Tue, 04 Nov 2003 10:18:33 -0500 Subject: [Mapserver-users] flash output problem In-Reply-To: <1067941146032394@lycos-europe.com> References: <1067941146032394@lycos-europe.com> Message-ID: <3FA7C349.2070809@dmsolutions.ca> The OUTPUTFORMAT defined in the map file seems to be correct. Here is definition that I took from my test file : IMAGETYPE swf OUTPUTFORMAT NAME swf MIMETYPE "application/x-shockwave-flash" DRIVER swf IMAGEMODE PC256 FORMATOPTION "OUTPUT_MOVIE=SINGLE" # FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" # FORMATOPTION "FULL_RESOLUTION=FALSE" END Saying that, Chameleon was not built to handle flash outputs. It generally uses the GD format types (png, gif). To be able to handle Flash output, you generally need to have a Flash application that loads the data produced my mapserver and do some actions like zooming, ... You can not just convert for example a GMAP kind of application to Flash just by changing the output data. Later, baud remi wrote: > Hi the list, > > I wanted to output flash file for vector datas like polygons. (I use chameleon 1.1, ms4w 0.5) > > I've set in my chameleon.map file: > > In map object: IMAGETYPE SWF > > and an OUTPUTFORMAT: OUTPUTFORMAT > NAME swf > MIMETYPE "application/x-shockwave-flash" > DRIVER swf > IMAGEMODE PC256 > FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" > END > > Then, when I lauch my application, no .swf file are written in c:\ms4w\tmp\ms_tmp\ > My application don't load, it's always the "please wait ..." displayed. > I suppose there is something with drawmap.php which tells that he encoutred problem with .swf files. > My configuaration for mapserver 4.1 tells that mapscript support swf files. > > Do Anyone had a suggestion? > > Cheers! > > Votre e-mail et vos SMS vous suivent sur Minitel : 3615 CARAMAIL > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From stephen.clark at focus.ca Tue Nov 4 08:23:10 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Tue, 4 Nov 2003 08:23:10 -0800 Subject: [Mapserver-users] compiling regex on windows References: <3FAEB1C5@zathras> Message-ID: <004701c3a2ef$f0532490$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0044_01C3A2AC.E1EF8030 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit I have attached a copy of a windows makefile.vc I got from the list a while back. try this out. stephen ----- Original Message ----- From: "bean at vt.edu" To: "Mapserver-users" ; "Stephen Clark" Sent: Tuesday, November 04, 2003 7:03 AM Subject: RE: [Mapserver-users] compiling regex on windows > my regex only came with Makefile.in ... that's for *nix. am i missing > something? > > -abe > > >===== Original Message From Stephen Clark ===== > >Heve you tried compiling using at a command window: > > > >nmake /f makefile.vc > > > > > > > > > >----- Original Message ----- > >From: "Abram Gillespie" > >To: > >Sent: Sunday, November 02, 2003 9:00 PM > >Subject: [Mapserver-users] compiling regex on windows > > > > > >> i'm trying to compile the regex lib on windows 2000 with vs.net. i get > >> the following error: > >> c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open > >> include file: 'strings.h': No such file or directory > >> > >> then when i define HAVE_STRING_H to try to fix the above error i get > >> these: > >> c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : > >> redefinition; previous definition was a 'function' > >> c:\source_code\regex-0.12\regex.h(404) : see declaration of > >> 're_set_syntax' > >> c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : > >> missing ';' before identifier 'reg_syntax_t' > >> c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected > >> end of file found > >> > >> anything i can do? > >> > >> thanks. > >> abe > >> > >> _______________________________________________ > >> Mapserver-users mailing list > >> Mapserver-users at lists.gis.umn.edu > >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >> > > > ------=_NextPart_000_0044_01C3A2AC.E1EF8030 Content-Type: application/octet-stream; name="Makefile.vc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.vc" # Makefile for regex. # # Copyright (C) 1992, 1993 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. version = 0.12 # You can define CPPFLAGS on the command line. Aside from system-specific # flags, you can define: # -DREGEX_MALLOC to use malloc/realloc/free instead of alloca. # -DDEBUG to enable the compiled pattern disassembler and execution # tracing; code runs substantially slower. # -DEXTRACT_MACROS to use the macros EXTRACT_* (as opposed to # the corresponding C procedures). If not -DDEBUG, the macros # are used. CPPFLAGS = -DHAVE_STRING_H -DREGEX_MALLOC # Likewise, you can override CFLAGS to optimize, use -Wall, etc. CFLAGS = -Ox -G6 # Ditto for LDFLAGS and LOADLIBES. LDFLAGS = LOADLIBES = #srcdir = @srcdir@ #VPATH = @srcdir@ CC = cl #DEFS = @DEFS@ SHELL = /bin/sh subdirs = doc test default all:: regex.obj .PHONY: default all regex.obj: regex.c regex.h $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) -c $*.c clean mostlyclean:: rm -f *.obj distclean:: clean rm -f Makefile config.status extraclean:: distclean rm -f patch* *~* *\#* *.orig *.rej *.bak core a.out configure: configure.in autoconf config.status: configure sh configure --no-create Makefile: Makefile.in config.status sh config.status makeargs = $(MFLAGS) CPPFLAGS='$(CPPFLAGS)' CFLAGS='$(CFLAGS)' CC='$(CC)' \ DEFS='$(DEFS)' LDFLAGS='$(LDFLAGS)' LOADLIBES='$(LOADLIBES)' default all install \ mostlyclean clean distclean extraclean realclean \ TAGS check:: for d in $(subdirs); do (cd $$d; $(MAKE) $(makeargs) $@); done .PHONY: install mostlyclean clean distclean extraclean realclean TAGS check # Prevent GNU make 3 from overflowing arg limit on system V. .NOEXPORT: distfiles = AUTHORS ChangeLog COPYING INSTALL NEWS README \ *.in configure regex.c regex.h distdir = regex-$(version) distargs = version=$(version) distdir=../$(distdir)/$$d dist: TAGS configure @echo "Version numbers in: Makefile.in, ChangeLog, NEWS," @echo " regex.c, regex.h," @echo " and doc/xregex.texi (if modified)." rm -rf $(distdir) mkdir $(distdir) ln $(distfiles) $(distdir) for d in $(subdirs); do (cd $$d; $(MAKE) $(distargs) dist); done tar czhf $(distdir).tar.Z $(distdir) rm -rf $(distdir) .PHONY: dist ------=_NextPart_000_0044_01C3A2AC.E1EF8030-- From stephen.clark at focus.ca Tue Nov 4 08:28:16 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Tue, 4 Nov 2003 08:28:16 -0800 Subject: [Mapserver-users] WMS connection for BC Albers -- howto ?? References: <1067528000.3fa12f40a2687@dutilleux.ensg.ign.fr> <3FA29BE8.4020101@dmsolutions.ca> <121b01c3a26b$67aa72d0$6c000a0a@sclark> <1067904210.3fa6ecd27338e@hydra> Message-ID: <005c01c3a2f0$a71d9390$6c000a0a@sclark> Shane, I am not really sure hor to use this file you sent. me. I was thinking of using this wms server as a layer in my *.map file like below: ### wms layers from BC Gov. LAYER NAME "wms_bcgov" TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION URL "http://slkapps2.env.gov.bc.ca/servlet/com.esri.wms.esrimap" METADATA "wms_srs" "EPSG:42102" "wms_name" "wms_bgov" "wms_server_version" "1.1.3" # "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" "wms_format" "image/png" END PROJECTION "init=epsg:42102" END END Is this possible? ----- Original Message ----- From: "Shane Nelson" To: Sent: Monday, November 03, 2003 4:03 PM Subject: Re: [Mapserver-users] WMS connection for BC Albers -- howto ?? > Yes. I've attached an OGC file from the Arc3WMS client > (http://www.refractions.net/arc3wms/). This particular server is very picky > about how it works. > > After loading the ogc file you can check the connection strings. If you have > beta2 of the WMS client they will be in the %temp%\wms_client_log.txt file. > > ShaneQuoting Stephen Clark : > > > Hello, > > > > Has anyone setup a wms connection to the BC Government wms servers that send > > out data in C Albers format? > > > > thanks, > > Stephen > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > From gayathri at ou.edu Tue Nov 4 07:58:18 2003 From: gayathri at ou.edu (Swaminathan, Gayathri) Date: Tue, 4 Nov 2003 09:58:18 -0600 Subject: [Mapserver-users] WMS connection for BC Albers -- howto ?? Message-ID: Stephen, Check this out for info on how to use WMS Client.... http://www.refractions.net/arc3wms/ But,if you opened the OGC file Shane sent in a text editor, you will find the onlineresource URL and the Bbox... So here goes your layer definition, that should work, LAYER NAME "wms_bcgov" TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION URL "http://slkapps2.env.gov.bc.ca/servlet/com.esri.wms.Esrimap&layers=" METADATA "wms_srs" "EPSG:42102" "wms_name" "wms_bgov" "wms_server_version" "1.1.3" # "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" "wms_format" "image/png" END PROJECTION "init=epsg:42102" END END Substitute the with your layer of interest., http://slkapps2.env.gov.bc.ca/servlet/com.esri.wms.Esrimap?version=1.1.0&req uest=capabilities Returns the complete set of layers available. HTH Gayathri -----Original Message----- From: Stephen Clark [mailto:stephen.clark at focus.ca] Sent: Tuesday, November 04, 2003 10:28 AM To: Shane Nelson; mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] WMS connection for BC Albers -- howto ?? Shane, I am not really sure hor to use this file you sent. me. I was thinking of using this wms server as a layer in my *.map file like below: ### wms layers from BC Gov. LAYER NAME "wms_bcgov" TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION URL "http://slkapps2.env.gov.bc.ca/servlet/com.esri.wms.esrimap" METADATA "wms_srs" "EPSG:42102" "wms_name" "wms_bgov" "wms_server_version" "1.1.3" # "wms_formatlist" "image/gif,image/png,image/jpeg,image/wbmp" "wms_format" "image/png" END PROJECTION "init=epsg:42102" END END Is this possible? ----- Original Message ----- From: "Shane Nelson" To: Sent: Monday, November 03, 2003 4:03 PM Subject: Re: [Mapserver-users] WMS connection for BC Albers -- howto ?? > Yes. I've attached an OGC file from the Arc3WMS client > (http://www.refractions.net/arc3wms/). This particular server is very picky > about how it works. > > After loading the ogc file you can check the connection strings. If > you have > beta2 of the WMS client they will be in the %temp%\wms_client_log.txt file. > > ShaneQuoting Stephen Clark : > > > Hello, > > > > Has anyone setup a wms connection to the BC Government wms servers > > that send > > out data in C Albers format? > > > > thanks, > > Stephen > > > > _______________________________________________ > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From agillesp at vt.edu Tue Nov 4 08:00:12 2003 From: agillesp at vt.edu (bean@vt.edu) Date: Tue, 4 Nov 2003 11:00:12 -0500 Subject: [Mapserver-users] compiling regex on windows Message-ID: <3FAFFA8C@zathras> i'm now getting this: Makefile.vc(50) : fatal error U1086: inference rule cannot have dependents Stop. -abe >===== Original Message From Stephen Clark ===== >I have attached a copy of a windows makefile.vc I got from the list a while >back. > >try this out. > >stephen > >----- Original Message ----- >From: "bean at vt.edu" >To: "Mapserver-users" ; "Stephen Clark" > >Sent: Tuesday, November 04, 2003 7:03 AM >Subject: RE: [Mapserver-users] compiling regex on windows > > >> my regex only came with Makefile.in ... that's for *nix. am i missing >> something? >> >> -abe >> >> >===== Original Message From Stephen Clark ===== >> >Heve you tried compiling using at a command window: >> > >> >nmake /f makefile.vc >> > >> > >> > >> > >> >----- Original Message ----- >> >From: "Abram Gillespie" >> >To: >> >Sent: Sunday, November 02, 2003 9:00 PM >> >Subject: [Mapserver-users] compiling regex on windows >> > >> > >> >> i'm trying to compile the regex lib on windows 2000 with vs.net. i get >> >> the following error: >> >> c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open >> >> include file: 'strings.h': No such file or directory >> >> >> >> then when i define HAVE_STRING_H to try to fix the above error i get >> >> these: >> >> c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : >> >> redefinition; previous definition was a 'function' >> >> c:\source_code\regex-0.12\regex.h(404) : see declaration of >> >> 're_set_syntax' >> >> c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : >> >> missing ';' before identifier 'reg_syntax_t' >> >> c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected >> >> end of file found >> >> >> >> anything i can do? >> >> >> >> thanks. >> >> abe >> >> >> >> _______________________________________________ >> >> Mapserver-users mailing list >> >> Mapserver-users at lists.gis.umn.edu >> >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >> >> >> >> From morissette at dmsolutions.ca Tue Nov 4 08:21:20 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 04 Nov 2003 11:21:20 -0500 Subject: [Mapserver-users] zoom and pan problem -- help need In-Reply-To: <010b01c3a2e4$8cd1d1b0$b4704ad5@murathq> References: <010b01c3a2e4$8cd1d1b0$b4704ad5@murathq> Message-ID: <3FA7D200.1020703@dmsolutions.ca> Murat Isik wrote: > > *Fatal error*: MapServer Error in msCalculateScale(): Invalid image > extent. in > */var/www/html/mapserver/itasca/demo_try_mysql_alpha_zoom.php* on line *95* > This is the line about extent. I have bolded it below. Please help me > understand what is going wrong. Any ideas? > I couldn't see line 95 in bold, but anyway you normally get this error if your extents or your map width/height result in a map with 0-width or 0-height so you need to make sure the values you set for your extents are valid (perhaps print the values before setting the extents). Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From muratisik at megatek.com.tr Tue Nov 4 08:31:53 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Tue, 4 Nov 2003 18:31:53 +0200 Subject: [Mapserver-users] zoom and pan problem -- help need References: <010b01c3a2e4$8cd1d1b0$b4704ad5@murathq> <3FA7D200.1020703@dmsolutions.ca> Message-ID: <015501c3a2f1$27accd00$b4704ad5@murathq> Sorry, forgot to bold it. Actually I solved the problem in a manual way. I read that $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); line calculates the extend from the map file. I commented it out and manually assigned the four extent values to all $extent_to_set 's. That solved the problem (I hope) Would it do any harm in the long run or any minorty compared to calculating the extent dynamically? Have a nice day Murat Isik ----- Original Message ----- From: "Daniel Morissette" To: "Murat Isik" Cc: Sent: Tuesday, November 04, 2003 6:21 PM Subject: Re: [Mapserver-users] zoom and pan problem -- help need > Murat Isik wrote: > > > > *Fatal error*: MapServer Error in msCalculateScale(): Invalid image > > extent. in > > */var/www/html/mapserver/itasca/demo_try_mysql_alpha_zoom.php* on line *95* > > This is the line about extent. I have bolded it below. Please help me > > understand what is going wrong. Any ideas? > > > > I couldn't see line 95 in bold, but anyway you normally get this error > if your extents or your map width/height result in a map with 0-width or > 0-height so you need to make sure the values you set for your extents > are valid (perhaps print the values before setting the extents). > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ From pierre.giraud3 at free.fr Tue Nov 4 08:41:33 2003 From: pierre.giraud3 at free.fr (Pierre GIRAUD) Date: Tue, 4 Nov 2003 17:41:33 +0100 Subject: [Mapserver-users] flash output problem References: <1067941146032394@lycos-europe.com> <3FA7C349.2070809@dmsolutions.ca> Message-ID: <016301c3a2f2$81b1e2d0$eb00a8c0@crarhonealpes.fr> In that way (flash application with tools like zooming...), you must take a look at the interface proposed (sources available) by Ryan Grant. (http://132.156.108.209/FlashMap/FlashMapServer.html). This one does not take advantage of swf output but with little work it could. Pierre GIRAUD > The OUTPUTFORMAT defined in the map file seems to be correct. Here is > definition that I took from my test file : > > IMAGETYPE swf > > > OUTPUTFORMAT > NAME swf > MIMETYPE "application/x-shockwave-flash" > DRIVER swf > IMAGEMODE PC256 > FORMATOPTION "OUTPUT_MOVIE=SINGLE" > # FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" > # FORMATOPTION "FULL_RESOLUTION=FALSE" > END > > Saying that, Chameleon was not built to handle flash outputs. It > generally uses the GD format types (png, gif). To be able to handle > Flash output, you generally need to have a Flash application that loads > the data produced my mapserver and do some actions like zooming, ... > You can not just convert for example a GMAP kind of application to > Flash just by changing the output data. > > Later, > > > baud remi wrote: > > Hi the list, > > > > I wanted to output flash file for vector datas like polygons. (I use chameleon 1.1, ms4w 0.5) > > > > I've set in my chameleon.map file: > > > > In map object: IMAGETYPE SWF > > > > and an OUTPUTFORMAT: OUTPUTFORMAT > > NAME swf > > MIMETYPE "application/x-shockwave-flash" > > DRIVER swf > > IMAGEMODE PC256 > > FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" > > END > > > > Then, when I lauch my application, no .swf file are written in c:\ms4w\tmp\ms_tmp\ > > My application don't load, it's always the "please wait ..." displayed. > > I suppose there is something with drawmap.php which tells that he encoutred problem with .swf files. > > My configuaration for mapserver 4.1 tells that mapscript support swf files. > > > > Do Anyone had a suggestion? > > > > Cheers! From agillesp at vt.edu Tue Nov 4 09:05:26 2003 From: agillesp at vt.edu (bean@vt.edu) Date: Tue, 4 Nov 2003 12:05:26 -0500 Subject: [Mapserver-users] compiling regex on windows Message-ID: <3FB164AF@zathras> now i'm getting: for d in doc test; do (cd $d; nmake CPPFLAGS='-DHAVE_STRING_H -DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' default); done d was unexpected at this time. NMAKE : fatal error U1077: 'for' : return code '0x1' Stop. -abe >===== Original Message From "Swaminathan, Gayathri" ===== >Hello, > >Here goes as an attachment my complete regex dir in the attached zip. > >Unzip it, > >Setvars in command...for VC++ compile > >And then do a 'nmake /f makefile.vc' > >Good luck! That should work > >Gayathri > >-----Original Message----- >From: bean at vt.edu [mailto:agillesp at vt.edu] >Sent: Tuesday, November 04, 2003 10:00 AM >To: Mapserver-users; Stephen Clark >Subject: RE: [Mapserver-users] compiling regex on windows > > >i'm now getting this: > >Makefile.vc(50) : fatal error U1086: inference rule cannot have dependents >Stop. > >-abe From gayathri at ou.edu Tue Nov 4 09:08:01 2003 From: gayathri at ou.edu (Swaminathan, Gayathri) Date: Tue, 4 Nov 2003 11:08:01 -0600 Subject: [Mapserver-users] compiling regex on windows Message-ID: Did you "Setvars" for your VC++ environment? -----Original Message----- From: bean at vt.edu [mailto:agillesp at vt.edu] Sent: Tuesday, November 04, 2003 11:05 AM To: Swaminathan, Gayathri; Mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] compiling regex on windows now i'm getting: for d in doc test; do (cd $d; nmake CPPFLAGS='-DHAVE_STRING_H -DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' default); done d was unexpected at this time. NMAKE : fatal error U1077: 'for' : return code '0x1' Stop. -abe >===== Original Message From "Swaminathan, Gayathri" >===== Hello, > >Here goes as an attachment my complete regex dir in the attached zip. > >Unzip it, > >Setvars in command...for VC++ compile > >And then do a 'nmake /f makefile.vc' > >Good luck! That should work > >Gayathri > >-----Original Message----- >From: bean at vt.edu [mailto:agillesp at vt.edu] >Sent: Tuesday, November 04, 2003 10:00 AM >To: Mapserver-users; Stephen Clark >Subject: RE: [Mapserver-users] compiling regex on windows > > >i'm now getting this: > >Makefile.vc(50) : fatal error U1086: inference rule cannot have >dependents Stop. > >-abe From jberroa at hotmail.com Tue Nov 4 09:13:23 2003 From: jberroa at hotmail.com (Pablo Berroa) Date: Tue, 04 Nov 2003 17:13:23 +0000 Subject: [Mapserver-users] ASP sample applications Message-ID:

Hi listers,

Could anyone point me to ASP applications using mapserver.

Also any how to?s, documents would be helpful,

Thanks in advance,

Juan Berroa

Santo Domingo, Dominican Republic


 


Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! From agillesp at vt.edu Tue Nov 4 09:17:26 2003 From: agillesp at vt.edu (bean@vt.edu) Date: Tue, 4 Nov 2003 12:17:26 -0500 Subject: [Mapserver-users] compiling regex on windows Message-ID: <3FB19C49@zathras> i tried "vsvars32.bat" for vs.net once. and i tried "vcvars32.bat" for vc 6.0 once. neither worked. is this what you mean by "Setvars?" -abe >===== Original Message From "Swaminathan, Gayathri" ===== >Did you "Setvars" for your VC++ environment? > >-----Original Message----- >From: bean at vt.edu [mailto:agillesp at vt.edu] >Sent: Tuesday, November 04, 2003 11:05 AM >To: Swaminathan, Gayathri; Mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] compiling regex on windows > > >now i'm getting: > for d in doc test; do (cd $d; nmake CPPFLAGS='-DHAVE_STRING_H >-DREGEX_M >ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' default); >done >d was unexpected at this time. >NMAKE : fatal error U1077: 'for' : return code '0x1' >Stop. > >-abe > >>===== Original Message From "Swaminathan, Gayathri" >>===== Hello, >> >>Here goes as an attachment my complete regex dir in the attached zip. >> >>Unzip it, >> >>Setvars in command...for VC++ compile >> >>And then do a 'nmake /f makefile.vc' >> >>Good luck! That should work >> >>Gayathri >> >>-----Original Message----- >>From: bean at vt.edu [mailto:agillesp at vt.edu] >>Sent: Tuesday, November 04, 2003 10:00 AM >>To: Mapserver-users; Stephen Clark >>Subject: RE: [Mapserver-users] compiling regex on windows >> >> >>i'm now getting this: >> >>Makefile.vc(50) : fatal error U1086: inference rule cannot have >>dependents Stop. >> >>-abe From gayathri at ou.edu Tue Nov 4 09:23:40 2003 From: gayathri at ou.edu (Swaminathan, Gayathri) Date: Tue, 4 Nov 2003 11:23:40 -0600 Subject: [Mapserver-users] compiling regex on windows Message-ID: Yes that is what I meant by Set vars :) I am not sure how compatible is the code to .NET. It works with VC++ 6.0., Can you send in the steps you are doing., to the list. That will help. The Zipped file I sent you earlier is already compiled. You will see a regex.obj...This is the one mapserver is looking for when it compiles. Thanks, Gayathri -----Original Message----- From: bean at vt.edu [mailto:agillesp at vt.edu] Sent: Tuesday, November 04, 2003 11:17 AM To: Swaminathan, Gayathri; Mapserver-users Subject: RE: [Mapserver-users] compiling regex on windows i tried "vsvars32.bat" for vs.net once. and i tried "vcvars32.bat" for vc 6.0 once. neither worked. is this what you mean by "Setvars?" -abe >===== Original Message From "Swaminathan, Gayathri" >===== Did you "Setvars" for your VC++ environment? > >-----Original Message----- >From: bean at vt.edu [mailto:agillesp at vt.edu] >Sent: Tuesday, November 04, 2003 11:05 AM >To: Swaminathan, Gayathri; Mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] compiling regex on windows > > >now i'm getting: > for d in doc test; do (cd $d; nmake CPPFLAGS='-DHAVE_STRING_H >-DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' >LOADLIBES='' default); done >d was unexpected at this time. >NMAKE : fatal error U1077: 'for' : return code '0x1' >Stop. > >-abe > >>===== Original Message From "Swaminathan, Gayathri" >>===== Hello, >> >>Here goes as an attachment my complete regex dir in the attached zip. >> >>Unzip it, >> >>Setvars in command...for VC++ compile >> >>And then do a 'nmake /f makefile.vc' >> >>Good luck! That should work >> >>Gayathri >> >>-----Original Message----- >>From: bean at vt.edu [mailto:agillesp at vt.edu] >>Sent: Tuesday, November 04, 2003 10:00 AM >>To: Mapserver-users; Stephen Clark >>Subject: RE: [Mapserver-users] compiling regex on windows >> >> >>i'm now getting this: >> >>Makefile.vc(50) : fatal error U1086: inference rule cannot have >>dependents Stop. >> >>-abe From stephen.clark at focus.ca Tue Nov 4 10:34:00 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Tue, 4 Nov 2003 10:34:00 -0800 Subject: [Mapserver-users] compiling regex on windows References: <3FAFFA8C@zathras> Message-ID: <014d01c3a302$37514180$6c000a0a@sclark> Abe, You have lost me on the problem with the error. you might want to try: nmake /f makefile.vc clean nmake /f makefile.vc distclean and then nmake /f makefile.vc hope this helps Stephen ----- Original Message ----- From: "bean at vt.edu" To: "Mapserver-users" ; "Stephen Clark" Sent: Tuesday, November 04, 2003 8:00 AM Subject: RE: [Mapserver-users] compiling regex on windows > i'm now getting this: > > Makefile.vc(50) : fatal error U1086: inference rule cannot have dependents > Stop. > > -abe > > >===== Original Message From Stephen Clark ===== > >I have attached a copy of a windows makefile.vc I got from the list a while > >back. > > > >try this out. > > > >stephen > > > >----- Original Message ----- > >From: "bean at vt.edu" > >To: "Mapserver-users" ; "Stephen Clark" > > > >Sent: Tuesday, November 04, 2003 7:03 AM > >Subject: RE: [Mapserver-users] compiling regex on windows > > > > > >> my regex only came with Makefile.in ... that's for *nix. am i missing > >> something? > >> > >> -abe > >> > >> >===== Original Message From Stephen Clark ===== > >> >Heve you tried compiling using at a command window: > >> > > >> >nmake /f makefile.vc > >> > > >> > > >> > > >> > > >> >----- Original Message ----- > >> >From: "Abram Gillespie" > >> >To: > >> >Sent: Sunday, November 02, 2003 9:00 PM > >> >Subject: [Mapserver-users] compiling regex on windows > >> > > >> > > >> >> i'm trying to compile the regex lib on windows 2000 with vs.net. i get > >> >> the following error: > >> >> c:\source_code\regex-0.12\regex.c(63) : fatal error C1083: Cannot open > >> >> include file: 'strings.h': No such file or directory > >> >> > >> >> then when i define HAVE_STRING_H to try to fix the above error i get > >> >> these: > >> >> c:\source_code\regex-0.12\regex.c(808) : error C2365: 're_set_syntax' : > >> >> redefinition; previous definition was a 'function' > >> >> c:\source_code\regex-0.12\regex.h(404) : see declaration of > >> >> 're_set_syntax' > >> >> c:\source_code\regex-0.12\regex.c(808) : error C2146: syntax error : > >> >> missing ';' before identifier 'reg_syntax_t' > >> >> c:\source_code\regex-0.12\regex.c(808) : fatal error C1004: unexpected > >> >> end of file found > >> >> > >> >> anything i can do? > >> >> > >> >> thanks. > >> >> abe > >> >> > >> >> _______________________________________________ > >> >> Mapserver-users mailing list > >> >> Mapserver-users at lists.gis.umn.edu > >> >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >> >> > >> > >> > >> > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From ed at topozone.com Tue Nov 4 09:40:59 2003 From: ed at topozone.com (Ed McNierney) Date: Tue, 4 Nov 2003 12:40:59 -0500 Subject: [Mapserver-users] ASP sample applications Message-ID: <13858AA1A74F30419F319ACB66A9D1222C059D@mercator.topozone.com> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3A2FA.CF065F3D Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Juan - =20 I (and others) have written several long messages about the use of ASP = and MapServer. Please go to the MapServer Web site and search the = archives for ASP information - you'll find a lot. =20 - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed at topozone.com (978) 251-4242=20 -----Original Message----- From: Pablo Berroa [mailto:jberroa at hotmail.com] Sent: Tuesday, November 04, 2003 12:13 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] ASP sample applications Hi listers, Could anyone point me to ASP applications using mapserver. Also any how to=B4s, documents would be helpful, Thanks in advance, Juan Berroa Santo Domingo, Dominican Republic =20 _____ =20 Is your computer infected with a = virus? Find out with a FREE = computer virus scan from McAfee. Take the FreeScan now! = _______________________________________________ Mapserver-users mailing = list Mapserver-users at lists.gis.umn.edu = http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=20 ------_=_NextPart_001_01C3A2FA.CF065F3D Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Juan=20 -
 
I (and=20 others) have written several long messages about the use of ASP and=20 MapServer.  Please go to the MapServer Web site and search the = archives for=20 ASP information - you'll find a lot.
 
    - Ed

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

-----Original Message-----
From: Pablo Berroa=20 [mailto:jberroa at hotmail.com]
Sent: Tuesday, November 04, = 2003 12:13=20 PM
To: mapserver-users at lists.gis.umn.edu
Subject:=20 [Mapserver-users] ASP sample applications

Hi listers,

Could anyone point me to ASP applications using=20 mapserver.

Also any how to=B4s, documents would be = helpful,

Thanks in advance,

Juan Berroa

Santo Domingo, Dominican = Republic


 


Is your computer = infected with a=20 virus? Find out with a FREE computer virus scan from McAfee. Take the = FreeScan=20 now! _______________________________________________ = Mapserver-users=20 mailing list Mapserver-users at lists.gis.umn.edu=20 http://lists.gis.umn.edu/mailman/listinfo/mapserver-users=20
------_=_NextPart_001_01C3A2FA.CF065F3D-- From bfucile at mapwise.com Tue Nov 4 10:02:38 2003 From: bfucile at mapwise.com (Beth Fucile) Date: Tue, 4 Nov 2003 13:02:38 -0500 Subject: [Mapserver-users] Chameleon demo error with keymap Message-ID: Has anyone else experienced a problem with the Chameleon Demo's keymap loading? The path appears to be correct to the keymap.png file, but the default page loads a broken link and attempting to pan or zoom produces an error report with "ERROR: Key map image (images/keymap.png) was not found in KeyMap.widget.php." Running MapServer 4 Windows. Thanks for any advice in advance, Beth Fucile From MKLEIN at wapa.gov Tue Nov 4 10:20:42 2003 From: MKLEIN at wapa.gov (Michael Klein) Date: Tue, 04 Nov 2003 11:20:42 -0700 Subject: [Mapserver-users] Compiling mapserver 3.6 or earilier on redhat 8.0 Message-ID: several months ago, I remember seeing a notice somewhere relating to compile problems with mapserver 4.6 on redhat linus 8.0. It seem like there was a predictable point in the compile/link of mapserver it self where the make would fail and that it was related to the 3.1 compiler set that is default in redhat 8.0. Does anyone out there have any more details on this situation? Any pointers in finding this information would be greatly appreciated. Mike From eduardo at consultoria.eti.br Tue Nov 4 10:53:06 2003 From: eduardo at consultoria.eti.br (Eduardo Patto Kanegae) Date: Tue, 4 Nov 2003 16:53:06 -0200 Subject: [Mapserver-users] ASP sample applications In-Reply-To: <13858AA1A74F30419F319ACB66A9D1222C059D@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1222C059D@mercator.topozone.com> Message-ID: <20031104185306.6727.qmail@hm47.locaweb.com.br> http://geo.ipatinga.mg.gov.br/map_ipa.asp Eduardo Patto Kanegae http://www.consultoria.eti.br - BRASIL F?rum ptMapServer - http://www.consultoria.eti.br/mapserverptforum/ ClickBrasil - http://www.consultoria.eti.br/clickbrasil/ *************************************** ***Fim da Mensagem / End of Message *** *************************************** On Tue, 4 Nov 2003 12:40:59 -0500, "Ed McNierney" escreveu: > De: "Ed McNierney" > Data: Tue, 4 Nov 2003 12:40:59 -0500 > Para: "Pablo Berroa" , > Assunto: RE: [Mapserver-users] ASP sample applications > > > Juan - > > I (and others) have written several long messages about the use of ASP and MapServer. Please go to the MapServer Web site and search the archives for ASP information - you'll find a lot. > > - Ed > Ed McNierney > President and Chief Mapmaker > TopoZone.com / Maps a la carte, Inc. > 73 Princeton Street, Suite 305 > North Chelmsford, MA 01863 > ed at topozone.com > (978) 251-4242 > > -----Original Message----- > From: Pablo Berroa [mailto:jberroa at hotmail.com] > Sent: Tuesday, November 04, 2003 12:13 PM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] ASP sample applications > > > > Hi listers, > > Could anyone point me to ASP applications using mapserver. > > Also any how to?s, documents would be helpful, > > Thanks in advance, > > Juan Berroa > > Santo Domingo, Dominican Republic > > > > > > > _____ > > Is your computer infected with a virus? Find out with a FREE computer virus scan from McAfee. Take the FreeScan now! _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > From zak-ms at hoppsan.org Tue Nov 4 11:19:01 2003 From: zak-ms at hoppsan.org (Zak James) Date: Tue, 4 Nov 2003 14:19:01 -0500 Subject: [Mapserver-users] Chameleon demo error with keymap In-Reply-To: Message-ID: The keymap is being referenced by the file chameleon/htdocs/common/wrapper/drawmap.php and so the relative path is being interpreted from that file (it's looking for chameleon/htdocs/common/wrapper/images/keymap.png) . The workaround is to supply a path that takes that into account. This problem will be addressed in a future release; the path should be relative to the template. -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Tuesday, November 4, 2003, at 01:02 PM, Beth Fucile wrote: > Has anyone else experienced a problem with the Chameleon Demo's keymap > loading? The path appears to be correct to the keymap.png file, but the > default page loads a broken link and attempting to pan or zoom > produces an > error report with "ERROR: Key map image (images/keymap.png) was not > found in > KeyMap.widget.php." Running MapServer 4 Windows. > > Thanks for any advice in advance, > Beth Fucile > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From moccand at ensg.ign.fr Tue Nov 4 10:50:44 2003 From: moccand at ensg.ign.fr (Guillaume MOCCAND) Date: Tue, 04 Nov 2003 19:50:44 +0100 (CET) Subject: [Mapserver-users] How to empty the TMP directory Message-ID: <1067971844.3fa7f504e8038@dutilleux.ensg.ign.fr> hi, i wonder how i can empty the TMP directory that contains all the files created by Mapserver. do i need to configure Mapserver or do i need to proceed without using Mapserver. Thanks Guillaume MOCCAND From gsw at globexplorer.com Tue Nov 4 13:03:03 2003 From: gsw at globexplorer.com (Gregory S. Williamson) Date: Tue, 4 Nov 2003 13:03:03 -0800 Subject: [Mapserver-users] How to empty the TMP directory Message-ID: <71E37EF6B7DCC1499CEA0316A256832801057355@loki.wc.globexplorer.net> Guillaume , Mapserver seems to be done with the process once it puts the output files in the directory; you'll have to write a utility program to periodically delete old files. There used to be a utility on the MMS site for doing this under windows; I think a search of the list's archive would turn up the code. Unders *nix you'll want a cron job that runs a script that deletes all files that are older than some amount of time. I can provide a snippet that works under Solarix but don't know about the linux variants. HTH, Greg Williamson DBA GlobeXplorer LLC -----Original Message----- From: Guillaume MOCCAND [mailto:moccand at ensg.ign.fr] Sent: Tue 11/4/2003 10:50 AM To: mapserver-users at lists.gis.umn.edu Cc: Subject: [Mapserver-users] How to empty the TMP directory hi, i wonder how i can empty the TMP directory that contains all the files created by Mapserver. do i need to configure Mapserver or do i need to proceed without using Mapserver. Thanks Guillaume MOCCAND _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From heitzso at growthmodels.com Tue Nov 4 13:07:42 2003 From: heitzso at growthmodels.com (Heitzso) Date: Tue, 04 Nov 2003 16:07:42 -0500 Subject: [Mapserver-users] How to empty the TMP directory In-Reply-To: <1067971844.3fa7f504e8038@dutilleux.ensg.ign.fr> References: <1067971844.3fa7f504e8038@dutilleux.ensg.ign.fr> Message-ID: <3FA8151E.10404@growthmodels.com> There's probably a dozen ways of solving this problem. On my end I have a cron job that runs every hour and deletes the files that are more than X hours old. (*nix land). You could do the same in Windows but there's a bug in the scheduler code and if a task takes too little time the thread handling tangles and the scheduler locks up. The trick there is to use some sort of sleep/pause command in the batch file run by the scheduler. This gets around the Microsoft buggy code by taking up some time while the scheduler sorts out its threads. Back to *nix side of things, the crontab entry something like: 5 * * * * find /var/httpd/html/whatever/tmp -name '*.png' -ctime +240 -exec rm {} \; modified accordingly for your system. Guillaume MOCCAND wrote: >hi, > >i wonder how i can empty the TMP directory that contains all the files created >by Mapserver. >do i need to configure Mapserver or do i need to proceed without using >Mapserver. > >Thanks > >Guillaume MOCCAND >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From pramsey at refractions.net Tue Nov 4 13:22:08 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Tue, 04 Nov 2003 13:22:08 -0800 Subject: [Mapserver-users] How to empty the TMP directory In-Reply-To: <71E37EF6B7DCC1499CEA0316A256832801057355@loki.wc.globexplorer.net> References: <71E37EF6B7DCC1499CEA0316A256832801057355@loki.wc.globexplorer.net> Message-ID: <3FA81880.7070108@refractions.net> Something which preserves the more recent temp files while deleting the older ones is always wise, I like the all-in-one functionality of find: find /maptmp -type f -cmin +15 -exec /bin/rm {} ';' Paul Gregory S. Williamson wrote: > Guillaume , > > Mapserver seems to be done with the process once it puts the output files in the directory; you'll have to write a utility program to periodically delete old files. There used to be a utility on the MMS site for doing this under windows; I think a search of the list's archive would turn up the code. Unders *nix you'll want a cron job that runs a script that deletes all files that are older than some amount of time. I can provide a snippet that works under Solarix but don't know about the linux variants. > > HTH, > > Greg Williamson > DBA > GlobeXplorer LLC > > -----Original Message----- > From: Guillaume MOCCAND [mailto:moccand at ensg.ign.fr] > Sent: Tue 11/4/2003 10:50 AM > To: mapserver-users at lists.gis.umn.edu > Cc: > Subject: [Mapserver-users] How to empty the TMP directory > > hi, > > i wonder how i can empty the TMP directory that contains all the files created > by Mapserver. > do i need to configure Mapserver or do i need to proceed without using > Mapserver. > > Thanks > > Guillaume MOCCAND > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_ From stephen.clark at focus.ca Tue Nov 4 14:41:00 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Tue, 4 Nov 2003 14:41:00 -0800 Subject: [Mapserver-users] How to empty the TMP directory References: <71E37EF6B7DCC1499CEA0316A256832801057355@loki.wc.globexplorer.net> Message-ID: <023501c3a324$b90f8ca0$6c000a0a@sclark> if you need a windows util I have one stephen ----- Original Message ----- From: "Gregory S. Williamson" To: "Guillaume MOCCAND" ; Sent: Tuesday, November 04, 2003 1:03 PM Subject: RE: [Mapserver-users] How to empty the TMP directory > Guillaume , > > Mapserver seems to be done with the process once it puts the output files in the directory; you'll have to write a utility program to periodically delete old files. There used to be a utility on the MMS site for doing this under windows; I think a search of the list's archive would turn up the code. Unders *nix you'll want a cron job that runs a script that deletes all files that are older than some amount of time. I can provide a snippet that works under Solarix but don't know about the linux variants. > > HTH, > > Greg Williamson > DBA > GlobeXplorer LLC > > -----Original Message----- > From: Guillaume MOCCAND [mailto:moccand at ensg.ign.fr] > Sent: Tue 11/4/2003 10:50 AM > To: mapserver-users at lists.gis.umn.edu > Cc: > Subject: [Mapserver-users] How to empty the TMP directory > > hi, > > i wonder how i can empty the TMP directory that contains all the files created > by Mapserver. > do i need to configure Mapserver or do i need to proceed without using > Mapserver. > > Thanks > > Guillaume MOCCAND > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From scoota at supanet.com Tue Nov 4 13:40:14 2003 From: scoota at supanet.com (Keith Campbell) Date: Tue, 04 Nov 2003 21:40:14 +0000 Subject: [Mapserver-users] MySQL Spatial Extensions In-Reply-To: <3FA6E501.3000504@refractions.net> References: <3FA6C4F3.8000105@supanet.com> <3FA6E501.3000504@refractions.net> Message-ID: <3FA81CBE.8020306@supanet.com> Paul, No, I haven't tried PostGIS but I am looking into it. On that note, PostgreSQL itself has geometric types, operators and functions - are these separate from the PostGIS extensions? Keith Paul Ramsey wrote: > Keith Campbell wrote: > >> Does Mapserver provide support for the MySQL Spatial Extensions (R4.1)? > > > Not at the moment. Tried PostGIS (postgis.refractions.net)? > P > From morissette at dmsolutions.ca Tue Nov 4 14:01:34 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 04 Nov 2003 17:01:34 -0500 Subject: [Mapserver-users] [Fwd: MapScript - Java questions] Message-ID: <3FA821BE.4080705@dmsolutions.ca> -------- Original Message -------- Subject: MapScript - Java questions Date: Tue, 4 Nov 2003 13:57:25 -0800 From: Jeff Gardner To: Hello I'm looking for a simple example of using MapScript in a java application to display a map. Thanks - Jeff From pramsey at refractions.net Tue Nov 4 14:32:26 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Tue, 04 Nov 2003 14:32:26 -0800 Subject: [Mapserver-users] MySQL Spatial Extensions In-Reply-To: <3FA81CBE.8020306@supanet.com> References: <3FA6C4F3.8000105@supanet.com> <3FA6E501.3000504@refractions.net> <3FA81CBE.8020306@supanet.com> Message-ID: <3FA828FA.9040604@refractions.net> Yes, they are separate. The built-in PgSQL geometric types are not really properly set up for GIS work (no holes, no srids, no aggregates), they were more of an academic project dating back to the early PgSQL source code. Keith Campbell wrote: > Paul, > > No, I haven't tried PostGIS but I am looking into it. On that note, > PostgreSQL itself has geometric types, operators and functions - are > these separate from the PostGIS extensions? > > Keith > > Paul Ramsey wrote: > >> Keith Campbell wrote: >> >>> Does Mapserver provide support for the MySQL Spatial Extensions (R4.1)? >> >> >> >> Not at the moment. Tried PostGIS (postgis.refractions.net)? >> P >> > -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_ From morissette at dmsolutions.ca Tue Nov 4 17:43:22 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 04 Nov 2003 20:43:22 -0500 Subject: [Mapserver-users] Compiling mapserver 3.6 or earilier on redhat 8.0 In-Reply-To: References: Message-ID: <3FA855BA.80401@dmsolutions.ca> Michael Klein wrote: > several months ago, I remember seeing a notice somewhere relating to compile problems with mapserver 4.6 on redhat linus 8.0. It seem like there was a predictable point in the compile/link of mapserver it self where the make would fail and that it was related to the 3.1 compiler set that is default in redhat 8.0. Does anyone out there have any more details on this situation? Any pointers in finding this information would be greatly appreciated. > Fixed in versions 3.6.6 and 4.0. For the full details: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=246 Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Tue Nov 4 18:03:04 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 04 Nov 2003 21:03:04 -0500 Subject: [Mapserver-users] getFeatureInfo on dynamic layer -emptyexception In-Reply-To: <0DF955F15A102E4F81B948D44A45015A06924C@nt-sf-exchange.Windows2000> References: <0DF955F15A102E4F81B948D44A45015A06924C@nt-sf-exchange.Windows2000> Message-ID: <3FA85A58.3020302@dmsolutions.ca> Frieso ter Haseborg wrote: > > I want MS to call my php like this: > http://my.ip/kmvims/test4.php?version=1.1.0&request=GetMap. This part > works! > This works because MapServer is able to cascade GetMap requests... > When calling > http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map&version=1 > .1.0&request=GetFeatureInfo&query_layers=wms&x=251&y=329&INFO_FORMAT=tex > t/plain > > I want MS to call my php like this: > http://my.ip/kmvims/test4.php?version=1.1.0&request=GetFeatureInfo&query > _layers=wms&x=251&y=329&INFO_FORMAT=text/plain > > So I could do the getFeatureInfo-processing in my php and just return a > plain text, html or whatever MS needs to process. But MS refuses to call > the php at all on doing a getFeatureInfo-req. > ... and this doesn't work because MapServer doesn't cascade GetFeatureInfo requests. The main reason behind this is that the output of GetFeatureInfo requests is not clearly defined by WMS so MapServer would no know what to expect from the remote server. Instead MapScript offers a $layer->getWMSFeatureInfoURL() method that will return you the GetFeatureInfo url for a click at a specified location on a WMS layer and it's up to your client application (PHP script) to call this URL and try to make sense of the result. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From adamane at csir.co.za Tue Nov 4 22:36:59 2003 From: adamane at csir.co.za (Akhona Damane) Date: Wed, 05 Nov 2003 08:36:59 +0200 Subject: [Mapserver-users] My shapefiles do not display on Mapserver Message-ID: Hi I have been trying all that I can think of but I did not have my shapefiles displayed on Mapserver. I managed to run the Itasca demo on the Mapserver, and all the images were displayed very well. But coming to displaying my own shapefiles, there was nothing. Could someone help me? Akhona -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support. From H.Spalting at lippe.de Tue Nov 4 23:00:50 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Wed, 5 Nov 2003 08:00:50 +0100 Subject: AW: [Mapserver-users] scaling labels Message-ID: Hi, the use of SYMBOLSCALE,MINSIZE and MAXSIZE has no effect. I tryed to use truetype Fonds but had problems with it. Here is a part of the map-file. Maybe i did not understand the real meaning of SYMBOLSCALE,MINSIZE and MAXSIZE. LAYER NAME 'Beschriftung' GROUP 'Beschriftung' DATA 'D:/Inetpub/www100UMNMapServer/daten/Kalletal_1/shape/O_m_schrift' STATUS default TYPE ANNOTATION CLASSITEM 'Id' LABELITEM 'Z9pt' LABELCACHE OFF # LABELMAXSCALE 30000 SYMBOLSCALE 5000 CLASS # Beschr class COLOR -1 -1 -1 LABEL POSITION UC OFFSET 0 3 COLOR 0 0 0 # TYPE TRUETYPE # FONT "arial" SIZE MEDIUM MINSIZE 5 MAXSIZE 255 END # end of label END # end of class object END # END OF LAYERFILE -----Urspr?ngliche Nachricht----- Von: Michael Schulz [mailto:mschulz at webgis.de] Gesendet: Dienstag, 4. November 2003 10:25 An: Spalting, Hermann (Kreis Lippe) Cc: 'mapserver-users at lists.gis.umn.edu' Betreff: Re: [Mapserver-users] scaling labels Hello, scaling of symbols and labels is done using SYMBOLSCALE on the layerobj together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to limit dynamic sizing between these values. Not 100% sure, but i don't think Truetype is required. More information: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer Cheers und Gr??e, Michael Spalting, Hermann (Kreis Lippe) schrieb: > I want my labels to be scaled like in a photocopy. Becomming bigger and > bigger when zooming in. > How does that work? Are truetypes required? > > Hermann Spalting > Kreis Lippe > FG 4.4 > Felix-Fechenbach-Stra?e 5 > 32756 Detmold > email: <> > Tel: 05231/62-625 (oder -7827) > > -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de From m.spring at gmx.de Tue Nov 4 21:08:24 2003 From: m.spring at gmx.de (m.spring at gmx.de) Date: Wed, 05 Nov 2003 06:08:24 +0100 Subject: [Mapserver-users] How to empty the TMP directory In-Reply-To: <3FA81880.7070108@refractions.net> (Paul Ramsey's message of "Tue, 04 Nov 2003 13:22:08 -0800") References: <71E37EF6B7DCC1499CEA0316A256832801057355@loki.wc.globexplorer.net> <3FA81880.7070108@refractions.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Ramsey writes: > > find /maptmp -type f -cmin +15 -exec /bin/rm {} ';' > I use a slight modification (linux, probably other unices): find /data/web/tmp -type f -maxdepth 1 -amin +60 -print0 | xargs -0 -r rm -f Reasons: * my tmp directory has subdirs for other stuff, therefore -maxdepth 1 * I do produce several temporary files I want to delete, therefore -type f * I collect all output of find with -print0 and pipe it collected by xargs to rm. This avoids starting a process with rm for every found file and only triggers rm once for all found files. This has its advantage on heavily loaded machines Kind regards Markus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard iD8DBQE/qIXIxxUzQSse11ARAuW+AJ9g4zAd0tJTfr+2N6sEMfNQQOIr8wCfYi+N Dp2odQq9EdrOJ048ulgZYMU= =JImW -----END PGP SIGNATURE----- From adams at terrestris.de Tue Nov 4 23:34:06 2003 From: adams at terrestris.de (Till Adams) Date: Wed, 05 Nov 2003 08:34:06 +0100 Subject: [Mapserver-users] My shapefiles do not display on Mapserver References: Message-ID: <3FA8A7EE.6070303@terrestris.de> Dear Akhona, there are some possibilities. In general it's always helpful to attach some code of your mapfile. Typical errors are this: Do you see just a blank page or do you see the red cross, indicating, that the image was not found? If blank page: Does your EXTENT fit to your data? if red cross: Is your temp-dir and temp-URL are correct and do they hint on the same directory? Otherwise I need more infos on your problem, cheers, Till Akhona Damane schrieb: > Hi > > I have been trying all that I can think of but I did not have my > shapefiles displayed on Mapserver. I managed to run the Itasca demo on > the Mapserver, and all the images were displayed very well. But coming > to displaying my own shapefiles, there was nothing. > > Could someone help me? > > Akhona > -- ***** Besuchen Sie uns auf der acqua alta ***** ***** vom 24.-27. November in M?nchen ***** ----- Dipl. Geogr. Till Adams terrestris, Paulsen&Adams GbR Siemensstr. 8 * 53121 Bonn Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 info at terrestris.de * www.terrestris.de From adams at terrestris.de Tue Nov 4 23:38:19 2003 From: adams at terrestris.de (Till Adams) Date: Wed, 05 Nov 2003 08:38:19 +0100 Subject: AW: [Mapserver-users] scaling labels References: Message-ID: <3FA8A8EB.8040506@terrestris.de> Dear Mr. Spalting, I put in some code from a point layer, we're labeling with a symbol and use both, maxscale and symbolscale and it works: LAYER NAME 'Foto' DATA 'pathto_and_name_of_data' STATUS ON TYPE ANNOTATION LABELMAXSCALE 1000 SYMBOLSCALE 500 METADATA WMS_SRS 'epsg:31493' WMS_TITLE 'Foto' END PROJECTION 'init=epsg:31493' END CLASSITEM 'id' LABELITEM 'winkel' LABELANGLEITEM 'Rotation' CLASS NAME 'Photo' EXPRESSION /^foto/ LABEL TYPE TRUETYPE FONT "symbol" SIZE 15 COLOR 0 0 0 END END # CLASS END # END LAYERFILE If you comment this: > # TYPE TRUETYPE > # FONT "arial" > SIZE MEDIUM There is nothing to be displayed. At least use TYPE BITMAP SIZE MEDIUM Hope that helps, Till Spalting, Hermann (Kreis Lippe) schrieb: > Hi, > the use of SYMBOLSCALE,MINSIZE and MAXSIZE has no effect. I tryed to use > truetype Fonds but had problems with it. Here is a part of the map-file. > Maybe i did not understand the real meaning of SYMBOLSCALE,MINSIZE and > MAXSIZE. > > > LAYER > NAME 'Beschriftung' > GROUP 'Beschriftung' > DATA 'D:/Inetpub/www100UMNMapServer/daten/Kalletal_1/shape/O_m_schrift' > STATUS default > TYPE ANNOTATION > CLASSITEM 'Id' > LABELITEM 'Z9pt' > LABELCACHE OFF > # LABELMAXSCALE 30000 > SYMBOLSCALE 5000 > CLASS # Beschr class > COLOR -1 -1 -1 > LABEL > POSITION UC > OFFSET 0 3 > COLOR 0 0 0 > # TYPE TRUETYPE > # FONT "arial" > SIZE MEDIUM > MINSIZE 5 > MAXSIZE 255 > END # end of label > END # end of class object > END # END OF LAYERFILE > > > -----Urspr?ngliche Nachricht----- > Von: Michael Schulz [mailto:mschulz at webgis.de] > Gesendet: Dienstag, 4. November 2003 10:25 > An: Spalting, Hermann (Kreis Lippe) > Cc: 'mapserver-users at lists.gis.umn.edu' > Betreff: Re: [Mapserver-users] scaling labels > > > Hello, > > scaling of symbols and labels is done using SYMBOLSCALE on the layerobj > together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to > limit dynamic sizing between these values. > > Not 100% sure, but i don't think Truetype is required. > > More information: > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > > Cheers und Gr??e, > Michael > > > Spalting, Hermann (Kreis Lippe) schrieb: > > >>I want my labels to be scaled like in a photocopy. Becomming bigger and >>bigger when zooming in. >>How does that work? Are truetypes required? >> >>Hermann Spalting >>Kreis Lippe >>FG 4.4 >>Felix-Fechenbach-Stra?e 5 >>32756 Detmold >>email: <> >>Tel: 05231/62-625 (oder -7827) >> >> > > -- ***** Besuchen Sie uns auf der acqua alta ***** ***** vom 24.-27. November in M?nchen ***** ----- Dipl. Geogr. Till Adams terrestris, Paulsen&Adams GbR Siemensstr. 8 * 53121 Bonn Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57 info at terrestris.de * www.terrestris.de From christina.biakowski at ccgis.de Tue Nov 4 23:46:46 2003 From: christina.biakowski at ccgis.de (Christina Biakowski CCGIS) Date: Wed, 5 Nov 2003 08:46:46 +0100 Subject: AW: [Mapserver-users] scaling labels In-Reply-To: Message-ID: Hello Hermann, try an integer-value with SIZE - the keywords medium, small etc. only refer to bitmap-Texts. If this does not work either set LABELCACHE to ON. Christina -----Urspr?ngliche Nachricht----- Von: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Spalting, Hermann (Kreis Lippe) Gesendet: Mittwoch, 5. November 2003 08:01 An: Mapserver-Users (E-Mail) Betreff: AW: [Mapserver-users] scaling labels Hi, the use of SYMBOLSCALE,MINSIZE and MAXSIZE has no effect. I tryed to use truetype Fonds but had problems with it. Here is a part of the map-file. Maybe i did not understand the real meaning of SYMBOLSCALE,MINSIZE and MAXSIZE. LAYER NAME 'Beschriftung' GROUP 'Beschriftung' DATA 'D:/Inetpub/www100UMNMapServer/daten/Kalletal_1/shape/O_m_schrift' STATUS default TYPE ANNOTATION CLASSITEM 'Id' LABELITEM 'Z9pt' LABELCACHE OFF # LABELMAXSCALE 30000 SYMBOLSCALE 5000 CLASS # Beschr class COLOR -1 -1 -1 LABEL POSITION UC OFFSET 0 3 COLOR 0 0 0 # TYPE TRUETYPE # FONT "arial" SIZE MEDIUM MINSIZE 5 MAXSIZE 255 END # end of label END # end of class object END # END OF LAYERFILE -----Urspr?ngliche Nachricht----- Von: Michael Schulz [mailto:mschulz at webgis.de] Gesendet: Dienstag, 4. November 2003 10:25 An: Spalting, Hermann (Kreis Lippe) Cc: 'mapserver-users at lists.gis.umn.edu' Betreff: Re: [Mapserver-users] scaling labels Hello, scaling of symbols and labels is done using SYMBOLSCALE on the layerobj together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to limit dynamic sizing between these values. Not 100% sure, but i don't think Truetype is required. More information: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer Cheers und Gr??e, Michael Spalting, Hermann (Kreis Lippe) schrieb: > I want my labels to be scaled like in a photocopy. Becomming bigger and > bigger when zooming in. > How does that work? Are truetypes required? > > Hermann Spalting > Kreis Lippe > FG 4.4 > Felix-Fechenbach-Stra?e 5 > 32756 Detmold > email: <> > Tel: 05231/62-625 (oder -7827) > > -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mschulz at webgis.de Tue Nov 4 23:59:10 2003 From: mschulz at webgis.de (Michael Schulz) Date: Wed, 05 Nov 2003 08:59:10 +0100 Subject: AW: [Mapserver-users] scaling labels In-Reply-To: References: Message-ID: <3FA8ADCE.3030902@webgis.de> Good Morning, What were the problems with truetype? Although i couldn't find anything in the docs that said scaling of text labels is only possible with truetype fonts, i couldn't scale bitmap fonts either. You should try it with truetype fonts. They work definitely. Cheers, Michael Spalting, Hermann (Kreis Lippe) schrieb: > Hi, > the use of SYMBOLSCALE,MINSIZE and MAXSIZE has no effect. I tryed to use > truetype Fonds but had problems with it. Here is a part of the map-file. > Maybe i did not understand the real meaning of SYMBOLSCALE,MINSIZE and > MAXSIZE. > > > LAYER > NAME 'Beschriftung' > GROUP 'Beschriftung' > DATA 'D:/Inetpub/www100UMNMapServer/daten/Kalletal_1/shape/O_m_schrift' > STATUS default > TYPE ANNOTATION > CLASSITEM 'Id' > LABELITEM 'Z9pt' > LABELCACHE OFF > # LABELMAXSCALE 30000 > SYMBOLSCALE 5000 > CLASS # Beschr class > COLOR -1 -1 -1 > LABEL > POSITION UC > OFFSET 0 3 > COLOR 0 0 0 > # TYPE TRUETYPE > # FONT "arial" > SIZE MEDIUM > MINSIZE 5 > MAXSIZE 255 > END # end of label > END # end of class object > END # END OF LAYERFILE > > > -----Urspr?ngliche Nachricht----- > Von: Michael Schulz [mailto:mschulz at webgis.de] > Gesendet: Dienstag, 4. November 2003 10:25 > An: Spalting, Hermann (Kreis Lippe) > Cc: 'mapserver-users at lists.gis.umn.edu' > Betreff: Re: [Mapserver-users] scaling labels > > > Hello, > > scaling of symbols and labels is done using SYMBOLSCALE on the layerobj > together with MINSIZE and MAXSIZE on styleobj/symbolobj and labelobj, to > limit dynamic sizing between these values. > > Not 100% sure, but i don't think Truetype is required. > > More information: > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#layer > > Cheers und Gr??e, > Michael > > > Spalting, Hermann (Kreis Lippe) schrieb: > > >>I want my labels to be scaled like in a photocopy. Becomming bigger and >>bigger when zooming in. >>How does that work? Are truetypes required? >> >>Hermann Spalting >>Kreis Lippe >>FG 4.4 >>Felix-Fechenbach-Stra?e 5 >>32756 Detmold >>email: <> >>Tel: 05231/62-625 (oder -7827) >> >> > > -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de From opengis at libero.it Wed Nov 5 00:39:25 2003 From: opengis at libero.it (OpenGis) Date: Wed, 05 Nov 2003 09:39:25 +0100 Subject: [Mapserver-users] symbols within my legend In-Reply-To: References: Message-ID: <3FA8B73D.5070903@libero.it> This is a multi-part message in MIME format. --------------020805060401080404030703 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Richie Pierce wrote: >I am working on my first MapServer application and have some basic question. I have got a map up with 3 layers. 1) the symbols for my layers are not showing up within my legend. The text is fine but the symbols are blank. 2) the bounding box for my reference (overview) window is way off. When I am zoomed to full extent in the map, the reference box is a small box in the northern part of the reference image. > Trouble in you configuration (try & try again...) >3) eventually I would like to have a text box where the user would be able to enter text and search for a record, then zoom to that record. Any one have some examples of this. As well as the basic answers to my other questions? Thanks in advance > > Maybe this can help you. mapfile: ... QUERYMAP STATUS ON STYLE HILITE COLOR 255 0 0 END ... LAYER # only to display query result NAME street_query TYPE LINE STATUS OFF CONNECTIONTYPE postgis CONNECTION "user=xxx password=xxx dbname=test host=linux_box" DATA "the_geom from tab_street" FILTER "name like upper('%street_name%%')" #[1] DUMP TRUE END # Strade main.html:
Type street name:
Regards -- opengis (at) libero (dot) it AOL: open2gis --------------020805060401080404030703 Content-Type: image/png; name="Rome_Street.png" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="Rome_Street.png" iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAMAAAH+v1h4AAADAFBMVEX/////AAAAAAAAAFnc 3P+0tLT0m0oA0gBklv8yMjKMls0A5gCWlpb6+gDc3L7//77//9z/69z///+lpaXrAAAAAP8A ZACWNzL//+b//+3//+T///bKysrk5OTGxsbs7OzZ2dmwsLDx8fH///H///z///r19fXw8PD/ //ji4uL6+vr//+r4+Pjq6urU1NTX19fDw8P///309PT39/fz8/Ph4eH///v///7///np6en7 +/v9/f1/f3+/v7p/f3Y/Pzc/Pz+/v78/Pz0/Pz4/Pzm6uro/Pzt/f3tycnJ2dnZ6eno2NjZ/ f318fHx/f25aWlo7Ozs4ODi/v7g8PDx/f3J/f3xxcXG7u7sxMTG/v6+ioqJ4eHh/f3ifn5+/ v7FsbGy8vLx7e3s9PT1qamq3t7exsbG/v7SUlJR/f36/v7x9fX3r6+v8/PxlZWU/PzxjY2O5 ubmrq6s6Ojq/v72/v7u/v6U+Pj41NTW/v6tLS0uXl5d1dXWEhIR/f3UtLS2pqal0dHTe3t7+ /v6+vr6hoaGmpqaurq5+fn55eXl/6H+/878/3T+f7p/f+d/v/O/P9s9v5W+f7Z/n+uf7/vu3 8rf///Tz/PP3/fe38bfb+Nv//+/5+fn5/fmT65P9/v1feV9vfG93fndPd08/dD87Pztfrl8z PTMvPC+Pto+nuqc3Pjc8PzybuJsANAAAaQBne2cfOh8vpS8AnQCtu605Pjk2PjZTq1O8vrwn OyctPC13sXcsLCy/v7cfbh9/f3pPdk9zfXN3sndbeVu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4T7BFhP9Q+D/uX/CpKunxb3xtB5RdKqLBrbU2HKmDMS CTAOU00zdVA6QHEMyBc30+Lz0BOq2sTCkery6oDXhOCt5gkqDmiuHJ2dTegHUMXqtYy+iiP9 m3+TZ7DmJ2K0wiEen9wjK8oeZcC8EV5bWrfnXVW3tc3KsgFLpcKdwr+aMGuo4r78AiCcRlpy plL4lceQipjdg9UncnBdzWNV7AKrCzVbOsLnaVmQlP+HWoC20AlZxXd4BUti6qKkL+Li4qNJ 2CMOdKe+Fz2YNJvb7bZSct4k1jXptmCpTMJJeJwWmRJczwGMUzoWFdOEkRjci8wAbpZcrTOB XdH2yre47gyHBzbf1s0/pC0R8FaIOz9PM+J02sozWLSm7t7FxWSS/PaeiDIQ9rS+cr2dLlGy 2lO5Llv1rK7GpmPpdBKF014sbouHzcAZm2bmlGRp+XUDw+R8MGfbFfV7ser8uIvLESpG+pvt LQrUO5y2agIsMu6x9FyMMbY4Z/xzcU2M45GTW61UZKneQRuMYes1j7FYfhGZZpaNNYeHB6jq IgVn+b6KxdfWqsu7qpKcYlVzfqFMh++HZ5EWmJR1kqtTuxQbcxiqvIKmwKJQ+LgRExbxn+D5 9cVWNpP37kFyxFK12LHlbJzAtMnxKSobS2AtPo9P5ssvWExb1b0Uz0FVF5/Mn1+WFVkO87tr N+wJjLBasiy6okmwzKxzEysqEn1fudbyBpKliXMrlmw5HSurWkIzdxPQ9zNsVIDE8vK8ugMu P2qGEflOozvUXW9/8CAQq+hL61vcNFi0cHeSxzUVny/XWm6k0QobL2LBlrvQBk1O0g7SDt5a 07OursVzhl+IUjKoph6bgVQc43zm2z09ciRc7x741c8lsmp8ylI+VvNgkf2Y4YRVgsW+vKfx po1BgGQh1Wy5j5nZVeerEssn1tn1NZPcJz6LO6iW++JXD6Voh6NYPAnzt/A57O3+Tk+f0ldv A9lmb4BV+GP9j+Kv/z9I2mzyucCeXgAAAABJRU5ErkJggg== --------------020805060401080404030703-- From bartvde at xs4all.nl Wed Nov 5 02:01:19 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Wed, 5 Nov 2003 11:01:19 +0100 (CET) Subject: [Mapserver-users] column alias and filtering columns Message-ID: <22223.212.238.227.182.1068026479.squirrel@webmail.xs4all.nl> Hi list, is it possible to influence the GetFeatureInfo response (in GML) in such a way that you can: a) provide an alias (title) for a column name which is used for display b) filter out some of the columns based e.g. on null values Thanks in advance for the info. Best regards, Bart From tomas at unm.edu Wed Nov 5 02:47:43 2003 From: tomas at unm.edu (J. Tomasz Giermakowski) Date: Wed, 5 Nov 2003 03:47:43 -0700 (MST) Subject: [Mapserver-users] My shapefiles do not display on Mapserver In-Reply-To: Message-ID: Akhone, I am just getting started and spent a good chunk of time figuring the basics. Here's what i learned so far: -SHAPEPATH "data" (relative dir or supply whole: "/var/www/html/you..") -for each layer: DATA yourshapfile.shp (make sure of .shp) -EXTENT and PROJECTION *must* match! so, e.g. MAP ... set UNITS DD set EXTENT lowerleftlong lowerleftlat upperrightlong upperrightlat then set your map for decimal degrees using PROJECTION and then make sure your shapefile (each LAYER) has its own PROJECTION specified. what you specify at the beginning is the output projection for the MAP (therefore EXTENT, UNITS, and PROJECTION must be all coordinated). each LAYER can then have a different PROJECTION cheers! tom On Wed, 5 Nov 2003, Akhona Damane wrote: > Hi > > I have been trying all that I can think of but I did not have my > shapefiles displayed on Mapserver. I managed to run the Itasca demo on > the Mapserver, and all the images were displayed very well. But coming > to displaying my own shapefiles, there was nothing. > > Could someone help me? > > Akhona > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > Mailscanner thanks transtec Computers for their support. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________________________________________ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ J. Tom Giermakowski Division of Amphibians and Reptiles Museum of Southwestern Biology tel: 505.277.5130 MSC03 2020, Castetter Hall fax: 505.277.0304 University of New Mexico email: tomas at unm.edu ALBUQUERQUE, NM 87131-0001, USA web: http://www.unm.edu/~msbherp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------------------------------------------- From omry at telmap.com Wed Nov 5 03:06:58 2003 From: omry at telmap.com (Omry Yadan) Date: Wed, 5 Nov 2003 13:06:58 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DAD748@plague.telmap.com> I have a problem with raster image generated by map server where the data source is tiled. The problem is that in some zoom levels (zoomed out), I get a white line between two tiles sometimes. I ran a test with two tiles only, and I could reproduce the problem. the tiles boundaries are exactly one next to the other - to strengthen the point : when I zoom into the merge line, I don't see a gap between the two tiles. Initially, my data was in ECW format - to rule out ECW related issue, I converted the data to GeoTiff, and I got the exact same problem (which appeared at the exact same requests. Any help would be appreciated. Omry. From ter-haseborg at sf-datentechnik.de Wed Nov 5 03:52:01 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Wed, 5 Nov 2003 12:52:01 +0100 Subject: [Mapserver-users] getFeatureInfo on dynamic layer -emptyexception Message-ID: <0DF955F15A102E4F81B948D44A45015A06924F@nt-sf-exchange.Windows2000> Hi Daniel, thanx a lot for the explanation of this MS-behaviour. So MS doesn't cascade getFeatureInfo-requests. That brings me to another question: How do I build a _cascading_ wms-server-architecture capable of getFeatureInfo-requests? I'm not sure if I understood the handling of the getWMSFeatureInfoURL()-method correctly, but I think this only helps me on the client-side. What do I do with another WMS-server, which tries to access the dynamic layers on a remote mapserver created by my php-component? So far, I didn't manage to get a working sample of a getWMSFeatureInfoURL, so excuse my perhaps premature disbelief: What would be the result of the getWMSFeatureInfoURL()-method? Wouldn't that be an URL, where again a getFeatureInfo-request is launched against my dynamic layer? The only way to solve this I can imagine so far, is to create an URL which refers directly to a php, which processes a kind of getFeatureInfo-operation and returns the desired data. Perhaps I've a major misunderstanding of the underlying concept. TIA, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany >-----Original Message----- >From: Daniel Morissette [mailto:morissette at dmsolutions.ca] >Sent: Wednesday, November 05, 2003 3:03 AM >To: Frieso ter Haseborg >Cc: mapserver-users at lists.gis.umn.edu >Subject: Re: [Mapserver-users] getFeatureInfo on dynamic layer >-emptyexception > > >Frieso ter Haseborg wrote: >> >> I want MS to call my php like this: >> http://my.ip/kmvims/test4.php?version=1.1.0&request=GetMap. This part >> works! >> > >This works because MapServer is able to cascade GetMap requests... > > >> When calling >> >http://my.ip/cgi-bin/mapserv.exe?map=../htdocs/kmvims/test.map& >version=1 >> >.1.0&request=GetFeatureInfo&query_layers=wms&x=251&y=329&INFO_F >ORMAT=tex >> t/plain >> >> I want MS to call my php like this: >> http://my.ip/kmvims/test4.php?version=1.1.0&request=GetFeatureInfo&query > _layers=wms&x=251&y=329&INFO_FORMAT=text/plain > > So I could do the getFeatureInfo-processing in my php and just return a > plain text, html or whatever MS needs to process. But MS refuses to call > the php at all on doing a getFeatureInfo-req. > ... and this doesn't work because MapServer doesn't cascade GetFeatureInfo requests. The main reason behind this is that the output of GetFeatureInfo requests is not clearly defined by WMS so MapServer would no know what to expect from the remote server. Instead MapScript offers a $layer->getWMSFeatureInfoURL() method that will return you the GetFeatureInfo url for a click at a specified location on a WMS layer and it's up to your client application (PHP script) to call this URL and try to make sense of the result. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From palanisamyg at ornl.gov Wed Nov 5 05:23:36 2003 From: palanisamyg at ornl.gov (Palanisamy, Giri) Date: Wed, 05 Nov 2003 08:23:36 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <0290E9A99BE89B4CB17908E29890A706306790@EXCHANGE.ornl.gov> Hi, I have the same problem, I even posted a message about this, but answer yet. Giri -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Omry Yadan Sent: Wednesday, November 05, 2003 6:07 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] MapServer raster 'cracking' problem I have a problem with raster image generated by map server where the data source is tiled. The problem is that in some zoom levels (zoomed out), I get a white line between two tiles sometimes. I ran a test with two tiles only, and I could reproduce the problem. the tiles boundaries are exactly one next to the other - to strengthen the point : when I zoom into the merge line, I don't see a gap between the two tiles. Initially, my data was in ECW format - to rule out ECW related issue, I converted the data to GeoTiff, and I got the exact same problem (which appeared at the exact same requests. Any help would be appreciated. Omry. _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From adamane at csir.co.za Wed Nov 5 05:38:57 2003 From: adamane at csir.co.za (Akhona Damane) Date: Wed, 05 Nov 2003 15:38:57 +0200 Subject: [Mapserver-users] map extent Message-ID: Hi I am trying to view some shapefiles on Mapserver but I can not seem to get the correct map extent (in South Africa). I can see the rivers in South Africa but very far. I want a more closer map extent. This is part of my mapfile: # # Start of map file # NAME DEMO STATUS ON SIZE 600 600 UNITS METERS #UNITS DD SHAPEPATH "shapefiles" Please, somebody help me Akhona Mr. Akhona Damane CSIR Environmentek Spatial Technology (012) 841 3188 Fax (012) 8412689 adamane at csir.co.za -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. Mailscanner thanks transtec Computers for their support. From muratisik at megatek.com.tr Wed Nov 5 05:49:49 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 5 Nov 2003 15:49:49 +0200 Subject: [Mapserver-users] map positioning -- help needed Message-ID: <010501c3a3a3$aec1a970$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0102_01C3A3B4.71ED8C60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have the following code at my hand and I am supposed to add map = positioning property to it. It's like there will be more four buttons, = right, left, up, down. When user presses any of them the map will move = slightly to selected direction without changing the zoom factor. How do = I add this to the code? Any ideas? Please, I urgently need help... Thanks in advance.. Murat Isik MEGATEK
>

TEST SERVER

\n"; if($test_x[$i]=3D=3D$x[$i-1] || $test_y[$i]=3D=3D$y[$i-1]) { --$i; }else { $x[$i] =3D $test_x[$i]; $y[$i] =3D $test_y[$i]; } } mysql_free_result($result); for($k=3D1;$k<=3D$i-1;++$k) { $pt->setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); ?>

" width=3D600 height=3D600 = border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> ------=_NextPart_000_0102_01C3A3B4.71ED8C60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I have the following code at my hand = and I am=20 supposed to add map positioning property to it. It's like there = will be=20 more four buttons, right, left, up, down. When user presses any of them = the map=20 will move slightly to selected direction without changing the zoom = factor. How=20 do I add this to the code? Any ideas? Please, I urgently need=20 help...
 
Thanks in advance..
 
Murat Isik
 
 
<HEAD>
<TITLE>MEGATEK</TITLE>
</HEAD&= gt;
<CENTER>
<FORM=20 METHOD=3DPOST ACTION=3D<?php echo = $PHP_SELF?>>
<H1>TEST=20 SERVER</H1>
<IMG=20 SRC=3D"yeni_ust.gif">
<P>
<?php
dl("php_mapscript.so= ");
 
mysql_connect("213.74.112.162","root","sqlpass")=20 or
        die ("Could not connect = to=20 database");
 
mysql_select_db("gpstrack")=20 or
        die("Could not select=20 database");
 
$val_zsize=3D3;
$check_pan=3D"CHECKED";
 
$shpFname =3D "target1";
$shpFile = =3D=20 ms_newShapeFileObj($shpFname, MS_SHP_POINT);
 
$shpFname1 =3D "target2";
$shpFile1 = =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);
 
$pt =3D ms_newPointObj();
 
$i =3D 0;
 
$result =3D mysql_query("select * from = track3")=20 or
        die=20 (mysql_error());
 

$x[0]=3D0;
$y[0]=3D0;
 
while ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;
file://echo=20 $row["lominutes"];
file://echo=20 "<br>\n";
 

if($test_x[$i]=3D=3D$x[$i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{
 
$x[$i] =3D $test_x[$i];
$y[$i] =3D=20 $test_y[$i];
 
}
 
}
mysql_free_result($result);
 

for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],= =20 $y[$k]);
$shpFile->addPoint($pt);
};
 
$pt->setXY($x[$i],=20 $y[$i]);
$shpFile1->addPoint($pt);
 

$shpFile->free();
$shpFile1->free();
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$myMap =3D = ms_newMapObj("demo_try.map");
 
#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);
 

if ( = isset($HTTP_POST_VARS["mapa_x"])=20 && = isset($HTTP_POST_VARS["mapa_y"])
     =20 && !isset($HTTP_POST_VARS["full"]) ) {
 
 //     = $extent_to_set =3D=20 explode(" ",$HTTP_POST_VARS["extent"]);
 

$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;
 

 =20 $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 $extent_to_set[2],$extent_to_set[3]);
 
      = $my_point =3D=20 ms_newpointObj();
     =20 $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=
 
      = $my_extent =3D=20 ms_newrectObj();
 
     =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);
 
      = $zoom_factor =3D=20 $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 {
           &n= bsp; =20 $zoom_factor =3D=20 1;
           &= nbsp; =20 $check_pan =3D=20 "CHECKED";
          = ;   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor <=20 0)=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "CHECKED";
      = }
 
      = $val_zsize =3D=20 abs($zoom_factor);
 
     =20 $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);
 
}
$img =3D = $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);
 
?>
<BODY>
<center>
<table border=3D0 = cellspacing=3D0 cellpadding=3D4 = bgcolor=3D"#FFFFFF">
<tr>
<td=20 valign=3D"top" align=3Dcenter>
  <table cellpadding=3D"0"=20 cellspacing=3D"5" border=3D"5">
    = <tr><td=20 colspan=3D"2"><INPUT NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php = echo $image_url;=20 ?>" width=3D600 height=3D600=20 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN NAME=3D"extent" = VALUE=3D"<?php echo=20 $extent_to_html?>">
</FORM>
</CENTER>
 
</BODY>
</HTML>
------=_NextPart_000_0102_01C3A3B4.71ED8C60-- From muratisik at megatek.com.tr Wed Nov 5 06:04:27 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 5 Nov 2003 16:04:27 +0200 Subject: [Mapserver-users] map positioning -- help needed References: <0290E9A99BE89B4CB17908E29890A706306791@EXCHANGE.ornl.gov> Message-ID: <011301c3a3a5$b9761200$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0110_01C3A3B6.7CF7DD20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you, but I dont think neither my web page nor my php can handle = javascripts. I use mapserver 3.6, php 4.2.2 and while compiling I did = nothing about java... Unfornunately java is out of my league... Maybe a php/mapscript code will be better. Thanks anyway:) Hvae a nice day. Murat Isik ----- Original Message -----=20 From: Palanisamy, Giri=20 To: Murat Isik=20 Sent: Wednesday, November 05, 2003 3:57 PM Subject: RE: [Mapserver-users] map positioning -- help needed There is a sample code in the Mpaserver users meeting,=20 =20 Here is how you do it in using javascript: =20 =20 =20 and in side your =20
3D"pan 3D"pan 3D"pan
3D"pan
3D"pan
3D"pan 3D"pan 3D"pan
=20 Giri =20 -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu = [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Murat Isik Sent: Wednesday, November 05, 2003 8:50 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] map positioning -- help needed =20 Hello, =20 I have the following code at my hand and I am supposed to add map = positioning property to it. It's like there will be more four buttons, = right, left, up, down. When user presses any of them the map will move = slightly to selected direction without changing the zoom factor. How do = I add this to the code? Any ideas? Please, I urgently need help... =20 Thanks in advance.. =20 Murat Isik =20 =20 MEGATEK
>

TEST SERVER

\n"; =20 if($test_x[$i]=3D=3D$x[$i-1] || $test_y[$i]=3D=3D$y[$i-1]) { --$i; }else { =20 $x[$i] =3D $test_x[$i]; $y[$i] =3D $test_y[$i]; =20 } =20 } mysql_free_result($result); =20 for($k=3D1;$k<=3D$i-1;++$k) { $pt->setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; =20 $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); =20 $shpFile->free(); $shpFile1->free(); =20 $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); =20 $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); =20 $myMap =3D ms_newMapObj("demo_try.map"); =20 #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); =20 if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { =20 // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); =20 $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; =20 $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); =20 $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); =20 $my_extent =3D ms_newrectObj(); =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); =20 $zoom_factor =3D = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } =20 $val_zsize =3D abs($zoom_factor); =20 = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); =20 } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); =20 ?>

" width=3D600 height=3D600 = border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> =20 ------=_NextPart_000_0110_01C3A3B6.7CF7DD20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you, but I dont think neither my = web page nor=20 my php can handle javascripts. I use mapserver 3.6, php 4.2.2 and while=20 compiling I did nothing about java...
Unfornunately java is out of my=20 league...
Maybe a php/mapscript code will be=20 better.
 
Thanks anyway:)
 
Hvae a nice day.
 
Murat Isik
----- Original Message -----
From:=20 Palanisamy,=20 Giri
To: Murat=20 Isik
Sent: Wednesday, November 05, = 2003 3:57=20 PM
Subject: RE: [Mapserver-users] = map=20 positioning -- help needed

There is a = sample=20 code in the Mpaserver users meeting,

 

Here is how = you do it=20 in using javascript:

     =20

<SCRIPT=20 LANGUAGE=3D"JavaScript">

 

  = function=20 setbox_handler(name, minx, miny, maxx, maxy, redraw) = {

   =20 document.mapserv.imgbox.value =3D minx + " " + miny + " " + maxx + " " = +=20 maxy;

   =20 document.mapserv.imgxy.value =3D minx + " " + miny;

    if=20 (redraw) {

      =20 document.mapserv.submit();

   =20 }        

 =20 }

  = function=20 seterror_handler(message) {

   =20 alert(message);

 =20 }    

      =20

  = function=20 newWindow(w){

   =20 var=20 = win=3Dwindow.open(w,"New_Window","height=3D500,width=3D650,resizable,scro= llbars,toolbar");

   =20 win.window.focus();

 =20 }

 

  var = pansize =3D=20 0.80;

 

  = function=20 pan(direction) {   

   =20 var x, y;

 

   =20 if(direction =3D=3D 'n') {

     =20 x =3D ([mapwidth]-1)/2.0;

     =20 y =3D 0 - [mapheight]*pansize + [mapheight]/2.0;

    }=20 else if(direction =3D=3D 'nw') {

     =20 x =3D 0 - [mapwidth]*pansize + [mapwidth]/2.0;

     =20 y =3D 0 - [mapheight]*pansize + [mapheight]/2.0;

    }=20 else if(direction =3D=3D 'ne') {

     =20 x =3D ([mapwidth]-1) + [mapwidth]*pansize - = [mapwidth]/2.0;

     =20 y =3D 0 - [mapheight]*pansize + [mapheight]/2.0;

    }=20 else if(direction =3D=3D 's') {

     =20 x =3D ([mapwidth]-1)/2.0;

     =20 y =3D ([mapheight]-1) + [mapheight]*pansize - = [mapheight]/2.0;

    }=20 else if(direction =3D=3D 'sw') {

     =20 x =3D 0 - [mapwidth]*pansize + [mapwidth]/2.0;

     =20 y =3D ([mapheight]-1) + [mapheight]*pansize - = [mapheight]/2.0;

    }=20 else if(direction =3D=3D 'se') {

     =20 x =3D ([mapwidth]-1) + [mapwidth]*pansize - = [mapwidth]/2.0;

     =20 y =3D ([mapheight]-1) + [mapheight]*pansize - = [mapheight]/2.0;

    }=20 else if(direction =3D=3D 'e') {

     =20 x =3D ([mapwidth]-1) + [mapwidth]*pansize - = [mapwidth]/2.0;

     =20 y =3D ([mapheight]-1)/2.0;

    }=20 else if(direction =3D=3D 'w') {

     =20 x =3D 0 - [mapwidth]*pansize + [mapwidth]/2.0;

     =20 y =3D ([mapheight]-1)/2.0;

   =20 }

 

   =20 document.mapserv.zoomdir[1].checked =3D true; // force = pan

   =20 document.mapserv.imgxy.value =3D x + " " + y;

   =20 document.mapserv.submit();

 =20 }        

 =20

 </SCRIPT>

 

 

and in side = your=20 <html><body>

 

<table = width=3D"390"=20 border=3D"0" cellspacing=3D"0" cellpadding=3D"0" align=3D"center"=20 bgcolor=3D"#666666">

       =20 <tr>

         =20 <td align=3D"right" width=3D"18"><a=20 href=3D"javascript:pan('nw')"><img = src=3D"[root]/graphics/nw.gif" width=3D"18"=20 height=3D"18" border=3D"0" alt=3D"pan=20 northwest"></a></td>

         =20 <td align=3D"center"><a = href=3D"javascript:pan('n')"><img=20 src=3D"[root]/graphics/n.gif" width=3D"23" height=3D"18" border=3D"0" = alt=3D"pan=20 north"></a></td>

         =20 <td align=3D"left" width=3D"18"><a = href=3D"javascript:pan('ne')"><img=20 src=3D"[root]/graphics/ne.gif" width=3D"18" height=3D"18" border=3D"0" = alt=3D"pan=20 northeast"></a></td>

       =20 </tr>

       =20 <tr>

         =20 <td align=3D"right" width=3D"18"><a = href=3D"javascript:pan('w')"><img=20 src=3D"[root]/graphics/w.gif" width=3D"18" height=3D"23" border=3D"0" = alt=3D"pan=20 west"></a></td>

         =20 <td align=3D"center">

            = <table cellpadding=3D"0" cellspacing=3D"0" = border=3D"0">

           &= nbsp; =20 <tr>

           &= nbsp;   =20 <td colspan=3D"2">

           &= nbsp;    =20 <applet codebase=3D"/java/jBox" code=3D"jBox.class" width=3D"600" = height=3D"600"=20 name=3D"jBox" MAYSCRIPT>

           &= nbsp;      =20 <param name=3D"image" = value=3D"http://[host][img]">

           &= nbsp;    =20 </applet>

           &= nbsp;  =20 </td>

           &= nbsp;=20 </tr>

          =20 </table>

         =20 <td>

         =20 <td align=3D"left" width=3D"18"><a = href=3D"javascript:pan('e')"><img=20 src=3D"[root]/graphics/e.gif" width=3D"18" height=3D"23" border=3D"0" = alt=3D"pan=20 east"></a></td>

       =20 </tr>

       =20 <tr>

         =20 <td align=3D"right" width=3D"18"><a=20 href=3D"javascript:pan('sw')"><img = src=3D"[root]/graphics/sw.gif" width=3D"18"=20 height=3D"18" border=3D"0" alt=3D"pan=20 southwest"></a></td>

         =20 <td align=3D"center"><a = href=3D"javascript:pan('s')"><img=20 src=3D"[root]/graphics/s.gif" width=3D"23" height=3D"18" border=3D"0" = alt=3D"pan=20 south"></a></td>

         =20 <td align=3D"left" width=3D"18"><a = href=3D"javascript:pan('se')"><img=20 src=3D"[root]/graphics/se.gif" width=3D"18" height=3D"18" border=3D"0" = alt=3D"pan=20 southeast"></a></td>

       =20 </tr>

     =20 </table>

 

Giri

 

-----Original=20 Message-----
From:=20 mapserver-users-admin at lists.gis.umn.edu=20 [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Murat = Isik
Sent: Wednesday, November 05, = 2003 8:50=20 AM
To:=20 mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] map=20 positioning -- help needed

 

Hello,

 

I have the following = code at my=20 hand and I am supposed to add map positioning property to it. = It's like=20 there will be more four buttons, right, left, up, down. When user = presses any=20 of them the map will move slightly to selected direction without = changing the=20 zoom factor. How do I add this to the code? Any ideas? Please, I = urgently need=20 help...

 

Thanks in=20 advance..

 

Murat = Isik

 

 

<HEAD>
<TITLE>MEGATEK</TITLE>
</HEAD>=
<CENTER>
<FORM=20 METHOD=3DPOST ACTION=3D<?php echo = $PHP_SELF?>>
<H1>TEST=20 SERVER</H1>
<IMG=20 = SRC=3D"yeni_ust.gif">
<P>
<?php
dl("php_mapscript.so= ");

 

mysql_connect("213.74.112.162","root","sqlpass")=20 or
        die ("Could not = connect to=20 database");

 

mysql_select_db("gpstrack")=20 or
        die("Could not select = database");

 

$val_zsize=3D3;
$check_pan=3D"CHECKED";

 

$shpFname =3D = "target1";
$shpFile=20 =3D ms_newShapeFileObj($shpFname, = MS_SHP_POINT);

 

$shpFname1 =3D=20 "target2";
$shpFile1 =3D ms_newShapeFileObj($shpFname1,=20 MS_SHP_POINT);

 

$pt =3D=20 ms_newPointObj();

 

$i =3D = 0;

 

$result =3D = mysql_query("select *=20 from track3") or
        die=20 (mysql_error());

 


$x[0]=3D0;
$y[0]=3D0;

 

while ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;
file://echo $row["lominutes"];
file://echo = "<br>\n";

 


if($test_x[$i]=3D=3D$x[$i-1] ||=20 = $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{

<= /DIV>

 

$x[$i] =3D = $test_x[$i];
$y[$i] =3D=20 $test_y[$i];

 

}

 

}
mysql_free_result($result);

 


for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],=20 $y[$k]);
$shpFile->addPoint($pt);
};

 

$pt->setXY($x[$i],=20 $y[$i]);
$shpFile1->addPoint($pt);

 


$shpFile->free();
$shpFile1->free();

=

 

$def = =3Darray(array("UNIQID", "C",=20 13),array("NOM", "C", 128));
$dbfFile =3D = dbase_create($shpFname.".dbf",=20 $def);
dbase_add_record($dbfFile,=20 array("1","TEST"));

 

$def = =3Darray(array("UNIQID", "C",=20 13),array("NOM", "C", 128));
$dbfFile =3D = dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile,=20 array("1","TEST"));

 

$myMap =3D=20 ms_newMapObj("demo_try.map");

 

#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', = MS_ON);

 


if (=20 isset($HTTP_POST_VARS["mapa_x"]) &&=20 isset($HTTP_POST_VARS["mapa_y"])
      = &&=20 !isset($HTTP_POST_VARS["full"]) ) {

 

 //    =20 $extent_to_set =3D explode("=20 ",$HTTP_POST_VARS["extent"]);

 


$extent_to_set[0] = =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;

 


 =20 = $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 $extent_to_set[2],$extent_to_set[3]);

 

     =20 $my_point =3D ms_newpointObj();
     =20 = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=

 

     =20 $my_extent =3D ms_newrectObj();

 

     =20 = $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);

 

     =20 $zoom_factor =3D=20 = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 = {
           &n= bsp; =20 $zoom_factor =3D=20 = 1;
           &= nbsp; =20 $check_pan =3D=20 = "CHECKED";
          = ;   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor=20 < 0)=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "CHECKED";
     =20 }

 

     =20 $val_zsize =3D abs($zoom_factor);

 

     =20 = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);

 

}
$img =3D=20 $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);

 

?>
<BODY>
<center>
<table=20 border=3D0 cellspacing=3D0 cellpadding=3D4=20 bgcolor=3D"#FFFFFF">
<tr>
<td valign=3D"top"=20 align=3Dcenter>
  <table cellpadding=3D"0" = cellspacing=3D"5"=20 border=3D"5">
    <tr><td = colspan=3D"2"><INPUT=20 NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php echo $image_url; ?>" = width=3D600=20 height=3D600 = border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 = <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php echo=20 $check_zout?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 = $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 = VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN = NAME=3D"extent"=20 VALUE=3D"<?php echo=20 = $extent_to_html?>">
</FORM>
</CENTER>

 

</BODY>
</HTML>

------=_NextPart_000_0110_01C3A3B6.7CF7DD20-- From kenboss at dilbert.dnr.state.mn.us Wed Nov 5 06:35:45 2003 From: kenboss at dilbert.dnr.state.mn.us (kenboss) Date: Wed, 5 Nov 2003 08:35:45 -0600 (CST) Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <200311051435.hA5EZjH28005@bertha.dnr.state.mn.us> > From: Omry Yadan > Subject: [Mapserver-users] MapServer raster 'cracking' problem > Date: Wed, 5 Nov 2003 13:06:58 +0200 > > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. Could it be that you've got some small sliver of "offsite" pixels at the edges of your tiles? If so, you can address this problem through an OFFSITE parameter in your raster layer definition. For example, if your offsite data value is 255 (which would render as white), you might declare a layer like: LAYER NAME "imagery" STATUS default TILEINDEX "/path/to/tileindex/shapefile.shp" TILEITEM "LOCATION" TYPE raster OFFSITE 255 255 255 END This will cause mapserver to ignore any pixels with value 255 as it renders your output image. Note that you need to declare OFFSITE as an RGB value regardless of whether your imagery is single- or multi-band. HTH, Ken Boss MN DNR Forestry Resource Assessment From murilo.yoshida at agx.com.br Wed Nov 5 07:02:44 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Wed, 5 Nov 2003 13:02:44 -0200 Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? In-Reply-To: <3FA1AC5A.4010805@u.washington.edu> Message-ID: <000601c3a3ad$de2df790$1364a8c0@parapente> Hi Emilio, I have the same problem that you had, I guess, but I've tried to compile mapserver --without-tiff and it still don't work, I still have the "Premature end of script headers: php " error... Can you tell me what you did to solve your problem? Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 30 de outubro de 2003 22:27 Para: mapserver-users at lists.gis.umn.edu Assunto: Re: [Mapserver-users] problem displaying raster layers; GDAL? That was it!! Thank you, Randy! Such a simple fix, after so much frustration. But this is great, now all the Mapserver features I wanted to enable are working. Cheers, -Emilio Randy James wrote: > Hi > > I seem to remember that problem, i believe that i compiled > mapserver --without-tiff and used gdals tiff lib and than > it worked. > > Hope this helps > > Randy > > --- Emilio Mayorga wrote: > >>I installed Mapserver 4 a few weeks ago. Every feature I >>enabled is >>working great. I've loaded the Tutorial and the >>Workshop/Itasca demo, >>and everything is working, EXCEPT raster layers. I've >>tried a number of >>tests and different images, but I can't make it work. >>I've tried output >>imagetype png24, png, and jpeg. RGB tiffs and simple >>1-band tiffs as the >>raster layer. Nothing. >> >>When I include and display a raster layer in my map file, >>I get this >>server error message: "Premature end of script headers: >>mapserv40" >> >>What's more strange is that when the file path to the >>tiff image is >>incorrect, Mapserver just ignores rendering that layer, >>and does >>everything else without an error message! That includes >>rendering a >>KEYIMAGE associated with that raster layer. >> >>This is my MS configuration: >>MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP >>SUPPORTS=PROJ >>SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT >>INPUT=TIFF >>INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL >>INPUT=SHAPEFILE >>And how I configured GDAL: >>./configure --with-libz --with-png >>--with-libtiff=internal >>--with-geotiff=internal --with-jpeg --without-jasper >> >>I am running MS on RedHat 8, with Apache 2. >> >>Thanks for your help! >> >>-Emilio Mayorga _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From morissette at dmsolutions.ca Wed Nov 5 07:24:27 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 05 Nov 2003 10:24:27 -0500 Subject: [Mapserver-users] getFeatureInfo on dynamic layer -emptyexception In-Reply-To: <0DF955F15A102E4F81B948D44A45015A06924F@nt-sf-exchange.Windows2000> References: <0DF955F15A102E4F81B948D44A45015A06924F@nt-sf-exchange.Windows2000> Message-ID: <3FA9162B.9010708@dmsolutions.ca> Frieso ter Haseborg wrote: > Hi Daniel, > > thanx a lot for the explanation of this MS-behaviour. So MS doesn't > cascade getFeatureInfo-requests. That brings me to another question: How > do I build a _cascading_ wms-server-architecture capable of > getFeatureInfo-requests? > The right way to do that would be to use WFS GetFeature requests instead of GetFeatureInfo, but this is still fairly new territory and some parts are still under development in MapServer 4.1. Anyway, the idea is that you would configure your server as both a WMS and a WFS. Then issue a DescribeLayer request to your WMS which would return you a reference to a WFS layer. Then your client builds a GetFeature request for the WFS layer which could possibly be cascaded through multiple WFS servers. > I'm not sure if I understood the handling of the > getWMSFeatureInfoURL()-method correctly, but I think this only helps me > on the client-side. What do I do with another WMS-server, which tries to > access the dynamic layers on a remote mapserver created by my > php-component? > Perhaps you need to rethink your servers architecture to connect to the servers directly instead of cascading. Using MapServer as a WMS client is OK, but doing multiple levels of cascading is not a good idea since it slows things down and increses the chances of problems. > So far, I didn't manage to get a working sample of a > getWMSFeatureInfoURL, so excuse my perhaps premature disbelief: What > would be the result of the getWMSFeatureInfoURL()-method? Wouldn't that > be an URL, where again a getFeatureInfo-request is launched against my > dynamic layer? getWMSFeatureInfoURL() operates only on WMS layers (i.e. CONNECTIONTYPE WMS) and will produce a GetFeatureInfo url that you can use to connect to this server. Say you have the following mapfile in your PHP MapScript client app: LAYER NAME prov_bound TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION "http://remote.wms.addr/cgi-bin/mswms_gmap?VERSION=1.0.0&FORMAT=image/png&LAYERS=prov_bound&QUERY_LAYERS=prov_boounds&TRANSPARENT=true" PROJECTION "init=epsg:42304" END END Then calling getWMSFeatureInfoURL() will return something like: http://remote.wms.addr/cgi-bin/mswms_gmap?VERSION=1.0.0&FORMAT=image/png&LAYERS=prov_bound&TRANSPARENT=true&REQUEST=GetFeatureInfo&SRS=...&BBOX=...&INFO_FORMAT=...&X=...&Y=... It's hard to explain in a few lines, but hopefully you get the idea. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From EBashi at chesapeakebay.net Wed Nov 5 07:36:13 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Wed, 5 Nov 2003 10:36:13 -0500 Subject: [Mapserver-users] compile tcl mapscript Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09968C@mail2.chesapeakebay.net> Hi, I am trying to compile tcl mapscript. When I run ./configure I get the following message: You must build MapServer first. -- MapServer is already built, installed and running. There is a symolic link mapscript.i to ../mapscript.i in the tcl directory provided with mapserver 4.0.1 tar.gz source file. Any ideas? I have mapserver 4.0.1 on Redhat 9 and ActiveTcl 8.4.4.0 Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net From morissette at dmsolutions.ca Wed Nov 5 07:35:01 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 05 Nov 2003 10:35:01 -0500 Subject: [Mapserver-users] column alias and filtering columns In-Reply-To: <22223.212.238.227.182.1068026479.squirrel@webmail.xs4all.nl> References: <22223.212.238.227.182.1068026479.squirrel@webmail.xs4all.nl> Message-ID: <3FA918A5.8020903@dmsolutions.ca> bartvde at xs4all.nl wrote: > Hi list, > > is it possible to influence the GetFeatureInfo response (in GML) in such a > way that you can: > > a) provide an alias (title) for a column name which is used for display > b) filter out some of the columns based e.g. on null values > > Thanks in advance for the info. > Have you considered using MapServer query templates in your WMS server and then call GetFeatureInfo with INFO_FORMAT=text/html? Using the templates you can control the way the information is displayed (i.e. alias for column names) and you can select the columns to display. I'm not sure what you meant by filtering based on null values so the templates may or may not do what you want for that. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Wed Nov 5 07:40:35 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 05 Nov 2003 10:40:35 -0500 Subject: [Mapserver-users] column alias and filtering columns In-Reply-To: <3FA918A5.8020903@dmsolutions.ca> References: <22223.212.238.227.182.1068026479.squirrel@webmail.xs4all.nl> <3FA918A5.8020903@dmsolutions.ca> Message-ID: <3FA919F3.8030604@dmsolutions.ca> Oh... I just realized that you wanted to use GML and not text/html... sorry. Then the answer is no: there is no current way to control the columns that are output, but there is bug 300 that talks about controlling the columns to output: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=300 But still nothing about aliasing the column names. Daniel Daniel Morissette wrote: > bartvde at xs4all.nl wrote: > >> Hi list, >> >> is it possible to influence the GetFeatureInfo response (in GML) in >> such a >> way that you can: >> >> a) provide an alias (title) for a column name which is used for display >> b) filter out some of the columns based e.g. on null values >> >> Thanks in advance for the info. >> > > Have you considered using MapServer query templates in your WMS server > and then call GetFeatureInfo with INFO_FORMAT=text/html? > > Using the templates you can control the way the information is displayed > (i.e. alias for column names) and you can select the columns to display. > I'm not sure what you meant by filtering based on null values so the > templates may or may not do what you want for that. > From eric at gomoos.org Wed Nov 5 03:11:01 2003 From: eric at gomoos.org (Eric Bridger) Date: 05 Nov 2003 11:11:01 +0000 Subject: [Mapserver-users] map positioning -- help needed In-Reply-To: <010501c3a3a3$aec1a970$b4704ad5@murathq> References: <010501c3a3a3$aec1a970$b4704ad5@murathq> Message-ID: <1068030667.1754.9.camel@ubet.gomoos.org> Here is a Perl mapscript example, very similiar to the Javascript, but perhaps easier to translate to PHP. In fact I stole/adapted this from someone's (I think Steve Limes') javascript example. This assumes a form variable named pandir containing 'n', 'nw', 'ne' 's', 'e', 'w', etc. # you would use $x and $y as the mouse click image coordinates and use a # zoom direction of 0. E.g. $my_point->setXY($x, $y); then call $myMap->zoomPoint(..) ($x, $y) = pan_to_map($map, $q->param('pandir')); sub pan_to_map { my ($map, $direction) = @_; my $pansize = .50; my ($x, $y) = (0,0); my $width = $map->{width}; my $height = $map->{height}; if($direction eq 'n') { $x = ($width-1)/2.0; $y = 0 - ($height * $pansize)/2.0; } elsif($direction eq 'nw') { $x = 0 - ($width * $pansize)/2.0; $y = 0 - ($height * $pansize)/2.0; } elsif($direction eq 'ne') { $x = ($width-1) + ($width * $pansize)/2.0; $y = 0 - ($height * $pansize)/2.0; } elsif($direction eq 's') { $x = ($width-1)/2.0; $y = ($height-1) + ($height * $pansize)/2.0; } elsif($direction eq 'sw') { $x = 0 - ($width * $pansize)/2.0; $y = ($height-1) + ($height * $pansize)/2.0; } elsif($direction eq 'se') { $x = ($width-1) + ($width * $pansize)/2.0; $y = ($height-1) + ($height * $pansize)/2.0; } elsif($direction eq 'e') { $x = ($width-1) + ($width * $pansize)/2.0; $y = ($height-1)/2.0; } elsif($direction eq 'w') { $x = 0 - ($width * $pansize)/2.0; $y = ($height-1)/2.0; } $x = int($x); $y = int($y); return($x, $y); } On Wed, 2003-11-05 at 13:49, Murat Isik wrote: > Hello, > > I have the following code at my hand and I am supposed to add map positioning property to it. It's like there will be more four buttons, right, left, up, down. When user presses any of them the map will move slightly to selected direction without changing the zoom factor. How do I add this to the code? Any ideas? Please, I urgently need help... > > Thanks in advance.. > > Murat Isik > > > > MEGATEK > >
>
> >

TEST SERVER

> >

> dl("php_mapscript.so"); > > mysql_connect("213.74.112.162","root","sqlpass") or > die ("Could not connect to database"); > > mysql_select_db("gpstrack") or > die("Could not select database"); > > $val_zsize=3; > $check_pan="CHECKED"; > > $shpFname = "target1"; > $shpFile = ms_newShapeFileObj($shpFname, MS_SHP_POINT); > > $shpFname1 = "target2"; > $shpFile1 = ms_newShapeFileObj($shpFname1, MS_SHP_POINT); > > $pt = ms_newPointObj(); > > $i = 0; > > $result = mysql_query("select * from track3") or > die (mysql_error()); > > > $x[0]=0; > $y[0]=0; > > while ($row = mysql_fetch_array($result)) > { > ++$i; > $test_x[$i] = $row["lodegrees"]+$row["lominutes"]/60; > $test_y[$i] = $row["ldegrees"]+$row["lminutes"]/60; > file://echo $row["lominutes"]; > file://echo "
\n"; > > > if($test_x[$i]==$x[$i-1] || $test_y[$i]==$y[$i-1]) > { > --$i; > }else > { > > $x[$i] = $test_x[$i]; > $y[$i] = $test_y[$i]; > > } > > } > mysql_free_result($result); > > > for($k=1;$k<=$i-1;++$k) > { > $pt->setXY($x[$k], $y[$k]); > $shpFile->addPoint($pt); > }; > > $pt->setXY($x[$i], $y[$i]); > $shpFile1->addPoint($pt); > > > $shpFile->free(); > $shpFile1->free(); > > $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); > $dbfFile = dbase_create($shpFname.".dbf", $def); > dbase_add_record($dbfFile, array("1","TEST")); > > $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); > $dbfFile = dbase_create($shpFname1.".dbf", $def); > dbase_add_record($dbfFile, array("1","TEST")); > > $myMap = ms_newMapObj("demo_try.map"); > > #$myLayer = $myMap->getLayerByName("target1"); > #$myLayer->set("data", $shpFname); > #$myLayer->set('status', MS_ON); > > > if ( isset($HTTP_POST_VARS["mapa_x"]) && isset($HTTP_POST_VARS["mapa_y"]) > && !isset($HTTP_POST_VARS["full"]) ) { > > // $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > > > $extent_to_set[0] = 29.057; > $extent_to_set[1] = 40.954; > $extent_to_set[2] = 29.143; > $extent_to_set[3] = 40.999; > > > $myMap->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > > $my_point = ms_newpointObj(); > $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); > > $my_extent = ms_newrectObj(); > > $my_extent->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > > $zoom_factor = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; > if ($zoom_factor == 0) { > $zoom_factor = 1; > $check_pan = "CHECKED"; > $check_zout = ""; > $check_zin = ""; > } else if ($zoom_factor < 0) { > $check_pan = ""; > $check_zout = "CHECKED"; > $check_zin = ""; > } else { > $check_pan = ""; > $check_zout = ""; > $check_zin = "CHECKED"; > } > > $val_zsize = abs($zoom_factor); > > $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, > $my_extent); > > } > $img = $myMap->draw(); > $image_url = $img->saveWebImage(GIF,1,1,0); > > ?> > >

> > >
> > > > > > > > > > > > > > > > > > > > > > >
> Pan > > > >
> Zoom In > > > >
> Zoom Out > > > >
> Zoom Size > > SIZE=2> >
> Full Extent > > SIZE=2> >
> > > > > > > From stephane.riff at cerene.fr Wed Nov 5 08:24:51 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Wed, 05 Nov 2003 17:24:51 +0100 Subject: [Mapserver-users] Postgres 7.2.4 cygwin compilation Message-ID: <3FA92453.8080207@cerene.fr> I absolutely need a how to for build postgresql 7.2.4 on cygwin with windows 2000 I tried every thing i found but nothing work......... PLEASE IF YOU CAN HELP ME, DO IT.... thanks From David.Fawcett at state.mn.us Wed Nov 5 08:53:07 2003 From: David.Fawcett at state.mn.us (David Fawcett) Date: Wed, 05 Nov 2003 10:53:07 -0600 Subject: [Mapserver-users] Postgres 7.2.4 cygwin compilation Message-ID: Have you looked here, http://techdocs.postgresql.org/guides/Windows ? David. David J. Fawcett MN Office of Environmental Assistance >>> St?phane RIFF 11/5/2003 10:24:51 AM >>> I absolutely need a how to for build postgresql 7.2.4 on cygwin with windows 2000 I tried every thing i found but nothing work......... PLEASE IF YOU CAN HELP ME, DO IT.... thanks _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ter-haseborg at sf-datentechnik.de Wed Nov 5 08:52:43 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Wed, 5 Nov 2003 17:52:43 +0100 Subject: [Mapserver-users] getFeatureInfo on dynamic layer -emptyexception Message-ID: <0DF955F15A102E4F81B948D44A45015A069250@nt-sf-exchange.Windows2000> >The right way to do that would be to use WFS GetFeature >requests instead >of GetFeatureInfo, but this is still fairly new territory and >some parts >are still under development in MapServer 4.1. That's the point, why I tried to avoid a WFS-implementation. >Anyway, the idea is that you would configure your server as both a WMS >and a WFS. Then issue a DescribeLayer request to your WMS which would >return you a reference to a WFS layer. Then your client builds a >GetFeature request for the WFS layer which could possibly be cascaded >through multiple WFS servers. AFAIK MS 4.0 does not support the DescribeLayer-request. And I fear it's no prompt alternative, but will MS 4.1 do? If so, just as a prospect: What's the space of time we're talking about regarding the release of MS 4.1, is there a approximate forecast? Are we talking about months or weeks? >Perhaps you need to rethink your servers architecture to >connect to the >servers directly instead of cascading. Using MapServer as a >WMS client >is OK, but doing multiple levels of cascading is not a good idea since >it slows things down and increses the chances of problems. We try to implement a ogc-compliant wms-server, serving dynamic layers which shall be accessible by other wms-servers. Let's call it a one-level-cascade, I didn't meant any deeper cascading. >getWMSFeatureInfoURL() operates only on WMS layers (i.e. >CONNECTIONTYPE >WMS) and will produce a GetFeatureInfo url that you can use to connect >to this server. >[...] >It's hard to explain in a few lines, but hopefully you get the idea. Thanx, in the meantime I managed to get a working sample. So I would get a new URL which fires a getFeatureInfo-request against my php-component. This way I could extend my client to put the desired request through to my php. But this wouldn't work for a direct wms-request from an other mapserver, right? Or - just a thought - is there possibly any way to specify an alternative url processed on getFeatureInfo-requests I could specify in the mapfile? This way I could initialize the request and would not have to rely on the cascade I use for getMap. TIA, Frieso From alans at wunderground.com Wed Nov 5 09:35:31 2003 From: alans at wunderground.com (Alan Steremberg) Date: Wed, 5 Nov 2003 12:35:31 -0500 (EST) Subject: [Mapserver-users] MapServer raster 'cracking' problem In-Reply-To: <143CFA2E3C9B5D459E78DA18E3F15F89DAD748@plague.telmap.com> References: <143CFA2E3C9B5D459E78DA18E3F15F89DAD748@plague.telmap.com> Message-ID: I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From murilo.yoshida at agx.com.br Wed Nov 5 09:35:22 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Wed, 5 Nov 2003 15:35:22 -0200 Subject: [Mapserver-users] mapscript installation In-Reply-To: <3FA1AC5A.4010805@u.washington.edu> Message-ID: <000701c3a3c3$30e01d50$1364a8c0@parapente> Hi all, I installed mapserver 4 last week. I followed the instructions on the http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat8AndMapserver37 page. Everything worked fine, I installed the mapserver demo (Itasca) and it worked fine. Then, when the Itasca demo worked, I tried to test mapscript. The info.php page works fine. Then I tried to open a php demo. When I try to do this, I get this error: Premature end of script headers: php Error 500 Can someone help me? I use mapserver 4 on redhat 8, php 4.3.3 and apache 2.0.40. And I followed the instructions on that page I mentioned before, but I also installed libtiff and libgeotiff, so I made few changes on the instructions to have support to these libs. Thanks in advance, Murilo From agillesp at vt.edu Wed Nov 5 11:33:58 2003 From: agillesp at vt.edu (bean@vt.edu) Date: Wed, 5 Nov 2003 14:33:58 -0500 Subject: [Mapserver-users] revisiting compiling regex on windows Message-ID: <3FB1CA8A@zathras> This is the preamble of a multipart MIME formatted message. If you are reading this text your mail system is most likely not capable of properly decoding MIME messages. To extract the contents of this message, save it to a file and then use an external MIME decoding utility. --mime-boundary-interchange-3fb1ca89 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit someone mentioned posting my entire regex compiling process (sorry, that email's at home). not much involved, just two steps. i've included the output and my Makefile.vc. thanks again for the help with this. -abe ***** begin output ***** C:\Documents and Settings\abe\Desktop\Temp\regex-0.12>"C:\Program Files\Microsof t Visual Studio\VC98\Bin\vcvars32.bat" Setting environment for using Microsoft Visual C++ tools. C:\Documents and Settings\abe\Desktop\Temp\regex-0.12>nmake /f Makefile.vc Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. for d in doc test; do (cd $d; NMAKE CPPFLAGS='-DHAVE_STRING_H -DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' default); done d was unexpected at this time. NMAKE : fatal error U1077: 'for' : return code '0x1' Stop. C:\Documents and Settings\abe\Desktop\Temp\regex-0.12> --mime-boundary-interchange-3fb1ca89 Content-Type: application/octet-stream; name="Makefile.vc" Content-disposition: attachment; filename="Makefile.vc" Content-Transfer-Encoding: BASE64 IyBNYWtlZmlsZSBmb3IgcmVnZXguDQojIA0KIyBDb3B5cmlnaHQgKEMpIDE5 OTIsIDE5OTMgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uLCBJbmMuDQojDQoj IFRoaXMgcHJvZ3JhbSBpcyBmcmVlIHNvZnR3YXJlOyB5b3UgY2FuIHJlZGlz dHJpYnV0ZSBpdCBhbmQvb3IgbW9kaWZ5DQojIGl0IHVuZGVyIHRoZSB0ZXJt cyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgYXMgcHVibGlz aGVkIGJ5DQojIHRoZSBGcmVlIFNvZnR3YXJlIEZvdW5kYXRpb247IGVpdGhl ciB2ZXJzaW9uIDIsIG9yIChhdCB5b3VyIG9wdGlvbikNCiMgYW55IGxhdGVy IHZlcnNpb24uDQojDQojIFRoaXMgcHJvZ3JhbSBpcyBkaXN0cmlidXRlZCBp biB0aGUgaG9wZSB0aGF0IGl0IHdpbGwgYmUgdXNlZnV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bW9kaWZpZWQpLiINCglybSAtcmYgJChkaXN0ZGlyKQ0KCW1rZGly ICQoZGlzdGRpcikNCglsbiAkKGRpc3RmaWxlcykgJChkaXN0ZGlyKQ0KCWZv ciBkIGluICQoc3ViZGlycyk7IGRvIChjZCAkJGQ7ICQoTUFLRSkgJChkaXN0 YXJncykgZGlzdCk7IGRvbmUNCgl0YXIgY3poZiAkKGRpc3RkaXIpLnRhci5a ICQoZGlzdGRpcikNCglybSAtcmYgJChkaXN0ZGlyKQ0KLlBIT05ZOiBkaXN0 DQo= --mime-boundary-interchange-3fb1ca89-- From remi.baud at eivd.ch Wed Nov 5 11:54:28 2003 From: remi.baud at eivd.ch (BAUD remi) Date: Wed, 5 Nov 2003 20:54:28 +0100 Subject: [Mapserver-users] swf output problems with ms4w 0.6 Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF49@eint11.einet.ad.eivd.ch> HI the list, I'm trying to enable the swf output format for mapserver. I currently use the ms4w 0.6 package and wanted to try it for the gmap application. I've seen many discussion, wikis, dmsolutions flash support documentation, but I did never arrive to output swf format. I've used this config: In the map file: IMAGETYPE SWF OUTPUTFORMAT NAME swf MIMETYPE "application/x-shockwave-flash" DRIVER swf IMAGEMODE PC256 FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" END The resulting error is : Call to a member function on a non-object for $url = $img->saveWebImage(); and no file is outputed in my tem files. With the FORMATOPTION "OUTPUT_MOVIE=SINGLE", I got an swf created in the temp file, but an error says strangely "Failing writing Image" I know that I can use the $gpoMap->SelectOutputFormat("SWF"); but I got the same problem with it. I've tried to output other format by changing the "Imagetype"in the map files and it goes well for JPEG, GIF, PNG. My version of mapserver & mapscript are 4.0.1. Do someone can tell me what's wrong? I've installed the shockwave plugin from macromedia, do I need something else more? That just boring me a little because I've already spend about 3 days to see what's wrong... Any suggestion would be welcome! cheers From BRC at capindex.com Wed Nov 5 12:18:13 2003 From: BRC at capindex.com (Brian Cunningham) Date: Wed, 5 Nov 2003 15:18:13 -0500 Subject: [Mapserver-users] Dyanic Point with Zoom Message-ID: <66D0A43005CCE2439A8C830A6C867BAE04B9F0@mail.capindex.com> Hello all- I am stuck and can't figure out what Im doing wrong. I am trying to pass Lat/Long coords which will create a point and zoom to that point. What happens is it zooms to the right coords but the created point object doest show. I figure maybe something is missing or in the wrong order. I have browsed the archive listing and from what I gather it looks right... Below is everything Thanks in advance! Brian ------------------------------------------------------------------- #Point Layer LAYER NAME "point_layer" TYPE point STATUS on CLASS NAME 'point_layer' STYLE COLOR 0 0 255 SIZE 27 SYMBOL 'circle' #(*note: my circle is defined in a symbol set file) END END END ------------------------------------------------------------------- prepareImage(); $image=$map->draw(); // CREATE NEW layerObject $pt_layer = ms_newLayerObj($map); $pt_layer = $map->getLayerByName("point_layer"); $pt_layer->set("status", 1); //SET NEW POINT OBJECT $pt = ms_newPointObj(); //Pass static coords $lon = -73; /*User input*/ $lat = 46; /*User input*/ //SET POINT OBJECT $pt->setXY($lon, $lat); $pt->draw($map, $pt_layer, $image, 0, ""); $pt_layer->set('status', MS_ON); $pt_layer->draw($image); // ZoomPoint - zooooom to point $map->zoompoint(75,$pt,$map->width,$map->height,$map->extent); //Create web image $image=$map->draw(); $image_url = $image->saveWebImage(MS_PNG,1,1,0); ?> POINT CREATION

POINT CREATION


------------------------------------------------------------------- From gayathri at ou.edu Wed Nov 5 12:26:46 2003 From: gayathri at ou.edu (Swaminathan, Gayathri) Date: Wed, 5 Nov 2003 14:26:46 -0600 Subject: [Mapserver-users] revisiting compiling regex on windows Message-ID: Can you try compiling regex from another location such as under your C:\ Let me know if errors occur still ~Gayathri -----Original Message----- From: bean at vt.edu [mailto:agillesp at vt.edu] Sent: Wednesday, November 05, 2003 1:34 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] revisiting compiling regex on windows someone mentioned posting my entire regex compiling process (sorry, that email's at home). not much involved, just two steps. i've included the output and my Makefile.vc. thanks again for the help with this. -abe ***** begin output ***** C:\Documents and Settings\abe\Desktop\Temp\regex-0.12>"C:\Program Files\Microsof t Visual Studio\VC98\Bin\vcvars32.bat" Setting environment for using Microsoft Visual C++ tools. C:\Documents and Settings\abe\Desktop\Temp\regex-0.12>nmake /f Makefile.vc Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. for d in doc test; do (cd $d; NMAKE CPPFLAGS='-DHAVE_STRING_H -DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' default); done d was unexpected at this time. NMAKE : fatal error U1077: 'for' : return code '0x1' Stop. C:\Documents and Settings\abe\Desktop\Temp\regex-0.12> From eric at gomoos.org Wed Nov 5 07:52:43 2003 From: eric at gomoos.org (Eric Bridger) Date: 05 Nov 2003 15:52:43 +0000 Subject: [Mapserver-users] Dyanic Point with Zoom In-Reply-To: <66D0A43005CCE2439A8C830A6C867BAE04B9F0@mail.capindex.com> References: <66D0A43005CCE2439A8C830A6C867BAE04B9F0@mail.capindex.com> Message-ID: <1068047568.1864.40.camel@ubet.gomoos.org> Brian, There is really no need to call $pt_layer->draw(). You already called $pt->draw(). Just a guess, but try removing the layer->draw(). Actually, now that I look at, no need to call $map->draw() either. You should just call $map->prepareImage(), $pt->draw(), then $image->saveWebImage(). HTH On Wed, 2003-11-05 at 20:18, Brian Cunningham wrote: > Hello all- > I am stuck and can't figure out what Im doing wrong. I am trying to > pass Lat/Long coords which will create a point and zoom to that point. > What happens is it zooms to the right coords but the created point > object doest show. I figure maybe something is missing or in the wrong > order. I have browsed the archive listing and from what I gather it > looks right... > Below is everything > Thanks in advance! > Brian > > ------------------------------------------------------------------- > #Point Layer > LAYER > NAME "point_layer" > TYPE point > STATUS on > CLASS > NAME 'point_layer' > STYLE > COLOR 0 0 255 > SIZE 27 > SYMBOL 'circle' #(*note: my circle is > defined in a symbol set file) > END > END > END > ------------------------------------------------------------------- > > dl('php_mapscript.dll'); > $map_path="../htdocs/"; > > //CREATE INSTANT OF mapOBJECT > $map = ms_newMapObj($map_path."test3.map"); > $image = $map->prepareImage(); > $image=$map->draw(); > > // CREATE NEW layerObject > > $pt_layer = ms_newLayerObj($map); > $pt_layer = $map->getLayerByName("point_layer"); > > $pt_layer->set("status", 1); > > //SET NEW POINT OBJECT > $pt = ms_newPointObj(); > > //Pass static coords > $lon = -73; /*User input*/ > $lat = 46; /*User input*/ > > //SET POINT OBJECT > $pt->setXY($lon, $lat); > $pt->draw($map, $pt_layer, $image, 0, ""); > $pt_layer->set('status', MS_ON); > $pt_layer->draw($image); > > // ZoomPoint - zooooom to point > $map->zoompoint(75,$pt,$map->width,$map->height,$map->extent); > > //Create web image > $image=$map->draw(); > $image_url = $image->saveWebImage(MS_PNG,1,1,0); > ?> > > > POINT CREATION > > >
>
> >

POINT > CREATION


> SRC="/tmp/ms_tmp/"> >
>
> > > ------------------------------------------------------------------- > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From BRC at capindex.com Wed Nov 5 13:21:44 2003 From: BRC at capindex.com (Brian Cunningham) Date: Wed, 5 Nov 2003 16:21:44 -0500 Subject: [Mapserver-users] Dyanic Point with Zoom Message-ID: <66D0A43005CCE2439A8C830A6C867BAE04B9F2@mail.capindex.com> When I remove $image=$map->draw(); the point draws but it is not located in the center and my other layer does not show up, which does show with the $map->draw(). Is there something wrong with my map file? MAP NAME TEST STATUS ON SIZE 600 450 SYMBOLSET ../etc/symbols.sym EXTENT -141.017718 41.679738 -52.619173 83.115060 UNITS DD SHAPEPATH "../data" IMAGECOLOR 204 204 204 FONTSET ../etc/fonts.txt WEB TEMPLATE MapTemplate.html IMAGEPATH "/tmp/ms_tmp/" END #Tab layers LAYER NAME prv TYPE POLYGON CONNECTIONTYPE OGR CONNECTION "../data/prv.tab" STATUS DEFAULT CLASS OUTLINECOLOR 0 255 0 COLOR 204 255 153 END END # Layer LAYER NAME "point_layer" TYPE point STATUS on CLASS NAME 'point_layer' STYLE COLOR 0 0 255 SIZE 27 SYMBOL 'circle' END END END END -----Original Message----- From: Eric Bridger [mailto:eric at gomoos.org] Sent: Wednesday, November 05, 2003 10:53 AM To: Brian Cunningham Cc: Mapserver List Subject: Re: [Mapserver-users] Dyanic Point with Zoom Brian, There is really no need to call $pt_layer->draw(). You already called $pt->draw(). Just a guess, but try removing the layer->draw(). Actually, now that I look at, no need to call $map->draw() either. You should just call $map->prepareImage(), $pt->draw(), then $image->saveWebImage(). HTH On Wed, 2003-11-05 at 20:18, Brian Cunningham wrote: > Hello all- > I am stuck and can't figure out what Im doing wrong. I am trying to > pass Lat/Long coords which will create a point and zoom to that point. > What happens is it zooms to the right coords but the created point > object doest show. I figure maybe something is missing or in the > wrong order. I have browsed the archive listing and from what I > gather it looks right... Below is everything > Thanks in advance! > Brian > > ------------------------------------------------------------------- > #Point Layer > LAYER > NAME "point_layer" > TYPE point > STATUS on > CLASS > NAME 'point_layer' > STYLE > COLOR 0 0 255 > SIZE 27 > SYMBOL 'circle' #(*note: my circle is > defined in a symbol set file) > END > END > END > ------------------------------------------------------------------- > > dl('php_mapscript.dll'); > $map_path="../htdocs/"; > > //CREATE INSTANT OF mapOBJECT > $map = ms_newMapObj($map_path."test3.map"); > $image = $map->prepareImage(); > $image=$map->draw(); > > // CREATE NEW layerObject > > $pt_layer = ms_newLayerObj($map); > $pt_layer = $map->getLayerByName("point_layer"); > > $pt_layer->set("status", 1); > > //SET NEW POINT OBJECT > $pt = ms_newPointObj(); > > //Pass static coords > $lon = -73; /*User input*/ > $lat = 46; /*User input*/ > > //SET POINT OBJECT > $pt->setXY($lon, $lat); > $pt->draw($map, $pt_layer, $image, 0, ""); > $pt_layer->set('status', MS_ON); > $pt_layer->draw($image); > > // ZoomPoint - zooooom to point > $map->zoompoint(75,$pt,$map->width,$map->height,$map->extent); > > //Create web image > $image=$map->draw(); > $image_url = $image->saveWebImage(MS_PNG,1,1,0); > ?> > > > POINT CREATION > > >
>
> >

POINT > CREATION


> >
>
> > > ------------------------------------------------------------------- > > _______________________________________________ > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From eric at gomoos.org Wed Nov 5 08:49:03 2003 From: eric at gomoos.org (Eric Bridger) Date: 05 Nov 2003 16:49:03 +0000 Subject: [Mapserver-users] Dyanic Point with Zoom In-Reply-To: <66D0A43005CCE2439A8C830A6C867BAE04B9F2@mail.capindex.com> References: <66D0A43005CCE2439A8C830A6C867BAE04B9F2@mail.capindex.com> Message-ID: <1068050948.1754.65.camel@ubet.gomoos.org> The map file looks O.K. You will need to get the other layer, getLayerByName($map, 'prv'); Turn it on and call layer->draw(). The idea is if you use: $map->prepareImage() you will need to do all the drawing yourself. You are putting your point at: -73, 46 which does not appear to be in the middle of your EXTENTS. -141 - -52 = -89 83 - 41 = 42 so try $lon = -89 and $lat = 42 Eric On Wed, 2003-11-05 at 21:21, Brian Cunningham wrote: > When I remove $image=$map->draw(); the point draws but it is not located > in the center and my other layer does not show up, which does show with > the $map->draw(). > Is there something wrong with my map file? > > MAP > NAME TEST > STATUS ON > SIZE 600 450 > SYMBOLSET ../etc/symbols.sym > EXTENT -141.017718 41.679738 -52.619173 83.115060 > UNITS DD > SHAPEPATH "../data" > IMAGECOLOR 204 204 204 > FONTSET ../etc/fonts.txt > > WEB > TEMPLATE MapTemplate.html > IMAGEPATH "/tmp/ms_tmp/" > END > #Tab layers > LAYER > NAME prv > TYPE POLYGON > CONNECTIONTYPE OGR > CONNECTION "../data/prv.tab" > STATUS DEFAULT > CLASS > OUTLINECOLOR 0 255 0 > COLOR 204 255 153 > END > END # Layer > > LAYER > NAME "point_layer" > TYPE point > STATUS on > CLASS > NAME 'point_layer' > STYLE > COLOR 0 0 255 > SIZE 27 > SYMBOL 'circle' > END > END > END > > END > > -----Original Message----- > From: Eric Bridger [mailto:eric at gomoos.org] > Sent: Wednesday, November 05, 2003 10:53 AM > To: Brian Cunningham > Cc: Mapserver List > Subject: Re: [Mapserver-users] Dyanic Point with Zoom > > > Brian, > There is really no need to call $pt_layer->draw(). You already called > $pt->draw(). Just a guess, but try removing the layer->draw(). > > Actually, now that I look at, no need to call $map->draw() either. You > should just call $map->prepareImage(), $pt->draw(), then > $image->saveWebImage(). > > HTH > > > On Wed, 2003-11-05 at 20:18, Brian Cunningham wrote: > > Hello all- > > I am stuck and can't figure out what Im doing wrong. I am trying to > > pass Lat/Long coords which will create a point and zoom to that point. > > > What happens is it zooms to the right coords but the created point > > object doest show. I figure maybe something is missing or in the > > wrong order. I have browsed the archive listing and from what I > > gather it looks right... Below is everything > > Thanks in advance! > > Brian > > > > ------------------------------------------------------------------- > > #Point Layer > > LAYER > > NAME "point_layer" > > TYPE point > > STATUS on > > CLASS > > NAME 'point_layer' > > STYLE > > COLOR 0 0 255 > > SIZE 27 > > SYMBOL 'circle' #(*note: my circle is > > defined in a symbol set file) > > END > > END > > END > > ------------------------------------------------------------------- > > > > > dl('php_mapscript.dll'); > > $map_path="../htdocs/"; > > > > //CREATE INSTANT OF mapOBJECT > > $map = ms_newMapObj($map_path."test3.map"); > > $image = $map->prepareImage(); > > $image=$map->draw(); > > > > // CREATE NEW layerObject > > > > $pt_layer = ms_newLayerObj($map); > > $pt_layer = $map->getLayerByName("point_layer"); > > > > $pt_layer->set("status", 1); > > > > //SET NEW POINT OBJECT > > $pt = ms_newPointObj(); > > > > //Pass static coords > > $lon = -73; /*User input*/ > > $lat = 46; /*User input*/ > > > > //SET POINT OBJECT > > $pt->setXY($lon, $lat); > > $pt->draw($map, $pt_layer, $image, 0, ""); > > $pt_layer->set('status', MS_ON); > > $pt_layer->draw($image); > > > > // ZoomPoint - zooooom to point > > $map->zoompoint(75,$pt,$map->width,$map->height,$map->extent); > > > > //Create web image > > $image=$map->draw(); > > $image_url = $image->saveWebImage(MS_PNG,1,1,0); > > ?> > > > > > > POINT CREATION > > > > > >
> >
> > > >

POINT > > CREATION


> > SRC="/tmp/ms_tmp/ > echo $image_url; ?>"> > >
> >
> > > > > > ------------------------------------------------------------------- > > > > _______________________________________________ > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From Rich at GreenwoodMap.com Wed Nov 5 14:50:27 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Wed, 05 Nov 2003 15:50:27 -0700 Subject: [Mapserver-users] jBox Announce Message-ID: <6.0.0.22.0.20031105145931.02753388@mail.GreenwoodMap.com> Hello Mappers, The Java client that was previously named "Mapplet" is now called "jBox" and replaces Mapplet on the User Contributed Utilities page: http://mapserver.gis.umn.edu/contributed.html Mapplet was a Java applet that allowed the user to drag a box across a map for zooming or attribute data queries. Mapplet also provided a function for real time cursor coordinate tracking, and for image swapping. Image swapping allows the applet to update the map image without having to reload the whole page. jBox includes the functionality of Mapplet and adds two more functions: 1. Image dragging for use in conjunction with panning. 2. Line drawing to be used in conjunction with distance scaling in a manner similar to the distance or ruler tools in ArcView and MapInfo. Area calculations will be added to the line drawing function in the near future. There is also a version of jBox that works with PNG imgages. Documentation is in the HOWTO section of the documentation page: http://mapserver.gis.umn.edu/doc.html The drag /pan function is not documented yet. A working example of jBox is at: http://www2.tetonwyo.org/mapserver/ jBox works reliably with Netscape 4.x on Windows and Linux, and IE 5+ (and maybe earlier) on Windows. It is not entirely stable on Mozilla 1.x (which really bums me out, and I'd love some help from any Java applet wizards out there). jBox does not work with IE on the Mac (and probably never will). I don't know about Netscape or Mozilla on the Mac. Best regards, Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From vinko at cprsig.cl Wed Nov 5 17:50:04 2003 From: vinko at cprsig.cl (Vinko Vrsalovic) Date: Wed, 5 Nov 2003 22:50:04 -0300 Subject: [Mapserver-users] Migration from 3.5 to 4.0 Message-ID: <20031106015004.GA6402@landsat.cprsig.cl> Hello, I found in some old backups a really nice app that was made in good old 3.5 times. Back then it worked perfectly. In it i embedded the scalebar in the map, with transparent set to ON, but now (with 4.0) it the bakcground is not rendered transparent, so it's blocking a part of the map. As i'm using 4.0 I tried to define the following outputformat: OUTPUTFORMAT NAME png MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE RGBA TRANSPARENT TRUE END But when using it, i get gd-png: fatal libpng error: Invalid number of colors in palette gd-png error: setjmp returns error condition I also get the same error when using IMAGEMODE RGB and TRANSPARENT FALSE so i guess it has to do with the number of bits instead of the transparent setting. It works if i set IMAGEMODE to PC256. I checked the list, and the problem is mentioned, but didn't get why it might happen. So three questions here, what can I be doing for it to fail that way? I was using a reference map with a 8bit png image, so I changed it to 24 bits, but the problem remains. The second is, if I get the outputformat with RGBA to work, will the scalebar with transparent set to true work? And the third is, is there a way to embed the scalebar with transparent background with PC256 mode? Thanks, -- Vinko Vrsalovic http://www.cprsig.cl From emiliom at u.washington.edu Wed Nov 5 18:08:53 2003 From: emiliom at u.washington.edu (Emilio Mayorga) Date: Wed, 05 Nov 2003 18:08:53 -0800 Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? In-Reply-To: <20031105180004.2137.25413.Mailman@lists.gis.umn.edu> References: <20031105180004.2137.25413.Mailman@lists.gis.umn.edu> Message-ID: <3FA9AD35.6090008@u.washington.edu> Oi Murilo, What I did is exactly what I mentioned in my message, I added --without-tiff to the configure line. Here is my complete mapserver configuration line: ./configure --with-gd --with-proj --with-gdal --with-ogr --without-tiff --with-wmsclient --with-threads --enable-runpath --enable-debug I ran a make clean before doing that, to clean up the previous make file; I'm no expert installing programs on Linux, so it took me some effort to figure that out! Here's the GDAL configuration line (I'm using GDAL 1.1.9): ./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-jpeg --without-jasper From a previous message you posted, it looks like you're trying to use libtiff and libgeotiff, not GDAL. I think the --without-tiff mapserver option specifies NOT to use other tiff libraries (--with-gdal tells it to use GDAL, obviously), and the --with-libtiff=internal and --with-geotiff=internal in the GDAL configuration tell GDAL to use its own tiff/geotiff libraries. Could that be the problem? Boa sorte! -Emilio ---------------------- From: "Murilo Lacerda Yoshida" To: Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? Date: Wed, 5 Nov 2003 13:02:44 -0200 Hi Emilio, I have the same problem that you had, I guess, but I've tried to compile mapserver --without-tiff and it still don't work, I still have the "Premature end of script headers: php " error... Can you tell me what you did to solve your problem? Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 30 de outubro de 2003 22:27 Para: mapserver-users at lists.gis.umn.edu Assunto: Re: [Mapserver-users] problem displaying raster layers; GDAL? That was it!! Thank you, Randy! Such a simple fix, after so much frustration. But this is great, now all the Mapserver features I wanted to enable are working. Cheers, -Emilio Randy James wrote: >> Hi >> >> I seem to remember that problem, i believe that i compiled >> mapserver --without-tiff and used gdals tiff lib and than >> it worked. >> >> Hope this helps >> >> Randy From murilo.yoshida at agx.com.br Wed Nov 5 19:08:34 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Thu, 6 Nov 2003 01:08:34 -0200 Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? In-Reply-To: <3FA9AD35.6090008@u.washington.edu> Message-ID: <001c01c3a413$43ed87c0$1364a8c0@parapente> Ol? Emilio, Yes, I'm using libtiff and libgeotiff, but I guess that this isn't the problem here. Unless I cannot use gdal and libtiff and libgeotiff at the same time, but I think that's not the case. Here are my configure strings: For mapserver ./configure --without-tiff --without-eppl --without-jpeg --with-threads --with-proj --with-gdal=/usr/local/bin/gdal-config --with-php=../php-4.3.3 --with-gd=/usr/local --with-freetype=/usr/bin --with-pdf --with-ogr --with-ming --with-wmsclient --with-wfs --with-wfs-client For PHP ./configure --enable-force-cgi-redirect --with-config-file-path=/etc/httpd/ --with-gd=/usr/local --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --with-freetype-dir=/usr --without-ttf --with-pdflib --with-mysql --with-regex=system --with-ming --enable-dbase --enable-dbx --enable-versioning --with-oci8 --enable-shared --with-config-file-path=/usr/local/php433/ --prefix=/usr/local/php433 For gdal ./configure --with-libz --with-png --with-libtiff=/usr/local --with-geotiff=/usr/local --with-jpeg --without-jasper --without-python And I changed the mapserver configure string to --without-tiff after I read your message, but nothing changed ... Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 6 de novembro de 2003 00:09 Para: mapserver-users at lists.gis.umn.edu Assunto: RES: [Mapserver-users] problem displaying raster layers; GDAL? Oi Murilo, What I did is exactly what I mentioned in my message, I added --without-tiff to the configure line. Here is my complete mapserver configuration line: ./configure --with-gd --with-proj --with-gdal --with-ogr --without-tiff --with-wmsclient --with-threads --enable-runpath --enable-debug I ran a make clean before doing that, to clean up the previous make file; I'm no expert installing programs on Linux, so it took me some effort to figure that out! Here's the GDAL configuration line (I'm using GDAL 1.1.9): ./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-jpeg --without-jasper From a previous message you posted, it looks like you're trying to use libtiff and libgeotiff, not GDAL. I think the --without-tiff mapserver option specifies NOT to use other tiff libraries (--with-gdal tells it to use GDAL, obviously), and the --with-libtiff=internal and --with-geotiff=internal in the GDAL configuration tell GDAL to use its own tiff/geotiff libraries. Could that be the problem? Boa sorte! -Emilio ---------------------- From: "Murilo Lacerda Yoshida" To: Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? Date: Wed, 5 Nov 2003 13:02:44 -0200 Hi Emilio, I have the same problem that you had, I guess, but I've tried to compile mapserver --without-tiff and it still don't work, I still have the "Premature end of script headers: php " error... Can you tell me what you did to solve your problem? Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 30 de outubro de 2003 22:27 Para: mapserver-users at lists.gis.umn.edu Assunto: Re: [Mapserver-users] problem displaying raster layers; GDAL? That was it!! Thank you, Randy! Such a simple fix, after so much frustration. But this is great, now all the Mapserver features I wanted to enable are working. Cheers, -Emilio Randy James wrote: >> Hi >> >> I seem to remember that problem, i believe that i compiled >> mapserver --without-tiff and used gdals tiff lib and than >> it worked. >> >> Hope this helps >> >> Randy _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From MZahoor at lmkr.com Wed Nov 5 23:16:04 2003 From: MZahoor at lmkr.com (Mahinn Zahoor) Date: Thu, 6 Nov 2003 12:16:04 +0500 Subject: [Mapserver-users] mapserv does not work. Message-ID: This is a multipart message in MIME format. --=_alternative 0027A9F945256DD6_= Content-Type: text/plain; charset="US-ASCII" Hello all i am a new one to install maperver on linux environment. i have installed all the packages successfully required for mapserver, under the maperver directory i issue the following command ./configure --with-gd=/usr/local --with-proj=/usr/local/ --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local it gets configured all ok. then i run make things go successfully but when i run ./mapserv i get the following error regarding libgd.so.2 Cannot open shared file No such file or directory i am running Apache 2.0.48 and there is nothing in its error log. Please reply asap. Regards Mahinn --=_alternative 0027A9F945256DD6_= Content-Type: text/html; charset="US-ASCII"
Hello all
i am a new one to install maperver on linux environment.
i have installed all the packages successfully required for mapserver, under the maperver directory i issue the following command

./configure --with-gd=/usr/local --with-proj=/usr/local/ --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local

it gets configured all ok.
then i run

make
things go successfully

but when i run
./mapserv  i get the following error regarding libgd.so.2
Cannot open shared file
No such file or directory


i am running Apache 2.0.48 and there is nothing in its error log.

Please reply asap.

Regards
Mahinn


--=_alternative 0027A9F945256DD6_=-- From nicolas at maich.gr Wed Nov 5 23:32:32 2003 From: nicolas at maich.gr (Nicolas Boretos) Date: Thu, 06 Nov 2003 09:32:32 +0200 Subject: [Mapserver-users] compile tcl mapscript In-Reply-To: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09968C@mail2.chesapeakebay.net> References: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09968C@mail2.chesapeakebay.net> Message-ID: <3FA9F910.7040200@maich.gr> Enils Bashi wrote: >Hi, > >I am trying to compile tcl mapscript. When I run ./configure I get the >following message: >You must build MapServer first. >-- >MapServer is already built, installed and running. There is a symolic link >mapscript.i to ../mapscript.i in the tcl directory provided with mapserver >4.0.1 tar.gz source file. >Any ideas? >I have mapserver 4.0.1 on Redhat 9 and ActiveTcl 8.4.4.0 > >Enils Bashi >Programmer - Chesapeake Bay Program >Veridyne Incorporated >Annapolis, Maryland: (410) 267-9833 >www.chesapeakebay.net > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >. > > > Hi, Change the first line to point to mapscriptvars instead of perlvars if [ ! -f ../../mapscriptvars ] ; then echo "you must build MapServer first." exit fi it builds w/o problems.... regards, nicolas boretos From muratisik at megatek.com.tr Wed Nov 5 23:42:19 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Thu, 6 Nov 2003 09:42:19 +0200 Subject: [Mapserver-users] dynamic labeling -- help needed Message-ID: <006f01c3a439$823728d0$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_006C_01C3A44A.452C1D40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am working on a mapscript project, it is a car tracking project. Coordinates data comes to mysql, and my mapscript reads the data and = prints points on the map accordingly. However I am given a new task which is = truely above me... I am handed a new layer for my project, a layer about streets. I am = supposed to add this layer to the map (which is easy) and have the php code dynamicaly query this layer (which is "????" for me) I have used some = free map tools to "look into" the layer. The database coloumn has two coloumns: an ID and an ADI coloumn. ADI means "its name" in Turkish. Every time this php code is called, it should not only print the streets on the map but next to each street, it should also write its name. Even if it is zoomed, it should still = maintain the names of the streets within the picture on the page. I have no idea about how to do this, it is way above me... One problem might be that while ID coloumn is all numbers, ADI coloumn = has a lot of Turkish characters (8859-9 named code set I believe, UTF-9 might = be another name too.) I dont know if php/mapscript supports this one. This = is not a big problem anyway. If I can get the ID coloumn to be printed, = then I can use ArcView or some other windows tool to open up the .dbf file and rewrite the names with international characters and then change it to ID = to ADI. But I dont have any ideas about how to get anything read out of the = static layer and properly printed on the page. I have searched the net and mail list archieve but didnot understand much. Please help me...:) Have a nice day:) Murat Isik current php code: Displaying a Point
>

DYNAMIC POINT

setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); ?>

" width=3D600 height=3D600 border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> current map file: # # Start of map file # NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 #OUTPUTFORMAT # NAME PNG # DRIVER "GD/PNG" # MIMETYPE "image/png" # IMAGEMODE PC256 # EXTENSION "png" #END IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'ERENKOY_ORNEKILCE_PG_region' TYPE polygon STATUS DEFAULT DATA ERENKOY_ORNEKILCE_PG_region CLASSITEM 'ID' CLASS EXPRESSION '3' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END LAYER NAME ERENKOY_ORNEKMAHALLE_PG_region GROUP cities TYPE polygon DATA ERENKOY_ORNEKMAHALLE_PG_region STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 255 225 185 OUTLINECOLOR 0 0 0 END END LAYER NAME 'target2' TYPE point DATA target2 STATUS ON CLASS SYMBOL 'circle' COLOR 255 255 0 SIZE 20 LABEL COLOR 0 0 0 END END END LAYER NAME 'target1' TYPE point DATA target1 STATUS ON CLASS SYMBOL 'circle' COLOR 255 0 0 SIZE 4 LABEL COLOR 0 0 0 END END END END # end of map file ------=_NextPart_000_006C_01C3A44A.452C1D40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I am working on a mapscript = project, it=20 is a car tracking project.
Coordinates data comes to mysql, and my = mapscript=20 reads the data and prints
points on the map accordingly. However I am = given a=20 new task which is truely
above me...
I am handed a new layer for = my=20 project, a layer about streets. I am supposed
to add this layer to = the map=20 (which is easy) and have the php code
dynamicaly query this layer = (which is=20 "????" for me) I have used some free
map tools to "look
into" the = layer.=20 The database coloumn has two coloumns: an ID and an ADI
coloumn. ADI = means=20 "its name" in Turkish. Every time this php code is
called, it should = not only=20 print the streets on the map but next to each
street, it
should = also write=20 its name. Even if it is zoomed, it should still maintain
the names of = the=20 streets within the picture on the page. I have no idea
about how to = do this,=20 it is way above me...

One problem might be that while ID coloumn = is all=20 numbers, ADI coloumn has a
lot of Turkish characters (8859-9 named = code set I=20 believe, UTF-9 might be
another name too.) I dont know if = php/mapscript=20 supports this one. This is
not a big problem anyway. If I can get the = ID=20 coloumn to be printed, then I
can use ArcView or some other windows = tool to=20 open up the .dbf file and
rewrite the names with international = characters and=20 then change it to ID to
ADI.

But I dont have any ideas about = how to=20 get anything read out of the static
layer and properly printed on the = page. I=20 have searched the net and mail
list archieve but didnot understand = much.=20 Please help me...:)

Have a nice day:)

Murat = Isik
 
current php code:
 
<HEAD>
<TITLE>Displaying = a=20 Point</TITLE>
</HEAD>
<CENTER>
<FORM = METHOD=3DPOST=20 ACTION=3D<?php echo $PHP_SELF?>>
<H1>DYNAMIC=20 POINT</H1>
<P>
<?php
dl("php_mapscript.so");
<= BR>mysql_connect("localhost","root","sqlpass")=20 or
        die ("Could not connect = to=20 database");

mysql_select_db("gpstrack")=20 or
        die("Could not select=20 database");

$val_zsize=3D3;
$check_pan=3D"CHECKED";

$shp= Fname =3D=20 "target1";
$shpFile =3D ms_newShapeFileObj($shpFname,=20 MS_SHP_POINT);

$shpFname1 =3D "target2";
$shpFile1 =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);

$pt =3D=20 ms_newPointObj();

$i =3D 0;

$result =3D = mysql_query("select * from=20 track2") or
        die=20 (mysql_error());


$x[0]=3D0;
$y[0]=3D0;

while ($row = =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;


if($test_x[$i]=3D=3D$x[$= i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{

$x[$i] =3D = $test_x[$i];
$y[$i] =3D=20 $test_y[$i];

}

}
mysql_free_result($result);


= for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],=20 $y[$k]);
$shpFile->addPoint($pt);
};

$pt->setXY($x[$i]= ,=20 $y[$i]);
$shpFile1->addPoint($pt);


$shpFile->free();<= BR>$shpFile1->free();

$def=20 =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128));
$dbfFile = =3D=20 dbase_create($shpFname.".dbf", $def);
dbase_add_record($dbfFile,=20 array("1","TEST"));

$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));

$myMap = =3D=20 ms_newMapObj("demo_try.map");

#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);


if (=20 isset($HTTP_POST_VARS["mapa_x"]) &&=20 isset($HTTP_POST_VARS["mapa_y"])
      = &&=20 !isset($HTTP_POST_VARS["full"]) ) = {

 //    =20 $extent_to_set =3D explode("=20 ",$HTTP_POST_VARS["extent"]);


$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;


 =20 $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $my_point =3D ms_newpointObj();
     =20 $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=

     =20 $my_extent =3D ms_newrectObj();

     =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $zoom_factor =3D=20 $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 {
           &n= bsp; =20 $zoom_factor =3D=20 1;
           &= nbsp; =20 $check_pan =3D=20 "CHECKED";
          = ;   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor <=20 0)=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "CHECKED";
     =20 }

      $val_zsize =3D=20 abs($zoom_factor);

     =20 $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);

}
$img =3D $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);

?>
<BODY>
<cen= ter>
<table=20 border=3D0 cellspacing=3D0 cellpadding=3D4=20 bgcolor=3D"#FFFFFF">
<tr>
<td valign=3D"top"=20 align=3Dcenter>
  <table cellpadding=3D"0" = cellspacing=3D"5"=20 border=3D"5">
    <tr><td = colspan=3D"2"><INPUT=20 NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php echo
$image_url; ?>" = width=3D600=20 height=3D600 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php=20 echo
$check_zout?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN NAME=3D"extent" = VALUE=3D"<?php echo=20 $extent_to_html?>">
</FORM>
</CENTER>

<= /BODY>
</HTML>


current=20 map file:

#
# Start of map file
#
NAME ERENKOY
STATUS = ON
SIZE 600 600
EXTENT 29.057 40.954 29.143 40.999
UNITS=20 DD
SHAPEPATH "/var/www/html/mapserver/itasca/"
IMAGECOLOR 255 255=20 255

#OUTPUTFORMAT
#  NAME PNG
#  DRIVER=20 "GD/PNG"
#  MIMETYPE "image/png"
#  IMAGEMODE = PC256
# =20 EXTENSION "png"
#END

IMAGETYPE GIF


WEB
  = MINSCALE=20 1000
  MAXSCALE 1550000
  IMAGEPATH=20 "/var/www/html/mapserver/tmp3/"
  IMAGEURL=20 "/mapserver/tmp3/"
 END


SYMBOL
  NAME=20 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  = FILLED=20 TRUE
END


LAYER
  NAME=20 'ERENKOY_ORNEKILCE_PG_region'
  TYPE polygon
  STATUS=20 DEFAULT
  DATA ERENKOY_ORNEKILCE_PG_region

  = CLASSITEM=20 'ID'
  CLASS
    EXPRESSION = '3'
   =20 OUTLINECOLOR 128 128 128
    COLOR 225 225 = 185
 =20 END
  CLASS
    EXPRESSION = /./
   =20 OUTLINECOLOR 128 128 128
    COLOR 255 255 = 255
 =20 END
END

LAYER
 NAME = ERENKOY_ORNEKMAHALLE_PG_region
 =20 GROUP cities
  TYPE polygon
 DATA=20 ERENKOY_ORNEKMAHALLE_PG_region
  STATUS ON
 CLASSITEM=20 'ID'
 CLASS
        = EXPRESSION=20 /./
COLOR 255 225 185
       =20 OUTLINECOLOR 0 0 0

  = END


END

LAYER
  NAME=20 'target2'
  TYPE point
  DATA target2
  STATUS=20 ON
   CLASS
    SYMBOL=20 'circle'
    COLOR 255 255 0
    = SIZE=20 20
     LABEL
      = COLOR 0 0=20 0
     END
  =20 END


END

LAYER
  NAME 'target1'
  TYPE=20 point
  DATA target1
  STATUS ON
  =20 CLASS
    SYMBOL 'circle'
    COLOR = 255 0=20 0
    SIZE 4
    =20 LABEL
      COLOR 0 0 = 0
    =20 END
   END


END

END # end of map=20 file


------=_NextPart_000_006C_01C3A44A.452C1D40-- From nadu84 at gmx.net Wed Nov 5 23:54:29 2003 From: nadu84 at gmx.net (Nguyen Anh Dung) Date: Thu, 6 Nov 2003 14:54:29 +0700 Subject: [Mapserver-users] test Message-ID: <001601c3a43b$395c93a0$6d00a8c0@tapchibcvt> This is a multi-part message in MIME format. ------=_NextPart_000_0013_01C3A475.E16B9980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable for testing purpose only ;-) ------=_NextPart_000_0013_01C3A475.E16B9980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
for testing purpose only=20 ;-)
------=_NextPart_000_0013_01C3A475.E16B9980-- From nicolas at maich.gr Wed Nov 5 23:52:49 2003 From: nicolas at maich.gr (Nicolas Boretos) Date: Thu, 06 Nov 2003 09:52:49 +0200 Subject: [Mapserver-users] mapserv does not work. In-Reply-To: References: Message-ID: <3FA9FDD1.9060906@maich.gr> Mahinn Zahoor wrote: > > Hello all > i am a new one to install maperver on linux environment. > i have installed all the packages successfully required for mapserver, > under the maperver directory i issue the following command > > *./configure --with-gd=/usr/local --with-proj=/usr/local/ > --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local* > > it gets configured all ok. > then i run > > *make * > things go successfully > > but when i run > *./mapserv* i get the following error regarding *libgd.so.2* > Cannot open shared file > No such file or directory > > > i am running Apache 2.0.48 and there is nothing in its error log. > > Please reply asap. > > Regards > Mahinn > > Hi, First run "ldd" mapserv This'll show you library dependencies of mapserv executable and show you where it expects to find libgd.so.2 If it does not find it, you probably have to either put in a direcory where your dynamic loader looks In Slackware at least, look at /etc/ld.so.conf, add/edit path to libgd.so.2 and run "ldconfig" in this directory after editing. regards, nicolas boretos From fx.gamoy at mapxplore.com Thu Nov 6 01:07:38 2003 From: fx.gamoy at mapxplore.com (fx gamoy) Date: Thu, 6 Nov 2003 09:07:38 -0000 Subject: [Mapserver-users] dynamic labeling -- help needed References: <006f01c3a439$823728d0$b4704ad5@murathq> Message-ID: <005401c3a445$6d37fbb0$0201a8c0@mapxplore.com> C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0051_01C3A445.6CE93F70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello Murat i have used mif/mid file instead of shpefileobj i have written a php function which write new mif/mid file when i have = to refresh car position. fx gamoy http://www.mapxplore.com/ ----- Original Message -----=20 From: Murat Isik=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Thursday, November 06, 2003 7:42 AM Subject: [Mapserver-users] dynamic labeling -- help needed Hello, I am working on a mapscript project, it is a car tracking project. Coordinates data comes to mysql, and my mapscript reads the data and = prints points on the map accordingly. However I am given a new task which is = truely above me... I am handed a new layer for my project, a layer about streets. I am = supposed to add this layer to the map (which is easy) and have the php code dynamicaly query this layer (which is "????" for me) I have used some = free map tools to "look into" the layer. The database coloumn has two coloumns: an ID and an = ADI coloumn. ADI means "its name" in Turkish. Every time this php code is called, it should not only print the streets on the map but next to = each street, it should also write its name. Even if it is zoomed, it should still = maintain the names of the streets within the picture on the page. I have no = idea about how to do this, it is way above me... One problem might be that while ID coloumn is all numbers, ADI coloumn = has a lot of Turkish characters (8859-9 named code set I believe, UTF-9 = might be another name too.) I dont know if php/mapscript supports this one. = This is not a big problem anyway. If I can get the ID coloumn to be printed, = then I can use ArcView or some other windows tool to open up the .dbf file = and rewrite the names with international characters and then change it to = ID to ADI. But I dont have any ideas about how to get anything read out of the = static layer and properly printed on the page. I have searched the net and = mail list archieve but didnot understand much. Please help me...:) Have a nice day:) Murat Isik current php code: Displaying a Point
>

DYNAMIC POINT

setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); ?>

" width=3D600 height=3D600 border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> current map file: # # Start of map file # NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 #OUTPUTFORMAT # NAME PNG # DRIVER "GD/PNG" # MIMETYPE "image/png" # IMAGEMODE PC256 # EXTENSION "png" #END IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'ERENKOY_ORNEKILCE_PG_region' TYPE polygon STATUS DEFAULT DATA ERENKOY_ORNEKILCE_PG_region CLASSITEM 'ID' CLASS EXPRESSION '3' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END LAYER NAME ERENKOY_ORNEKMAHALLE_PG_region GROUP cities TYPE polygon DATA ERENKOY_ORNEKMAHALLE_PG_region STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 255 225 185 OUTLINECOLOR 0 0 0 END END LAYER NAME 'target2' TYPE point DATA target2 STATUS ON CLASS SYMBOL 'circle' COLOR 255 255 0 SIZE 20 LABEL COLOR 0 0 0 END END END LAYER NAME 'target1' TYPE point DATA target1 STATUS ON CLASS SYMBOL 'circle' COLOR 255 0 0 SIZE 4 LABEL COLOR 0 0 0 END END END END # end of map file ------=_NextPart_000_0051_01C3A445.6CE93F70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello Murat
i have used mif/mid file instead of=20 shpefileobj
i have written a php function which = write new=20 mif/mid file when i have to refresh car position.
fx gamoy
http://www.mapxplore.com/
----- Original Message -----
From:=20 Murat=20 Isik
To: mapserver-users at lists.g= is.umn.edu=20
Sent: Thursday, November 06, = 2003 7:42=20 AM
Subject: [Mapserver-users] = dynamic=20 labeling -- help needed

Hello,
I am working on a mapscript = project, it=20 is a car tracking project.
Coordinates data comes to mysql, and my=20 mapscript reads the data and prints
points on the map accordingly. = However=20 I am given a new task which is truely
above me...
I am handed a = new=20 layer for my project, a layer about streets. I am supposed
to add = this=20 layer to the map (which is easy) and have the php code
dynamicaly = query=20 this layer (which is "????" for me) I have used some free
map tools = to=20 "look
into" the layer. The database coloumn has two coloumns: an ID = and an=20 ADI
coloumn. ADI means "its name" in Turkish. Every time this php = code=20 is
called, it should not only print the streets on the map but next = to=20 each
street, it
should also write its name. Even if it is = zoomed, it=20 should still maintain
the names of the streets within the picture = on the=20 page. I have no idea
about how to do this, it is way above = me...

One=20 problem might be that while ID coloumn is all numbers, ADI coloumn has = a
lot of Turkish characters (8859-9 named code set I believe, UTF-9 = might=20 be
another name too.) I dont know if php/mapscript supports this = one. This=20 is
not a big problem anyway. If I can get the ID coloumn to be = printed,=20 then I
can use ArcView or some other windows tool to open up the = .dbf file=20 and
rewrite the names with international characters and then change = it to=20 ID to
ADI.

But I dont have any ideas about how to get = anything read=20 out of the static
layer and properly printed on the page. I have = searched=20 the net and mail
list archieve but didnot understand much. Please = help=20 me...:)

Have a nice day:)

Murat Isik
 
current php code:
 
<HEAD>
<TITLE>Displaying a=20 Point</TITLE>
</HEAD>
<CENTER>
<FORM = METHOD=3DPOST=20 ACTION=3D<?php echo $PHP_SELF?>>
<H1>DYNAMIC=20 = POINT</H1>
<P>
<?php
dl("php_mapscript.so");
<= BR>mysql_connect("localhost","root","sqlpass")=20 or
        die ("Could not = connect to=20 database");

mysql_select_db("gpstrack")=20 or
        die("Could not select = = database");

$val_zsize=3D3;
$check_pan=3D"CHECKED";

$shp= Fname =3D=20 "target1";
$shpFile =3D ms_newShapeFileObj($shpFname,=20 MS_SHP_POINT);

$shpFname1 =3D "target2";
$shpFile1 =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);

$pt =3D=20 ms_newPointObj();

$i =3D 0;

$result =3D = mysql_query("select * from=20 track2") or
        die=20 (mysql_error());


$x[0]=3D0;
$y[0]=3D0;

while = ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 = $row["ldegrees"]+$row["lminutes"]/60;


if($test_x[$i]=3D=3D$x[$= i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{

$x[$i] = =3D=20 $test_x[$i];
$y[$i] =3D=20 = $test_y[$i];

}

}
mysql_free_result($result);


= for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],=20 = $y[$k]);
$shpFile->addPoint($pt);
};

$pt->setXY($x[$i]= ,=20 = $y[$i]);
$shpFile1->addPoint($pt);


$shpFile->free();<= BR>$shpFile1->free();

$def=20 =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128));
$dbfFile = =3D=20 dbase_create($shpFname.".dbf", $def);
dbase_add_record($dbfFile,=20 array("1","TEST"));

$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));

$myMap = =3D=20 ms_newMapObj("demo_try.map");

#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);


if (=20 isset($HTTP_POST_VARS["mapa_x"]) &&=20 isset($HTTP_POST_VARS["mapa_y"])
      = &&=20 !isset($HTTP_POST_VARS["full"]) ) = {

 //    =20 $extent_to_set =3D explode("=20 ",$HTTP_POST_VARS["extent"]);


$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;


 =20 = $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 = $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $my_point =3D ms_newpointObj();
     =20 = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=

     =20 $my_extent =3D ms_newrectObj();

     =20 = $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 = $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $zoom_factor =3D=20 = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 = {
           &n= bsp; =20 $zoom_factor =3D=20 = 1;
           &= nbsp; =20 $check_pan =3D=20 = "CHECKED";
          = ;   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor=20 < 0)=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "CHECKED";
     =20 }

      $val_zsize =3D=20 abs($zoom_factor);

     =20 = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);

}
$img =3D $myMap->draw();
$image_url =3D = = $img->saveWebImage(GIF,1,1,0);

?>
<BODY>
<cen= ter>
<table=20 border=3D0 cellspacing=3D0 cellpadding=3D4=20 bgcolor=3D"#FFFFFF">
<tr>
<td valign=3D"top"=20 align=3Dcenter>
  <table cellpadding=3D"0" = cellspacing=3D"5"=20 border=3D"5">
    <tr><td = colspan=3D"2"><INPUT=20 NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php echo
$image_url; = ?>" width=3D600=20 height=3D600 = border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 = <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php=20 echo
$check_zout?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 = $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 = VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN = NAME=3D"extent"=20 VALUE=3D"<?php echo=20 = $extent_to_html?>">
</FORM>
</CENTER>

<= /BODY>
</HTML>


current=20 map file:

#
# Start of map file
#
NAME = ERENKOY
STATUS=20 ON
SIZE 600 600
EXTENT 29.057 40.954 29.143 40.999
UNITS=20 DD
SHAPEPATH "/var/www/html/mapserver/itasca/"
IMAGECOLOR 255 = 255=20 255

#OUTPUTFORMAT
#  NAME PNG
#  DRIVER=20 "GD/PNG"
#  MIMETYPE "image/png"
#  IMAGEMODE = PC256
# =20 EXTENSION "png"
#END

IMAGETYPE GIF


WEB
  = MINSCALE=20 1000
  MAXSCALE 1550000
  IMAGEPATH=20 "/var/www/html/mapserver/tmp3/"
  IMAGEURL=20 "/mapserver/tmp3/"
 END


SYMBOL
  NAME=20 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  = FILLED=20 TRUE
END


LAYER
  NAME=20 'ERENKOY_ORNEKILCE_PG_region'
  TYPE polygon
  STATUS=20 DEFAULT
  DATA ERENKOY_ORNEKILCE_PG_region

  = CLASSITEM=20 'ID'
  CLASS
    EXPRESSION=20 '3'
    OUTLINECOLOR 128 128 = 128
    COLOR=20 225 225 185
  END
  CLASS
    = EXPRESSION=20 /./
    OUTLINECOLOR 128 128 = 128
    COLOR=20 255 255 255
  END
END

LAYER
 NAME=20 ERENKOY_ORNEKMAHALLE_PG_region
  GROUP cities
  TYPE=20 polygon
 DATA ERENKOY_ORNEKMAHALLE_PG_region
  STATUS=20 ON
 CLASSITEM=20 'ID'
 CLASS
        = EXPRESSION=20 /./
COLOR 255 225 185
        = OUTLINECOLOR 0 0 0

  = END


END

LAYER
 =20 NAME 'target2'
  TYPE point
  DATA target2
  = STATUS=20 ON
   CLASS
    SYMBOL=20 'circle'
    COLOR 255 255 0
    = SIZE=20 20
     LABEL
      = COLOR 0=20 0 0
     END
  =20 END


END

LAYER
  NAME 'target1'
  = TYPE=20 point
  DATA target1
  STATUS ON
  =20 CLASS
    SYMBOL 'circle'
    = COLOR 255 0=20 0
    SIZE 4
    =20 LABEL
      COLOR 0 0=20 0
     END
  =20 END


END

END # end of map=20 file


------=_NextPart_000_0051_01C3A445.6CE93F70-- From stephane.riff at cerene.fr Thu Nov 6 00:09:46 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Thu, 06 Nov 2003 09:09:46 +0100 Subject: [Mapserver-users] Postgres 7.2.4 cygwin compilation In-Reply-To: References: Message-ID: <3FAA01CA.40208@cerene.fr> Here is the problem : I can run the ./configure, it's good... but when i run make , i get this error : $ make src/Makefile.global:269: src/Makefile.port: No such file or directory c:\usr\local\wbin\make.exe: *** No rule to make target `src/Makefile.port'. Stop. But there is a Makefile.port in the src directory (it's a link create by configure). So i tried to copy the makefile.win in the src directory to replace the Makefile.port but i ran into others error like windows error: expr.exe fatal error.... Tyler Mitchell wrote: >What kind of error/problem are you running into? > >mapserver-users-admin at lists.gis.umn.edu wrote on 11/05/2003 08:24:51 AM: > > > >>I absolutely need a how to for build postgresql 7.2.4 on cygwin with >>windows 2000 >> >>I tried every thing i found but nothing work......... >> >>PLEASE IF YOU CAN HELP ME, DO IT.... >> >>thanks >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >> > > > > From muratisik at megatek.com.tr Thu Nov 6 00:17:23 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Thu, 6 Nov 2003 10:17:23 +0200 Subject: [Mapserver-users] dynamic labeling -- help needed References: <006f01c3a439$823728d0$b4704ad5@murathq> <005401c3a445$6d37fbb0$0201a8c0@mapxplore.com> Message-ID: <009e01c3a43e$68152650$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_009B_01C3A44F.2B920F70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you:) I dont know any French, but visually I can see that it is a superb = work... I didnot understand how I can relate it to street-name-printing :( Something else attracted my attention. If I am not wrong, you have some = sort of radio buttons which move the map up-down-right-left. I need = something like that more than I need street-name-printing. I cant really = get the map to move anywhere either panned or zoomed. How did you get = that done? Thank you. Have a nice day Murat Isik ----- Original Message -----=20 From: fx gamoy=20 To: mapserver-users at lists.gis.umn.edu ; Murat Isik=20 Sent: Thursday, November 06, 2003 11:07 AM Subject: Re: [Mapserver-users] dynamic labeling -- help needed hello Murat i have used mif/mid file instead of shpefileobj i have written a php function which write new mif/mid file when i have = to refresh car position. fx gamoy http://www.mapxplore.com/ ----- Original Message -----=20 From: Murat Isik=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Thursday, November 06, 2003 7:42 AM Subject: [Mapserver-users] dynamic labeling -- help needed Hello, I am working on a mapscript project, it is a car tracking project. Coordinates data comes to mysql, and my mapscript reads the data and = prints points on the map accordingly. However I am given a new task which = is truely above me... I am handed a new layer for my project, a layer about streets. I am = supposed to add this layer to the map (which is easy) and have the php code dynamicaly query this layer (which is "????" for me) I have used = some free map tools to "look into" the layer. The database coloumn has two coloumns: an ID and an = ADI coloumn. ADI means "its name" in Turkish. Every time this php code = is called, it should not only print the streets on the map but next to = each street, it should also write its name. Even if it is zoomed, it should still = maintain the names of the streets within the picture on the page. I have no = idea about how to do this, it is way above me... One problem might be that while ID coloumn is all numbers, ADI = coloumn has a lot of Turkish characters (8859-9 named code set I believe, UTF-9 = might be another name too.) I dont know if php/mapscript supports this one. = This is not a big problem anyway. If I can get the ID coloumn to be printed, = then I can use ArcView or some other windows tool to open up the .dbf file = and rewrite the names with international characters and then change it = to ID to ADI. But I dont have any ideas about how to get anything read out of the = static layer and properly printed on the page. I have searched the net and = mail list archieve but didnot understand much. Please help me...:) Have a nice day:) Murat Isik =20 current php code: =20 Displaying a Point
>

DYNAMIC POINT

setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); ?>

" width=3D600 height=3D600 border=3D0>
Pan >
Zoom In >
Zoom Out >
Zoom Size " SIZE=3D2>
Full Extent
"> current map file: # # Start of map file # NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 #OUTPUTFORMAT # NAME PNG # DRIVER "GD/PNG" # MIMETYPE "image/png" # IMAGEMODE PC256 # EXTENSION "png" #END IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'ERENKOY_ORNEKILCE_PG_region' TYPE polygon STATUS DEFAULT DATA ERENKOY_ORNEKILCE_PG_region CLASSITEM 'ID' CLASS EXPRESSION '3' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END LAYER NAME ERENKOY_ORNEKMAHALLE_PG_region GROUP cities TYPE polygon DATA ERENKOY_ORNEKMAHALLE_PG_region STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 255 225 185 OUTLINECOLOR 0 0 0 END END LAYER NAME 'target2' TYPE point DATA target2 STATUS ON CLASS SYMBOL 'circle' COLOR 255 255 0 SIZE 20 LABEL COLOR 0 0 0 END END END LAYER NAME 'target1' TYPE point DATA target1 STATUS ON CLASS SYMBOL 'circle' COLOR 255 0 0 SIZE 4 LABEL COLOR 0 0 0 END END END END # end of map file ------=_NextPart_000_009B_01C3A44F.2B920F70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you:)
I dont know any French, but visually I = can see that=20 it is a superb work...
I didnot understand how I can relate it = to=20 street-name-printing :(
Something else attracted my attention. = If I am not=20 wrong, you have some sort of radio buttons which move the map=20 up-down-right-left. I need something like that more than I need=20 street-name-printing. I cant really get the map to move anywhere either = panned=20 or zoomed. How did you get that done?
 
Thank you.
Have a nice day
 
Murat Isik
----- Original Message -----
From:=20 fx=20 gamoy
To: mapserver-users at lists.gis.umn.e= du=20 ; Murat Isik
Sent: Thursday, November 06, = 2003 11:07=20 AM
Subject: Re: [Mapserver-users] = dynamic=20 labeling -- help needed

hello Murat
i have used mif/mid file instead of=20 shpefileobj
i have written a php function which = write new=20 mif/mid file when i have to refresh car position.
fx gamoy
http://www.mapxplore.com/
----- Original Message -----
From:=20 Murat Isik
To: mapserver-users at lists.gis.umn.e= du=20
Sent: Thursday, November 06, = 2003 7:42=20 AM
Subject: [Mapserver-users] = dynamic=20 labeling -- help needed

Hello,
I am working on a = mapscript project,=20 it is a car tracking project.
Coordinates data comes to mysql, = and my=20 mapscript reads the data and prints
points on the map = accordingly.=20 However I am given a new task which is truely
above me...
I am = handed=20 a new layer for my project, a layer about streets. I am = supposed
to add=20 this layer to the map (which is easy) and have the php = code
dynamicaly=20 query this layer (which is "????" for me) I have used some = free
map tools=20 to "look
into" the layer. The database coloumn has two coloumns: = an ID=20 and an ADI
coloumn. ADI means "its name" in Turkish. Every time = this php=20 code is
called, it should not only print the streets on the map = but next=20 to each
street, it
should also write its name. Even if it is = zoomed,=20 it should still maintain
the names of the streets within the = picture on=20 the page. I have no idea
about how to do this, it is way above=20 me...

One problem might be that while ID coloumn is all = numbers, ADI=20 coloumn has a
lot of Turkish characters (8859-9 named code set I = believe,=20 UTF-9 might be
another name too.) I dont know if php/mapscript = supports=20 this one. This is
not a big problem anyway. If I can get the ID = coloumn=20 to be printed, then I
can use ArcView or some other windows tool = to open=20 up the .dbf file and
rewrite the names with international = characters and=20 then change it to ID to
ADI.

But I dont have any ideas = about how=20 to get anything read out of the static
layer and properly printed = on the=20 page. I have searched the net and mail
list archieve but didnot=20 understand much. Please help me...:)

Have a nice = day:)

Murat=20 Isik
 
current php code:
 
<HEAD>
<TITLE>Displaying a=20 Point</TITLE>
</HEAD>
<CENTER>
<FORM=20 METHOD=3DPOST ACTION=3D<?php echo = $PHP_SELF?>>
<H1>DYNAMIC=20 = POINT</H1>
<P>
<?php
dl("php_mapscript.so");
<= BR>mysql_connect("localhost","root","sqlpass")=20 or
        die ("Could not = connect to=20 database");

mysql_select_db("gpstrack")=20 or
        die("Could not = select=20 = database");

$val_zsize=3D3;
$check_pan=3D"CHECKED";

$shp= Fname =3D=20 "target1";
$shpFile =3D ms_newShapeFileObj($shpFname,=20 MS_SHP_POINT);

$shpFname1 =3D "target2";
$shpFile1 =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);

$pt =3D=20 ms_newPointObj();

$i =3D 0;

$result =3D = mysql_query("select * from=20 track2") or
        die=20 (mysql_error());


$x[0]=3D0;
$y[0]=3D0;

while = ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 = $row["ldegrees"]+$row["lminutes"]/60;


if($test_x[$i]=3D=3D$x[$= i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{

$x[$i] = =3D=20 $test_x[$i];
$y[$i] =3D=20 = $test_y[$i];

}

}
mysql_free_result($result);


= for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],=20 = $y[$k]);
$shpFile->addPoint($pt);
};

$pt->setXY($x[$i]= ,=20 = $y[$i]);
$shpFile1->addPoint($pt);


$shpFile->free();<= BR>$shpFile1->free();

$def=20 =3Darray(array("UNIQID", "C", 13),array("NOM", "C", = 128));
$dbfFile =3D=20 dbase_create($shpFname.".dbf", $def);
dbase_add_record($dbfFile,=20 array("1","TEST"));

$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, = array("1","TEST"));

$myMap =3D=20 ms_newMapObj("demo_try.map");

#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);


if (=20 isset($HTTP_POST_VARS["mapa_x"]) &&=20 isset($HTTP_POST_VARS["mapa_y"])
     =20 && !isset($HTTP_POST_VARS["full"]) )=20 {

 //     $extent_to_set =3D = explode("=20 ",$HTTP_POST_VARS["extent"]);


$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;


 =20 = $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 = $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $my_point =3D ms_newpointObj();
     =20 = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=

     =20 $my_extent =3D = ms_newrectObj();

     =20 = $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 = $extent_to_set[2],$extent_to_set[3]);

    &nbs= p;=20 $zoom_factor =3D=20 = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 = {
           &n= bsp; =20 $zoom_factor =3D=20 = 1;
           &= nbsp; =20 $check_pan =3D=20 = "CHECKED";
          = ;   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor=20 < 0)=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 = {
           &n= bsp; =20 $check_pan =3D=20 = "";
           =   =20 $check_zout =3D=20 = "";
           =   =20 $check_zin =3D "CHECKED";
     =20 }

      $val_zsize =3D=20 abs($zoom_factor);

     =20 = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);

}
$img =3D $myMap->draw();
$image_url = =3D=20 = $img->saveWebImage(GIF,1,1,0);

?>
<BODY>
<cen= ter>
<table=20 border=3D0 cellspacing=3D0 cellpadding=3D4=20 bgcolor=3D"#FFFFFF">
<tr>
<td valign=3D"top"=20 align=3Dcenter>
  <table cellpadding=3D"0" = cellspacing=3D"5"=20 border=3D"5">
    <tr><td=20 colspan=3D"2"><INPUT NAME=3D"mapa" TYPE=3D"image" = SRC=3D"<?php=20 echo
$image_url; ?>" width=3D600 height=3D600=20 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 = <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php=20 echo
$check_zout?>>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 = $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 = </TD>
 </TR>
 <TR>
   = ;  =20 = <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 = <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 = VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN = NAME=3D"extent"=20 VALUE=3D"<?php echo=20 = $extent_to_html?>">
</FORM>
</CENTER>

<= /BODY>
</HTML>


current=20 map file:

#
# Start of map file
#
NAME = ERENKOY
STATUS=20 ON
SIZE 600 600
EXTENT 29.057 40.954 29.143 40.999
UNITS=20 DD
SHAPEPATH "/var/www/html/mapserver/itasca/"
IMAGECOLOR 255 = 255=20 255

#OUTPUTFORMAT
#  NAME PNG
#  DRIVER=20 "GD/PNG"
#  MIMETYPE "image/png"
#  IMAGEMODE=20 PC256
#  EXTENSION "png"
#END

IMAGETYPE=20 GIF


WEB
  MINSCALE 1000
  MAXSCALE=20 1550000
  IMAGEPATH = "/var/www/html/mapserver/tmp3/"
 =20 IMAGEURL "/mapserver/tmp3/"
 END


SYMBOL
  = NAME=20 'circle'
  TYPE ELLIPSE
  POINTS 1 1 END
  = FILLED=20 TRUE
END


LAYER
  NAME=20 'ERENKOY_ORNEKILCE_PG_region'
  TYPE polygon
  = STATUS=20 DEFAULT
  DATA ERENKOY_ORNEKILCE_PG_region

  = CLASSITEM=20 'ID'
  CLASS
    EXPRESSION=20 '3'
    OUTLINECOLOR 128 128 = 128
   =20 COLOR 225 225 185
  END
  = CLASS
   =20 EXPRESSION /./
    OUTLINECOLOR 128 128=20 128
    COLOR 255 255 255
 =20 END
END

LAYER
 NAME=20 ERENKOY_ORNEKMAHALLE_PG_region
  GROUP cities
  TYPE = polygon
 DATA ERENKOY_ORNEKMAHALLE_PG_region
  = STATUS=20 ON
 CLASSITEM=20 'ID'
 CLASS
        = EXPRESSION=20 /./
COLOR 255 225 = 185
       =20 OUTLINECOLOR 0 0 0

  = END


END

LAYER
 =20 NAME 'target2'
  TYPE point
  DATA target2
  = STATUS=20 ON
   CLASS
    SYMBOL=20 'circle'
    COLOR 255 255 0
    = SIZE=20 20
     = LABEL
      COLOR=20 0 0 0
     END
  =20 END


END

LAYER
  NAME 'target1'
  = TYPE=20 point
  DATA target1
  STATUS ON
  =20 CLASS
    SYMBOL 'circle'
    = COLOR 255=20 0 0
    SIZE 4
    =20 LABEL
      COLOR 0 0=20 0
     END
  =20 END


END

END # end of map=20 file


------=_NextPart_000_009B_01C3A44F.2B920F70-- From stephane.riff at cerene.fr Thu Nov 6 00:37:28 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Thu, 06 Nov 2003 09:37:28 +0100 Subject: [Mapserver-users] Postgres 7.2.4 cygwin compilation In-Reply-To: <3FAA01CA.40208@cerene.fr> References: <3FAA01CA.40208@cerene.fr> Message-ID: <3FAA0848.3000505@cerene.fr> The goal is to install postgis.... Does the ultraSQL include postgis ???? St?phane RIFF wrote: > Here is the problem : > > I can run the ./configure, it's good... but when i run make , i get > this error : > > $ make > src/Makefile.global:269: src/Makefile.port: No such file or directory > c:\usr\local\wbin\make.exe: > *** No rule to make target `src/Makefile.port'. Stop. > > But there is a Makefile.port in the src directory (it's a link create > by configure). > So i tried to copy the makefile.win in the src directory to replace > the Makefile.port but i ran into others error like windows error: > expr.exe fatal error.... > > > Tyler Mitchell wrote: > >> What kind of error/problem are you running into? >> >> mapserver-users-admin at lists.gis.umn.edu wrote on 11/05/2003 08:24:51 AM: >> >> >> >>> I absolutely need a how to for build postgresql 7.2.4 on cygwin with >>> windows 2000 >>> >>> I tried every thing i found but nothing work......... >>> >>> PLEASE IF YOU CAN HELP ME, DO IT.... >>> >>> thanks >>> >>> _______________________________________________ >>> Mapserver-users mailing list >>> Mapserver-users at lists.gis.umn.edu >>> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >>> >> >> >> >> >> > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From pierre.giraud3 at free.fr Thu Nov 6 00:41:36 2003 From: pierre.giraud3 at free.fr (Pierre GIRAUD) Date: Thu, 6 Nov 2003 09:41:36 +0100 Subject: [Mapserver-users] swf output problems with ms4w 0.6 References: <22CD7A0EA6070A4DB932011F3429F190B7FF49@eint11.einet.ad.eivd.ch> Message-ID: <005d01c3a441$ca0f84b0$eb00a8c0@crarhonealpes.fr> Did you install the ming library. It might be as simple as this but I'm sure you did. http://www2.dmsolutions.ca/mapserver/dl/FlashMapserverUserDoc.html Pierre GIRAUD ----- Original Message ----- From: "BAUD remi" To: Sent: Wednesday, November 05, 2003 8:54 PM Subject: [Mapserver-users] swf output problems with ms4w 0.6 > HI the list, > > I'm trying to enable the swf output format for mapserver. > I currently use the ms4w 0.6 package and wanted to try it for the gmap > application. > > I've seen many discussion, wikis, dmsolutions flash support documentation, but I did never arrive to > output swf format. > > I've used this config: > > In the map file: > > IMAGETYPE SWF > > OUTPUTFORMAT > NAME swf > MIMETYPE > "application/x-shockwave-flash" > DRIVER swf > IMAGEMODE PC256 > FORMATOPTION "OUTPUT_MOVIE=MULTIPLE" > END > > The resulting error is : Call to a member function on a non-object for $url = $img->saveWebImage(); > and no file is outputed in my tem files. > > With the FORMATOPTION "OUTPUT_MOVIE=SINGLE", I got an swf created in the temp file, but an > error says strangely "Failing writing Image" > > I know that I can use the $gpoMap->SelectOutputFormat("SWF"); > but I got the same problem with it. > > I've tried to output other format by changing the "Imagetype"in the map files and it goes well for > JPEG, GIF, PNG. > > My version of mapserver & mapscript are 4.0.1. > > Do someone can tell me what's wrong? > > I've installed the shockwave plugin from macromedia, do I need something > else more? > > That just boring me a little because I've already spend about 3 days to see what's wrong... > Any suggestion would be welcome! > > cheers > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From H.Spalting at lippe.de Thu Nov 6 00:54:16 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Thu, 6 Nov 2003 09:54:16 +0100 Subject: AW: [Mapserver-users] scaling labels Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A443.8F26E1C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks everybody for your help. What I found out is: scaling labels only works with truetype, size = [integer] also. Now it works.=20 =20 Thanks -----Urspr=FCngliche Nachricht----- Von: Spalting, Hermann (Kreis Lippe) [mailto:H.Spalting at lippe.de] Gesendet: Dienstag, 4. November 2003 09:57 An: 'mapserver-users at lists.gis.umn.edu' Betreff: [Mapserver-users] scaling labels I want my labels to be scaled like in a photocopy. Becomming bigger and bigger when zooming in. How does that work? Are truetypes required? Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: << mailto:h.spalting at lippe.de >> Tel: 05231/62-625 (oder -7827) =20 ------_=_NextPart_001_01C3A443.8F26E1C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks=20 everybody for your help.
What I=20 found out is: scaling labels only works with truetype, size [integer]=20 also.
Now it=20 works.
 
Thanks
-----Urspr=FCngliche Nachricht-----
Von: Spalting, = Hermann=20 (Kreis Lippe) [mailto:H.Spalting at lippe.de]
Gesendet: = Dienstag, 4.=20 November 2003 09:57
An:=20 'mapserver-users at lists.gis.umn.edu'
Betreff: = [Mapserver-users]=20 scaling labels

I want my=20 labels to be scaled like in a photocopy. Becomming bigger and bigger = when=20 zooming in.
How does that work? Are truetypes required?

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email:=20 <<mailto:h.spalting at lippe.de>&g= t;
Tel: 05231/62-625 (oder -7827)

 
------_=_NextPart_001_01C3A443.8F26E1C0-- From swas at bppt.go.id Thu Nov 6 00:29:42 2003 From: swas at bppt.go.id (Swas) Date: Thu, 6 Nov 2003 15:29:42 +0700 Subject: [Mapserver-users] PHP/Mapsript - Dynamic classification capability References: Message-ID: <014601c3a440$20c68850$57a3010a@RESSWAS> This is a multi-part message in MIME format. ------=_NextPart_000_0143_01C3A47A.CCABC380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all I've installed PHP/MapScript (version 3.6.6 with PHP 4.3.1) on my = machine (Win 2000 SP 4) quite a while. There are some questions regarding its capabilities, namely a. Can MapServer classify a layer dynamically based on the attribute = values retrieved from a database? How it can be done? Is there any = example somewhere? b. I've heard that MapServer can draw pie/bar chart on the map. Is it = true? Is there any example on this? Your help is much appreciated Regards Swas ------=_NextPart_000_0143_01C3A47A.CCABC380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear=20 all
 
I've = installed=20 PHP/MapScript (version 3.6.6 with PHP 4.3.1) on my machine (Win 2000 SP = 4) quite=20 a while.
There are = some questions=20 regarding its capabilities, namely
a. Can MapServer classify a layer = dynamically=20 based on the attribute values retrieved from a database? How it can be = done? Is=20 there any example somewhere?
b. I've heard that MapServer can draw = pie/bar=20 chart on the map. Is it true? Is there any example on this?
 
Your help is much = appreciated
 
Regards
Swas
 
 
------=_NextPart_000_0143_01C3A47A.CCABC380-- From MZahoor at lmkr.com Thu Nov 6 02:04:09 2003 From: MZahoor at lmkr.com (Mahinn Zahoor) Date: Thu, 6 Nov 2003 15:04:09 +0500 Subject: [Mapserver-users] mapserv does not work. In-Reply-To: <3FA9FDD1.9060906@maich.gr> Message-ID: This is a multipart message in MIME format. --=_alternative 00370CC545256DD6_= Content-Type: text/plain; charset="US-ASCII" i did run ldd mapserv it didnt show path required for libgd.so.2 although did mention that it is not found. also i edited the /etc/ld.so.conf and added the path for libgd.so.2 i.e. /usr/local/lib ran ldconfig but still the same error is there.... What should i do? Regards Mahinn Zahoor *---------------------------------------------------- Confidentiality Notice: The information in this document and attachments is confidential and may also be legally privileged.. If you are not an intended recipient, as indicated above, please notify us immediately. In such event, you should not copy or use this e-mail for any purpose nor disclose its contents to anyone. Enclosed information and attachments remain the property of LMK Resources. Opinions,conclusions, attachments and other information in this message that do not relate to the official business of LMK Resources should be understood as my personal responsibility, and as neither given nor endorsed by my company. Thank you. Nicolas Boretos Sent by: mapserver-users-admin at lists.gis.umn.edu 11/06/2003 12:52 PM To Mahinn Zahoor cc "Mapserver-users at lists.gis.umn.edu" Subject Re: [Mapserver-users] mapserv does not work. Mahinn Zahoor wrote: > > Hello all > i am a new one to install maperver on linux environment. > i have installed all the packages successfully required for mapserver, > under the maperver directory i issue the following command > > *./configure --with-gd=/usr/local --with-proj=/usr/local/ > --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local* > > it gets configured all ok. > then i run > > *make * > things go successfully > > but when i run > *./mapserv* i get the following error regarding *libgd.so.2* > Cannot open shared file > No such file or directory > > > i am running Apache 2.0.48 and there is nothing in its error log. > > Please reply asap. > > Regards > Mahinn > > Hi, First run "ldd" mapserv This'll show you library dependencies of mapserv executable and show you where it expects to find libgd.so.2 If it does not find it, you probably have to either put in a direcory where your dynamic loader looks In Slackware at least, look at /etc/ld.so.conf, add/edit path to libgd.so.2 and run "ldconfig" in this directory after editing. regards, nicolas boretos _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --=_alternative 00370CC545256DD6_= Content-Type: text/html; charset="US-ASCII"
i did run ldd mapserv
it didnt show path required for libgd.so.2 although did mention that it is not found.
also i edited the  /etc/ld.so.conf  and added the path for libgd.so.2 i.e. /usr/local/lib
ran ldconfig but still the same error is there....



What should i do?

Regards
Mahinn Zahoor

*----------------------------------------------------
Confidentiality Notice: The information in this document and attachments is confidential and may also be legally privileged.. If you are not an intended recipient, as indicated above, please notify us immediately.  In such event, you should not copy or use this e-mail for any purpose nor disclose its contents to anyone. Enclosed information and attachments remain the property of LMK Resources. Opinions,conclusions, attachments and other information in this message that do not relate to the official business of LMK Resources should be understood as my personal responsibility, and as neither given nor endorsed by my company. Thank you.




Nicolas Boretos <nicolas at maich.gr>
Sent by: mapserver-users-admin at lists.gis.umn.edu

11/06/2003 12:52 PM

To
Mahinn Zahoor <MZahoor at lmkr.com>
cc
"Mapserver-users at lists.gis.umn.edu" <Mapserver-users at lists.gis.umn.edu>
Subject
Re: [Mapserver-users] mapserv does not work.





Mahinn Zahoor wrote:

>
> Hello all
> i am a new one to install maperver on linux environment.
> i have installed all the packages successfully required for mapserver,
> under the maperver directory i issue the following command
>
> *./configure --with-gd=/usr/local --with-proj=/usr/local/
> --with-gdal=/usr/local/bin/gdal-config --with-jpg=/usr/local*
>
> it gets configured all ok.
> then i run
>
> *make *
> things go successfully
>
> but when i run
> *./mapserv*  i get the following error regarding *libgd.so.2*
> Cannot open shared file
> No such file or directory
>
>
> i am running Apache 2.0.48 and there is nothing in its error log.
>
> Please reply asap.
>
> Regards
> Mahinn
>
>
Hi,

First run

"ldd"  mapserv

This'll show you library dependencies of mapserv executable and show you
where it expects to find libgd.so.2

If it does not find it, you probably have to either put in a direcory
where your dynamic loader  looks

In Slackware at least, look at /etc/ld.so.conf, add/edit path to
libgd.so.2 and run

"ldconfig"  in this directory after editing.


regards,
nicolas boretos


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

--=_alternative 00370CC545256DD6_=-- From muratisik at megatek.com.tr Thu Nov 6 03:12:34 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Thu, 6 Nov 2003 13:12:34 +0200 Subject: [Mapserver-users] map positioning -- help needed References: <001f01c3a3fb$44e82850$2559fdd4@murathq> Message-ID: <00c501c3a456$e20c8580$b4704ad5@murathq> Thank you:) This looked a lot simple, so I tried to implement it into my code, just trying "north". However it gave an error. Since I am a mapserver/mapscript newbei, I could not understand the problem. Can you tell me what's wrong here? Please. I am desperate.... Error: Fatal error: zoomPoint failed : incorrect parameters in /var/www/html/mapserver/itasca/map_move_try.php on line 119 current php-code: MEGATEK
>

TEST SERVER

\n"; if($test_x[$i]==$x[$i-1] || $test_y[$i]==$y[$i-1]) { --$i; }else { $x[$i] = $test_x[$i]; $y[$i] = $test_y[$i]; } } mysql_free_result($result); for($k=1;$k<=$i-1;++$k) { $pt->setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile = dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile = dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap = ms_newMapObj("demo_try.map"); #$myLayer = $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); $direction = $HTTP_POST_VARS["pandir"]; $my_point = ms_newpointObj(); if($direction!=0) { if($direction == 1) { $pansize = .50; $a = 0; $b = 0; $width = $myMap->width; $height = $myMap->height; $a = ($width-1)/2.0; $b = 0 - ($height * $pansize)/2.0; } $zoom_factor = 0; $my_point->setXY($a, $b); $extent_to_set[0] = 29.057; $extent_to_set[1] = 40.954; $extent_to_set[2] = 29.143; $extent_to_set[3] = 40.999; $my_extent = ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); }elseif ( isset($HTTP_POST_VARS["mapa_x"]) && isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { // $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] = 29.057; $extent_to_set[1] = 40.954; $extent_to_set[2] = 29.143; $extent_to_set[3] = 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent = ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor == 0) { $zoom_factor = 1; $check_pan = "CHECKED"; $check_zout = ""; $check_zin = ""; } else if ($zoom_factor < 0) { $check_pan = ""; $check_zout = "CHECKED"; $check_zin = ""; } else { $check_pan = ""; $check_zout = ""; $check_zin = "CHECKED"; } $val_zsize = abs($zoom_factor); $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } $img = $myMap->draw(); $image_url = $img->saveWebImage(GIF,1,1,0); ?>

Pan >
Zoom In >
Zoom Out >
Zoom Size
NULL
North
Full Extent
Have a nice day Murat Isik From esisa at mac.com Thu Nov 6 05:32:13 2003 From: esisa at mac.com (Espen Isaksen) Date: Thu, 6 Nov 2003 12:32:13 -0100 (GMT+1) Subject: [Mapserver-users] mapscript vs mapsever Message-ID: <55175.128.39.180.165.1068125533.squirrel@webmail.nsn.no> Hi! Quite new to this MapServer stuff and I have trouble understanding what Mapscript can do that the regular MapServer cannot. Could somebody explain or point me in the right direction? Espen Isaksen Norway From esisa at mac.com Thu Nov 6 05:32:25 2003 From: esisa at mac.com (Espen Isaksen) Date: Thu, 6 Nov 2003 12:32:25 -0100 (GMT+1) Subject: [Mapserver-users] mapscript vs mapserver Message-ID: <55176.128.39.180.165.1068125545.squirrel@webmail.nsn.no> Hi! Quite new to this MapServer stuff and I have trouble understanding what Mapscript can do that the regular MapServer cannot. Could somebody explain or point me in the right direction? Espen Isaksen Norway From EBashi at chesapeakebay.net Thu Nov 6 06:18:10 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Thu, 6 Nov 2003 09:18:10 -0500 Subject: [Mapserver-users] compile tcl mapscript Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09968F@mail2.chesapeakebay.net> Hi Nicholas, I made the changes you suggested. That gets me passed ./configure. When I run make I get more errors. Here is an error log that suggests to me that the code has problems: [root at nutria tcl]# make swig -tcl8 -dhtml -namespace -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_ D_GIF -DUSE_GD_PNG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -I. -I/usr/ ocal/include \ mapscript.i Making wrappers for Tcl 8.x mapscript.i : Line 100. Syntax error in input. mapscript.i : Line 107. Syntax error in input. mapscript.i : Line 117. Syntax error in input. mapscript.i : Line 125. Syntax error in input. ../../mapshape.h : Line 71. Syntax error in input. ../../mapshape.h : Line 97. Syntax error in input. ../../mapshape.h : Line 100. Syntax error in input. ../../mapshape.h : Line 132. Syntax error in input. ../../mapshape.h : Line 138. Syntax error in input. ../../mapshape.h : Line 143. Syntax error in input. mapscript.i : Line 148. Syntax error in input. mapscript.i : Line 149. Syntax error in input. mapscript.i : Line 161. Syntax error in input. mapscript.i : Line 187. Syntax error in input. mapscript.i : Line 199. Syntax error in input. mapscript.i : Line 203. Syntax error in input. mapscript.i : Line 536. Syntax error in input. mapscript.i : Line 542. Syntax error in input. mapscript.i : Line 555. Syntax error in input. mapscript.i : Line 744. Syntax error in input. mapscript.i : Line 756. Syntax error in input. mapscript.i : Line 785. Function getExpressionString multiply defined (2nd defi ition ignored). mapscript.i : Line 810. Function createLegendIcon multiply defined (2nd definit on ignored). mapscript.i : Line 811. Syntax error in input. Confused by earlier errors. Bailing out make: *** [mapscript_wrap.c] Error 1 --- Enils Enils Bashi wrote: >Hi, > >I am trying to compile tcl mapscript. When I run ./configure I get the >following message: >You must build MapServer first. >-- >MapServer is already built, installed and running. There is a symolic link >mapscript.i to ../mapscript.i in the tcl directory provided with mapserver >4.0.1 tar.gz source file. >Any ideas? >I have mapserver 4.0.1 on Redhat 9 and ActiveTcl 8.4.4.0 > >Enils Bashi >Programmer - Chesapeake Bay Program >Veridyne Incorporated >Annapolis, Maryland: (410) 267-9833 >www.chesapeakebay.net > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >. > > > Hi, Change the first line to point to mapscriptvars instead of perlvars if [ ! -f ../../mapscriptvars ] ; then echo "you must build MapServer first." exit fi it builds w/o problems.... regards, nicolas boretos From nicolas.fortin at ec.gc.ca Thu Nov 6 06:40:09 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Thu, 6 Nov 2003 09:40:09 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A473.E0941020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! =20 I just test some Mapfile for WMS and it works pretty fine but I wonder = if I can avoid putting the path to the mapfile in the parameter. Ex: http://blablabla/cgi-bin/mapserv.exe?map=3Dtutorial366/s2/s2ex8.map&REQU= EST=3DGe tCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=3Ds2ex8.map &REQUEST=3DGetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I = missed something....? =20 Thx, Nicolas Fortin=20 Math=E9maticien, Programmeur, Analyste de donn=E9es=20 SMC-Qu=E9bec Hydrologie, Environnement Canada=20 1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V 4H5=20 (418)648-2516=20 nicolas.fortin at ec.gc.ca >=20 =20 ------_=_NextPart_001_01C3A473.E0941020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi!
 
I = just test some=20 Mapfile for WMS and it works pretty fine but I wonder if I can avoid = putting the=20 path to the mapfile in the parameter.
Ex: = http://blablabla/cgi-bin/mapserv.exe?map=3D<= STRONG>tutorial366/s2/s2ex8.map&REQUEST=3DGetCapabilities
I = want it like http://blablabla/cgi-bin/mapserv.exe?map=3Ds2ex8.map= &REQUEST=3DGetCapabilities

This=20 way, I have to put the Mapfile at the root, right?? Or perhaps I missed = something....?
 
Thx,

Nicolas=20 Fortin
Math=E9maticien,=20 Programmeur, Analyste de donn=E9es
SMC-Qu=E9bec Hydrologie, Environnement Canada =
1141, Rte de l'=C9glise, Sainte-Foy(QC) G1V = 4H5=20
(418)648-2516 =
nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca>=20

 
------_=_NextPart_001_01C3A473.E0941020-- From eric at gomoos.org Thu Nov 6 01:42:06 2003 From: eric at gomoos.org (Eric Bridger) Date: 06 Nov 2003 09:42:06 +0000 Subject: [Mapserver-users] map positioning -- help needed In-Reply-To: <00c501c3a456$e20c8580$b4704ad5@murathq> References: <001f01c3a3fb$44e82850$2559fdd4@murathq> <00c501c3a456$e20c8580$b4704ad5@murathq> Message-ID: <1068111732.1756.9.camel@ubet.gomoos.org> You must keep straight the difference between map image coordinates and map lat/lon coordinates. I'm not sure what your form variables $mapa_x and $mapa_y contain (I thought these were image coordinates). But $a and $b are image coordinates and must be converted to lat/long before calling $point->setXY() and passing $point to zoomPoint(). Here's some Perl code to do that, where $click_x == $a and $click_y == $b. $x_pct = ($click_x / $map->{width}); $y_pct = 1 - ($click_y / $map->{height}); $x_map = $current_extent[0] + ( ($current_extent[2] - $current_extent[0]) * $x_pct); $y_map = $current_extent[1] + ( ($current_extent[3] - $current_extent[1]) * $y_pct); $x_map is now latitude and $y_map is now longitude. On Thu, 2003-11-06 at 11:12, Murat Isik wrote: > Thank you:) > This looked a lot simple, so I tried to implement it into my code, just > trying "north". However it gave an error. Since I am a mapserver/mapscript > newbei, I could not understand the problem. Can you tell me what's wrong > here? Please. I am desperate.... > > Error: > > Fatal error: zoomPoint failed : incorrect parameters in > /var/www/html/mapserver/itasca/map_move_try.php on line 119 > > current php-code: > > > MEGATEK > >
>
> >

TEST SERVER

> >

> dl("php_mapscript.so"); > > mysql_connect("213.74.112.162","root","sqlpass") or > die ("Could not connect to database"); > > mysql_select_db("gpstrack") or > die("Could not select database"); > > $val_zsize=3; > file://$check_pan="CHECKED"; > $pandir = 0; > > $shpFname = "target1"; > $shpFile = ms_newShapeFileObj($shpFname, MS_SHP_POINT); > > $shpFname1 = "target2"; > $shpFile1 = ms_newShapeFileObj($shpFname1, MS_SHP_POINT); > > $pt = ms_newPointObj(); > > $i = 0; > > $result = mysql_query("select * from track3") or > die (mysql_error()); > > > $x[0]=0; > $y[0]=0; > > while ($row = mysql_fetch_array($result)) > { > ++$i; > $test_x[$i] = $row["lodegrees"]+$row["lominutes"]/60; > $test_y[$i] = $row["ldegrees"]+$row["lminutes"]/60; > file://echo $row["lominutes"]; > file://echo "
\n"; > > > if($test_x[$i]==$x[$i-1] || $test_y[$i]==$y[$i-1]) > { > --$i; > }else > { > > $x[$i] = $test_x[$i]; > $y[$i] = $test_y[$i]; > > } > > } > mysql_free_result($result); > > > for($k=1;$k<=$i-1;++$k) > { > $pt->setXY($x[$k], $y[$k]); > $shpFile->addPoint($pt); > }; > > $pt->setXY($x[$i], $y[$i]); > $shpFile1->addPoint($pt); > > > $shpFile->free(); > $shpFile1->free(); > > $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); > $dbfFile = dbase_create($shpFname.".dbf", $def); > dbase_add_record($dbfFile, array("1","TEST")); > > $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); > $dbfFile = dbase_create($shpFname1.".dbf", $def); > dbase_add_record($dbfFile, array("1","TEST")); > > $myMap = ms_newMapObj("demo_try.map"); > > #$myLayer = $myMap->getLayerByName("target1"); > #$myLayer->set("data", $shpFname); > #$myLayer->set('status', MS_ON); > > > > $direction = $HTTP_POST_VARS["pandir"]; > > > $my_point = ms_newpointObj(); > > if($direction!=0) > { > if($direction == 1) { > > $pansize = .50; > $a = 0; > $b = 0; > $width = $myMap->width; > $height = $myMap->height; > $a = ($width-1)/2.0; > $b = 0 - ($height * $pansize)/2.0; > } > $zoom_factor = 0; > $my_point->setXY($a, $b); > $extent_to_set[0] = 29.057; > $extent_to_set[1] = 40.954; > $extent_to_set[2] = 29.143; > $extent_to_set[3] = 40.999; > $my_extent = ms_newrectObj(); > $my_extent->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, > $my_extent); > > }elseif ( isset($HTTP_POST_VARS["mapa_x"]) && > isset($HTTP_POST_VARS["mapa_y"]) > && !isset($HTTP_POST_VARS["full"]) ) { > > // $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > > > $extent_to_set[0] = 29.057; > $extent_to_set[1] = 40.954; > $extent_to_set[2] = 29.143; > $extent_to_set[3] = 40.999; > > > $myMap->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > > > $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); > > $my_extent = ms_newrectObj(); > > $my_extent->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > > $zoom_factor = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; > if ($zoom_factor == 0) { > $zoom_factor = 1; > $check_pan = "CHECKED"; > $check_zout = ""; > $check_zin = ""; > } else if ($zoom_factor < 0) { > $check_pan = ""; > $check_zout = "CHECKED"; > $check_zin = ""; > } else { > $check_pan = ""; > $check_zout = ""; > $check_zin = "CHECKED"; > } > > $val_zsize = abs($zoom_factor); > > $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, > $my_extent); > > } > $img = $myMap->draw(); > $image_url = $img->saveWebImage(GIF,1,1,0); > > ?> > >

> > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> Pan > > > >
> Zoom In > > > >
> Zoom Out > > $check_zout?>> >
> Zoom Size > > SIZE=2> >
> NULL > > >
> North > > >
> Full Extent > > SIZE=2> >
> > > > > > > > Have a nice day > > Murat Isik > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From esisa at mac.com Thu Nov 6 07:04:24 2003 From: esisa at mac.com (Espen Isaksen) Date: Thu, 6 Nov 2003 14:04:24 -0100 (GMT+1) Subject: [Mapserver-users] mapscript vs mapsever Message-ID: <55615.128.39.180.165.1068131064.squirrel@webmail.nsn.no> Ok, the answer is kind of what I expected. I guess I should rephrase my question. Why would I want to use Mapscript? Which benefits does it give me? Simply better control? Espen Isaksen Norway >Theoretically nothing. mapscript gives you access to the basic mapserver >functionality in an API. mapserver CGI will handle all your form input >parsing, template parsing, etc. With mapscript you need to do all that yourself. >With mapscript you need to write your own CGI program which must make all the drawing decisions, etc. From api at justapi.de Thu Nov 6 07:12:19 2003 From: api at justapi.de (Sebastian Albrecht) Date: Thu, 6 Nov 2003 16:12:19 +0100 Subject: [Mapserver-users] mapscript vs mapserver In-Reply-To: <55176.128.39.180.165.1068125545.squirrel@webmail.nsn.no> References: <55176.128.39.180.165.1068125545.squirrel@webmail.nsn.no> Message-ID: <132202241117.20031106161219@justapi.de> Hi Espen, > Quite new to this MapServer stuff and I have trouble understanding what > Mapscript can do that the regular MapServer cannot. Could somebody explain > or point me in the right direction? I think you actually cannot compare Mapserver and Mapscript because Mapscript is just a part of Mapserver which includes the Mapserver functionality in other programming languages. You can use either the mapserv-CGI-binary (which you seem to mean with Mapserver) that parses different template html files and returns a usable web interface or you can use the Mapscript libraries within your favorite provided programming language like f.e. PHP. This is very useful for displaying dynamic data in your web interface that you could get from a SQL database and which you can write to a new shapefile using the Mapscript functions. Regards from Germany, Sebastian From anderspikkuniemi at hotmail.com Thu Nov 6 07:27:40 2003 From: anderspikkuniemi at hotmail.com (A P) Date: Thu, 06 Nov 2003 16:27:40 +0100 Subject: [Mapserver-users] Legend, Scalebar, Reference map etc Message-ID: Hi, I've been playing around with MapServer for some time now, and it's time to get serious with my map site. I really have to follow the OGC WMS standard. Is it still possible to benefit from MapServer's scalebar, legend and reference map applications? What I mean is that I don't use any of the header, footer, etc. I only request map images with WMS-compliant requests. I'm afraid that the scalebar, legend and reference map applications are only to be used when you request maps in other ways... Sorry to be diffuse, hope you understand. Thanks, Anders (Sweden) _________________________________________________________________ Hitta r?tt p? n?tet med MSN S?k http://search.msn.se/ From nicolas.fortin at ec.gc.ca Thu Nov 6 07:35:55 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Thu, 6 Nov 2003 10:35:55 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: Thx for your answer Paul, I forgot to mention that i'm on Windows 2k with IIS 5.0 ... nobody's perfect ;) Nick -----Message d'origine----- De : Paul Ramsey [mailto:pramsey at refractions.net] Envoy? : Thursday, November 06, 2003 10:34 AM ? : nicolas.fortin at ec.gc.ca Objet : Re: [Mapserver-users] Mapfile in WMS Oops, I gave the wrong environment variable, it is actually MS_MAPFILE. There is also a nice trick to supply it using Apache directives, if you do not like the shell script solution. Here's the mailing list reference: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/ msg00069.html On Thursday, November 6, 2003, at 06:40 AM, nicolas.fortin at ec.gc.ca wrote: > Hi! > ? > I just test some Mapfile for WMS and it works pretty fine but I wonder > if I can avoid putting the path to the mapfile in the parameter. > Ex: > http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/ > s2ex8.map&REQUEST=GetCapabilities > I want it like > http://blablabla/cgi-bin/ > mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities > > This way, I have to put the Mapfile at the root, right?? Or perhaps I > missed something....? > ? > Thx, > > Nicolas Fortin > Math?maticien, Programmeur, Analyste de donn?es > SMC-Qu?bec Hydrologie, Environnement Canada > 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 > (418)648-2516 > nicolas.fortin at ec.gc.ca > > ? > Paul Ramsey Refractions Research Email: pramsey at refractions.net Phone: (250) 885-0632 From morissette at dmsolutions.ca Thu Nov 6 07:42:48 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Thu, 06 Nov 2003 10:42:48 -0500 Subject: [Mapserver-users] PHP/Mapsript - Dynamic classification capability In-Reply-To: <014601c3a440$20c68850$57a3010a@RESSWAS> References: <014601c3a440$20c68850$57a3010a@RESSWAS> Message-ID: <3FAA6BF8.2010602@dmsolutions.ca> Swas wrote: > Dear all > > I've installed PHP/MapScript (version 3.6.6 with PHP 4.3.1) on my > machine (Win 2000 SP 4) quite a while. > There are some questions regarding its capabilities, namely > a. Can MapServer classify a layer dynamically based on the attribute > values retrieved from a database? How it can be done? Is there any > example somewhere? Short answer is yes, and there are lots of discussions about this in the list archives including code examples for various way to achieve this. Try a Google search for: mapserver create dynamic layer database site:umn.edu" > b. I've heard that MapServer can draw pie/bar chart on the map. Is it > true? Is there any example on this? > No MapServer doesn't draw charts out of the box. But of course using MapScript you could code something that would produce the charts and paste them on the map. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Thu Nov 6 07:49:55 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Thu, 06 Nov 2003 10:49:55 -0500 Subject: [Mapserver-users] Mapfile in WMS In-Reply-To: References: Message-ID: <3FAA6DA3.3050702@dmsolutions.ca> nicolas.fortin at ec.gc.ca wrote: > Hi! > > I just test some Mapfile for WMS and it works pretty fine but I wonder > if I can avoid putting the path to the mapfile in the parameter. > Ex: > http://blablabla/cgi-bin/mapserv.exe?map=*tutorial366/s2/s2ex8.map*&REQUEST=GetCapabilities > > I want it like > http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities > > > This way, I have to put the Mapfile at the root, right?? Or perhaps I > missed something....? > If you pass a relative path in the map=...parameterd then the path should be relative to the working directory of your CGI, I never tried this, but this would likely mean relative to the cgi-bin directory. If you use Apache then you can get rid of the map=... parameter completely using the SetEnvIf directive, see the section "More About the Online Resource URL" in the WMS Server HOWTO: http://mapserver.gis.umn.edu/doc40/wms-server-howto.html#onlineresourceurl Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Tom.Kralidis at ec.gc.ca Thu Nov 6 07:55:54 2003 From: Tom.Kralidis at ec.gc.ca (Tom Kralidis [Burlington]) Date: Thu, 6 Nov 2003 10:55:54 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: <2576812186CDD411BF1500508B6DCE950583D15E@ECNWRI1.ontario.int.ec.gc.ca> You can set an environment variable in your web server config to set this such that the "&map=....." is not in the URL. Check the MapServer wms-server howto. Cheers ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ -----Original Message----- From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] Sent: Thursday, November 06, 2003 9:40 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapfile in WMS Hi! I just test some Mapfile for WMS and it works pretty fine but I wonder if I can avoid putting the path to the mapfile in the parameter. Ex: http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/s2ex8.map&REQUEST=Ge tCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I missed something....? Thx, Nicolas Fortin Math?maticien, Programmeur, Analyste de donn?es SMC-Qu?bec Hydrologie, Environnement Canada 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin at ec.gc.ca From nicolas.fortin at ec.gc.ca Thu Nov 6 08:16:04 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Thu, 6 Nov 2003 11:16:04 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: Thanks Tom, glad to hear from you! Like I already said to Paul, we're using Win2K with IIS 5.0 In the WMS HOW-TO, there're two suggestions, one using Unix and the other Windows/Apache. Can I make something similar but with Win2k/IIS ? Nick -----Message d'origine----- De : Tom Kralidis [Burlington] Envoy? : Thursday, November 06, 2003 10:56 AM ? : Fortin,Nicolas [SteFoy]; mapserver-users at lists.gis.umn.edu Cc : Gillespie,Ian [Burlington] Objet : RE: [Mapserver-users] Mapfile in WMS You can set an environment variable in your web server config to set this such that the "&map=....." is not in the URL. Check the MapServer wms-server howto. Cheers ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ -----Original Message----- From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] Sent: Thursday, November 06, 2003 9:40 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapfile in WMS Hi! I just test some Mapfile for WMS and it works pretty fine but I wonder if I can avoid putting the path to the mapfile in the parameter. Ex: http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/s2ex8.map&REQUEST=Ge tCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I missed something....? Thx, Nicolas Fortin Math?maticien, Programmeur, Analyste de donn?es SMC-Qu?bec Hydrologie, Environnement Canada 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin at ec.gc.ca From Tom.Kralidis at ec.gc.ca Thu Nov 6 08:26:16 2003 From: Tom.Kralidis at ec.gc.ca (Tom Kralidis [Burlington]) Date: Thu, 6 Nov 2003 11:26:16 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: <2576812186CDD411BF1500508B6DCE950583D160@ECNWRI1.ontario.int.ec.gc.ca> > -----Original Message----- > From: Fortin,Nicolas [SteFoy] > Sent: Thursday, November 06, 2003 11:16 AM > To: Tom Kralidis [Burlington] > Cc: Mapserver User List > Subject: RE : [Mapserver-users] Mapfile in WMS > > > > Thanks Tom, glad to hear from you! > > Like I already said to Paul, we're using Win2K with IIS 5.0 > In the WMS HOW-TO, there're two suggestions, one using Unix > and the other Windows/Apache. > > Can I make something similar but with Win2k/IIS ? > I'm not a big Windows person, however I'm guessing the IIS console may have a setting in which you can set environment variables. If not, perhaps, logged in as the user of the web server, enviroment variables can be set through the OS. Someone with IIS savvy would have some better advice here. ..Tom > Nick > > -----Message d'origine----- > De : Tom Kralidis [Burlington] > Envoy? : Thursday, November 06, 2003 10:56 AM > ? : Fortin,Nicolas [SteFoy]; > mapserver-users at lists.gis.umn.edu Cc : Gillespie,Ian > [Burlington] Objet : RE: [Mapserver-users] Mapfile in WMS > > > > You can set an environment variable in your web server config > to set this such that the "&map=....." is not in the URL. > Check the MapServer wms-server howto. > > Cheers > > ..Tom > > ============================================ > Tom Kralidis > Systems Scientist > Integrated Environmental Applications Branch > Knowledge Integration Directorate > Environment Canada > 867 Lakeshore Road > Burlington, ON > L7R 4A6 > Canada > Tel: +01-905-336-4409 > http://www.cise-scie.ca/ ============================================ > > -----Original Message----- > From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] > Sent: Thursday, November 06, 2003 9:40 AM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] Mapfile in WMS > > > Hi! > > I just test some Mapfile for WMS and it works pretty fine but > I wonder if I can avoid putting the path to the mapfile in > the parameter. > Ex: > http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/s2ex8. map&REQUEST=GetCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I missed something....? Thx, Nicolas Fortin Math?maticien, Programmeur, Analyste de donn?es SMC-Qu?bec Hydrologie, Environnement Canada 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin at ec.gc.ca From sgillies at frii.com Thu Nov 6 09:07:46 2003 From: sgillies at frii.com (Sean Gillies) Date: Thu, 6 Nov 2003 10:07:46 -0700 Subject: [Mapserver-users] mapscript vs mapsever In-Reply-To: <55615.128.39.180.165.1068131064.squirrel@webmail.nsn.no> Message-ID: On Thursday, November 6, 2003, at 08:04 AM, Espen Isaksen wrote: > Ok, the answer is kind of what I expected. I guess I should rephrase my > question. Why would I want to use Mapscript? Which benefits does it > give > me? Simply better control? > > Espen Isaksen > Norway > What do you gain? You gain the ability to merge the functionality of MapServer with the functionality of other programming packages using your favorite interpreted language. Say, for example, you want to do extra image processing such as adaptive contrast enhancement on your map imagery. Use MapServer and Perl's Imagemagick or Python's Imaging library together in an application. Maybe you want to use your favorite page templating system rather than MapServer's built-in templating. This is possible with MapScript. There are many other possibilities that you will probably read about in this thread. The downside is that MapScript is only a subset (though a large subset) of MapServer's full capabilities, and that you will have to write code from scratch to implement things which are available "out of the box" with MapServer. However, since development in PHP, Perl, and especially Python is quicker than development in C, this is not so bad. It's not so much about better control over the maps, it's about greater possibilities in map server applications. cheers, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From bfraser at geoanalytic.com Thu Nov 6 09:58:23 2003 From: bfraser at geoanalytic.com (Brent Fraser) Date: Thu, 6 Nov 2003 10:58:23 -0700 Subject: [Mapserver-users] Mapfile in WMS References: Message-ID: <0a2301c3a48f$9240ba60$020002c0@SHARK> Nick, I use a little ASP to hide the map file name: <% Server.ScriptTimeout = 360 strRequest = Request.ServerVariables("QUERY_STRING") strURL = "http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS\mymap.map&WM TVER=1.0.0&" & strRequest Dim objHTTP Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") objHTTP.open "GET", strURL, false objHTTP.send "" Response.ContentType = objHTTP.getResponseHeader("content-type") Response.BinaryWrite objHTTP.responseBody Set objHTTP = Nothing %> And just use the above ASP's URL in the WMS client. Brent Fraser bfraser at geoanalytic.com ----- Original Message ----- From: To: Cc: Sent: Thursday, November 06, 2003 9:16 AM Subject: RE : [Mapserver-users] Mapfile in WMS Thanks Tom, glad to hear from you! Like I already said to Paul, we're using Win2K with IIS 5.0 In the WMS HOW-TO, there're two suggestions, one using Unix and the other Windows/Apache. Can I make something similar but with Win2k/IIS ? Nick -----Message d'origine----- De : Tom Kralidis [Burlington] Envoy? : Thursday, November 06, 2003 10:56 AM ? : Fortin,Nicolas [SteFoy]; mapserver-users at lists.gis.umn.edu Cc : Gillespie,Ian [Burlington] Objet : RE: [Mapserver-users] Mapfile in WMS You can set an environment variable in your web server config to set this such that the "&map=....." is not in the URL. Check the MapServer wms-server howto. Cheers ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ -----Original Message----- From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] Sent: Thursday, November 06, 2003 9:40 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapfile in WMS Hi! I just test some Mapfile for WMS and it works pretty fine but I wonder if I can avoid putting the path to the mapfile in the parameter. Ex: http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/s2ex8.map&REQUEST=Ge tCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I missed something....? Thx, Nicolas Fortin Math?maticien, Programmeur, Analyste de donn?es SMC-Qu?bec Hydrologie, Environnement Canada 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin at ec.gc.ca _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From agillesp at vt.edu Thu Nov 6 10:39:24 2003 From: agillesp at vt.edu (Abram Gillespie) Date: Thu, 06 Nov 2003 13:39:24 -0500 Subject: [Mapserver-users] revisiting compiling regex on windows In-Reply-To: Message-ID: <8B3B58FF-1088-11D8-85DB-000A957A0F9C@vt.edu> well it *could* be it ... but it's not. same story. can anyone suggest other news groups i might try? thanks again. -abe On Thursday, November 6, 2003, at 09:17 AM, Swaminathan, Gayathri wrote: > You bet.That could sure be it. > > Gayathri > > -----Original Message----- > From: bean at vt.edu [mailto:agillesp at vt.edu] > Sent: Wednesday, November 05, 2003 9:41 PM > To: gayathri at ou.edu > Subject: Re: [Mapserver-users] revisiting compiling regex on windows > > > ho hum ... same story: > > Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright > (C) > Microsoft Corporation. All rights reserved. > > for d in doc test; do (cd $d; nmake CPPFLAGS='-DHAVE_STRING_H > -DREGEX_M > ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' LOADLIBES='' > default); > done > d was unexpected at this time. > NMAKE : fatal error U1077: 'for' : return code '0x1' > Stop. > > something just dawned on me. perhaps it's the version of nmake that > comes > with vs.net that's causing my problem? i don't have access to the > older > version right now. could that be it? > > -abe > > On Wednesday, November 5, 2003, at 03:26 PM, Swaminathan, Gayathri > wrote: > > Can you try compiling regex from another location such as under your > C:\ > > Let me know if errors occur still > ~Gayathri > > -----Original Message----- > From: bean at vt.edu [mailto:agillesp at vt.edu] > Sent: Wednesday, November 05, 2003 1:34 PM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] revisiting compiling regex on windows > > > someone mentioned posting my entire regex compiling process (sorry, > that > email's at home). not much involved, just two steps. i've included > the > output and my Makefile.vc. > > thanks again for the help with this. > -abe > > ***** begin output ***** > C:\Documents and Settings\abe\Desktop\Temp\regex-0.12>"C:\Program > Files\Microsof > t Visual Studio\VC98\Bin\vcvars32.bat" > Setting environment for using Microsoft Visual C++ tools. C:\Documents > and > Settings\abe\Desktop\Temp\regex-0.12>nmake /f Makefile.vc > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > for d in doc test; do (cd $d; NMAKE CPPFLAGS='-DHAVE_STRING_H > -DREGEX_M ALLOC' CFLAGS='-Ox -G6' CC='cl' DEFS='' LDFLAGS='' > LOADLIBES='' > default); done d was unexpected at this time. NMAKE : fatal error > U1077: > 'for' : return code '0x1' Stop. > > C:\Documents and Settings\abe\Desktop\Temp\regex-0.12> > From nicolas.fortin at ec.gc.ca Thu Nov 6 10:43:37 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Thu, 6 Nov 2003 13:43:37 -0500 Subject: [Mapserver-users] Mapfile in WMS Message-ID: Thanks a lot Brent! This works prefectly! And I can put my asp script where I want it to be. Nick -----Message d'origine----- De : Brent Fraser [mailto:bfraser at geoanalytic.com] Envoy? : Thursday, November 06, 2003 12:58 PM ? : nicolas.fortin at ec.gc.ca; Tom.Kralidis at ec.gc.ca Cc : mapserver-users at lists.gis.umn.edu Objet : Re: [Mapserver-users] Mapfile in WMS Nick, I use a little ASP to hide the map file name: <% Server.ScriptTimeout = 360 strRequest = Request.ServerVariables("QUERY_STRING") strURL = "http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS\mymap.map&WM TVER=1.0.0&" & strRequest Dim objHTTP Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") objHTTP.open "GET", strURL, false objHTTP.send "" Response.ContentType = objHTTP.getResponseHeader("content-type") Response.BinaryWrite objHTTP.responseBody Set objHTTP = Nothing %> And just use the above ASP's URL in the WMS client. Brent Fraser bfraser at geoanalytic.com ----- Original Message ----- From: To: Cc: Sent: Thursday, November 06, 2003 9:16 AM Subject: RE : [Mapserver-users] Mapfile in WMS Thanks Tom, glad to hear from you! Like I already said to Paul, we're using Win2K with IIS 5.0 In the WMS HOW-TO, there're two suggestions, one using Unix and the other Windows/Apache. Can I make something similar but with Win2k/IIS ? Nick -----Message d'origine----- De : Tom Kralidis [Burlington] Envoy? : Thursday, November 06, 2003 10:56 AM ? : Fortin,Nicolas [SteFoy]; mapserver-users at lists.gis.umn.edu Cc : Gillespie,Ian [Burlington] Objet : RE: [Mapserver-users] Mapfile in WMS You can set an environment variable in your web server config to set this such that the "&map=....." is not in the URL. Check the MapServer wms-server howto. Cheers ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ -----Original Message----- From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] Sent: Thursday, November 06, 2003 9:40 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapfile in WMS Hi! I just test some Mapfile for WMS and it works pretty fine but I wonder if I can avoid putting the path to the mapfile in the parameter. Ex: http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/s2ex8.map&REQUEST=Ge tCapabilities I want it like http://blablabla/cgi-bin/mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities This way, I have to put the Mapfile at the root, right?? Or perhaps I missed something....? Thx, Nicolas Fortin Math?maticien, Programmeur, Analyste de donn?es SMC-Qu?bec Hydrologie, Environnement Canada 1141, Rte de l'?glise, Sainte-Foy(QC) G1V 4H5 (418)648-2516 nicolas.fortin at ec.gc.ca _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From EBashi at chesapeakebay.net Thu Nov 6 13:20:41 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Thu, 6 Nov 2003 16:20:41 -0500 Subject: [Mapserver-users] mswrokbech runtime problem Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099691@mail2.chesapeakebay.net> Hi, I have installed tcl-mapscript-3.6.0-4.i386.rpm and msworkbench0.3. The tcl mapscrpt code with mapserver4 does not compile for anything and I dont think it should be included in a stable distribution. I am new to mapserver and I am not a gis expert, so I tried opening demo.map included with the demo files with msworkbench msexplorer and I get the following error: Wrong # args. mapscript::msSaveImage img filename type transparent interlace quality Wrong # args. mapscript::msSaveImage img filename type transparent interlace quality while executing "mapscript::msSaveImage $img "[file join $tmpdir demo[pid].gif]" 1 1" (procedure "drawImages" line 46) invoked from within "drawImages $w" (procedure "openMap" line 8) invoked from within "openMap ." invoked from within ".#menuBar.#menuBar#file invoke active" ("uplevel" body line 1) invoked from within "uplevel #0 [list $w invoke active]" (procedure "tk::MenuInvoke" line 47) invoked from within "tk::MenuInvoke .#menuBar.#menuBar#file 1" (command bound to event) ----- Does this have to do with compatiblity issues between tcl mapscript and msworkbench, or is it something else? Any and all feedback would be greatly appreciated. Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net From thierry.charlot at free.fr Thu Nov 6 18:00:09 2003 From: thierry.charlot at free.fr (Thierry Charlot) Date: Fri, 7 Nov 2003 03:00:09 +0100 Subject: [Mapserver-users] view ECW under linux Message-ID: <200311070257.56227.t1surfeer@free.fr> I evrerybody !! where i can find libraries for use some raster ECW.? i use theses files whith mapserver 4.0 , apache and windows on ermapper website there is a solution for solaris system is it possible to use this for linux (mdk9.2)? Thanks thierry.charlot at free.fr From moccand at ensg.ign.fr Thu Nov 6 13:22:43 2003 From: moccand at ensg.ign.fr (Guillaume MOCCAND) Date: Thu, 06 Nov 2003 22:22:43 +0100 (CET) Subject: [Mapserver-users] Pojection : "=?ISO-8859-1?Q?Lambert_2_=E9tendu"?= Message-ID: <1068153763.3faabba3d95cf@dutilleux.ensg.ign.fr> Hi, the data (Raster and Vector) i have to deal with are in a french projection called : "Lambert 2 ?tendu" Does anyone could help me to use this projection by giving me the good paremeters to set in mapserver. (i use Mapscript 4.0 on W2000). Thanks Guillaume Bonjour, je dois utiliser des donn?es Raster et Vectorielles en "Lambert 2 ?tendu" dans mon site Mapserver. J'utilise PHP mapscrip 4.0 sur un serveur Windows 2000 et ne sait pas trop comment r?gler les param?tres. est-ce que l'un d'entre vous aurait des indications ? merci d'avance Guillaume From doug at moximedia.com Thu Nov 6 15:15:44 2003 From: doug at moximedia.com (Doug Cates) Date: 06 Nov 2003 15:15:44 -0800 Subject: [Mapserver-users] Mapfile in WMS In-Reply-To: References: Message-ID: <1068160543.12163.256.camel@moxi-rh9> I hope that this snippet finds its way on to the WMS HOWTO page. > -----Message d'origine----- > De : Brent Fraser [mailto:bfraser at geoanalytic.com] > Envoy?? : Thursday, November 06, 2003 12:58 PM > ?? : nicolas.fortin at ec.gc.ca; Tom.Kralidis at ec.gc.ca > Cc : mapserver-users at lists.gis.umn.edu > Objet : Re: [Mapserver-users] Mapfile in WMS > > > Nick, > > I use a little ASP to hide the map file name: > > <% > Server.ScriptTimeout = 360 > strRequest = Request.ServerVariables("QUERY_STRING") > strURL = > "http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS\mymap.map&WM > TVER=1.0.0&" & strRequest > Dim objHTTP > Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") > objHTTP.open "GET", strURL, false > objHTTP.send "" > Response.ContentType = objHTTP.getResponseHeader("content-type") > Response.BinaryWrite objHTTP.responseBody > Set objHTTP = Nothing > %> > > And just use the above ASP's URL in the WMS client. > > Brent Fraser > bfraser at geoanalytic.com From stephen.clark at focus.ca Thu Nov 6 16:34:42 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Thu, 6 Nov 2003 16:34:42 -0800 Subject: [Mapserver-users] Could someone post an OGR layer for a DGN file References: <1068153763.3faabba3d95cf@dutilleux.ensg.ign.fr> Message-ID: <02ac01c3a4c6$eff77e00$6c000a0a@sclark> here is what I came up with so far: ### sample connection to DGN files using OGR LAYER NAME "FDP_093I100_dgn" TYPE LINE STATUS ON CONNECTIONTYPE OGR CONNECTION "d:/sclark1/TPL/FDP093I100.dgn" METADATA WMS_TITLE "sample FDP 2001" WMS_ABSTRACT "N/A" WMS_SRS "EPSG:26910" END END thanks Stephen From stephen.clark at focus.ca Thu Nov 6 16:56:28 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Thu, 6 Nov 2003 16:56:28 -0800 Subject: [Mapserver-users] Re: Could someone post an OGR layer for a DGN file Message-ID: <02bc01c3a4c9$fa412160$6c000a0a@sclark> This actually works: LAYER NAME "FDP_093I100_dgn" TYPE LINE STATUS ON CONNECTIONTYPE OGR CONNECTION "d:/sclark1/TPL/FDP093I100.dgn" CLASS COLOR 255 0 0 END PROJECTION "AUTO" END METADATA WMS_TITLE "FDP 2003 Ammendments 93I100 " WMS_ABSTRACT "N/A" WMS_SRS "EPSG:26910" END END ----- Original Message ----- From: "Stephen Clark" To: Sent: Thursday, November 06, 2003 4:34 PM Subject: Could someone post an OGR layer for a DGN file > here is what I came up with so far: > > > > ### sample connection to DGN files using OGR > > LAYER > NAME "FDP_093I100_dgn" > TYPE LINE > STATUS ON > CONNECTIONTYPE OGR > CONNECTION "d:/sclark1/TPL/FDP093I100.dgn" > > METADATA > WMS_TITLE "sample FDP 2001" > WMS_ABSTRACT "N/A" > WMS_SRS "EPSG:26910" > END > > > END > > > thanks > Stephen From nacional at cbs.umn.edu Thu Nov 6 16:45:43 2003 From: nacional at cbs.umn.edu (Pericles S. Nacionales) Date: Thu, 6 Nov 2003 18:45:43 -0600 Subject: [Mapserver-users] Migration from 3.5 to 4.0 In-Reply-To: <20031106015004.GA6402@landsat.cprsig.cl> References: <20031106015004.GA6402@landsat.cprsig.cl> Message-ID: <200311061845.43781.nacional@cbs.umn.edu> Vinko, Answer to first question: Change the "NAME png" to "NAME png24" OUTPUTFORMAT NAME png24 MIMETYPE image/png DRIVER GD/PNG EXTENSION png IMAGEMODE RGBA TRANSPARENT TRUE END Then specify "IMAGETYPE png24" instead of "IMAGETYPE png" on your mapfile. As for the second question, I don't know if it will work with RGBA mode. And for the third question: I would think that embedding the scalebar is just a matter of adding "STATUS EMBED" and specifying the POSITION keyword with one of these values "ll, lc, lr, ul, uc, ur" in your SCALEBAR object. You can also specify "TRANSPARENT TRUE" in this object. This should work regardless of IMAGETYPE. I hope this helps. On Wednesday 05 November 2003 07:50 pm, Vinko Vrsalovic wrote: > Hello, > > I found in some old backups a really nice app that was made in > good old 3.5 times. Back then it worked perfectly. In it i embedded > the scalebar in the map, with transparent set to ON, but now (with 4.0) > it the bakcground is not rendered transparent, so it's blocking a > part of the map. As i'm using 4.0 I tried to define the > following outputformat: > > OUTPUTFORMAT > NAME png > MIMETYPE image/png > DRIVER GD/PNG > EXTENSION png > IMAGEMODE RGBA > TRANSPARENT TRUE > END > > But when using it, i get > > gd-png: fatal libpng error: Invalid number of colors in palette > gd-png error: setjmp returns error condition > > > I also get the same error when using IMAGEMODE RGB and TRANSPARENT FALSE > so i guess it has to do with the number of bits instead of the > transparent setting. It works if i set IMAGEMODE to PC256. > > I checked the list, and the problem is mentioned, but didn't > get why it might happen. > > So three questions here, what can I be doing for it to fail that way? > I was using a reference map with a 8bit png image, so I changed it to 24 > bits, but the problem remains. > > The second is, if I get the outputformat with RGBA to work, > will the scalebar with transparent set to true work? > > And the third is, is there a way to embed the scalebar with > transparent background with PC256 mode? > > Thanks, -- Pericles S. Nacionales Dept. of Ecology, Evolution & Behavior College of Biological Sciences University of Minnesota e-mail: nacional at cbs.umn.edu phone: 612 624 6713 From miles at laughingflea.com Thu Nov 6 19:53:28 2003 From: miles at laughingflea.com (Miles Hochstein) Date: Thu, 06 Nov 2003 19:53:28 -0800 Subject: [Mapserver-users] first time user - IIS, WindowsXP, binary installation difficulty Message-ID: <6.0.0.22.0.20031106194630.01e8be58@laughingflea.com> --=====================_128694859==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed I have downloaded installed the win32 binary (4.0) on my winxp machine. (I see that only Windows 2000 is mentioned...should it work at all on WinXP?) The problem is that Mapserve.exe is happily sitting in c:/inetpub/scripts and various dll seem to be in the Windows directory. But I get an error message that gdal11.dll is not installed (or available) and that reinstalling may fix this problem. But gdal11.dll is there in my Windows directory. I also received a mesage that some other dll file was missing, but I confirmed that it too was in the Windows directory. I could try reinstalling, but I'd like to understand the problem too. What do I need to do here to get this thing working in a rudimentary way? thanks! Miles --=====================_128694859==.ALT Content-Type: text/html; charset="us-ascii" I have downloaded installed the win32 binary (4.0) on my winxp machine. (I see that only Windows 2000 is mentioned...should it work at all on WinXP?)

The problem is that Mapserve.exe is happily sitting in c:/inetpub/scripts  and various dll seem to be in the Windows directory. 

But I get an error message that gdal11.dll is not installed (or available) and that reinstalling may fix this problem.  But gdal11.dll is there in my Windows directory.  I also received a mesage that some other dll file was missing, but I confirmed that it too was in the Windows directory. 

I could try reinstalling, but I'd like to understand the problem too.

What do I need to do here to get this thing working in a rudimentary way?  thanks!

Miles


 
 

--=====================_128694859==.ALT-- From emiliom at u.washington.edu Thu Nov 6 22:24:09 2003 From: emiliom at u.washington.edu (Emilio Mayorga) Date: Thu, 06 Nov 2003 22:24:09 -0800 Subject: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #335 - 41 msgs In-Reply-To: <20031106180015.14995.32082.Mailman@lists.gis.umn.edu> References: <20031106180015.14995.32082.Mailman@lists.gis.umn.edu> Message-ID: <3FAB3A89.4030500@u.washington.edu> Murilo, I'm not a Mapserver expert at all. I just started using it. Other people in this list can give you more intelligent advice. Did you say you're using RedHat 8? That's what I have. When I compiled GDAL, it was installed under /usr/local by default. In the mapserver configure options, I didn't specify a path for gdal, like you're doing; I just used "--with-gdal", and that worked, mapserver was able to find it. I don't know much about libtiff and libgeotiff, but I don't see why you'd need to use them in mapserver and GDAL if GDAL can use its own libraries. It's one thing to have libtiff and libgeotiff in your linux install to use with other tools, but with mapserver, GDAL seems to do the trick pretty nicely. I would try compiling GDAL like I did: --with-libtiff=internal --with-geotiff=internal I really can't help beyond that, I'm just a beginner. Good luck! -Emilio From: "Murilo Lacerda Yoshida" To: Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? Date: Thu, 6 Nov 2003 01:08:34 -0200 Ol? Emilio, Yes, I'm using libtiff and libgeotiff, but I guess that this isn't the problem here. Unless I cannot use gdal and libtiff and libgeotiff at the same time, but I think that's not the case. Here are my configure strings: For mapserver ./configure --without-tiff --without-eppl --without-jpeg --with-threads --with-proj --with-gdal=/usr/local/bin/gdal-config --with-php=../php-4.3.3 --with-gd=/usr/local --with-freetype=/usr/bin --with-pdf --with-ogr --with-ming --with-wmsclient --with-wfs --with-wfs-client For PHP ./configure --enable-force-cgi-redirect --with-config-file-path=/etc/httpd/ --with-gd=/usr/local --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --with-freetype-dir=/usr --without-ttf --with-pdflib --with-mysql --with-regex=system --with-ming --enable-dbase --enable-dbx --enable-versioning --with-oci8 --enable-shared --with-config-file-path=/usr/local/php433/ --prefix=/usr/local/php433 For gdal ./configure --with-libz --with-png --with-libtiff=/usr/local --with-geotiff=/usr/local --with-jpeg --without-jasper --without-python And I changed the mapserver configure string to --without-tiff after I read your message, but nothing changed ... Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 6 de novembro de 2003 00:09 Para: mapserver-users at lists.gis.umn.edu Assunto: RES: [Mapserver-users] problem displaying raster layers; GDAL? Oi Murilo, What I did is exactly what I mentioned in my message, I added --without-tiff to the configure line. Here is my complete mapserver configuration line: ./configure --with-gd --with-proj --with-gdal --with-ogr --without-tiff --with-wmsclient --with-threads --enable-runpath --enable-debug I ran a make clean before doing that, to clean up the previous make file; I'm no expert installing programs on Linux, so it took me some effort to figure that out! Here's the GDAL configuration line (I'm using GDAL 1.1.9): ./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-jpeg --without-jasper From a previous message you posted, it looks like you're trying to use libtiff and libgeotiff, not GDAL. I think the --without-tiff mapserver option specifies NOT to use other tiff libraries (--with-gdal tells it to use GDAL, obviously), and the --with-libtiff=internal and --with-geotiff=internal in the GDAL configuration tell GDAL to use its own tiff/geotiff libraries. Could that be the problem? Boa sorte! -Emilio From stephane.riff at cerene.fr Thu Nov 6 23:48:49 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Fri, 07 Nov 2003 08:48:49 +0100 Subject: [Mapserver-users] Re: Cygwin PostGIS In-Reply-To: <200311062050.33040.sdteffen@web.de> References: <200311062050.33040.sdteffen@web.de> Message-ID: <3FAB4E61.3040303@cerene.fr> I didn't know this installer, i gonna try it.... But the other problem is that cygwin postgres is version 7.3.* and i work with mapserver 3.6.* which has problem with querying postgis layer on 7.3 so i'd like to install 7.2.4 which work very well with ms36..... the problem with postgres on cygwin is that windows symblink doesn't recognize by the makefile, it tells me : src/Makefile.global:269: src/Makefile.port: No such file or directory c:\usr\local\wbin\make.exe: *** No rule to make target `src/Makefile.port'. Stop. the ./configure is good.... i don't what to try know..... Thx Steffen Macke wrote: >Dear St?phane, > >did you try the Cygwin PostGIS installer? It's available from > >http://dcmms.sourceforge.net/postgis_installer.php > >Version 0.7.5-13 has to be installed together with the latest Cygwin >PostgreSQL (7.3.4-2). > >Best Regards, > >Steffen Macke > > > > From lars.forseth at ntfk.no Fri Nov 7 01:47:54 2003 From: lars.forseth at ntfk.no (Lars Forseth) Date: Fri, 7 Nov 2003 10:47:54 +0100 Subject: [Mapserver-users] Using mapserver to allow a user to create data - collecting koordinates (points) for a database record Message-ID: <4DFFD0F8928F904C82877831321FFC0A40004C@fh-srv-02.ntfk.no> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3A514.37803E4A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello! I'm doing a study to see wether mapserver/PostGis could be used in the = following project: North-Troendelag (www.ntfk.no) is within its borders responsible for CRM = (Cultural heritage; archaeology). We have a lot of active amateur = archaeologists/historians who collect information about warious types of = sites. We wish to collect this data into a central database; and allow = these people to enter this data through a webpage. Included in the data = we want is ofcourse the location of a site; i.e coordinates - points. Could mapserver and postgis be used for this. I.e allow a user - after = logging in! - to search or select a location - zooming in to it in a = suitable scale (1:50000 or 1:5000 maps could be available depending on = location within the county) - click on the desired location on the map - = after which the coordinates is entered into a database record (i.e = postgis). This will happen somwhere in the prosess when the user creates = a record of a site. Best would probably be a kind of "guide"! Each user should be able to keep a record of the sites he/she has = entered; and be able to "map" this - i.e create a hardcopy map showing = all the locations they have "mapped". (One rason for this is that = farmers in Norway now has to create an "environment plan" for their = farms - including all archaeology/CRM sites on the farm). Possible/Not possible? Pitfalls? (I've talked to our local ESRI rep. And this could be done in = ArcIms/Oracle-spatial; but at a price!! (and beside I use Linux at home, = so an OS solution is welcome).) regards larsf ------------------------------------------- Lars Forseth Archaeologist Nord-Tr=F8ndelag FK Tlf: 74111270 Mob: 97528143 ------------------------------------------- ------_=_NextPart_001_01C3A514.37803E4A Content-Type: text/x-vcard; name="Lars Forseth (E-post).vcf" Content-Transfer-Encoding: base64 Content-Description: Lars Forseth (E-post).vcf Content-Disposition: attachment; filename="Lars Forseth (E-post).vcf" QkVHSU46VkNBUkQNClZFUlNJT046Mi4xDQpOOkZvcnNldGg7TGFycw0KRk46TGFycyBGb3JzZXRo IChFLXBvc3QpDQpPUkc6TlRGSw0KVEVMO1dPUks7Vk9JQ0U6NzQxMTEyNzANClRFTDtIT01FO1ZP SUNFOjc0MTQzMTgzDQpURUw7Q0VMTDtWT0lDRTo5NzUyODE0Mw0KQURSO1dPUks6OztHcmFubHk7 U3BhcmJ1Ozs3NzEwO05vcmdlDQpMQUJFTDtXT1JLO0VOQ09ESU5HPVFVT1RFRC1QUklOVEFCTEU6 R3Jhbmx5PTBEPTBBU3BhcmJ1IDc3MTA9MEQ9MEFOb3JnZQ0KRU1BSUw7UFJFRjtJTlRFUk5FVDps YXJzZkBwb3dlcnRlY2gubm8NClJFVjoyMDAzMDIwNlQwNzE0MjlaDQpFTkQ6VkNBUkQNCg== ------_=_NextPart_001_01C3A514.37803E4A-- From ASeifert at schwerin.de Fri Nov 7 02:13:15 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Fri, 07 Nov 2003 11:13:15 +0100 Subject: [Mapserver-users] ogr problem + stdio problem Message-ID: Hi folks, i have two questions. #1 Mapserver 4.0 ./configure --with-gdal=/usr/local/bin/gdal-config --with-ogr .... configure: error: couldn't find gdal-configconfigure: error: ./configure --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local .... !!! Could not find ogr_feature.h, ogrsf_fmrts.h, cpl_conv.h, !!! !!! ogr.a, ogrsf_frmts.a, or cpl.a in /usr/local . !!! Either this is not the location of a recent GDAL/OGR source tree, !!! !!! or OGR has not been compiled yet. Please make sure you compile !!! !!! OGR before calling configure. !!! ./configure --with-gdal=/usr/local/bin/gdal-config --with-ogr=/usr/local/bin/gdal-config .... First it looks like it works, but in configure-messages appears: checking whether we should include OGR support... checking for OGRRegisterAll in -lgdal.1.1... (cached) no configure: warning: OGR not found in system libs... use --with-ogr=DIR. I have no idea, what I must do, that OGR will be found. GDAL with OGR are correct installed. I think. Has anybody an idea? #2 Mapserver 4.0 If I ignore the OGR problem and try to make, then the following error message appears: cc-1005 cc: ERROR File = map.h, Line = 9 The source file "stdio.h" is unavailable. #include ^ 1 catastrophic error detected in the compilation of "maptemplate.c". Compilation terminated. I'm not familiar with gmake. I don't know where I can found the cause. What must I do in this case? Please do not answer "Read your gmake-book!" :) Andre from germany (I apologize for my lousy English.) Mail scanned by virusscanner, Patternfile from 03 Nov 2003 From muratisik at megatek.com.tr Fri Nov 7 03:49:50 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Fri, 7 Nov 2003 13:49:50 +0200 Subject: [Mapserver-users] map navigation problem Message-ID: <016901c3a525$402b5320$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0166_01C3A536.03631CF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am working on gpstracking project and since I am a newbei to php and = mapscript, I am rather outiing some sample codes together than writing = my own :( I have succeeded in printing the static layers with dynamic points = printed on them, I also borrowed zoom-pzn code from mapserver site but = now it has come to navigating the map and I am stuck. There should be 4 = buttons, left-right-up-down and when user chooses one of them, even if = the map is already zoomed, it must be regenrated according to the = movement wanted by the user. I have tried some code sniplets but I could = not get it to work. Can anyone give me an idea what's wrong here and how = I can fix it? Have a nice day:) Murat Isik TEST

>

TEST SERVER

\n"; if($test_x[$i]=3D=3D$x[$i-1] || $test_y[$i]=3D=3D$y[$i-1]) { --$i; }else { $x[$i] =3D $test_x[$i]; $y[$i] =3D $test_y[$i]; } } mysql_free_result($result); for($k=3D1;$k<=3D$i-1;++$k) { $pt->setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"])&& = isset($HTTP_POST_VARS["zoom"]) ) { // $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; $myMap->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); //mapa_x and mapa_y are mouse click coordinates $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); if($HTTP_POST_VARS["zoom"] =3D=3D 0 && $HTTP_POST_VARS["zoom"] =3D=3D 1 = && $HTTP_POST_VARS["zoom"] =3D=3D -1) { $zoom_factor =3D $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); }elseif($HTTP_POST_VARS["zoom"] =3D=3D 2) { $xmax =3D $myMap->extent->{xmax}; $xmin =3D $myMap->extent->{xmin}; $xinc =3D ($xmax - $xmin ) / 2; $myMap->setextent( ($xmin + $xinc), $ymin, ($xmax + $xinc), = $ymax); } } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); //$extent_to_html =3D $map->extent->minx." ".$map->extent->miny." " // .$map->extent->maxx." ".$map->extent->maxy; ?>

" width=3D600 height=3D600 = border=3D0>
Pan >
Zoom In >
Zoom Out >
Move the map to the right >
Zoom Size " SIZE=3D2>
Full Extent
"> ------=_NextPart_000_0166_01C3A536.03631CF0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I am working on gpstracking project and = since I am=20 a newbei to php and mapscript, I am rather outiing some sample codes = together=20 than writing my own :(
I have succeeded in printing the static = layers with=20 dynamic points printed on them, I also borrowed zoom-pzn code from = mapserver=20 site but now it has come to navigating the map and I am stuck. There = should=20 be 4 buttons, left-right-up-down and when user chooses one of them, = even if=20 the map is already zoomed, it must be regenrated according to the = movement=20 wanted by the user. I have tried some code sniplets but I could not get = it to=20 work. Can anyone give me an idea what's wrong here and how I can fix=20 it?
 
Have a nice day:)
 
Murat Isik
 
<HEAD>
<TITLE>TEST</TITLE>
</HEAD>=
<CENTER>
<FORM=20 METHOD=3DPOST ACTION=3D<?php echo = $PHP_SELF?>>
<H1>TEST=20 SERVER</H1>
<P>
<?php
dl("php_mapscript.so");
 
mysql_connect("localhost","root","test")=20 or
        die ("Could not connect = to=20 database");
 
mysql_select_db("pointtrack")=20 or
        die("Could not select=20 database");
 
$val_zsize=3D3;
file://$check_pan=3D"CHECKED";=
 
$shpFname =3D "target1";
$shpFile = =3D=20 ms_newShapeFileObj($shpFname, MS_SHP_POINT);
 
$shpFname1 =3D "target2";
$shpFile1 = =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);
 
$pt =3D ms_newPointObj();
 
$i =3D 0;
 
$result =3D mysql_query("select * from = track3")=20 or
        die=20 (mysql_error());
 

$x[0]=3D0;
$y[0]=3D0;
 
while ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;
file://echo=20 $row["lominutes"];
file://echo=20 "<br>\n";
 

if($test_x[$i]=3D=3D$x[$i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{
 
$x[$i] =3D $test_x[$i];
$y[$i] =3D=20 $test_y[$i];
 
}
 
}
mysql_free_result($result);
 

for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],= =20 $y[$k]);
$shpFile->addPoint($pt);
};
 
$pt->setXY($x[$i],=20 $y[$i]);
$shpFile1->addPoint($pt);
 

$shpFile->free();
$shpFile1->free();
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$myMap =3D = ms_newMapObj("demo_try.map");
 
#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);
 
 
 
if ( isset($HTTP_POST_VARS["mapa_x"]) = &&=20 isset($HTTP_POST_VARS["mapa_y"])
      = &&=20 !isset($HTTP_POST_VARS["full"])&& isset($HTTP_POST_VARS["zoom"]) = )=20 {
 
//      = $extent_to_set =3D=20 explode(" ",$HTTP_POST_VARS["extent"]);
 

$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999;
 

 =20 $myMap->setextent($extent_to_set[0],$extent_to_set[1],
  =             &= nbsp;     =20 $extent_to_set[2],$extent_to_set[3]);
 
      = $my_point =3D=20 ms_newpointObj();
     =20 $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=
 
          &nbs= p;    =20 //mapa_x and mapa_y are mouse click=20 coordinates
 
      = $my_extent =3D=20 ms_newrectObj();
 
     =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);
 

if($HTTP_POST_VARS["zoom"] =3D=3D 0 = &&=20 $HTTP_POST_VARS["zoom"] =3D=3D 1 && $HTTP_POST_VARS["zoom"] = =3D=3D=20 -1)
{
$zoom_factor =3D=20 $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 {
           &n= bsp; =20 $zoom_factor =3D=20 1;
           &= nbsp; =20 $check_pan =3D=20 "CHECKED";
          = ;   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor <=20 0)=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "CHECKED";
      = }
 
      = $val_zsize =3D=20 abs($zoom_factor);
 
     =20 $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);
}elseif($HTTP_POST_VARS["zoom"] =3D=3D=20 2)
{
        $xmax =3D=20 $myMap->extent->{xmax};
      &nbs= p;=20 $xmin =3D=20 $myMap->extent->{xmin};
      &nbs= p;=20 $xinc =3D ($xmax - $xmin ) / = 2;
       =20 $myMap->setextent( ($xmin + $xinc), $ymin, ($xmax + $xinc),=20 $ymax);
 
}
}
$img =3D = $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);
 
//$extent_to_html =3D = $map->extent->minx."=20 ".$map->extent->miny."=20 "
//           =   =20 .$map->extent->maxx." ".$map->extent->maxy;
 
?>
<BODY>
<center>
<table border=3D0 = cellspacing=3D0 cellpadding=3D4 = bgcolor=3D"#FFFFFF">
<tr>
<td=20 valign=3D"top" align=3Dcenter>
  <table cellpadding=3D"0"=20 cellspacing=3D"5" border=3D"5">
    = <tr><td=20 colspan=3D"2"><INPUT NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php = echo $image_url;=20 ?>" width=3D600 height=3D600=20 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Move the map to the right
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D2 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 
 <TR>
     =20 <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN NAME=3D"extent" = VALUE=3D"<?php echo=20 $extent_to_html?>">
</FORM>
</CENTER>
 
</BODY>
</HTML>
------=_NextPart_000_0166_01C3A536.03631CF0-- From pucher at atlas.gis.univie.ac.at Fri Nov 7 04:12:24 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Fri, 07 Nov 2003 13:12:24 +0100 Subject: [Mapserver-users] Logging problem Message-ID: <3FAB8C28.7060605@atlas.gis.univie.ac.at> Hi, I'm trying to get the logging functionality in MS 4.0 working without success. I uncommented the LOG entry in the mapfile (LOG "gmap.log"), created the file in the same directory as the mapfile ('touch gmap.log') and set the permissions for the www user to access the file. For some reason, there is nothing going into this file.... Is there something additional to do, I'm truly stuck!! Best regards, alex. From bartvde at xs4all.nl Fri Nov 7 04:39:51 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Fri, 7 Nov 2003 13:39:51 +0100 (CET) Subject: [Mapserver-users] Logging problem In-Reply-To: <3FAB8C28.7060605@atlas.gis.univie.ac.at> References: <3FAB8C28.7060605@atlas.gis.univie.ac.at> Message-ID: <17184.212.238.227.182.1068208791.squirrel@webmail.xs4all.nl> Hi Alexander, you can also try logging using an environment variable (MS_ERRORFILE). See for more info: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?DebuggingMapserver Best regards, Bart > Hi, > > I'm trying to get the logging functionality in MS 4.0 working without > success. I uncommented the LOG entry in the mapfile (LOG "gmap.log"), > created the file in the same directory as the mapfile ('touch gmap.log') > and set the permissions for the www user to access the file. For some > reason, there is nothing going into this file.... > > Is there something additional to do, I'm truly stuck!! > > Best regards, > alex. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pucher at atlas.gis.univie.ac.at Fri Nov 7 05:05:29 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Fri, 07 Nov 2003 14:05:29 +0100 Subject: [Mapserver-users] GMAP does not work with TIFF Message-ID: <3FAB9899.1010103@atlas.gis.univie.ac.at> HI, following my previous mail about logging, the actual problem I have right now is a different one (I was hoping to get it solved by reading the logging information...) I installed MS 4.0.1 today with most of the available functionality (PostGIS, SDE, ming, PDF, GDAL/OGR etc.) To test the installation, I installed GMAP-MS40. Everything works, except the displaying of the TIFF layer. gmap75.phtml is rendered, but stops right at the point where the RosaApplet is included. No error is shown! If I however turn off the 'Elevation/Bathymetry' layer, everything works just fine. Testing the mapfile with shp2img gives me a correct image and this debug info: [Fri Nov 7 13:48:44 2003].930293 msDrawRasterLayerLow(bathymetry): entering. [Fri Nov 7 13:48:44 2003].936846 msDrawGDAL(): red,green,blue,alpha bands = 1,0,0,0 Any hints, alex. From ter-haseborg at sf-datentechnik.de Fri Nov 7 03:43:50 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Fri, 7 Nov 2003 12:43:50 +0100 Subject: [Mapserver-users] different OnlineResource-urls for different requests Message-ID: <0DF955F15A102E4F81B948D44A45015A069253@nt-sf-exchange.Windows2000> Hi, how to I distinguish the OnlineResource-urls for the different wms-requests (getMap, getFeatureInfo, getCapabilities)? In the resulting xml-doc from a getCapabilities-request I got the following resource-urls: [...] [...] [...] [...] [...] [...] What do have to specify in the mapfile to get individual urls for each of this sections? TIA, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany From muratisik at megatek.com.tr Fri Nov 7 06:03:17 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Fri, 7 Nov 2003 16:03:17 +0200 Subject: [Mapserver-users] map positioning -- help needed References: <001f01c3a3fb$44e82850$2559fdd4@murathq> <00c501c3a456$e20c8580$b4704ad5@murathq> <1068111732.1756.9.camel@ubet.gomoos.org> Message-ID: <019e01c3a537$e6b98c90$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_019B_01C3A548.A8148010 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thank you. I think I have minimized my problem to this whole coordinate thing. What = I noticed is that my code does not catch "extent" as it works. I have to = feed it with the beginning coordinates myself. I have changed the code a = little bit too. Now it can move the map to left, but only the original = map, not the zoom map. I think my problem is that I cannot "catch" the = coordinates/extents of the last map drawn. It has something to do with = this line: $extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); When I run the second europa example from mapserver site the same line = works and prints the picture. In my case, it produces this error: Fatal error: MapServer Error in msCalculateScale():=20 referring to the line with the "explode". The EXTENT in europa is in = this format: EXTENT -5696501 1923039 5696501 11022882 whereas mine is: EXTENT 29.057 40.954 29.143 40.999 My extents work with the mapserver itself. When I check a regular map = from an atlas, I see they use my type of coordinates. It appears my = geograph is not so well at all! I suppose this is related to what Mr.Bridger discussed in his reply mail = but how related is something I didnt understand. Any ideas? BTW: I am using php-mapscript-3.6.0-4, installed by rpm. May the version = be related? Bug or something? Have a nice day:) Murat Isik current php code: (if needed I can also send my mapfile. I am not = sending now not to take much space in your mailboxes...) TEST
>

TEST SERVER

setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =3Darray(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile =3D dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap =3D ms_newMapObj("demo_try.map"); #$myLayer =3D $myMap->getLayerByName("target1"); #$myLayer->set("data", $shpFname); #$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && = isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { //$extent_to_set =3D explode(" ",$HTTP_POST_VARS["extent"]); //source of = problem I believe $extent_to_set[0] =3D 29.057; $extent_to_set[1] =3D 40.954; $extent_to_set[2] =3D 29.143; $extent_to_set[3] =3D 40.999; //since upper one doesnot work, I have to = feed them myself $myMap->setextent($extent_to_set[0], $extent_to_set[1], $extent_to_set[2], $extent_to_set[3]); $my_point =3D ms_newpointObj(); = $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent =3D ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor =3D $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor =3D=3D 0) { $zoom_factor =3D 1; $check_pan =3D "CHECKED"; $check_zout =3D ""; $check_zin =3D ""; } else if ($zoom_factor < 0) { $check_pan =3D ""; $check_zout =3D "CHECKED"; $check_zin =3D ""; } else { $check_pan =3D ""; $check_zout =3D ""; $check_zin =3D "CHECKED"; } $val_zsize =3D abs($zoom_factor); = $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } if($HTTP_POST_VARS["zoom"] =3D=3D 2)//this part should "catch the extent = of=20 //the latest map = drawn so it can recalculate based on it. { // $xmax =3D $myMap->extent->{xmax}; // $xmin =3D $myMap->extent->{xmin}; // $xmin =3D $extent_to_set[0]; // $xmax =3D $extent_to_set[2]; $xmin =3D 29.057; $xmax =3D 29.143; $xinc =3D ($xmax - $xmin ) / 2; $ymin =3D 40.954; $ymax =3D 40.999; $myMap->setextent( ($xmin + $xinc), $ymin, ($xmax + $xinc), = $ymax); } $img =3D $myMap->draw(); $image_url =3D $img->saveWebImage(GIF,1,1,0); //$extent_to_html =3D $map->extent->minx." ".$map->extent->miny." " // .$map->extent->maxx." ".$map->extent->maxy; ?>

This is what I get when I turn the TIFF layer OFF. Thanks, alex. Frank Warmerdam wrote: > Alexander Pucher wrote: > >> HI, >> >> following my previous mail about logging, the actual problem I have >> right now is a different one (I was hoping to get it solved by >> reading the logging information...) >> >> I installed MS 4.0.1 today with most of the available functionality >> (PostGIS, SDE, ming, PDF, GDAL/OGR etc.) To test the installation, I >> installed GMAP-MS40. Everything works, except the displaying of the >> TIFF layer. >> >> gmap75.phtml is rendered, but stops right at the point where the >> RosaApplet is included. No error is shown! >> If I however turn off the 'Elevation/Bathymetry' layer, everything >> works just fine. >> >> Testing the mapfile with shp2img gives me a correct image and this >> debug info: >> >> [Fri Nov 7 13:48:44 2003].930293 msDrawRasterLayerLow(bathymetry): >> entering. >> [Fri Nov 7 13:48:44 2003].936846 msDrawGDAL(): red,green,blue,alpha >> bands = 1,0,0,0 > > > Alex, > > If the map file works with shp2img but not in a web environment then > issues > to watch are permissions, and path handling. Try using a complete path > for > the file. Is the file in the same directory as the other data? > > Good luck, From vguzman at maintask.com Fri Nov 7 06:29:20 2003 From: vguzman at maintask.com (=?ISO-8859-1?Q?Vladimir_Guzm=E1n?=) Date: Fri, 07 Nov 2003 09:29:20 -0500 Subject: [Mapserver-users] Using mapserver to allow a user to create data - collecting koordinates (points) for a database record In-Reply-To: <4DFFD0F8928F904C82877831321FFC0A40004C@fh-srv-02.ntfk.no> References: <4DFFD0F8928F904C82877831321FFC0A40004C@fh-srv-02.ntfk.no> Message-ID: <3FABAC40.50607@maintask.com> Lars Forseth wrote: >Hello! > >I'm doing a study to see wether mapserver/PostGis could be used in the following project: > >North-Troendelag (www.ntfk.no) is within its borders responsible for CRM (Cultural heritage; archaeology). We have a lot of active amateur archaeologists/historians who collect information about warious types of sites. We wish to collect this data into a central database; and allow these people to enter this data through a webpage. Included in the data we want is ofcourse the location of a site; i.e coordinates - points. > >Could mapserver and postgis be used for this. I.e allow a user - after logging in! - to search or select a location - zooming in to it in a suitable scale (1:50000 or 1:5000 maps could be available depending on location within the county) - click on the desired location on the map - after which the coordinates is entered into a database record (i.e postgis). This will happen somwhere in the prosess when the user creates a record of a site. Best would probably be a kind of "guide"! > >Each user should be able to keep a record of the sites he/she has entered; and be able to "map" this - i.e create a hardcopy map showing all the locations they have "mapped". (One rason for this is that farmers in Norway now has to create an "environment plan" for their farms - including all archaeology/CRM sites on the farm). > >Possible/Not possible? Pitfalls? > >(I've talked to our local ESRI rep. And this could be done in ArcIms/Oracle-spatial; but at a price!! (and beside I use Linux at home, so an OS solution is welcome).) > >regards >larsf > >------------------------------------------- >Lars Forseth >Archaeologist Nord-Tr?ndelag FK >Tlf: 74111270 Mob: 97528143 >------------------------------------------- > > This is completely possible, using mapserver/mapscript. You can use postgres, postgis or any other database to store the points. If you need more specific help, you can contact me, or post a message in the list. Best regards, -- Vladimir Ilich Guzm?n R. ------------------------ http://www.maintask.com From EBashi at chesapeakebay.net Fri Nov 7 06:37:38 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Fri, 7 Nov 2003 09:37:38 -0500 Subject: [Mapserver-users] map files to be used with msworkbench Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D099693@mail2.chesapeakebay.net> Hi all, Can anyone provide an example map file along with the other shape files, that can be viewed with msworkbench? I am trying to use the demo.map along with the other files provided with the mapserver demo and I have not had any success. I am running mapserver4 on Redhat 9 and tcl8.3. I have configured and intstalled tcl-mapscript that came with mapserver distro, and I have msworkbench0.3. Any and all feedback would be greatly appreciated. Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net From eric at gomoos.org Fri Nov 7 01:41:12 2003 From: eric at gomoos.org (Eric Bridger) Date: 07 Nov 2003 09:41:12 +0000 Subject: [Mapserver-users] Using mapserver to allow a user to create data - collecting koordinates (points) for a database record In-Reply-To: <4DFFD0F8928F904C82877831321FFC0A40004C@fh-srv-02.ntfk.no> References: <4DFFD0F8928F904C82877831321FFC0A40004C@fh-srv-02.ntfk.no> Message-ID: <1068198077.1870.12.camel@ubet.gomoos.org> This is certainly possible but you would need to use some variant of mapscript. PHP, Perl, Python, TCL, etc. If you are comfortable with one of those I see no pitfalls. And it's free! Eric On Fri, 2003-11-07 at 09:47, Lars Forseth wrote: > Hello! > > I'm doing a study to see wether mapserver/PostGis could be used in the following project: > > North-Troendelag (www.ntfk.no) is within its borders responsible for CRM (Cultural heritage; archaeology). We have a lot of active amateur archaeologists/historians who collect information about warious types of sites. We wish to collect this data into a central database; and allow these people to enter this data through a webpage. Included in the data we want is ofcourse the location of a site; i.e coordinates - points. > > Could mapserver and postgis be used for this. I.e allow a user - after logging in! - to search or select a location - zooming in to it in a suitable scale (1:50000 or 1:5000 maps could be available depending on location within the county) - click on the desired location on the map - after which the coordinates is entered into a database record (i.e postgis). This will happen somwhere in the prosess when the user creates a record of a site. Best would probably be a kind of "guide"! > > Each user should be able to keep a record of the sites he/she has entered; and be able to "map" this - i.e create a hardcopy map showing all the locations they have "mapped". (One rason for this is that farmers in Norway now has to create an "environment plan" for their farms - including all archaeology/CRM sites on the farm). > > Possible/Not possible? Pitfalls? > > (I've talked to our local ESRI rep. And this could be done in ArcIms/Oracle-spatial; but at a price!! (and beside I use Linux at home, so an OS solution is welcome).) > > regards > larsf > > ------------------------------------------- > Lars Forseth > Archaeologist Nord-Tr?ndelag FK > Tlf: 74111270 Mob: 97528143 > ------------------------------------------- From eric at gomoos.org Fri Nov 7 01:38:22 2003 From: eric at gomoos.org (Eric Bridger) Date: 07 Nov 2003 09:38:22 +0000 Subject: [Mapserver-users] map positioning -- help needed In-Reply-To: <019e01c3a537$e6b98c90$b4704ad5@murathq> References: <001f01c3a3fb$44e82850$2559fdd4@murathq> <00c501c3a456$e20c8580$b4704ad5@murathq> <1068111732.1756.9.camel@ubet.gomoos.org> <019e01c3a537$e6b98c90$b4704ad5@murathq> Message-ID: <1068197907.1863.7.camel@ubet.gomoos.org> On Fri, 2003-11-07 at 14:03, Murat Isik wrote: > Thank you. > I think I have minimized my problem to this whole coordinate thing. What I noticed is that my code does not catch "extent" as it works. I have to feed it with the beginning coordinates myself. I have changed the code a little bit too. Now it can move the map to left, but only the original map, not the zoom map. I think my problem is that I cannot "catch" the coordinates/extents of the last map drawn. It has something to do with this line: > > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > > When I run the second europa example from mapserver site the same line works and prints the picture. In my case, it produces this error: > > Fatal error: MapServer Error in msCalculateScale(): > > referring to the line with the "explode". This happens because the line below, from your code, is commented out. You don't set the current extent in your form so $HTTP_POST_VARS["extent"] will be null. //$extent_to_html = $map->extent->minx." ".$map->extent->miny." " // .$map->extent->maxx." ".$map->extent->maxy; From morissette at dmsolutions.ca Fri Nov 7 07:03:42 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 07 Nov 2003 10:03:42 -0500 Subject: [Mapserver-users] Could someone post an OGR layer for a DGN file In-Reply-To: <02ac01c3a4c6$eff77e00$6c000a0a@sclark> References: <1068153763.3faabba3d95cf@dutilleux.ensg.ign.fr> <02ac01c3a4c6$eff77e00$6c000a0a@sclark> Message-ID: <3FABB44E.5080205@dmsolutions.ca> Stephen Clark wrote: > > ### sample connection to DGN files using OGR > > LAYER > NAME "FDP_093I100_dgn" > TYPE LINE > STATUS ON > CONNECTIONTYPE OGR > CONNECTION "d:/sclark1/TPL/FDP093I100.dgn" > > METADATA > WMS_TITLE "sample FDP 2001" > WMS_ABSTRACT "N/A" > WMS_SRS "EPSG:26910" > END > > > END > For sure you're missing a CLASS definition for your layer to show up. There are examples in the OGR HOWTO: http://mapserver.gis.umn.edu/doc40/ogr-howto.html#examples Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From muratisik at megatek.com.tr Fri Nov 7 07:08:13 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Fri, 7 Nov 2003 17:08:13 +0200 Subject: [Mapserver-users] map positioning -- help needed References: <001f01c3a3fb$44e82850$2559fdd4@murathq><00c501c3a456$e20c8580$b4704ad5@mura thq><1068111732.1756.9.camel@ubet.gomoos.org><019e01c3a537$e6b98c90$b4704ad5@murathq><1068197907.1863.7.camel@ubet.gomoos.org> <01c401c3a53f$abfbbb70$b4704ad5@murathq> <1068199278.1871.21.camel@ubet.gomoos.org> Message-ID: <01ce01c3a540$f788bf10$b4704ad5@murathq> you are right, I always forget that. I am now also doing cc to mapserver-user for this reply. thank you so much. ----- Original Message ----- From: "Eric Bridger" To: "Murat Isik" Sent: Friday, November 07, 2003 12:01 PM Subject: Re: [Mapserver-users] map positioning -- help needed > You're welcome Murat. > I'm glad it's finally working. I think you should inform the list so > that future readers with similiar issues will know what the issue was. > > > > On Fri, 2003-11-07 at 14:58, Murat Isik wrote: > > sorry to bother you again. I forgot to change the map name to myMap.(how > > foolish of me!) > > now it works. thank you very much > > > > murat isik > > > > > > ----- Original Message ----- > > From: "Eric Bridger" > > To: "Murat Isik" > > Cc: "Mapserver List" > > Sent: Friday, November 07, 2003 11:38 AM > > Subject: Re: [Mapserver-users] map positioning -- help needed > > > > > > > On Fri, 2003-11-07 at 14:03, Murat Isik wrote: > > > > Thank you. > > > > I think I have minimized my problem to this whole coordinate thing. What > > I noticed is that my code does not catch "extent" as it works. I have to > > feed it with the beginning coordinates myself. I have changed the code a > > little bit too. Now it can move the map to left, but only the original map, > > not the zoom map. I think my problem is that I cannot "catch" the > > coordinates/extents of the last map drawn. It has something to do with this > > line: > > > > > > > > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > > > > > > > > When I run the second europa example from mapserver site the same line > > works and prints the picture. In my case, it produces this error: > > > > > > > > Fatal error: MapServer Error in msCalculateScale(): > > > > > > > > referring to the line with the "explode". > > > > > > This happens because the line below, from your code, is commented out. > > > You don't set the current extent in your form so > > > $HTTP_POST_VARS["extent"] will be null. > > > > > > file://$extent_to_html = $map->extent->minx." ".$map->extent->miny." " > > > // .$map->extent->maxx." ".$map->extent->maxy; > > > > > > > > From bartvde at xs4all.nl Fri Nov 7 07:23:48 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Fri, 7 Nov 2003 16:23:48 +0100 (CET) Subject: [Mapserver-users] GetFeatureInfo on GROUP layers? Message-ID: <7351.212.238.227.182.1068218628.squirrel@webmail.xs4all.nl> Hi list, I am trying to perform a GetFeatureInfo request on a group layer. But I get back an error saying: msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter missing for getFeatureInfo. But this parameter is in my request, this is my request: http://myserver/cgi-bin/mapserv_40.exe?map=/ms4w/apps/zeegras01/map/zeegras_server.map&SERVICE=WMS&VERSION=1.1.0&LAYERS=1997&QUERY_LAYERS=1997&FORMAT=image/png&TRANSPARENT=TRUE&srs=EPSG:28992&width=800&height=800&bbox=49000,395000,52000,398000&request=GetFeatureInfo&x=500&y=300 A GetMap request does work. Does anybody have an idea what the problem could be? Thanks in advance, Bart From morissette at dmsolutions.ca Fri Nov 7 07:48:33 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 07 Nov 2003 10:48:33 -0500 Subject: [Mapserver-users] Mapfile in WMS In-Reply-To: <1068160543.12163.256.camel@moxi-rh9> References: <1068160543.12163.256.camel@moxi-rh9> Message-ID: <3FABBED1.9070806@dmsolutions.ca> Good idea, I've added it to the docs in CVS for versions 4.0 and 4.1 and that should show up on the UMN website in the next update. BTW, I've removed the hardcoded "&WMTVER=1.0.0&" in the URL since this value has to come from the client and we shouldn't hardcode it. Daniel Doug Cates wrote: > > I hope that this snippet finds its way on to the WMS HOWTO page. > > > >>-----Message d'origine----- >>De : Brent Fraser [mailto:bfraser at geoanalytic.com] >>Envoy?? : Thursday, November 06, 2003 12:58 PM >>?? : nicolas.fortin at ec.gc.ca; Tom.Kralidis at ec.gc.ca >>Cc : mapserver-users at lists.gis.umn.edu >>Objet : Re: [Mapserver-users] Mapfile in WMS >> >> >>Nick, >> >> I use a little ASP to hide the map file name: >> >><% >>Server.ScriptTimeout = 360 >>strRequest = Request.ServerVariables("QUERY_STRING") >>strURL = >>"http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS\mymap.map&WM >>TVER=1.0.0&" & strRequest >>Dim objHTTP >>Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") >>objHTTP.open "GET", strURL, false >>objHTTP.send "" >>Response.ContentType = objHTTP.getResponseHeader("content-type") >>Response.BinaryWrite objHTTP.responseBody >>Set objHTTP = Nothing >>%> >> >>And just use the above ASP's URL in the WMS client. >> >>Brent Fraser >>bfraser at geoanalytic.com > > > From bfraser at geoanalytic.com Fri Nov 7 08:21:34 2003 From: bfraser at geoanalytic.com (Brent Fraser) Date: Fri, 7 Nov 2003 09:21:34 -0700 Subject: [Mapserver-users] Mapfile in WMS References: <1068160543.12163.256.camel@moxi-rh9> <3FABBED1.9070806@dmsolutions.ca> Message-ID: <0f8201c3a54b$36154640$020002c0@SHARK> Good point. The "&WMTVER=1.0.0&" in my ASP was a workaround for a specific WMS client. Brent ----- Original Message ----- From: "Daniel Morissette" To: "Doug Cates" Cc: Sent: Friday, November 07, 2003 8:48 AM Subject: Re: RE : [Mapserver-users] Mapfile in WMS Good idea, I've added it to the docs in CVS for versions 4.0 and 4.1 and that should show up on the UMN website in the next update. BTW, I've removed the hardcoded "&WMTVER=1.0.0&" in the URL since this value has to come from the client and we shouldn't hardcode it. Daniel Doug Cates wrote: > > I hope that this snippet finds its way on to the WMS HOWTO page. > > > >>-----Message d'origine----- >>De : Brent Fraser [mailto:bfraser at geoanalytic.com] >>Envoy?? : Thursday, November 06, 2003 12:58 PM >>?? : nicolas.fortin at ec.gc.ca; Tom.Kralidis at ec.gc.ca >>Cc : mapserver-users at lists.gis.umn.edu >>Objet : Re: [Mapserver-users] Mapfile in WMS >> >> >>Nick, >> >> I use a little ASP to hide the map file name: >> >><% >>Server.ScriptTimeout = 360 >>strRequest = Request.ServerVariables("QUERY_STRING") >>strURL = >>"http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS\mymap.map& WM >>TVER=1.0.0&" & strRequest >>Dim objHTTP >>Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") >>objHTTP.open "GET", strURL, false >>objHTTP.send "" >>Response.ContentType = objHTTP.getResponseHeader("content-type") >>Response.BinaryWrite objHTTP.responseBody >>Set objHTTP = Nothing >>%> >> >>And just use the above ASP's URL in the WMS client. >> >>Brent Fraser >>bfraser at geoanalytic.com > > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From assefa at dmsolutions.ca Fri Nov 7 08:42:27 2003 From: assefa at dmsolutions.ca (Yewondwossen Assefa) Date: Fri, 07 Nov 2003 11:42:27 -0500 Subject: [Mapserver-users] GetFeatureInfo on GROUP layers? In-Reply-To: <7351.212.238.227.182.1068218628.squirrel@webmail.xs4all.nl> References: <7351.212.238.227.182.1068218628.squirrel@webmail.xs4all.nl> Message-ID: <3FABCB73.2090208@dmsolutions.ca> It seems that the GetFeatureInfo does not validate using group name value. Bug 476 has been creeated for this. Later, bartvde at xs4all.nl wrote: > Hi list, > > I am trying to perform a GetFeatureInfo request on a group layer. But I > get back an error saying: > > msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter > missing for getFeatureInfo. > > But this parameter is in my request, this is my request: > > http://myserver/cgi-bin/mapserv_40.exe?map=/ms4w/apps/zeegras01/map/zeegras_server.map&SERVICE=WMS&VERSION=1.1.0&LAYERS=1997&QUERY_LAYERS=1997&FORMAT=image/png&TRANSPARENT=TRUE&srs=EPSG:28992&width=800&height=800&bbox=49000,395000,52000,398000&request=GetFeatureInfo&x=500&y=300 > > A GetMap request does work. > > Does anybody have an idea what the problem could be? > > Thanks in advance, > > Bart > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From moissinac+mapserver at enst.fr Fri Nov 7 08:46:58 2003 From: moissinac+mapserver at enst.fr (Jean-Claude Moissinac) Date: Fri, 07 Nov 2003 17:46:58 +0100 Subject: [Mapserver-users] Demo Message-ID: <3FABCC82.50704@enst.fr> I'm installing MapServer 4.0 for the first time. I'm unable to run the demo I have downloaded on the site. I search in the FAQ and get the http://mapserver.gis.umn.edu/doc/mapserver-FAQ.html#d45e17 link for a 'new' demo. This link is broken. My problem is with the demo.map file. Wen I click on the Initialize button, I get the message: msLoadMap(): Unknown identifier. Parsing error near (SHADESET):(line 7) If I comment out the SHADESET line, I have the same message on the MARKERSET, then on the LINESET. And so on... Can we help? Thanks in advance. Jean-Claude Moissinac From morissette at dmsolutions.ca Fri Nov 7 08:46:11 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 07 Nov 2003 11:46:11 -0500 Subject: [Mapserver-users] GetFeatureInfo on GROUP layers? In-Reply-To: <7351.212.238.227.182.1068218628.squirrel@webmail.xs4all.nl> References: <7351.212.238.227.182.1068218628.squirrel@webmail.xs4all.nl> Message-ID: <3FABCC53.10001@dmsolutions.ca> It's a bug, good catch: QUERY_LAYERS doesn't take groups into account the way LAYERS does. I have fixed this in the latest (4.1) CVS. I also created a bug 477 about this in bugzilla: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=477 Daniel bartvde at xs4all.nl wrote: > Hi list, > > I am trying to perform a GetFeatureInfo request on a group layer. But I > get back an error saying: > > msWMSFeatureInfo(): WMS server error. Required QUERY_LAYERS parameter > missing for getFeatureInfo. > > But this parameter is in my request, this is my request: > > http://myserver/cgi-bin/mapserv_40.exe?map=/ms4w/apps/zeegras01/map/zeegras_server.map&SERVICE=WMS&VERSION=1.1.0&LAYERS=1997&QUERY_LAYERS=1997&FORMAT=image/png&TRANSPARENT=TRUE&srs=EPSG:28992&width=800&height=800&bbox=49000,395000,52000,398000&request=GetFeatureInfo&x=500&y=300 > > A GetMap request does work. > > Does anybody have an idea what the problem could be? > > Thanks in advance, > > Bart From murilo.yoshida at agx.com.br Fri Nov 7 09:51:23 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Fri, 7 Nov 2003 15:51:23 -0200 Subject: RES: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #335 - 41 msgs In-Reply-To: <3FAB3A89.4030500@u.washington.edu> Message-ID: <001701c3a557$c22d43b0$1364a8c0@parapente> Emilio, I found the problem ... I found it on the bug 370 of the bugzilla in the mapserver page. It says that there was a problem with libpng and libpdf... Now it is working. Thaks for the help, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: sexta-feira, 7 de novembro de 2003 04:24 Para: mapserver-users at lists.gis.umn.edu Assunto: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #335 - 41 msgs Murilo, I'm not a Mapserver expert at all. I just started using it. Other people in this list can give you more intelligent advice. Did you say you're using RedHat 8? That's what I have. When I compiled GDAL, it was installed under /usr/local by default. In the mapserver configure options, I didn't specify a path for gdal, like you're doing; I just used "--with-gdal", and that worked, mapserver was able to find it. I don't know much about libtiff and libgeotiff, but I don't see why you'd need to use them in mapserver and GDAL if GDAL can use its own libraries. It's one thing to have libtiff and libgeotiff in your linux install to use with other tools, but with mapserver, GDAL seems to do the trick pretty nicely. I would try compiling GDAL like I did: --with-libtiff=internal --with-geotiff=internal I really can't help beyond that, I'm just a beginner. Good luck! -Emilio From: "Murilo Lacerda Yoshida" To: Subject: RES: [Mapserver-users] problem displaying raster layers; GDAL? Date: Thu, 6 Nov 2003 01:08:34 -0200 Ol? Emilio, Yes, I'm using libtiff and libgeotiff, but I guess that this isn't the problem here. Unless I cannot use gdal and libtiff and libgeotiff at the same time, but I think that's not the case. Here are my configure strings: For mapserver ./configure --without-tiff --without-eppl --without-jpeg --with-threads --with-proj --with-gdal=/usr/local/bin/gdal-config --with-php=../php-4.3.3 --with-gd=/usr/local --with-freetype=/usr/bin --with-pdf --with-ogr --with-ming --with-wmsclient --with-wfs --with-wfs-client For PHP ./configure --enable-force-cgi-redirect --with-config-file-path=/etc/httpd/ --with-gd=/usr/local --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --with-freetype-dir=/usr --without-ttf --with-pdflib --with-mysql --with-regex=system --with-ming --enable-dbase --enable-dbx --enable-versioning --with-oci8 --enable-shared --with-config-file-path=/usr/local/php433/ --prefix=/usr/local/php433 For gdal ./configure --with-libz --with-png --with-libtiff=/usr/local --with-geotiff=/usr/local --with-jpeg --without-jasper --without-python And I changed the mapserver configure string to --without-tiff after I read your message, but nothing changed ... Thanks, Murilo -----Mensagem original----- De: Emilio Mayorga [mailto:emiliom at u.washington.edu] Enviada em: quinta-feira, 6 de novembro de 2003 00:09 Para: mapserver-users at lists.gis.umn.edu Assunto: RES: [Mapserver-users] problem displaying raster layers; GDAL? Oi Murilo, What I did is exactly what I mentioned in my message, I added --without-tiff to the configure line. Here is my complete mapserver configuration line: ./configure --with-gd --with-proj --with-gdal --with-ogr --without-tiff --with-wmsclient --with-threads --enable-runpath --enable-debug I ran a make clean before doing that, to clean up the previous make file; I'm no expert installing programs on Linux, so it took me some effort to figure that out! Here's the GDAL configuration line (I'm using GDAL 1.1.9): ./configure --with-libz --with-png --with-libtiff=internal --with-geotiff=internal --with-jpeg --without-jasper From a previous message you posted, it looks like you're trying to use libtiff and libgeotiff, not GDAL. I think the --without-tiff mapserver option specifies NOT to use other tiff libraries (--with-gdal tells it to use GDAL, obviously), and the --with-libtiff=internal and --with-geotiff=internal in the GDAL configuration tell GDAL to use its own tiff/geotiff libraries. Could that be the problem? Boa sorte! -Emilio _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bronsema at dmsolutions.ca Fri Nov 7 10:23:22 2003 From: bronsema at dmsolutions.ca (William A. Bronsema, C.E.T.) Date: Fri, 07 Nov 2003 13:23:22 -0500 Subject: [Mapserver-users] flash output problem Message-ID: <3FABE31A.7050001@dmsolutions.ca> For the record... -------- Original Message -------- Subject: RE : flash output problems Date: Fri, 7 Nov 2003 18:17:14 +0100 From: BAUD remi To: Thank you! This time it's ok! great. The problem was that, when outputting swf, mapserver tryed to output the scalebar in swf too. So It ran, ran, ran and never stopped. I resolve with using a $gpoMap->selectoutputformat("PNG"); just before the $img = $gpoScaleBar->draw(); and this time, that work! Just a few question more... It's not possible to use the .... right? If I choose Outputformat = multiple, What should I use to display them together? Can I do that with php or should I use flash mx to create a projects and some actionscript code? Thank you again! Cheers! -------- Message d'origine-------- De: William A. Bronsema, C.E.T. [mailto:bronsema at dmsolutions.ca] Date: ven. 07.11.2003 12:34 ??: BAUD remi Cc: Objet: Re: RE : flash output problems BAUD remi wrote: > Hi, > > Thank you for your help, but it still don't work. :-( Hmmmm....very odd. It works fine for me. > > I took your .map file and I've set the IMAGETYPE PNG to IMAGETYPE SWF. > I think it was the right thing to do. It doesn't matter what this is set to if your script sets the output type at runtime (strongly recommended). > Results: The swf files are written but php still crashes... Can you be more specific? Error messages? > > What is your configuration? Did you use the files: ms4w_0.6 with gmap_ms4w ? > Because there is two gmap demo application (gmap_ms40 and gmap_ms35) gmap_ms40 must be used in order to use swf output. > > Did you make changes to php config? > > what is you platform win2k? > > Do I need the shockwave or flash or other plugin? None of that *should* matter. > > I will try to install ms4w on another pc, perhaps my windows is "corrupt".. > Thank you in advance, > > cheers Below is a simple script to output the swf images. When the script is done it outputs the swf images to the ms4w ms_tmp folder and echos out the filename. I ran this script with the exact mapfile I sent to you. Please run the script (edit accordingly) and let me know if you still have the same problem. selectoutputformat("swf"); // draw map $oImage = $oMap->draw(); // output map echo $oImage->saveWebImage(""); ?> Regards, Bill -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: bronsema at dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: bronsema at dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ From pshevlin at cityftmyers.com Fri Nov 7 10:33:20 2003 From: pshevlin at cityftmyers.com (Phil Shevlin) Date: Fri, 7 Nov 2003 13:33:20 -0500 Subject: [Mapserver-users] Performance Drain Message-ID: <002801c3a55d$9f13ea90$2a670761@pd.com> I'm just starting out with Mapserver (about 10 days ago). My app uses OGR to connect to MapInfo .tab files. The map file is below. I am using: Dell Server with Dual Celeron 600MHz's 1GB RAM Windows 2K server MapServer 3.6.6 PHP 4.3.3 MapLab 2.0.1 OGR --> MapInfo .tab's My problem is that when the application is run, the CPUs run at 55% for a second or two. If I increase the image size to 750 by 584 it peaks out at 100%. This occurs when only one person accesses the application. It will not be open to the public, but the performance is less then optimal. Does anyone have any suggestions on where I should look to improve performance? Phil Shevlin ########### map file ############################# MAP NAME "Incidents_" STATUS ON EXTENT -81.917574 26.569844 -81.755026 26.691756 SIZE 512 384 SHAPEPATH "data" SYMBOLSET "symbols/symbols35.sym" FONTSET "fonts/fonts.list" UNITS dd IMAGETYPE png WEB MAXSCALE 80000 IMAGEPATH "E:/Inetpub/wwwroot/tmp/" IMAGEURL "/tmp/" TEMPLATE "template_lo.html" ERROR "javascript:;" END QUERYMAP STATUS ON SIZE 512 384 COLOR 204 51 255 STYLE HILITE END LEGEND STATUS EMBED IMAGECOLOR 228 228 204 POSITION LR KEYSIZE 15 10 LABEL TYPE truetype FONT "arial" SIZE 8 COLOR 0 0 0 END END SCALEBAR STATUS ON COLOR 0 0 0 IMAGECOLOR 255 255 255 TRANSPARENT FALSE UNITS MILES INTERVALS 5 SIZE 500 2 STYLE 1 LABEL SIZE TINY COLOR 0 0 0 END END SYMBOL NAME "Circle" TYPE ELLIPSE FILLED TRUE POINTS 1 1 END END SYMBOL NAME "icon_burg" TYPE PIXMAP IMAGE "e:/Inetpub/wwwroot/MapServer/fonts/gifs/house.gif" END SYMBOL NAME "icon_gta" TYPE PIXMAP IMAGE "e:/Inetpub/wwwroot/MapServer/fonts/gifs/gta.gif" END SYMBOL NAME "icon_robb" TYPE PIXMAP IMAGE "e:/Inetpub/wwwroot/MapServer/fonts/gifs/robbery.gif" END # Start of LAYER DEFINITIONS --------------------------------------------- # Wards layer begins here ---------------------------------- LAYER NAME "Ward_1" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/area1.tab" # which .tab file TYPE POLYGON CLASS NAME "Ward1" COLOR 255 228 255 OUTLINECOLOR 255 128 255 END END LAYER NAME "Ward_2" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/area2.tab" # which .tab file TYPE POLYGON CLASS NAME "Ward2" COLOR 228 255 255 OUTLINECOLOR 128 255 255 END END LAYER NAME "Ward_3" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/area3.tab" # which .tab file TYPE POLYGON CLASS NAME "Ward3" COLOR 255 255 228 OUTLINECOLOR 255 255 128 END END LAYER NAME "Ward_4" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/area4.tab" # which .tab file TYPE POLYGON CLASS NAME "Ward4" COLOR 255 228 228 OUTLINECOLOR 255 128 128 END END LAYER NAME "Ward_5" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/area5.tab" # which .tab file TYPE POLYGON CLASS NAME "Ward5" COLOR 228 228 255 OUTLINECOLOR 128 128 255 END END # Wards layer ends here ---------------------------------- # Water layer begins here ---------------------------------- LAYER NAME "WaterBody" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/water.tab" # which .tab file TYPE POLYGON CLASS NAME "Water" COLOR 153 153 204 END END LAYER NAME "WaterLines" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/waterlines.tab" # which .tab file TYPE LINE CLASS NAME "Canals" COLOR 51 51 153 END END # Water layer ends here ---------------------------------- # Streets layer begins here ---------------------------------- LAYER NAME "streets" STATUS DEFAULT #DATA "streets_polyline" CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/data/streets.tab" # which .tab file TYPE LINE LABELITEM "NAME" LABELMAXSCALE 50000 CLASS NAME "Local Street" EXPRESSION ('[CFCC_Code]' = "A41") COLOR 32 32 32 LABEL TYPE truetype FONT "arial" SIZE 7 POSITION uc ANGLE auto BUFFER 10 MINDISTANCE 400 COLOR 128 128 128 END END CLASS NAME "Main Road" EXPRESSION (('[CFCC_Code]' = "A31") or ('[CFCC_Code]' = "A21") or('[CFCC_Code]' = "A35")) COLOR 32 32 32 SYMBOL "Circle" SIZE 2 LABEL TYPE truetype FONT "arial" SIZE 7 POSITION uc ANGLE auto BUFFER 10 MINDISTANCE 400 COLOR 0 0 0 END END CLASS NAME "Interstate" EXPRESSION ('[CFCC_Code]' = "A15") COLOR 255 0 0 SYMBOL "Circle" SIZE 3 LABEL TYPE truetype FONT "arial" SIZE 7 POSITION uc ANGLE auto BUFFER 10 MINDISTANCE 400 COLOR 64 64 64 END END END # streets layer ends here ---------------------------------- # Incidents layer begins here ---------------------------------- LAYER NAME "Incidents" STATUS DEFAULT CONNECTIONTYPE OGR # connect to .tab file CONNECTION "e:/maps/offense_maps/incidents.tab" # which .tab file TYPE POINT TOLERANCE 8 # click sensitivity CLASS NAME "Signal23" # Text shown on legend EXPRESSION ([NAT_CODE] = 23 and ([INC_DATE] >= %sDate% and [INC_DATE] <= %eDate%)) # query burg only SYMBOL "icon_burg" # symbol definition COLOR 0 0 0 # color needed to make it visible SIZE 16 TEMPLATE "template_lo.html" # set query template END CLASS NAME "Signal10" # Text shown on legend EXPRESSION ([NAT_CODE] = 10 and ([INC_DATE] >= %sDate% and [INC_DATE] <= %eDate%)) # query burg only SYMBOL "icon_gta" # symbol definition COLOR 0 0 0 SIZE 18 TEMPLATE "template_lo.html" # set query template END CLASS NAME "Signal27" # Text shown on legend EXPRESSION ([NAT_CODE] = 27 and ([INC_DATE] >= %sDate% and [INC_DATE] <= %eDate%)) # query burg only SYMBOL "icon_robb" # symbol definition COLOR 0 0 0 SIZE 16 TEMPLATE "template_lo.html" # set query template END END # Incidents layer ends here ---------------------------------- # End of LAYER DEFINITIONS ------------------------------- END From stephen.clark at focus.ca Fri Nov 7 11:48:22 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Fri, 7 Nov 2003 11:48:22 -0800 Subject: [Mapserver-users] jBox Announce References: <6.0.0.22.0.20031105145931.02753388@mail.GreenwoodMap.com> Message-ID: <017b01c3a568$29cc9100$6c000a0a@sclark> Rihard and others, I am trying to implement the "Cursor Coordinate Display" functionality. It is not working. This is what I gave so far: function mousemove_handler(name, x, y) { // geographic coordinate translation goes here document.mapserv.mapOverX.value = x; document.mapserv.mapOverY.value = y; // option to window status bar output window.status = "x: " + x + " y: " + y; } Nothing happens in the window status area I am using IE 6. Can you help? thanks, Stephen ----- Original Message ----- From: "Richard Greenwood" To: Sent: Wednesday, November 05, 2003 2:50 PM Subject: [Mapserver-users] jBox Announce > Hello Mappers, > > The Java client that was previously named "Mapplet" is now called "jBox" > and replaces Mapplet on the User Contributed Utilities page: > http://mapserver.gis.umn.edu/contributed.html > > Mapplet was a Java applet that allowed the user to drag a box across a map > for zooming or attribute data queries. Mapplet also provided a function for > real time cursor coordinate tracking, and for image swapping. Image > swapping allows the applet to update the map image without having to reload > the whole page. > > jBox includes the functionality of Mapplet and adds two more functions: 1. > Image dragging for use in conjunction with panning. 2. Line drawing to be > used in conjunction with distance scaling in a manner similar to the > distance or ruler tools in ArcView and MapInfo. Area calculations will be > added to the line drawing function in the near future. There is also a > version of jBox that works with PNG imgages. > > Documentation is in the HOWTO section of the documentation page: > http://mapserver.gis.umn.edu/doc.html > The drag /pan function is not documented yet. > > A working example of jBox is at: > http://www2.tetonwyo.org/mapserver/ > > jBox works reliably with Netscape 4.x on Windows and Linux, and IE 5+ (and > maybe earlier) on Windows. It is not entirely stable on Mozilla 1.x (which > really bums me out, and I'd love some help from any Java applet wizards out > there). jBox does not work with IE on the Mac (and probably never will). I > don't know about Netscape or Mozilla on the Mac. > > Best regards, > Rich > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich GreenwoodMap com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From Rich at GreenwoodMap.com Fri Nov 7 11:26:12 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Fri, 07 Nov 2003 12:26:12 -0700 Subject: [Mapserver-users] jBox Announce In-Reply-To: <017b01c3a568$29cc9100$6c000a0a@sclark> References: <6.0.0.22.0.20031105145931.02753388@mail.GreenwoodMap.com> <017b01c3a568$29cc9100$6c000a0a@sclark> Message-ID: <6.0.0.22.0.20031107122458.02660340@mail.GreenwoodMap.com> Do you have the "verbose" parameter set "true"? e.g. Rich At 12:48 PM 11/7/2003, you wrote: >Rihard and others, > > >I am trying to implement the "Cursor Coordinate Display" functionality. It >is not working. > >This is what I gave so far: > >function mousemove_handler(name, x, y) >{ > >// geographic coordinate translation goes here > document.mapserv.mapOverX.value = x; > document.mapserv.mapOverY.value = y; > > > // option to window status bar output > window.status = "x: " + x + " y: " + y; >} > > >Nothing happens in the window status area >I am using IE 6. > >Can you help? > >thanks, >Stephen > > > >----- Original Message ----- >From: "Richard Greenwood" >To: >Sent: Wednesday, November 05, 2003 2:50 PM >Subject: [Mapserver-users] jBox Announce > > > > Hello Mappers, > > > > The Java client that was previously named "Mapplet" is now called "jBox" > > and replaces Mapplet on the User Contributed Utilities page: > > http://mapserver.gis.umn.edu/contributed.html > > > > Mapplet was a Java applet that allowed the user to drag a box across a map > > for zooming or attribute data queries. Mapplet also provided a function >for > > real time cursor coordinate tracking, and for image swapping. Image > > swapping allows the applet to update the map image without having to >reload > > the whole page. > > > > jBox includes the functionality of Mapplet and adds two more functions: 1. > > Image dragging for use in conjunction with panning. 2. Line drawing to be > > used in conjunction with distance scaling in a manner similar to the > > distance or ruler tools in ArcView and MapInfo. Area calculations will be > > added to the line drawing function in the near future. There is also a > > version of jBox that works with PNG imgages. > > > > Documentation is in the HOWTO section of the documentation page: > > http://mapserver.gis.umn.edu/doc.html > > The drag /pan function is not documented yet. > > > > A working example of jBox is at: > > http://www2.tetonwyo.org/mapserver/ > > > > jBox works reliably with Netscape 4.x on Windows and Linux, and IE 5+ (and > > > maybe earlier) on Windows. It is not entirely stable on Mozilla 1.x (which > > really bums me out, and I'd love some help from any Java applet wizards >out > > there). jBox does not work with IE on the Mac (and probably never will). I > > don't know about Netscape or Mozilla on the Mac. > > > > Best regards, > > Rich > > > > > > Richard W. Greenwood, PLS > > Greenwood Mapping, Inc. > > Rich GreenwoodMap com > > (307) 733-0203 > > http://www.GreenwoodMap.com > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From stephen.clark at focus.ca Fri Nov 7 12:32:58 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Fri, 7 Nov 2003 12:32:58 -0800 Subject: [Mapserver-users] jBox Announce References: <6.0.0.22.0.20031105145931.02753388@mail.GreenwoodMap.com> <017b01c3a568$29cc9100$6c000a0a@sclark> <6.0.0.22.0.20031107122458.02660340@mail.GreenwoodMap.com> Message-ID: <01b601c3a56e$55386250$6c000a0a@sclark> I do now! Also, How do you get the scale value from mapserver sent back to the user for further processing? thx stephen ----- Original Message ----- From: "Richard Greenwood" To: "Stephen Clark" Cc: Sent: Friday, November 07, 2003 11:26 AM Subject: Re: [Mapserver-users] jBox Announce > Do you have the "verbose" parameter set "true"? e.g. > > > Rich > > At 12:48 PM 11/7/2003, you wrote: > >Rihard and others, > > > > > >I am trying to implement the "Cursor Coordinate Display" functionality. It > >is not working. > > > >This is what I gave so far: > > > >function mousemove_handler(name, x, y) > >{ > > > >// geographic coordinate translation goes here > > document.mapserv.mapOverX.value = x; > > document.mapserv.mapOverY.value = y; > > > > > > // option to window status bar output > > window.status = "x: " + x + " y: " + y; > >} > > > > > >Nothing happens in the window status area > >I am using IE 6. > > > >Can you help? > > > >thanks, > >Stephen > > > > > > > >----- Original Message ----- > >From: "Richard Greenwood" > >To: > >Sent: Wednesday, November 05, 2003 2:50 PM > >Subject: [Mapserver-users] jBox Announce > > > > > > > Hello Mappers, > > > > > > The Java client that was previously named "Mapplet" is now called "jBox" > > > and replaces Mapplet on the User Contributed Utilities page: > > > http://mapserver.gis.umn.edu/contributed.html > > > > > > Mapplet was a Java applet that allowed the user to drag a box across a map > > > for zooming or attribute data queries. Mapplet also provided a function > >for > > > real time cursor coordinate tracking, and for image swapping. Image > > > swapping allows the applet to update the map image without having to > >reload > > > the whole page. > > > > > > jBox includes the functionality of Mapplet and adds two more functions: 1. > > > Image dragging for use in conjunction with panning. 2. Line drawing to be > > > used in conjunction with distance scaling in a manner similar to the > > > distance or ruler tools in ArcView and MapInfo. Area calculations will be > > > added to the line drawing function in the near future. There is also a > > > version of jBox that works with PNG imgages. > > > > > > Documentation is in the HOWTO section of the documentation page: > > > http://mapserver.gis.umn.edu/doc.html > > > The drag /pan function is not documented yet. > > > > > > A working example of jBox is at: > > > http://www2.tetonwyo.org/mapserver/ > > > > > > jBox works reliably with Netscape 4.x on Windows and Linux, and IE 5+ (and > > > > > maybe earlier) on Windows. It is not entirely stable on Mozilla 1.x (which > > > really bums me out, and I'd love some help from any Java applet wizards > >out > > > there). jBox does not work with IE on the Mac (and probably never will). I > > > don't know about Netscape or Mozilla on the Mac. > > > > > > Best regards, > > > Rich > > > > > > > > > Richard W. Greenwood, PLS > > > Greenwood Mapping, Inc. > > > Rich GreenwoodMap com > > > (307) 733-0203 > > > http://www.GreenwoodMap.com > > > > > > _______________________________________________ > > > Mapserver-users mailing list > > > Mapserver-users at lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich GreenwoodMap com > (307) 733-0203 > http://www.GreenwoodMap.com > > From Josef.Stromsky.hgf at vsb.cz Sat Nov 8 02:56:04 2003 From: Josef.Stromsky.hgf at vsb.cz (=?iso-8859-2?Q?Josef_Stromsk=FD?=) Date: Sat, 8 Nov 2003 11:56:04 +0100 Subject: [Mapserver-users] How to display COLORED TIFF ??? Message-ID: <00a701c3a5e6$e8eb1f10$548dc49e@joseph> Hi folks, Im trying to display my TIFF colored images in 24 or 8 bit color depth. But MapServer is displaying my rasters in grayscale everytime. Does anybody knows, how to fix it? Thanx in advance. Josef Stromsky From pucher at atlas.gis.univie.ac.at Sat Nov 8 07:34:27 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Sat, 08 Nov 2003 16:34:27 +0100 Subject: [Mapserver-users] GMAP does not work with TIFF - solved In-Reply-To: <3FABA9A9.60605@atlas.gis.univie.ac.at> References: <3FAB9899.1010103@atlas.gis.univie.ac.at> <3FABA82E.7050906@pobox.com> <3FABA9A9.60605@atlas.gis.univie.ac.at> Message-ID: <3FAD0D03.50002@atlas.gis.univie.ac.at> Hi, this is just to tell you that I solved my problem with the TIFF display (or "not-display"). I was using libtiff 3.5.7, after I installed libtiff 3.6, everything was fine. Is it mentioned in some documentation, that version 3.6 must be used with MS4.0.1? Why is shp2img working correct with the older libtiff, but any PHP/MapScript app is not? Regards, alex. Alexander Pucher wrote: > Hi Frank, > > to give some more information. I'm using the standard GMAP-MS40 > application. > To be more correct then my first mail, execution of gmap75.phtml stops > before this line (not the RosaApplet entry, which comes after this line): > > TYPE=HIDDEN NAME=miny VALUE="-712631.000000"> > NAME=maxy VALUE="3840000.000000"> > NAME=imageheight VALUE="300"> > HEIGHT=300 NAME=mainmap> > > > This is what I get when I turn the TIFF layer OFF. > > Thanks, > alex. > > Frank Warmerdam wrote: > >> Alexander Pucher wrote: >> >>> HI, >>> >>> following my previous mail about logging, the actual problem I have >>> right now is a different one (I was hoping to get it solved by >>> reading the logging information...) >>> >>> I installed MS 4.0.1 today with most of the available functionality >>> (PostGIS, SDE, ming, PDF, GDAL/OGR etc.) To test the installation, I >>> installed GMAP-MS40. Everything works, except the displaying of the >>> TIFF layer. >>> >>> gmap75.phtml is rendered, but stops right at the point where the >>> RosaApplet is included. No error is shown! >>> If I however turn off the 'Elevation/Bathymetry' layer, everything >>> works just fine. >>> >>> Testing the mapfile with shp2img gives me a correct image and this >>> debug info: >>> >>> [Fri Nov 7 13:48:44 2003].930293 msDrawRasterLayerLow(bathymetry): >>> entering. >>> [Fri Nov 7 13:48:44 2003].936846 msDrawGDAL(): red,green,blue,alpha >>> bands = 1,0,0,0 >> >> >> >> Alex, >> >> If the map file works with shp2img but not in a web environment then >> issues >> to watch are permissions, and path handling. Try using a complete >> path for >> the file. Is the file in the same directory as the other data? >> >> Good luck, > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From muratisik at megatek.com.tr Sat Nov 8 13:52:58 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Sat, 8 Nov 2003 23:52:58 +0200 Subject: [Mapserver-users] please help about street labeling Message-ID: <003a01c3a642$bec304d0$0556fdd4@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0037_01C3A653.7024EB70 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am a newbei to mapscript and I am working on a php/mapscript project = in which users can zoom-pan and move around the map. So far I have done = these, with the help of some nice gentlemen from this list. However I = have no idea about the next thing I am trying to implement. I have a = layer about streets and it has two columns in its dbf file, one ID and = one ADI (name) column. My php script reads two layers from a mapfile, = one being this street layer. I am trying to understand how I can get the = street names written next to the streets, even if they are zoomed. I = have searched the archieves about this issue. I have understood a little = and got confused a lot. I have a few questions if it is ok for you: -at one archieve = (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0006/msg00076.h= tml) I got the feeling that I can do it without playing around with = php/mapscript and just do it by carefully writing mapfile. I always = wondered how the allignment of the names in relation to the streets on = the map will be adjusted, I guess "ANGLE auto" sets that. And "LABELITEM = street" corresponds to my ADI ? -another way I understood is to query the street layer, creating a = dynamic layer and using addFeature(). Actually Mr.Daniel Morissette = hinted me this but I am too new about mapscript to understand what this = is about :( Is there any example scripts around if this labelling is to = be done only by php/mapscript? For a newbei like myself, it is always = good to get any issue by examples then pure theory... Please give me some ideas:) (or some examples...) Have a nice day Murat Isik ------=_NextPart_000_0037_01C3A653.7024EB70 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I am a newbei to mapscript and I am = working on a=20 php/mapscript project in which users can zoom-pan and move around the = map. So=20 far I have done these, with the help of some nice gentlemen from this = list.=20 However I have no idea about the next thing I am trying to implement. I = have a=20 layer about streets and it has two columns in its dbf file, one ID = and one=20 ADI (name) column. My php script reads two layers from a mapfile, one = being this=20 street layer. I am trying to understand how I can get the street names = written=20 next to the streets, even if they are zoomed. I have searched = the=20 archieves about this issue. I have understood a little and got confused = a lot. I=20 have a few questions if it is ok for you:
 
-at one archieve (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0006/ms= g00076.html) I got the feeling that I can do it without playing around = with=20 php/mapscript and just do it by carefully writing mapfile. I always = wondered how=20 the allignment of the names in relation to the streets on the map will = be=20 adjusted, I guess "ANGLE auto" sets that. And "LABELITEM street"=20 corresponds to my ADI ?
 
-another way I understood is to query the street layer, creating a = dynamic=20 layer and using addFeature(). Actually Mr.Daniel Morissette hinted me = this but I=20 am too new about mapscript to understand what this is about :(  Is = there=20 any example scripts around if this labelling is to be done only by=20 php/mapscript? For a newbei like myself, it is always good to=20 get any issue by examples then pure = theory...
 
Please give me some ideas:) (or some=20 examples...)
 
Have a nice day
 
Murat Isik
------=_NextPart_000_0037_01C3A653.7024EB70-- From coronadh at coronasolutions.com Sat Nov 8 17:42:01 2003 From: coronadh at coronasolutions.com (Dan Harris) Date: Sat, 08 Nov 2003 18:42:01 -0700 Subject: [Mapserver-users] raster layer problems with 3.6.5 Message-ID: <3FAD9B69.3010501@coronasolutions.com> I have no idea what I'm doing wrong here or if this is a bug. But, I'm trying to display a raster on my map and I've tried it as 8-bit png, jpeg, and tiff and it won't render properly. It is the only layer in the map, so I don't think it's exhausting the color palette. I've tried reducing to 16 colors and it makes the output image black instead of gray (is this a clue?). So I can tell that mapserver is rendering the entire output as the "median" color of the raster image, but none of the details in the photo actually show up. I would upgrade to 4.0, but it seems to not mesh with my older GD libraries in Debian/stable. Please help! Here's the relevant layer in my map file: LAYER NAME "ORTHO" DATA "ortho_gray.tiff" TYPE RASTER STATUS ON END ..contents of the .wld file: 16.000000 0.000000 0.000000 -16.000000 -79.91460 32.82132 .. a link to the raster file: http://drivefaster.net/images/ortho_gray.tiff .. a link to what mapserver generates: http://drivefaster.net/images/output.png .. my mapserv -v output: ./mapserv -v MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE and ldd output for mapserv ( in case it's a library problem? ) -- /mapserver-3.6.5# ldd mapserv libgd.so.2 => /usr/lib/libgd.so.2 (0x40018000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4004e000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4006e000) libpng.so.2 => /usr/lib/libpng.so.2 (0x400ad000) libz.so.1 => /usr/lib/libz.so.1 (0x400d8000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0x400e7000) libm.so.6 => /lib/libm.so.6 (0x40129000) libc.so.6 => /lib/libc.so.6 (0x4014a000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40267000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40275000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Dan Harris Corona Solutions 720-685-9550 720-870-4068 (direct) http://www.coronasolutions.com From omry at telmap.com Sun Nov 9 00:55:31 2003 From: omry at telmap.com (Omry Yadan) Date: Sun, 9 Nov 2003 10:55:31 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7B2@plague.telmap.com> This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From omry at telmap.com Sun Nov 9 00:54:45 2003 From: omry at telmap.com (Omry Yadan) Date: Sun, 9 Nov 2003 10:54:45 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7B1@plague.telmap.com> If that was the case, wouldn't I see the white line when I zoom into the connection of two tiles? -----Original Message----- From: kenboss [mailto:kenboss at dilbert.dnr.state.mn.us] Sent: Wednesday, November 05, 2003 4:36 PM To: mapserver-users at lists.gis.umn.edu; omry at telmap.com Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem > From: Omry Yadan > Subject: [Mapserver-users] MapServer raster 'cracking' problem > Date: Wed, 5 Nov 2003 13:06:58 +0200 > > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. Could it be that you've got some small sliver of "offsite" pixels at the edges of your tiles? If so, you can address this problem through an OFFSITE parameter in your raster layer definition. For example, if your offsite data value is 255 (which would render as white), you might declare a layer like: LAYER NAME "imagery" STATUS default TILEINDEX "/path/to/tileindex/shapefile.shp" TILEITEM "LOCATION" TYPE raster OFFSITE 255 255 255 END This will cause mapserver to ignore any pixels with value 255 as it renders your output image. Note that you need to declare OFFSITE as an RGB value regardless of whether your imagery is single- or multi-band. HTH, Ken Boss MN DNR Forestry Resource Assessment From ed at topozone.com Sun Nov 9 05:09:10 2003 From: ed at topozone.com (Ed McNierney) Date: Sun, 9 Nov 2003 08:09:10 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <13858AA1A74F30419F319ACB66A9D1222EA3DC@mercator.topozone.com> Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From omry at telmap.com Sun Nov 9 06:21:31 2003 From: omry at telmap.com (Omry Yadan) Date: Sun, 9 Nov 2003 16:21:31 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7E0@plague.telmap.com> I reproduced the problem with only two tiles. It was east to verify using gdalinfo that the two tiles are adjacent along the problematic border. Indeed it sounds like a problem with rounding. to reduce the amount of code to check, I can tell you that its probably not related to the driver of the specific format, because I reproduced it both with ECW and with GeoTiff (and the problem looks exactly the same, given the same data and map bounds). For me, it's not urgent yet, but I would be happy to know this problem is history, because I currently have a solution which relies on MapServer. Omry. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bartvde at xs4all.nl Sun Nov 9 06:45:10 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Sun, 09 Nov 2003 15:45:10 +0100 Subject: [Mapserver-users] list of companies using Mapserver Message-ID: Hi list, does anybody know of a list of companies that are using Mapserver in projects? I for one would be very interested to see such a list, and to see how it changes in time. For customers it could be a way to find a company in their home country which can help them implement Mapserver in their organization. Any thoughts on this? Best regards, Bart From palanisamyg at ornl.gov Sun Nov 9 06:53:47 2003 From: palanisamyg at ornl.gov (Palanisamy, Giri) Date: Sun, 09 Nov 2003 09:53:47 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <0290E9A99BE89B4CB17908E29890A706306798@EXCHANGE.ornl.gov> Hi, I had the same problem, then I created an OFFSITE layer for black lines and it worked, but this seems to slow down the mapserver to load images, especially when I pan the tiled images. Giri -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Omry Yadan Sent: Sunday, November 09, 2003 9:22 AM To: Ed McNierney; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem I reproduced the problem with only two tiles. It was east to verify using gdalinfo that the two tiles are adjacent along the problematic border. Indeed it sounds like a problem with rounding. to reduce the amount of code to check, I can tell you that its probably not related to the driver of the specific format, because I reproduced it both with ECW and with GeoTiff (and the problem looks exactly the same, given the same data and map bounds). For me, it's not urgent yet, but I would be happy to know this problem is history, because I currently have a solution which relies on MapServer. Omry. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ed at topozone.com Sun Nov 9 06:59:49 2003 From: ed at topozone.com (Ed McNierney) Date: Sun, 9 Nov 2003 09:59:49 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <13858AA1A74F30419F319ACB66A9D1222EA3DE@mercator.topozone.com> Omry - Take the output image you're requesting, do the math, and figure out where the source pixels are coming from. Examine the coordinates of the real output pixel being generated along the "crack" and see where the source data is coming from. Please also look at how MapServer selects the source data to use for a given output pixel, recognizing that MapServer is optimized for quick image output rather than optimum image quality, and does not combine source pixels to produce an output pixel (in a tiled raster layer that is). - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 9:22 AM To: Ed McNierney; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem I reproduced the problem with only two tiles. It was east to verify using gdalinfo that the two tiles are adjacent along the problematic border. Indeed it sounds like a problem with rounding. to reduce the amount of code to check, I can tell you that its probably not related to the driver of the specific format, because I reproduced it both with ECW and with GeoTiff (and the problem looks exactly the same, given the same data and map bounds). For me, it's not urgent yet, but I would be happy to know this problem is history, because I currently have a solution which relies on MapServer. Omry. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ed at topozone.com Sun Nov 9 07:01:33 2003 From: ed at topozone.com (Ed McNierney) Date: Sun, 9 Nov 2003 10:01:33 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <13858AA1A74F30419F319ACB66A9D1222EA3DF@mercator.topozone.com> Adding OFFSITE does not slow down MapServer rendering; Frank Warmerdam and I had a little conversation about this a while back, and I did some further testing. Pixels with the OFFSITE value were handled marginally *faster* than other pixels - very marginally faster, but certainly not slower. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Palanisamy, Giri [mailto:palanisamyg at ornl.gov] Sent: Sunday, November 09, 2003 9:54 AM To: Omry Yadan; Ed McNierney; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Hi, I had the same problem, then I created an OFFSITE layer for black lines and it worked, but this seems to slow down the mapserver to load images, especially when I pan the tiled images. Giri -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Omry Yadan Sent: Sunday, November 09, 2003 9:22 AM To: Ed McNierney; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem I reproduced the problem with only two tiles. It was east to verify using gdalinfo that the two tiles are adjacent along the problematic border. Indeed it sounds like a problem with rounding. to reduce the amount of code to check, I can tell you that its probably not related to the driver of the specific format, because I reproduced it both with ECW and with GeoTiff (and the problem looks exactly the same, given the same data and map bounds). For me, it's not urgent yet, but I would be happy to know this problem is history, because I currently have a solution which relies on MapServer. Omry. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Rich at GreenwoodMap.com Sun Nov 9 07:23:20 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Sun, 09 Nov 2003 08:23:20 -0700 Subject: [Mapserver-users] MapServer raster 'cracking' problem In-Reply-To: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7E0@plague.telmap.com> References: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7E0@plague.telmap.com> Message-ID: <6.0.0.22.0.20031109081949.024ffdb8@mail.GreenwoodMap.com> --=======1B881592======= Content-Type: text/plain; x-avg-checked=avg-ok-25B3160F; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit I have run into this occasionally in mapserver and frequently in MapInfo. I put a fair amount of overlap into adjacent tiles; 10 to 100 pixels. Rich At 07:21 AM 11/9/2003, you wrote: >I reproduced the problem with only two tiles. >It was east to verify using gdalinfo that the two tiles are adjacent along >the problematic border. >Indeed it sounds like a problem with rounding. >to reduce the amount of code to check, I can tell you that its probably not >related to the driver of the specific format, because I reproduced it both >with ECW and with GeoTiff (and the problem looks exactly the same, given the >same data and map bounds). >For me, it's not urgent yet, but I would be happy to know this problem is >history, because I currently have a solution which relies on MapServer. > > Omry. > > >-----Original Message----- >From: Ed McNierney [mailto:ed at topozone.com] >Sent: Sunday, November 09, 2003 3:09 PM >To: Omry Yadan; Alan Steremberg >Cc: mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem > >Omry - > >I don't have time to look into this for a few more days, but I suspect >you are seeing an artifact of your data and rounding effects. First, >make sure your data are as truly continuous as possible. I think what >you're seeing is a request for a pixel that falls "between" your data >sets, or at least appears to fall between them for certain view scales. > > - Ed > > >Ed McNierney >President and Chief Mapmaker >TopoZone.com >ed at topozone.com > > >-----Original Message----- >From: Omry Yadan [mailto:omry at telmap.com] >Sent: Sunday, November 09, 2003 3:56 AM >To: Alan Steremberg >Cc: mapserver-users at lists.gis.umn.edu >Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem > > >This seems to be a real problem with MapServer. >Is anyone taking a look at it? > >-----Original Message----- >From: Alan Steremberg [mailto:alans at wunderground.com] >Sent: Wednesday, November 05, 2003 7:36 PM >To: Omry Yadan >Cc: mapserver-users at lists.gis.umn.edu >Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem > > >I see the same problem using JPG or PNM files with GDAL. > >Alan > >---------------------------- > Alan Steremberg > 415-543-5021 x 103 > http://www.wunderground.com > >On Wed, 5 Nov 2003, Omry Yadan wrote: > > > I have a problem with raster image generated by map server where the >data > > source is tiled. > > The problem is that in some zoom levels (zoomed out), I get a white >line > > between two tiles sometimes. > > I ran a test with two tiles only, and I could reproduce the problem. > > the tiles boundaries are exactly one next to the other - to strengthen >the > > point : > > when I zoom into the merge line, I don't see a gap between the two >tiles. > > Initially, my data was in ECW format - to rule out ECW related issue, >I > > converted the data to GeoTiff, and I got the exact same problem (which > > appeared at the exact same requests. > > > > Any help would be appreciated. > > > > Omry. > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com --=======1B881592=======-- From warmerdam at pobox.com Sun Nov 9 09:29:17 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Sun, 09 Nov 2003 12:29:17 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem In-Reply-To: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7B2@plague.telmap.com> References: <143CFA2E3C9B5D459E78DA18E3F15F89DAD7B2@plague.telmap.com> Message-ID: <3FAE796D.2050404@pobox.com> Omry Yadan wrote: > This seems to be a real problem with MapServer. > Is anyone taking a look at it? > Omry, OK, my efforts to duck this problem don't seem to have made it go away, so I guess I should try and fix it. If you can submit a detailed bug report with your map file, a detailed description of your data (ie. a gdalinfo report), and shp2img settings to reproduce the problem I will dig into it and see what I can do. Under some circumstances cracks may be hard to avoid but I will see what I can do. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From Rich at GreenwoodMap.com Sun Nov 9 10:03:44 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Sun, 09 Nov 2003 11:03:44 -0700 Subject: [Mapserver-users] Re: Image swapping In-Reply-To: <0290E9A99BE89B4CB17908E29890A7062C6B46@EXCHANGE.ornl.gov> References: <0290E9A99BE89B4CB17908E29890A7062C6B46@EXCHANGE.ornl.gov> Message-ID: <6.0.0.22.0.20031109104346.02737400@mail.GreenwoodMap.com> At 10:18 AM 11/9/2003, Giri Palanisamy wrote: >I am trying to implement image swapping (reloading the map without >refreshing the entire page), DO you have an example javascript code that >does this? Can you please send the code to me?, Giri, I am copying the mapserver list with this email as there may be members of the list who can provide a good example. I do not use image swapping, so I do not have an example. I am pretty sure Steve Lime is using it in Landview: http://www.dnr.state.mn.us/maps/landview.html >I referred your JBox how to do, it says I need to add >var url; > url = "http://www.somedomain.com/cgi-bin/mapserv"+ > "?mode=map" + > "&map=" + mapfile + > "&mapext=" + extent.join("+") + > "&mapsize=" + width + "+" + height + > "&layers=" + layerlist; > document.jBox.setimage(url); > >Do I need to do this in a separate javascript function or add it to one >of my existing function? Add it to your existing function, but use that instead of "document.mapserv.submit();" In other words, you do NOT want to submit the whole page, you want to call the setimage(url) function instead. You may need to eval the function, something like: eval(" document.jBox.setimage(" + url + ")" ); Rich >Here is my javascript: > > > > >Thanks for the help. > >Giri Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From humberto at pastoraldacrianca.org.br Sun Nov 9 11:16:05 2003 From: humberto at pastoraldacrianca.org.br (humberto at pastoraldacrianca.org.br) Date: Sun, 9 Nov 2003 17:16:05 -0200 Subject: [Mapserver-users] Demo In-Reply-To: <3FABCC82.50704@enst.fr> References: <3FABCC82.50704@enst.fr> Message-ID: <1068405365.3fae9275e99a8@www.rebidia.org.br> Citando Jean-Claude Moissinac : > I'm installing MapServer 4.0 for the first time. > I'm unable to run the demo I have downloaded on the site. > I search in the FAQ and get the > http://mapserver.gis.umn.edu/doc/mapserver-FAQ.html#d45e17 > link for a 'new' demo. This link is broken. > > My problem is with the demo.map file. > Wen I click on the Initialize button, I get the message: > msLoadMap(): Unknown identifier. Parsing error near (SHADESET):(line 7) > If I comment out the SHADESET line, I have the same message on the > MARKERSET, then on the LINESET. > And so on... > > Can we help? > > Thanks in advance. > > Jean-Claude Moissinac > Try download the Demo from http://cvs.gis.umn.edu/dist/itasca3.5.tar.gz The demo itasca3.3.tar.gz is deprecated for MapServer 4.0 Humberto Cereser Ibanez Pastoral da Crian?a ------------------------------------------------- E-Mail enviado pelo Webmail Pastoral da Crian?a usando IMP: http://horde.org/imp/ From fx.gamoy at mapxplore.com Sun Nov 9 17:39:52 2003 From: fx.gamoy at mapxplore.com (fx gamoy) Date: Mon, 10 Nov 2003 01:39:52 -0000 Subject: [Mapserver-users] problem with tileindex and querybyPoint Message-ID: <000c01c3a72b$895b4c00$0201a8c0@mapxplore.com> C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0009_01C3A72B.890A45D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello everybody I use php/mapscript with mapserver 3.6.3 i am tryng to query a tileindex street layer LAYER NAME "streets" TYPE LINE STATUS on MINSCALE 0 MAXSCALE 12000 TEMPLATE "consultable" TILEINDEX "d:/mapserver_data/data/street.shp" TILEITEM "Location" CLASS TEMPLATE "consultable" symbol "circle" COLOR 255 255 255 size 2 END END # LAYER i use the querybyPoint method. Everything seems to be ok i can read $oShape->numvalues (75 fields in my dbf file) But $oShape->values['name"] return nothing Any suggestion? Thanks fx $oLayer =3D $oMapSession->oMap->getLayerByName( "streets" ); $xgeo=3DGMapPix2Geo($pixmin,0,$oMapSession->oMap->width,$oMapSession->oMa= p->extent->minx,$oMapSession->oMap->extent->maxx,0); $ygeo=3DGMapPix2Geo($piymin,0,$oMapSession->oMap->height,$oMapSession->oM= ap->extent->miny,$oMapSession->oMap->extent->maxy,1); $oPoint =3D ms_newpointObj(); $oPoint->setXY($xgeo,$ygeo); if (@$oLayer->queryByPoint($oPoint,MS_MULTIPLE,0) =3D=3D MS_SUCCESS) { $oLayer->open($oMapSession->oMap->shapepath); $nbrep=3D$oLayer->getNumResults(); $_SESSION["message"]=3D$nbrep; for ($i=3D0;$i<$nbrep;$i++) { $oResults=3D$oLayer->getResult($i); = $oShape=3D$oLayer->getShape($oResults->tileindex,$oResults->shapeindex); $_SESSION["message"]=3D$oShape->values["Name"]; } $oLayer->close();=20 } $oPoint->free(); ------=_NextPart_000_0009_01C3A72B.890A45D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello everybody
I use php/mapscript with mapserver=20 3.6.3
i am tryng to query a tileindex street=20 layer
LAYER
  NAME = "streets"
  TYPE=20 LINE
  STATUS on
  MINSCALE 0
  MAXSCALE = 12000
 =20 TEMPLATE "consultable"
  TILEINDEX=20 "d:/mapserver_data/data/street.shp"
  TILEITEM = "Location"
 =20 CLASS
   TEMPLATE "consultable"
    = symbol=20 "circle"
    COLOR 255 255 255
    = size=20 2
  END
END  # LAYER
 
i use the querybyPoint = method.
Everything seems to be ok
i can read $oShape->numvalues  = (75 fields=20 in my dbf file)
But $oShape->values['name"] return=20 nothing
Any suggestion?
Thanks
fx
 
$oLayer =3D = $oMapSession->oMap->getLayerByName(=20 "streets"=20 );
$xgeo=3DGMapPix2Geo($pixmin,0,$oMapSession->oMap->width,$oMap= Session->oMap->extent->minx,$oMapSession->oMap->extent->= ;maxx,0);
$ygeo=3DGMapPix2Geo($piymin,0,$oMapSession->oMap->heig= ht,$oMapSession->oMap->extent->miny,$oMapSession->oMap->ex= tent->maxy,1);
$oPoint=20 =3D ms_newpointObj();
$oPoint->setXY($xgeo,$ygeo);
 if=20 (@$oLayer->queryByPoint($oPoint,MS_MULTIPLE,0) =3D=3D=20 MS_SUCCESS)
 {
$oLayer->open($oMapSession->oMap->shap= epath);
$nbrep=3D$oLayer->getNumResults();
$_SESSION["message"]=3D= $nbrep;
for=20 ($i=3D0;$i<$nbrep;$i++)
  {
   $oResult= s=3D$oLayer->getResult($i);
   $oShape=3D$oLayer->= ;getShape($oResults->tileindex,$oResults->shapeindex);
 &nb= sp; $_SESSION["message"]=3D$oShape->values["Name"];
 &nbs= p;}
$oLayer->close();=20
 }
$oPoint->free();
------=_NextPart_000_0009_01C3A72B.890A45D0-- From morissette at dmsolutions.ca Sun Nov 9 19:48:06 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Sun, 09 Nov 2003 22:48:06 -0500 Subject: [Mapserver-users] problem with tileindex and querybyPoint In-Reply-To: <000c01c3a72b$895b4c00$0201a8c0@mapxplore.com> References: <000c01c3a72b$895b4c00$0201a8c0@mapxplore.com> Message-ID: <3FAF0A76.7090208@dmsolutions.ca> fx gamoy wrote: > > i use the querybyPoint method. > Everything seems to be ok > i can read $oShape->numvalues (75 fields in my dbf file) > But $oShape->values['name"] return nothing > Any suggestion? I think the array key is case sensitive in PHP. Perhaps try looking at the output of print_r($oShape->values) to check if the 'name' is there. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Sun Nov 9 20:36:00 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Sun, 09 Nov 2003 23:36:00 -0500 Subject: [Mapserver-users] list of companies using Mapserver In-Reply-To: References: Message-ID: <3FAF15B0.6090900@dmsolutions.ca> Bart van den Eijnden wrote: > > does anybody know of a list of companies that are using Mapserver in > projects? I for one would be very interested to see such a list, and to > see how it changes in time. > > For customers it could be a way to find a company in their home country > which can help them implement Mapserver in their organization. > > Any thoughts on this? There were talks about doing something like this after the MUM in June, lots of cool ideas came up but I don't know if anything has happened yet. Look in the June list archives for the thread titled "map of mapserver users and providers". Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From richard.roger at agric.nsw.gov.au Sun Nov 9 22:28:52 2003 From: richard.roger at agric.nsw.gov.au (richard.roger at agric.nsw.gov.au) Date: Mon, 10 Nov 2003 17:28:52 +1100 Subject: [Mapserver-users] GDAL/libgeotiff configure problem on Solaris 2.8/gcc 3.3 Message-ID: This is a multipart message in MIME format. --=_alternative 00239949CA256DDA_= Content-Type: text/plain; charset="us-ascii" I have built mapserver-4.0.1 successfully (but with some trouble) on Solaris 2.8 using gcc 3.3. I had already successfully built and installed libgd-2.0.15, libjpeg, libpng-1.2.5, libtiff-3.6.0, libgeotiff-1.2.1, libgdal-1.1.9, libcurl-7.10.8 but I got a "configure" error related to using gdal / ogr, caused by a dependence on libgeotiff. [I have not managed to include xercesc support in GDAL, but use GDAL for its OGR library. When I installed the built GDAL libraries, they went into the install directory as "gdal.a", "ogr.a", "ogrsf_frmts.a", and "libgdal.1.1.so". Under Solaris, should the first three all be prefixed with "lib", please? ] On running ./configure in my Mapserver directory (with appropriate options), I got this error. configure:4664: checking whether we should include OGR support... configure:4724: checking for OGRRegisterAll in -lgdal.1.1 configure:4743: gcc -o conftest -g -O2 conftest.c -lgdal.1.1 -lm -lstdc++ -L/riu/links/local/lib -lgdal.1.1 1>&5 Undefined first referenced symbol in file __eprintf /riu/links/local/lib/libgeotiff.so ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 4732 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char OGRRegisterAll(); int main() { OGRRegisterAll() ; return 0; } I isolated the "conftest.c" program #line 4732 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char OGRRegisterAll(); int main() { OGRRegisterAll() ; return 0; } and built it with the "gcc" command above. It failed, of course. The build failed, too, with the simpler command : gcc -o conftest conftest.c -lgdal.1.1 but it succeeded with gcc -o conftest conftest.c -lgdal.1.1 -lgeotiff The "-lgdal.1.1" is essentially the library switch that is reported by the installed "gdal-config". I'm not sure whether this error is because "configure" is not correctly set up, or whether this is to do with the dependence of "gdal" on libtiff/libgeotiff, or a mistake on my part. I have worked around this problem by changing line 4721 of "configure" from LIBS="$LIBS `$GDAL_CONFIG --libs`" to LIBS="$LIBS `$GDAL_CONFIG --libs` -lgeotiff" "configure" now runs to completion, and builds a "Makefile" which works. I hope this information might be of use to others. Any ideas for a permanent fix to "configure" would be welcomed, I'm sure. Regards Richard E. Roger Dr. R. E. Roger NSW Agriculture Spatial Information Officer Systems 161 Kite St Resource Information Unit Locked Bag 21 ORANGE NSW 2800 Australia ph: +61 2 6391 3697 fax: +61 2 6391 3740 This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. --=_alternative 00239949CA256DDA_= Content-Type: text/html; charset="us-ascii"
I have built mapserver-4.0.1 successfully (but with some trouble) on Solaris 2.8 using gcc 3.3.

I had already successfully built and installed libgd-2.0.15, libjpeg, libpng-1.2.5, libtiff-3.6.0, libgeotiff-1.2.1, libgdal-1.1.9, libcurl-7.10.8 but I got a "configure" error related to using gdal / ogr, caused by a dependence on libgeotiff.

[I have not managed to include xercesc support in GDAL, but use GDAL for its OGR library.  When I installed the built GDAL libraries, they went into the install directory as "gdal.a", "ogr.a", "ogrsf_frmts.a", and "libgdal.1.1.so".  Under Solaris, should the first three all be prefixed with "lib", please? ]

On running ./configure in my Mapserver directory (with appropriate options), I got this error.

configure:4664: checking whether we should include OGR support...
configure:4724: checking for OGRRegisterAll in -lgdal.1.1
configure:4743: gcc -o conftest -g -O2   conftest.c -lgdal.1.1   -lm -lstdc++  -L/riu/links/local/lib -lgdal.1.1 1>&5
Undefined                        first referenced
 symbol                              in file
__eprintf                           /riu/links/local/lib/libgeotiff.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:
#line 4732 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char OGRRegisterAll();

int main() {
OGRRegisterAll()
; return 0; }

I isolated the "conftest.c" program
#line 4732 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char OGRRegisterAll();

int main() {
OGRRegisterAll()
; return 0; }

and built it with the "gcc" command above.  It failed, of course.

The build failed, too, with the simpler command :

gcc -o conftest conftest.c -lgdal.1.1

but it succeeded with

gcc -o conftest conftest.c -lgdal.1.1 -lgeotiff

The "-lgdal.1.1" is essentially the library switch that is reported by the installed "gdal-config".

I'm not sure whether this error is because "configure" is not correctly set up, or whether this is to do with the dependence of "gdal" on libtiff/libgeotiff, or a mistake on my part.

I have worked around this problem by changing line 4721 of "configure" from

LIBS="$LIBS `$GDAL_CONFIG --libs`"

to

LIBS="$LIBS `$GDAL_CONFIG --libs` -lgeotiff"

"configure" now runs to completion, and builds a "Makefile" which works.  

I hope this information might be of use to others.  Any ideas for a permanent fix to "configure" would be welcomed, I'm sure.

Regards

Richard E. Roger

Dr. R. E. Roger                                NSW Agriculture
Spatial Information Officer Systems                   161 Kite St
Resource Information Unit                    Locked Bag 21
                                       ORANGE NSW 2800

                                                Australia
ph: +61 2 6391 3697                         fax: +61 2 6391 3740

This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation.
--=_alternative 00239949CA256DDA_=-- From stephane.riff at cerene.fr Sun Nov 9 23:31:46 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Mon, 10 Nov 2003 08:31:46 +0100 Subject: [Mapserver-users] Postgres 7.2.4 cygwin compilation In-Reply-To: References: Message-ID: <3FAF3EE2.6000702@cerene.fr> What version can send me pls . Thanks Tyler Mitchell wrote: > > > >Stephane, can you follow up with me on Monday. I can see if I can set you >up with the windows version I've got. I don't know if's ultrasql or not, >but noooo cygwin. Yes, it includes postgis, that's why I have it. But >it's an older version. > >mapserver-users-admin at lists.gis.umn.edu wrote on 11/06/2003 12:37:28 AM: > > > >>The goal is to install postgis.... >> >>Does the ultraSQL include postgis ???? >> >>St?phane RIFF wrote: >> >> >> >>>Here is the problem : >>> >>>I can run the ./configure, it's good... but when i run make , i get >>>this error : >>> >>> $ make >>>src/Makefile.global:269: src/Makefile.port: No such file or directory >>>c:\usr\local\wbin\make.exe: >>>*** No rule to make target `src/Makefile.port'. Stop. >>> >>>But there is a Makefile.port in the src directory (it's a link create >>>by configure). >>>So i tried to copy the makefile.win in the src directory to replace >>>the Makefile.port but i ran into others error like windows error: >>>expr.exe fatal error.... >>> >>> >>>Tyler Mitchell wrote: >>> >>> >>> >>>>What kind of error/problem are you running into? >>>> >>>>mapserver-users-admin at lists.gis.umn.edu wrote on 11/05/2003 08:24:51 >>>> >>>> >AM: > > >>>> >>>> >>>> >>>>>I absolutely need a how to for build postgresql 7.2.4 on cygwin with >>>>>windows 2000 >>>>> >>>>>I tried every thing i found but nothing work......... >>>>> >>>>>PLEASE IF YOU CAN HELP ME, DO IT.... >>>>> >>>>>thanks >>>>> >>>>>_______________________________________________ >>>>>Mapserver-users mailing list >>>>>Mapserver-users at lists.gis.umn.edu >>>>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>Mapserver-users mailing list >>>Mapserver-users at lists.gis.umn.edu >>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >>> >>> >>> >>> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> >> > > > > From dylan at brc21.co.za Mon Nov 10 00:50:59 2003 From: dylan at brc21.co.za (Dylan Rawlins) Date: Mon, 10 Nov 2003 10:50:59 +0200 Subject: [Mapserver-users] SDE support in mapscript Message-ID: <200311101050.AA203555306@brc21.co.za> Hi. I am trying to connect to SDE but get the following error Fatal error: Call to a member function on a non-object in etc etc. My mapfile is as follows for the sde layer ... LAYER NAME Wards METADATA DESCRIPTION "Wards" END TYPE Polygon STATUS ON CONNECTION "ELC_GIS1,Port:5151,health,sde,sdepswrd" CONNECTIONTYPE sde DATA "sde.sde.wards, SHAPE" END I have tried the connection with and without the "\\" denoting the server address. The connection properties for the server in ArcCatalog are as follows: Server: elc-gis1 Service: Port:5151 (or esri_sde) Database: sde Username: sde Password: sdepswrd I don't know if sde support came with the windows binary I am using but I can't find anything regarding windows binaries with sde support on the forum. The Mapserver portion of my phpinfo() output is ... MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 14:19:53 $) MapServer version 3.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Any assistance would be greatly appreciated Dylan From pucher at atlas.gis.univie.ac.at Mon Nov 10 01:14:41 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Mon, 10 Nov 2003 10:14:41 +0100 Subject: [Mapserver-users] SDE support in mapscript In-Reply-To: <200311101050.AA203555306@brc21.co.za> References: <200311101050.AA203555306@brc21.co.za> Message-ID: <3FAF5701.5080404@atlas.gis.univie.ac.at> Hi Dylan, Dylan Rawlins wrote: >The Mapserver portion of my phpinfo() output is ... > >MapScript Version ($Revision: 1.104.2.1 $ $Date: 2002/06/03 14:19:53 $) >MapServer version 3.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP >SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT >INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > Seems as if you don't have SDE support in your Windows binary, since you don't have an entry 'INPUT=SDE' in your MapScript output. I'm not sure if there's an MapServer/SDE binary for windows around. The SDE client libraries can be found on one of the original ESRI SDE cd's. Regards, alex. From muratisik at megatek.com.tr Mon Nov 10 01:27:20 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Mon, 10 Nov 2003 11:27:20 +0200 Subject: [Mapserver-users] TrueType fonts problem -- help needed Message-ID: <00f701c3a76c$d7c081d0$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_00F4_01C3A77D.9AE056D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am having a problem with TrueType fonts. This is the error I get: msGetLabelSize(): TrueType Font error. Could not find/open font=20 And this is what I do to get this error: I have these in my mapfile: NAME ERENKOY STATUS ON SIZE 600 600 SHAPEPATH "data" IMAGECOLOR 255 255 255 FONTSET font.list and LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE LINE GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline LABELITEM "ADI" CLASS NAME "ADI" COLOR 161 02 110 LABEL TYPE truetype FORCE true FONT arial COLOR 0 0 0 BACKGROUNDCOLOR 250 250 250=20 POSITION cc SIZE 8 END END END This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two = coloumns, ID and ADI (name). This is a street layer and I am trying to = get the name of the streets written next to their lines. font.list include: arial arial.ttf arial-bold arialbd.ttf arial-italic ariali.ttf arial-bold-italic arialbi.ttf I have all the related ttf files in the same directory as font.list = text, mapfile and the html page calling these fonts. However I get the = error. May it be that my mapserver is not truetype compiled? I must = admit that I installed mapserver and mapscript through rpms so I dont = know the trutype situation of my mapserver 3.6. If I can get this = labelling to work then I am going to use th same mapfile for a mapscript = page. Have a nice day. Murat Isik ------=_NextPart_000_00F4_01C3A77D.9AE056D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I am having a problem with TrueType = fonts. This is=20 the error I get:
 
msGetLabelSize(): TrueType Font error. = Could not=20 find/open font
 
And this is what I do to get this=20 error:
 
I have these in my = mapfile:
 
NAME ERENKOY
STATUS ON
SIZE 600=20 600
SHAPEPATH "data"
IMAGECOLOR 255 255 255
FONTSET=20 font.list
 
and
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE LINE
  GROUP=20 sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
  LABELITEM "ADI"
 =20 CLASS
    NAME "ADI"
    COLOR 161 = 02=20 110
    LABEL
      TYPE=20 truetype
      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
      BACKGROUNDCOLOR 250 250=20 250 
      POSITION=20 cc
      SIZE 8
    = END
 =20 END
END
 
This ERENKOY_ORNEKSOKAK_PL_polyline = layer's dbf=20 file includes two coloumns, ID and ADI (name). This is a street layer = and I am=20 trying to get the name of the streets written next to their = lines.
 
font.list include:
 
arial          = ;            =     =20 arial.ttf
arial-bold        &n= bsp;           &nb= sp;=20 arialbd.ttf
arial-italic       &nbs= p;           =20 ariali.ttf
arial-bold-italic       =        =20 arialbi.ttf
 
I have all the related ttf files in the = same=20 directory as font.list text, mapfile and the html page calling these = fonts.=20 However I get the error. May it be that my mapserver is not truetype = compiled? I=20 must admit that I installed mapserver and mapscript through rpms so I = dont know=20 the trutype situation of my mapserver 3.6. If I can get this labelling = to work=20 then I am going to use th same mapfile for a mapscript = page.
 
Have a nice day.
 
Murat Isik
 

 
------=_NextPart_000_00F4_01C3A77D.9AE056D0-- From ter-haseborg at sf-datentechnik.de Mon Nov 10 02:06:29 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Mon, 10 Nov 2003 11:06:29 +0100 Subject: [Mapserver-users] TrueType fonts problem -- help needed Message-ID: <0DF955F15A102E4F81B948D44A45015A069254@nt-sf-exchange.Windows2000> Hi, try to use an absolute path in your "fonts.list". HTH, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany -----Original Message----- From: Murat Isik [mailto:muratisik at megatek.com.tr] Sent: Monday, November 10, 2003 10:27 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] TrueType fonts problem -- help needed Hello, I am having a problem with TrueType fonts. This is the error I get: msGetLabelSize(): TrueType Font error. Could not find/open font And this is what I do to get this error: I have these in my mapfile: NAME ERENKOY STATUS ON SIZE 600 600 SHAPEPATH "data" IMAGECOLOR 255 255 255 FONTSET font.list and LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE LINE GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline LABELITEM "ADI" CLASS NAME "ADI" COLOR 161 02 110 LABEL TYPE truetype FORCE true FONT arial COLOR 0 0 0 BACKGROUNDCOLOR 250 250 250 POSITION cc SIZE 8 END END END This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two coloumns, ID and ADI (name). This is a street layer and I am trying to get the name of the streets written next to their lines. font.list include: arial arial.ttf arial-bold arialbd.ttf arial-italic ariali.ttf arial-bold-italic arialbi.ttf I have all the related ttf files in the same directory as font.list text, mapfile and the html page calling these fonts. However I get the error. May it be that my mapserver is not truetype compiled? I must admit that I installed mapserver and mapscript through rpms so I dont know the trutype situation of my mapserver 3.6. If I can get this labelling to work then I am going to use th same mapfile for a mapscript page. Have a nice day. Murat Isik From muratisik at megatek.com.tr Mon Nov 10 02:13:18 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Mon, 10 Nov 2003 12:13:18 +0200 Subject: [Mapserver-users] TrueType fonts problem -- help needed References: <0DF955F15A102E4F81B948D44A45015A069254@nt-sf-exchange.Windows2000> Message-ID: <017b01c3a773$43252010$b4704ad5@murathq> Thank you. That worked:) But I now find out that I have more names I have than I wanted. And they are written horizontally, boxed and on top of each other. How do I filter out some of the names (dont have to be the ones I choose)? Is there a way I can tell the mapserver to write the names parallel to the streets, and filter some of the out reasonably? Thank you very much:) Have a nice day... Murat Isik ----- Original Message ----- From: "Frieso ter Haseborg" To: "Murat Isik" Cc: Sent: Monday, November 10, 2003 12:06 PM Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed > Hi, > > try to use an absolute path in your "fonts.list". > > HTH, > > Frieso ter Haseborg > - Software Development - > > -- > > -------------------------------------------------- > S&F Datentechnik GmbH&Co.KG > Reimersstr. 41b > 26789 Leer, Germany > > -----Original Message----- > From: Murat Isik [mailto:muratisik at megatek.com.tr] > Sent: Monday, November 10, 2003 10:27 AM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] TrueType fonts problem -- help needed > > > Hello, > I am having a problem with TrueType fonts. This is the error I get: > > msGetLabelSize(): TrueType Font error. Could not find/open font > > And this is what I do to get this error: > > I have these in my mapfile: > > NAME ERENKOY > STATUS ON > SIZE 600 600 > SHAPEPATH "data" > IMAGECOLOR 255 255 255 > FONTSET font.list > > and > > LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > TYPE LINE > GROUP sokaklar > STATUS ON > DATA ERENKOY_ORNEKSOKAK_PL_polyline > LABELITEM "ADI" > CLASS > NAME "ADI" > COLOR 161 02 110 > LABEL > TYPE truetype > FORCE true > FONT arial > COLOR 0 0 0 > BACKGROUNDCOLOR 250 250 250 > POSITION cc > SIZE 8 > END > END > END > > > This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two > coloumns, ID and ADI (name). This is a street layer and I am trying to > get the name of the streets written next to their lines. > > font.list include: > > arial arial.ttf > arial-bold arialbd.ttf > arial-italic ariali.ttf > arial-bold-italic arialbi.ttf > > I have all the related ttf files in the same directory as font.list > text, mapfile and the html page calling these fonts. However I get the > error. May it be that my mapserver is not truetype compiled? I must > admit that I installed mapserver and mapscript through rpms so I dont > know the trutype situation of my mapserver 3.6. If I can get this > labelling to work then I am going to use th same mapfile for a mapscript > page. > > Have a nice day. > > Murat Isik > > > > From muratisik at megatek.com.tr Mon Nov 10 04:41:04 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Mon, 10 Nov 2003 14:41:04 +0200 Subject: [Mapserver-users] Labelling difference between mapserver and mapscript Message-ID: <06e001c3a787$e823cdf0$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_06DD_01C3A798.AB43A2F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have a layer of streets which I am trying to label in mapscript. I = have labelled them with a mapfile in mapserver. Although not perfect = label do show up in mapserver. However when I copy the related parts of = the mapserver mapfile into mapscripts mapfile, mapscript doesnot render = image. (it used to render without the labelling stuff) Is there a difference between the labelling of mapserver and mapscript. I installed mapserver and mapscript by rpms Their versions are: mapserver-3.6.0-4 php-mapscript-3.6.0-4 The phpinfo_mapscript shows: MapScript Version ($Revision: 1.104 $ $Date: 2002/04/24 20:37:32 $) MapServer version 3.6.0 OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG = OUTPUT=3DWBMP SUPPORTS=3DTTF INPUT=3DTIFF INPUT=3DEPPL7 INPUT=3DJPEG = INPUT=3DSHAPEFILE The mapfile of mapscript was this and it rendered image: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline GROUP sokaklar TYPE line DATA ERENKOY_ORNEKSOKAK_PL_polyline STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END I replaced it with this (that worked with mapserver): LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline LABELITEM "ADI" CLASS NAME "ADI" COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END Now only page title shows up, not image produced :( Can anybody help please? Murat Isik ------=_NextPart_000_06DD_01C3A798.AB43A2F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I have a layer of streets which I am = trying to=20 label in mapscript. I have labelled them with a mapfile in mapserver. = Although=20 not perfect label do show up in mapserver. However when I copy the = related parts=20 of the mapserver mapfile into mapscripts mapfile, mapscript doesnot = render=20 image. (it used to render without the labelling stuff)
Is there a difference between the = labelling of=20 mapserver and mapscript.
I installed mapserver and mapscript by = rpms Their=20 versions are:
 
mapserver-3.6.0-4
php-mapscript-3.6.0-4
 
The phpinfo_mapscript = shows:
 
MapScript Version ($Revision: 1.104 $ = $Date:=20 2002/04/24 20:37:32 $)
MapServer version 3.6.0 OUTPUT=3DGIF = OUTPUT=3DPNG=20 OUTPUT=3DJPEG OUTPUT=3DWBMP SUPPORTS=3DTTF INPUT=3DTIFF INPUT=3DEPPL7 = INPUT=3DJPEG=20 INPUT=3DSHAPEFILE
 
The mapfile of mapscript was this and = it rendered=20 image:
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  GROUP sokaklar
  TYPE=20 line
  DATA ERENKOY_ORNEKSOKAK_PL_polyline
  STATUS = ON
 =20 CLASSITEM 'ID'
  = CLASS
       =20 EXPRESSION /./
   COLOR 66 34 249
  = END
 
END
I replaced it with this (that worked = with=20 mapserver):
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE line
  GROUP=20 sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
  LABELITEM "ADI"
 =20 CLASS
    NAME "ADI"
    COLOR 161 = 02=20 110
    LABEL
      TYPE=20 truetype
#      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
        ANGLE=20 AUTO
 #     BACKGROUNDCOLOR 250 250=20 250
      POSITION=20 AUTO
        SIZE=20 0
        MINSIZE=20 2
      SIZE 8
    = END
 =20 END
END
Now only page title shows up, not image = produced=20 :(
 
Can anybody help please?
 
Murat Isik
------=_NextPart_000_06DD_01C3A798.AB43A2F0-- From ter-haseborg at sf-datentechnik.de Mon Nov 10 06:38:45 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Mon, 10 Nov 2003 15:38:45 +0100 Subject: [Mapserver-users] TrueType fonts problem -- help needed Message-ID: <0DF955F15A102E4F81B948D44A45015A069256@nt-sf-exchange.Windows2000> Hi, there should be no difference between a mapfile for direct-use in MS and a mapfile used with MS/mapscript. IMHO you should check your php for the problem first (post the relevant part of the code too, if the problem continues). => Do you execute the drawLabelCache-method (e.g. map->drawLabelCache ( $image ))? Don't forget the cc to the list! HTH, Frieso >-----Original Message----- >From: Murat Isik [mailto:muratisik at megatek.com.tr] >Sent: Monday, November 10, 2003 3:22 PM >To: Frieso ter Haseborg >Subject: Re: [Mapserver-users] TrueType fonts problem -- help needed > > >Thank you for your reply. >after my last mail, I have started to play around with labelling and >achieved good results with mapserver. >However when I copy the related layer's part from mapserver map file to >mapscripts mapfile, it first stopped rendering. then I added >the CLASSITEM >'ID' line and it started to produce image without labels. Can >you please >help me? I am stuck... > >original layer from mapscript mapfile: >LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > GROUP sokaklar > TYPE line > DATA ERENKOY_ORNEKSOKAK_PL_polyline > STATUS ON > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END > >END > >instead of the above I copied this and labelling did not work: > >LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > TYPE line > GROUP sokaklar > STATUS ON > DATA ERENKOY_ORNEKSOKAK_PL_polyline > >CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END >#LABELCACHE on >LABELITEM 'ADI' > CLASS > NAME 'ADI' > COLOR 161 02 110 > LABEL > TYPE truetype ># FORCE true > FONT arial > COLOR 0 0 0 > ANGLE AUTO > BACKGROUNDCOLOR 250 250 250 #WIT > POSITION AUTO > SIZE 0 > MINSIZE 2 > SIZE 8 > END > END > >Should I do something with the php part too? > >Have a nice day:) > >Murat Isik > > > >----- Original Message ----- >From: "Frieso ter Haseborg" >To: "Murat Isik" >Cc: >Sent: Monday, November 10, 2003 12:06 PM >Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed > > >> Hi, >> >> try to use an absolute path in your "fonts.list". >> >> HTH, >> >> Frieso ter Haseborg >> - Software Development - >> >> -- >> >> -------------------------------------------------- >> S&F Datentechnik GmbH&Co.KG >> Reimersstr. 41b >> 26789 Leer, Germany >> >> -----Original Message----- >> From: Murat Isik [mailto:muratisik at megatek.com.tr] >> Sent: Monday, November 10, 2003 10:27 AM >> To: mapserver-users at lists.gis.umn.edu >> Subject: [Mapserver-users] TrueType fonts problem -- help needed >> >> >> Hello, >> I am having a problem with TrueType fonts. This is the error I get: >> >> msGetLabelSize(): TrueType Font error. Could not find/open font >> >> And this is what I do to get this error: >> >> I have these in my mapfile: >> >> NAME ERENKOY >> STATUS ON >> SIZE 600 600 >> SHAPEPATH "data" >> IMAGECOLOR 255 255 255 >> FONTSET font.list >> >> and >> >> LAYER >> NAME ERENKOY_ORNEKSOKAK_PL_polyline >> TYPE LINE >> GROUP sokaklar >> STATUS ON >> DATA ERENKOY_ORNEKSOKAK_PL_polyline >> LABELITEM "ADI" >> CLASS >> NAME "ADI" >> COLOR 161 02 110 >> LABEL >> TYPE truetype >> FORCE true >> FONT arial >> COLOR 0 0 0 >> BACKGROUNDCOLOR 250 250 250 >> POSITION cc >> SIZE 8 >> END >> END >> END >> >> >> This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two >> coloumns, ID and ADI (name). This is a street layer and I am >trying to >> get the name of the streets written next to their lines. >> >> font.list include: >> >> arial arial.ttf >> arial-bold arialbd.ttf >> arial-italic ariali.ttf >> arial-bold-italic arialbi.ttf >> >> I have all the related ttf files in the same directory as font.list >> text, mapfile and the html page calling these fonts. However >I get the >> error. May it be that my mapserver is not truetype compiled? I must >> admit that I installed mapserver and mapscript through rpms so I dont >> know the trutype situation of my mapserver 3.6. If I can get this >> labelling to work then I am going to use th same mapfile for >a mapscript >> page. >> >> Have a nice day. >> >> Murat Isik >> >> >> >> > > > From muratisik at megatek.com.tr Mon Nov 10 06:50:09 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Mon, 10 Nov 2003 16:50:09 +0200 Subject: [Mapserver-users] TrueType fonts problem -- help needed References: <0DF955F15A102E4F81B948D44A45015A069256@nt-sf-exchange.Windows2000> Message-ID: <073301c3a799$efd95b20$b4704ad5@murathq> Thank you for answering:) I cant thank you enough.... I have again forgotten to cc to the list, but now I will do it. I am sorry. I dont know how to use drawLableCache, since I am both a php-newbei and mapscript-newbei at the same time (it is killing me...) I hope it is ok for you, I am pasting my whole code. It can read mysql coordinates and print points acordingly, zoom, pan and navigate the map. I hope this code can help some other newbeier-than-me newbei someday... ERENKOY_ORNEKSOKAK_PL_polyline is my streets layer. php code: MEGATEK
>

TEST SERVER

setXY($x[$k], $y[$k]); $shpFile->addPoint($pt); }; $pt->setXY($x[$i], $y[$i]); $shpFile1->addPoint($pt); $shpFile->free(); $shpFile1->free(); $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile = dbase_create($shpFname.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); $dbfFile = dbase_create($shpFname1.".dbf", $def); dbase_add_record($dbfFile, array("1","TEST")); $myMap = ms_newMapObj("demo_try.map"); //$myLayer = $myMap->getLayerByName("target1"); //$myLayer->set("data", $shpFname); //$myLayer->set('status', MS_ON); if ( isset($HTTP_POST_VARS["mapa_x"]) && isset($HTTP_POST_VARS["mapa_y"]) && !isset($HTTP_POST_VARS["full"]) ) { $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $myMap->setextent($extent_to_set[0],$extent_to_set[1],$extent_to_set[2],$ex tent_to_set[3]); $my_point = ms_newpointObj(); $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); $my_extent = ms_newrectObj(); $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); $zoom_factor = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; if ($zoom_factor == 0) { $zoom_factor = 1; $check_pan = "CHECKED"; $check_zout = ""; $check_zin = ""; $check_right = ""; $check_left = ""; } else if ($zoom_factor < 0) { $check_pan = ""; $check_zout = "CHECKED"; $check_zin = ""; $check_right = ""; $check_left = ""; } else { $check_pan = ""; $check_zout = ""; $check_zin = "CHECKED"; $check_right = ""; $check_left = ""; } $val_zsize = abs($zoom_factor); $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, $my_extent); } if($HTTP_POST_VARS["zoom"] == 2) { $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $xmin = $extent_to_set[0]; $xmax = $extent_to_set[2]; $ymin = $extent_to_set[1]; $ymax = $extent_to_set[3]; $xinc = ($xmax - $xmin ) / 2; $myMap->setextent( ($xmin + 0.01), $ymin, ($xmax + 0.01), $ymax); $check_pan = ""; $check_zout = ""; $check_zin = ""; $check_right = "CHECKED"; $check_left = ""; } if($HTTP_POST_VARS["zoom"] == 3) { $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $xmin = $extent_to_set[0]; $xmax = $extent_to_set[2]; $ymin = $extent_to_set[1]; $ymax = $extent_to_set[3]; $myMap->setextent( ($xmin - 0.01), $ymin, ($xmax - 0.01), $ymax); $check_pan = ""; $check_zout = ""; $check_zin = ""; $check_right = ""; $check_left = "CHECKED"; } if($HTTP_POST_VARS["zoom"] == 4) { $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $xmin = $extent_to_set[0]; $xmax = $extent_to_set[2]; $ymin = $extent_to_set[1]; $ymax = $extent_to_set[3]; $myMap->setextent( $xmin, ($ymin - 0.01), $xmax, ($ymax - 0.01)); $check_pan = ""; $check_zout = ""; $check_zin = ""; $check_right = ""; $check_left = ""; $check_up = "CHECKED"; $check_down = ""; } if($HTTP_POST_VARS["zoom"] == 5) { $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); $xmin = $extent_to_set[0]; $xmax = $extent_to_set[2]; $ymin = $extent_to_set[1]; $ymax = $extent_to_set[3]; $myMap->setextent( $xmin, ($ymin + 0.01), $xmax, ($ymax + 0.01)); $check_pan = ""; $check_zout = ""; $check_zin = ""; $check_right = ""; $check_left = ""; $check_up = ""; $check_down = "CHECKED"; } $img = $myMap->draw(); $image_url = $img->saveWebImage(GIF,1,1,0); $extent_to_html = $myMap->extent->minx." ".$myMap->extent->miny." " .$myMap->extent->maxx." ".$myMap->extent->maxy; ?>

" width=3D600 height=3D600 = border=3D0>
Pan >
Zoom In >
Zoom Out >
Right >
Zoom Size " SIZE=3D2>
Full Extent
"> ------=_NextPart_000_019B_01C3A548.A8148010 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thank you.
I think I have minimized my problem to = this whole=20 coordinate thing. What I noticed is that my code does not catch "extent" = as it=20 works. I have to feed it with the beginning coordinates myself. I have = changed=20 the code a little bit too. Now it can move the map to left, but only the = original map, not the zoom map. I think my problem is that I cannot = "catch" the=20 coordinates/extents of the last map drawn. It has something to do with = this=20 line:
 
$extent_to_set =3D explode("=20 ",$HTTP_POST_VARS["extent"]);
 
When I run the second europa example = from mapserver=20 site the same line works and prints the picture. In my case, it produces = this=20 error:
 
Fatal error: MapServer Error in = msCalculateScale():=20
 
referring to the line with the = "explode". The=20 EXTENT in europa is in this format:
 
EXTENT -5696501 1923039 5696501=20 11022882
 
whereas mine is:
 
EXTENT 29.057 40.954 29.143 = 40.999
 
My extents work with the mapserver = itself. When I=20 check a regular map from an atlas, I see they use my type of = coordinates. It=20 appears my geograph is not so well at all!
I suppose this is related to what = Mr.Bridger=20 discussed in his reply mail but how related is something I didnt = understand. Any=20 ideas?
 
BTW: I am using php-mapscript-3.6.0-4, = installed by=20 rpm. May the version be related? Bug or something?
 
Have a nice day:)
 
Murat Isik
 
current php code: (if needed I can = also send=20 my mapfile. I am not sending now not to take much space in your=20 mailboxes...)
 
<HEAD>
<TITLE>TEST</TITLE>
</HEAD>=
<CENTER>
<FORM=20 METHOD=3DPOST ACTION=3D<?php echo = $PHP_SELF?>>
<H1>TEST=20 SERVER</H1>
<P>
<?php
dl("php_mapscript.so");
 
mysql_connect("localhost","root","test")=20 or
        die ("Could not connect = to=20 database");
 
mysql_select_db("pointtrack")=20 or
        die("Could not select=20 database");
 
$val_zsize=3D3;
file://$check_pan=3D"CHECKED";
 
$shpFname =3D "target1";
$shpFile = =3D=20 ms_newShapeFileObj($shpFname, MS_SHP_POINT);
 
$shpFname1 =3D "target2";
$shpFile1 = =3D=20 ms_newShapeFileObj($shpFname1, MS_SHP_POINT);
 
$pt =3D ms_newPointObj();
 
$i =3D 0;
 
$result =3D mysql_query("select * from = track3")=20 or
        die=20 (mysql_error());
 

$x[0]=3D0;
$y[0]=3D0;
 
while ($row =3D=20 mysql_fetch_array($result))
{
++$i;
$test_x[$i] =3D=20 $row["lodegrees"]+$row["lominutes"]/60;
$test_y[$i] =3D=20 $row["ldegrees"]+$row["lminutes"]/60;
 
 
 
if($test_x[$i]=3D=3D$x[$i-1] ||=20 $test_y[$i]=3D=3D$y[$i-1])
{
--$i;
}else
{
 
$x[$i] =3D $test_x[$i];
$y[$i] =3D=20 $test_y[$i];
 
}
 
}
mysql_free_result($result);
 

for($k=3D1;$k<=3D$i-1;++$k)
{
$pt->setXY($x[$k],=20 $y[$k]);
$shpFile->addPoint($pt);
};
 
$pt->setXY($x[$i],=20 $y[$i]);
$shpFile1->addPoint($pt);
 

$shpFile->free();
$shpFile1->free();
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$def =3Darray(array("UNIQID", "C", = 13),array("NOM",=20 "C", 128));
$dbfFile =3D dbase_create($shpFname1.".dbf",=20 $def);
dbase_add_record($dbfFile, array("1","TEST"));
 
$myMap =3D = ms_newMapObj("demo_try.map");
 
#$myLayer =3D=20 $myMap->getLayerByName("target1");
#$myLayer->set("data",=20 $shpFname);
#$myLayer->set('status', MS_ON);
 
 
 
if ( isset($HTTP_POST_VARS["mapa_x"]) = &&=20 isset($HTTP_POST_VARS["mapa_y"])
      = &&=20 !isset($HTTP_POST_VARS["full"]) ) {
 
//$extent_to_set =3D=20 explode(" ",$HTTP_POST_VARS["extent"]); //source of problem I=20 believe
 

$extent_to_set[0] =3D=20 29.057;
$extent_to_set[1] =3D 40.954;
$extent_to_set[2] =3D=20 29.143;
$extent_to_set[3] =3D 40.999; //since upper=20 one doesnot work, I have to feed them myself
 

 =20 $myMap->setextent($extent_to_set[0],
     =             &= nbsp;     =20 $extent_to_set[1],
        &nb= sp;           &nbs= p;       =20 $extent_to_set[2],
        &nb= sp;           &nbs= p;  =20 $extent_to_set[3]);
 
      = $my_point =3D=20 ms_newpointObj();
     =20 $my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]);=
 
      = $my_extent =3D=20 ms_newrectObj();
 
     =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],
 &n= bsp;           &nb= sp;           &nbs= p;   =20 $extent_to_set[2],$extent_to_set[3]);
 
 
 
$zoom_factor =3D=20 $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"];
   &n= bsp; =20 if ($zoom_factor =3D=3D 0)=20 {
           &n= bsp; =20 $zoom_factor =3D=20 1;
           &= nbsp; =20 $check_pan =3D=20 "CHECKED";
          = ;   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "";
      } else if = ($zoom_factor <=20 0)=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "CHECKED";
          = ;   =20 $check_zin =3D "";
      } else=20 {
           &n= bsp; =20 $check_pan =3D=20 "";
           =   =20 $check_zout =3D=20 "";
           =   =20 $check_zin =3D "CHECKED";
      = }
 
      = $val_zsize =3D=20 abs($zoom_factor);
 
     =20 $myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->h= eight,
          &nb= sp;          =20 $my_extent);
 
}
if($HTTP_POST_VARS["zoom"] = =3D=3D 2)//this=20 part should "catch the extent=20 of 
          &= nbsp;           &n= bsp;           &nb= sp;           &nbs= p;        
//the = latest map=20 drawn so it can recalculate based on=20 it.
{
//        $xmax =3D=20 $myMap->extent->{xmax};
//      &n= bsp;=20 $xmin =3D=20 $myMap->extent->{xmin};
//      &n= bsp;=20 $xmin =3D = $extent_to_set[0];
//        $xmax = =3D $extent_to_set[2];
        = $xmin =3D=20 29.057;
        $xmax =3D=20 29.143;
        $xinc =3D ($xmax - = $xmin ) /=20 2;
        $ymin =3D=20 40.954;
        $ymax =3D=20 40.999;
        = $myMap->setextent(=20 ($xmin + $xinc), $ymin, ($xmax + $xinc), $ymax);
 

}
 
$img =3D = $myMap->draw();
$image_url =3D=20 $img->saveWebImage(GIF,1,1,0);
 
//$extent_to_html =3D=20 $map->extent->minx." ".$map->extent->miny."=20 "
//           =   =20 .$map->extent->maxx." ".$map->extent->maxy;
 
?>
<BODY>
<center>
<table border=3D0 = cellspacing=3D0 cellpadding=3D4 = bgcolor=3D"#FFFFFF">
<tr>
<td=20 valign=3D"top" align=3Dcenter>
  <table cellpadding=3D"0"=20 cellspacing=3D"5" border=3D"5">
    = <tr><td=20 colspan=3D"2"><INPUT NAME=3D"mapa" TYPE=3D"image" SRC=3D"<?php = echo $image_url;=20 ?>" width=3D600 height=3D600=20 border=3D0></td></tr>
   =20 <tr>
 <TR>
     =20 <TD>
          = ;   =20 Pan
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D0 <?php echo=20 $check_pan?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom In
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D1 <?php echo=20 $check_zin?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Zoom Out
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D-1 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Right
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DRADIO NAME=3D"zoom" VALUE=3D2 <?php echo=20 $check_zout?>>
     =20 </TD>
 </TR>
 
 <TR>
     =20 <TD>
          = ;   =20 Zoom Size
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DTEXT NAME=3D"zsize" VALUE=3D"<?php echo=20 $val_zsize?>"
         = ;    =20 SIZE=3D2>
     =20 </TD>
 </TR>
 <TR>
   = ;  =20 <TD>
          = ;   =20 Full Extent
     =20 </TD>
     =20 <TD>
          = ;   =20 <INPUT TYPE=3DSUBMIT NAME=3D"full"=20 VALUE=3D"Go"
         &nb= sp;   =20 SIZE=3D2>
     =20 </TD>
</TABLE>
<INPUT TYPE=3DHIDDEN NAME=3D"extent" = VALUE=3D"<?php echo=20 $extent_to_html?>">
</FORM>
</CENTER>
 
</BODY>
</HTML>
 
 

 
------=_NextPart_000_019B_01C3A548.A8148010-- From nicolas.fortin at ec.gc.ca Fri Nov 7 06:22:22 2003 From: nicolas.fortin at ec.gc.ca (nicolas.fortin at ec.gc.ca) Date: Fri, 7 Nov 2003 09:22:22 -0500 Subject: [Mapserver-users] first time user - IIS, WindowsXP, binary i nstallation difficulty Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A53A.8F6430A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 There's an error in the Installation Guide for Windows. The .dll = should be in WINNT/system32 (for win2k though). =20 Hope this help Nick -----Message d'origine----- De : Miles Hochstein [mailto:miles at laughingflea.com]=20 Envoy=E9 : Thursday, November 06, 2003 10:53 PM =C0 : mapserver-users at lists.gis.umn.edu Objet : [Mapserver-users] first time user - IIS, WindowsXP, binary installation difficulty I have downloaded installed the win32 binary (4.0) on my winxp machine. = (I see that only Windows 2000 is mentioned...should it work at all on = WinXP?) The problem is that Mapserve.exe is happily sitting in = c:/inetpub/scripts and various dll seem to be in the Windows directory. =20 But I get an error message that gdal11.dll is not installed (or = available) and that reinstalling may fix this problem. But gdal11.dll is there in = my Windows directory. I also received a mesage that some other dll file = was missing, but I confirmed that it too was in the Windows directory. =20 I could try reinstalling, but I'd like to understand the problem too. What do I need to do here to get this thing working in a rudimentary = way? thanks! Miles =20 ------_=_NextPart_001_01C3A53A.8F6430A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Hi,
 
There's an error in the Installation Guide for Windows.  = The .dll=20 should be in WINNT/system32 (for win2k=20 though).
 
Hope=20 this help
Nick
-----Message d'origine-----
De : Miles = Hochstein=20 [mailto:miles at laughingflea.com]
Envoy=E9 : Thursday, = November=20 06, 2003 10:53 PM
=C0 :=20 mapserver-users at lists.gis.umn.edu
Objet : = [Mapserver-users]=20 first time user - IIS, WindowsXP, binary installation=20 difficulty

I have downloaded installed the win32 = binary=20 (4.0) on my winxp machine. (I see that only Windows 2000 is = mentioned...should=20 it work at all on WinXP?)

The problem is that Mapserve.exe is = happily=20 sitting in c:/inetpub/scripts  and various dll seem to be in the = Windows=20 directory. 

But I get an error message that gdal11.dll = is not=20 installed (or available) and that reinstalling may fix this = problem.  But=20 gdal11.dll is there in my Windows directory.  I also received a = mesage=20 that some other dll file was missing, but I confirmed that it too was = in the=20 Windows directory. 

I could try reinstalling, but I'd = like to=20 understand the problem too.

What do I need to do here to get = this thing=20 working in a rudimentary way?  = thanks!

Miles



 

------_=_NextPart_001_01C3A53A.8F6430A0-- From pucher at atlas.gis.univie.ac.at Fri Nov 7 06:18:17 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Fri, 07 Nov 2003 15:18:17 +0100 Subject: [Mapserver-users] GMAP does not work with TIFF In-Reply-To: <3FABA82E.7050906@pobox.com> References: <3FAB9899.1010103@atlas.gis.univie.ac.at> <3FABA82E.7050906@pobox.com> Message-ID: <3FABA9A9.60605@atlas.gis.univie.ac.at> Hi Frank, to give some more information. I'm using the standard GMAP-MS40 application. To be more correct then my first mail, execution of gmap75.phtml stops before this line (not the RosaApplet entry, which comes after this line):
Pan >
Zoom In >
Zoom Out >
Right >
Left >
Up >
Down >
Zoom Size
Full Extent
map file at the moment: (the one I use for mapscript) # # Start of map file # NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 FONTSET font.list #OUTPUTFORMAT # NAME PNG # DRIVER "GD/PNG" # MIMETYPE "image/png" # IMAGEMODE PC256 # EXTENSION "png" #END IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END SYMBOL NAME 'circle' TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END LAYER NAME 'ERENKOY_ORNEKILCE_PG_region' TYPE polygon STATUS DEFAULT DATA ERENKOY_ORNEKILCE_PG_region CLASSITEM 'ID' CLASS EXPRESSION '3' OUTLINECOLOR 128 128 128 COLOR 225 225 185 END CLASS EXPRESSION /./ OUTLINECOLOR 128 128 128 COLOR 255 255 255 END END #LAYER # NAME ERENKOY_ORNEKMAHALLE_PG_region # GROUP cities # TYPE polygon # DATA ERENKOY_ORNEKMAHALLE_PG_region # STATUS ON # CLASSITEM 'ID' # CLASS # EXPRESSION /./ # EXPRESSION /./ # COLOR 255 225 185 # OUTLINECOLOR 0 0 0 # END #END #LAYER # NAME ERENKOY_ORNEKSOKAK_PL_polyline # GROUP sokaklar # TYPE line # DATA ERENKOY_ORNEKSOKAK_PL_polyline # STATUS ON # CLASSITEM 'ID' # CLASS # EXPRESSION /./ # COLOR 66 34 249 # END #END LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END #LABELCACHE on LABELITEM 'ADI' CLASS NAME 'ADI' EXPRESSION /./ COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO BACKGROUNDCOLOR 250 250 250 #WIT POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END LAYER NAME ERENKOY_ORNEKOTOBAN_PL_polyline GROUP otoban TYPE line DATA ERENKOY_ORNEKOTOBAN_PL_polyline STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME ERENKOY_ORNEKCADDE_PL_polyline GROUP otoban TYPE line DATA ERENKOY_ORNEKCADDE_PL_polyline STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME ERENKOY_ORNEKBULVAR_PL_polyline GROUP otoban TYPE line DATA ERENKOY_ORNEKBULVAR_PL_polyline STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME ERENKOY_ORNEKKAVSAK2_PL_polyline GROUP otoban TYPE line DATA ERENKOY_ORNEKKAVSAK2_PL_polyline STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME ERENKOY_ORNEKKAVSAK_PL_polyline GROUP otoban TYPE line DATA ERENKOY_ORNEKKAVSAK_PL_polyline STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME ERENKOY_ORNEKDENIZ_PG_region GROUP otoban TYPE polygon DATA ERENKOY_ORNEKDENIZ_PG_region STATUS OFF CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END LAYER NAME 'target2' TYPE point DATA target2 STATUS ON CLASS SYMBOL 'circle' COLOR 255 255 0 SIZE 20 LABEL COLOR 0 0 0 END END END LAYER NAME 'target1' TYPE point DATA target1 STATUS ON CLASS SYMBOL 'circle' COLOR 255 0 0 SIZE 4 LABEL COLOR 0 0 0 END END END END # end of map file ----- Original Message ----- From: "Frieso ter Haseborg" To: "Murat Isik" Cc: Sent: Monday, November 10, 2003 4:38 PM Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed > Hi, > > there should be no difference between a mapfile for direct-use in MS > and a mapfile used with MS/mapscript. IMHO you should check your php for > the problem first (post the relevant part of the code too, if the > problem continues). > > => Do you execute the drawLabelCache-method (e.g. map->drawLabelCache ( > $image ))? > > Don't forget the cc to the list! > > HTH, > Frieso > > >-----Original Message----- > >From: Murat Isik [mailto:muratisik at megatek.com.tr] > >Sent: Monday, November 10, 2003 3:22 PM > >To: Frieso ter Haseborg > >Subject: Re: [Mapserver-users] TrueType fonts problem -- help needed > > > > > >Thank you for your reply. > >after my last mail, I have started to play around with labelling and > >achieved good results with mapserver. > >However when I copy the related layer's part from mapserver map file to > >mapscripts mapfile, it first stopped rendering. then I added > >the CLASSITEM > >'ID' line and it started to produce image without labels. Can > >you please > >help me? I am stuck... > > > >original layer from mapscript mapfile: > >LAYER > > NAME ERENKOY_ORNEKSOKAK_PL_polyline > > GROUP sokaklar > > TYPE line > > DATA ERENKOY_ORNEKSOKAK_PL_polyline > > STATUS ON > > CLASSITEM 'ID' > > CLASS > > EXPRESSION /./ > > COLOR 66 34 249 > > END > > > >END > > > >instead of the above I copied this and labelling did not work: > > > >LAYER > > NAME ERENKOY_ORNEKSOKAK_PL_polyline > > TYPE line > > GROUP sokaklar > > STATUS ON > > DATA ERENKOY_ORNEKSOKAK_PL_polyline > > > >CLASSITEM 'ID' > > CLASS > > EXPRESSION /./ > > COLOR 66 34 249 > > END > >#LABELCACHE on > >LABELITEM 'ADI' > > CLASS > > NAME 'ADI' > > COLOR 161 02 110 > > LABEL > > TYPE truetype > ># FORCE true > > FONT arial > > COLOR 0 0 0 > > ANGLE AUTO > > BACKGROUNDCOLOR 250 250 250 #WIT > > POSITION AUTO > > SIZE 0 > > MINSIZE 2 > > SIZE 8 > > END > > END > > > >Should I do something with the php part too? > > > >Have a nice day:) > > > >Murat Isik > > > > > > > >----- Original Message ----- > >From: "Frieso ter Haseborg" > >To: "Murat Isik" > >Cc: > >Sent: Monday, November 10, 2003 12:06 PM > >Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed > > > > > >> Hi, > >> > >> try to use an absolute path in your "fonts.list". > >> > >> HTH, > >> > >> Frieso ter Haseborg > >> - Software Development - > >> > >> -- > >> > >> -------------------------------------------------- > >> S&F Datentechnik GmbH&Co.KG > >> Reimersstr. 41b > >> 26789 Leer, Germany > >> > >> -----Original Message----- > >> From: Murat Isik [mailto:muratisik at megatek.com.tr] > >> Sent: Monday, November 10, 2003 10:27 AM > >> To: mapserver-users at lists.gis.umn.edu > >> Subject: [Mapserver-users] TrueType fonts problem -- help needed > >> > >> > >> Hello, > >> I am having a problem with TrueType fonts. This is the error I get: > >> > >> msGetLabelSize(): TrueType Font error. Could not find/open font > >> > >> And this is what I do to get this error: > >> > >> I have these in my mapfile: > >> > >> NAME ERENKOY > >> STATUS ON > >> SIZE 600 600 > >> SHAPEPATH "data" > >> IMAGECOLOR 255 255 255 > >> FONTSET font.list > >> > >> and > >> > >> LAYER > >> NAME ERENKOY_ORNEKSOKAK_PL_polyline > >> TYPE LINE > >> GROUP sokaklar > >> STATUS ON > >> DATA ERENKOY_ORNEKSOKAK_PL_polyline > >> LABELITEM "ADI" > >> CLASS > >> NAME "ADI" > >> COLOR 161 02 110 > >> LABEL > >> TYPE truetype > >> FORCE true > >> FONT arial > >> COLOR 0 0 0 > >> BACKGROUNDCOLOR 250 250 250 > >> POSITION cc > >> SIZE 8 > >> END > >> END > >> END > >> > >> > >> This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two > >> coloumns, ID and ADI (name). This is a street layer and I am > >trying to > >> get the name of the streets written next to their lines. > >> > >> font.list include: > >> > >> arial arial.ttf > >> arial-bold arialbd.ttf > >> arial-italic ariali.ttf > >> arial-bold-italic arialbi.ttf > >> > >> I have all the related ttf files in the same directory as font.list > >> text, mapfile and the html page calling these fonts. However > >I get the > >> error. May it be that my mapserver is not truetype compiled? I must > >> admit that I installed mapserver and mapscript through rpms so I dont > >> know the trutype situation of my mapserver 3.6. If I can get this > >> labelling to work then I am going to use th same mapfile for > >a mapscript > >> page. > >> > >> Have a nice day. > >> > >> Murat Isik > >> > >> > >> > >> > > > > > > From alen_uis at hotmail.com Mon Nov 10 07:37:29 2003 From: alen_uis at hotmail.com (=?iso-8859-1?B?YWxleGFuZGVyIGVucmlxdWUgcmlwb2xsIG118W96?=) Date: Mon, 10 Nov 2003 10:37:29 -0500 Subject: [Mapserver-users] Doubts about EXTENT Message-ID:

Hi,

I have the next doubts about EXTENT

1) How can I define the Minx, Miny, Maxy, Maxy values of EXTENT for a given project?

2) Does it exist any rule to determine those values?

Do I need to change the flats or geographics coord. of a project to the values that are given in EXTENT.

Thanks.

Hi,

I have the next doubts about EXTENT

1) How can I define the Minx, Miny, Maxy, Maxy values of EXTENT for a given project?

2) Does it exist any rule to determine those values?

Do I need to change the flats or geographics coord. of a project to the values that are given in EXTENT.

Thanks.

Hi,

I have the next doubts about EXTENT

1) How can I define the Minx, Miny, Maxy, Maxy values of EXTENT for a given project?

2) Does it exist any rule to determine those values?

Do I need to change the flats or geographics coord. of a project to the values that are given in EXTENT.

Thanks.

Hi,

I have the next doubts about EXTENT

1) How can I define the Minx, Miny, Maxy, Maxy values of EXTENT for a given project?

2) Does it exist any rule to determine those values?

Do I need to change the flats or geographics coord. of a project to the values that are given in EXTENT.

Thanks.



Las mejores tiendas, los precios mas bajos, entregas en todo el mundo, YupiMSN Compras: Haz clic aqu?... From alen_uis at hotmail.com Mon Nov 10 07:46:34 2003 From: alen_uis at hotmail.com (=?iso-8859-1?B?YWxleGFuZGVyIGVucmlxdWUgcmlwb2xsIG118W96?=) Date: Mon, 10 Nov 2003 10:46:34 -0500 Subject: [Mapserver-users] Questions about EXTENT Message-ID:

Hi,

I have the next doubts about EXTENT

1) How can I define the Minx, Miny, Maxy, Maxy values of EXTENT for a given project?

2) Does it exist any rule to determine those values?

Do I need to change the flats or geographics coord. of a project to the values that are given in EXTENT.

Thanks.



?Est?s buscando un auto nuevo? Haz clic aqu?... From Amy.Stender at erdc.usace.army.mil Mon Nov 10 07:50:15 2003 From: Amy.Stender at erdc.usace.army.mil (Amy.Stender at erdc.usace.army.mil) Date: Mon, 10 Nov 2003 09:50:15 -0600 Subject: [Mapserver-users] dhtml refresh getscale() and latlong Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3A7A2.554EBD30 Content-Type: text/plain Anyone know how to refresh getscale() and window.status when the map is refreshed in dhtml? At the bottom of my map, I have the starting scale (1:20,000,000) but's not updated when the user zooms in. It's static. Same thing with my lat/long. The initial lat/long is correct, but it doesn't change after the user zooms in. Any help would be greatly appreciated. Thanks, Amy Amy L. Stender Remote Sensing/GIS Center Cold Regions Research and Engineering Laboratory United States Army Corps of Engineers 72 Lyme Road, Hanover, NH 03755-1290 Tel:(603)646-4733 Fax:(603) 646-4730 Amy.Stender at erdc.usace.army.mil ------_=_NextPart_001_01C3A7A2.554EBD30 Content-Type: text/html Message
Anyone know how to refresh getscale() and window.status when the map is refreshed in dhtml?
 
At the bottom of my map, I have the starting scale (1:20,000,000) but's not updated when the user zooms in. It's static. Same thing with my lat/long. The initial lat/long is correct, but it doesn't change after the user zooms in.
 
Any help would be greatly appreciated.
 
Thanks,
Amy
 
Amy L. Stender
Remote Sensing/GIS Center
Cold Regions Research and Engineering Laboratory
United States Army Corps of Engineers
72 Lyme Road, Hanover, NH 03755-1290
Tel:(603)646-4733  Fax:(603) 646-4730
Amy.Stender at erdc.usace.army.mil
 
------_=_NextPart_001_01C3A7A2.554EBD30-- From ter-haseborg at sf-datentechnik.de Mon Nov 10 08:15:09 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Mon, 10 Nov 2003 17:15:09 +0100 Subject: [Mapserver-users] TrueType fonts problem -- help needed Message-ID: <0DF955F15A102E4F81B948D44A45015A06BEA0@nt-sf-exchange.Windows2000> Hi, try to add the following line >$img = $myMap->draw(); $myMap->drawLabelCache ( $img ); // <=!!! new line >$image_url = $img->saveWebImage(GIF,1,1,0); HTH, Frieso >-----Original Message----- >From: Murat Isik [mailto:muratisik at megatek.com.tr] >Sent: Monday, November 10, 2003 3:50 PM >To: Frieso ter Haseborg >Cc: mapserver-users at lists.gis.umn.edu >Subject: Re: [Mapserver-users] TrueType fonts problem -- help needed > > >Thank you for answering:) I cant thank you enough.... >I have again forgotten to cc to the list, but now I will do >it. I am sorry. >I dont know how to use drawLableCache, since I am both a php-newbei and >mapscript-newbei at the same time (it is killing me...) >I hope it is ok for you, I am pasting my whole code. It can read mysql >coordinates and print points acordingly, zoom, pan and >navigate the map. I >hope this code can help some other newbeier-than-me newbei someday... > >ERENKOY_ORNEKSOKAK_PL_polyline is my streets layer. > >php code: > > >MEGATEK > >
>
> >

TEST SERVER

> >

>dl("php_mapscript.so"); > >mysql_connect("localhost","root","sqlpass") or > die ("Could not connect to database"); > >mysql_select_db("pointtrack") or > die("Could not select database"); > >$val_zsize=3; >//$check_pan="CHECKED"; > >$shpFname = "target1"; >$shpFile = ms_newShapeFileObj($shpFname, MS_SHP_POINT); > >$shpFname1 = "target2"; >$shpFile1 = ms_newShapeFileObj($shpFname1, MS_SHP_POINT); > >$pt = ms_newPointObj(); > >$i = 0; > >$result = mysql_query("select * from track4") or > die (mysql_error()); > > >$x[0]=0; >$y[0]=0; > >while ($row = mysql_fetch_array($result)) >{ >++$i; >$test_x[$i] = $row["lodegrees"]+$row["lominutes"]/60; >$test_y[$i] = $row["ldegrees"]+$row["lminutes"]/60; > > >if($test_x[$i]==$x[$i-1] || $test_y[$i]==$y[$i-1]) >{ >--$i; >}else >{ > >$x[$i] = $test_x[$i]; >$y[$i] = $test_y[$i]; > >} > >} >mysql_free_result($result); > > >for($k=1;$k<=$i-1;++$k) >{ >$pt->setXY($x[$k], $y[$k]); >$shpFile->addPoint($pt); >}; > >$pt->setXY($x[$i], $y[$i]); >$shpFile1->addPoint($pt); > > >$shpFile->free(); >$shpFile1->free(); > >$def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); >$dbfFile = dbase_create($shpFname.".dbf", $def); >dbase_add_record($dbfFile, array("1","TEST")); > >$def =array(array("UNIQID", "C", 13),array("NOM", "C", 128)); >$dbfFile = dbase_create($shpFname1.".dbf", $def); >dbase_add_record($dbfFile, array("1","TEST")); > >$myMap = ms_newMapObj("demo_try.map"); > >//$myLayer = $myMap->getLayerByName("target1"); >//$myLayer->set("data", $shpFname); >//$myLayer->set('status', MS_ON); > > > >if ( isset($HTTP_POST_VARS["mapa_x"]) && >isset($HTTP_POST_VARS["mapa_y"]) > && !isset($HTTP_POST_VARS["full"]) ) { > >$extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > > > >$myMap->setextent($extent_to_set[0],$extent_to_set[1],$extent_t >o_set[2],$ex >tent_to_set[3]); > > $my_point = ms_newpointObj(); > >$my_point->setXY($HTTP_POST_VARS["mapa_x"],$HTTP_POST_VARS["mapa_y"]); > > $my_extent = ms_newrectObj(); > > $my_extent->setextent($extent_to_set[0],$extent_to_set[1], > $extent_to_set[2],$extent_to_set[3]); > > >$zoom_factor = $HTTP_POST_VARS["zoom"]*$HTTP_POST_VARS["zsize"]; > if ($zoom_factor == 0) { > $zoom_factor = 1; > $check_pan = "CHECKED"; > $check_zout = ""; > $check_zin = ""; > $check_right = ""; > $check_left = ""; > } else if ($zoom_factor < 0) { > $check_pan = ""; > $check_zout = "CHECKED"; > $check_zin = ""; > $check_right = ""; > $check_left = ""; > } else { > $check_pan = ""; > $check_zout = ""; > $check_zin = "CHECKED"; > $check_right = ""; > $check_left = ""; > } > > $val_zsize = abs($zoom_factor); > > >$myMap->zoompoint($zoom_factor,$my_point,$myMap->width,$myMap->height, > $my_extent); > >} >if($HTTP_POST_VARS["zoom"] == 2) >{ > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > $xmin = $extent_to_set[0]; > $xmax = $extent_to_set[2]; > $ymin = $extent_to_set[1]; > $ymax = $extent_to_set[3]; > $xinc = ($xmax - $xmin ) / 2; > $myMap->setextent( ($xmin + 0.01), $ymin, ($xmax + >0.01), $ymax); > $check_pan = ""; > $check_zout = ""; > $check_zin = ""; > $check_right = "CHECKED"; > $check_left = ""; >} > >if($HTTP_POST_VARS["zoom"] == 3) >{ > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > $xmin = $extent_to_set[0]; > $xmax = $extent_to_set[2]; > $ymin = $extent_to_set[1]; > $ymax = $extent_to_set[3]; > $myMap->setextent( ($xmin - 0.01), $ymin, ($xmax - >0.01), $ymax); > $check_pan = ""; > $check_zout = ""; > $check_zin = ""; > $check_right = ""; > $check_left = "CHECKED"; > >} > >if($HTTP_POST_VARS["zoom"] == 4) >{ > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > $xmin = $extent_to_set[0]; > $xmax = $extent_to_set[2]; > $ymin = $extent_to_set[1]; > $ymax = $extent_to_set[3]; > $myMap->setextent( $xmin, ($ymin - 0.01), $xmax, >($ymax - 0.01)); > $check_pan = ""; > $check_zout = ""; > $check_zin = ""; > $check_right = ""; > $check_left = ""; > $check_up = "CHECKED"; > $check_down = ""; > >} > >if($HTTP_POST_VARS["zoom"] == 5) >{ > $extent_to_set = explode(" ",$HTTP_POST_VARS["extent"]); > $xmin = $extent_to_set[0]; > $xmax = $extent_to_set[2]; > $ymin = $extent_to_set[1]; > $ymax = $extent_to_set[3]; > $myMap->setextent( $xmin, ($ymin + 0.01), $xmax, >($ymax + 0.01)); > $check_pan = ""; > $check_zout = ""; > $check_zin = ""; > $check_right = ""; > $check_left = ""; > $check_up = ""; > $check_down = "CHECKED"; > >} > >$img = $myMap->draw(); >$image_url = $img->saveWebImage(GIF,1,1,0); > >$extent_to_html = $myMap->extent->minx." ".$myMap->extent->miny." " > .$myMap->extent->maxx." ".$myMap->extent->maxy; > > >?> > >

> > > As a result I have built a new version of php (4.3.4) from source and copied the cgi executable to the web server. Still no joy. On Tue, 2003-11-18 at 14:21, Daniel Morissette wrote: > > Did you restart the Apache server for the changes to take effect? > > If you did then the there are 2 possibilities: > > - It could be that the php-cgi is not being used for some reason. > Possibly the AddHandler/Action lines that you added to httpd.conf don't > get used, or there is already another handler for the .php and .phtml > extensions that you need to comment out. Make sure the AddType and > Action lines really use type application/x-httpd-php-cgi and *not* > application/x-httpd-php. This is important in order to bypass the > builtin PHP module: > > AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml > Action application/x-httpd-php-cgi /cgi-bin/php433 > > > - It could be that the php-cgi is not really compiled as a CGI... I > doubt that's really the case but you could run > '/path/to/cgi-bin/php -i | grep "Server API"' > and confirm that the Server API is "CGI". If not then the problem is > the way the PHP is compiled and you'll need to compile a new one. > > HTH > > Daniel From sgillies at frii.com Tue Nov 18 07:22:48 2003 From: sgillies at frii.com (Sean Gillies) Date: Tue, 18 Nov 2003 08:22:48 -0700 Subject: [Mapserver-users] using one classification for multiple layers In-Reply-To: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> Message-ID: <1171A7CE-19DB-11D8-8BC7-000393B98B56@frii.com> On Tuesday, November 18, 2003, at 07:35 AM, bartvde at xs4all.nl wrote: > Hi list, > > is it possible to define a classification once and then re-use it for > more > than one layer? I have 20 layers which all use the same classification, > but now I am redefining all the CLASS objects all the time in every > LAYER. > > I could not find anything about this in the Mapfile reference. > > Best regards, > Bart Bart, In a manner similar to fonts and symbols? No, this is not possible. But it would be useful. One way to implement this would be to extend the map file structure to allow nesting of layers, a concept that already exists in WMS. Define classes in a top-level layer (kinda like a group) and the sub-layers inherit the classes. However, this would involve significant changes to MapServer. cheers, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From eric at gomoos.org Tue Nov 18 02:34:24 2003 From: eric at gomoos.org (Eric Bridger) Date: 18 Nov 2003 10:34:24 +0000 Subject: [Mapserver-users] using one classification for multiple layers In-Reply-To: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> References: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> Message-ID: <1069151669.1769.15.camel@ubet.gomoos.org> So what is the difference between the 20 layers? Is it only the DATA source? You can reset the $layer->{data} = "$data_source_one" in mapscript or as a cgi parameter: map_layer_0_data=data_source_one. On Tue, 2003-11-18 at 14:35, bartvde at xs4all.nl wrote: > Hi list, > > is it possible to define a classification once and then re-use it for more > than one layer? I have 20 layers which all use the same classification, > but now I am redefining all the CLASS objects all the time in every LAYER. > > I could not find anything about this in the Mapfile reference. > > Best regards, > Bart From morissette at dmsolutions.ca Tue Nov 18 07:48:13 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 18 Nov 2003 10:48:13 -0500 Subject: [Mapserver-users] Re: PHP MapScript In-Reply-To: <1069168183.25699.7.camel@localhost> References: <1069147281.10862.3.camel@localhost> <3FBA207E.9020508@dmsolutions.ca> <1069163731.10860.11.camel@localhost> <3FBA2AEA.50807@dmsolutions.ca> <1069168183.25699.7.camel@localhost> Message-ID: <3FBA3F3D.20005@dmsolutions.ca> Fraser MacLeod wrote: > > Have followed the suggestions that you make. I have checked the > httpd.conf: > > AddType application/x-httpd-php .php .php4 .php3 > AddType application/x-httpd-php-cgi .phtml > AddType application/x-httpd-php-source .phps > AddHandler phtml-script .phtml > Action phtml-script /cgi-bin/php-cgi > Action application/x-httpd-php-cgi /cgi-bin/php-cgi > Try commenting out (or deleting) all the above lines and replacing them with only: AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml Action application/x-httpd-php-cgi /cgi-bin/php-cgi Then restart the server for the changes to take effect. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bartvde at xs4all.nl Tue Nov 18 07:57:02 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Tue, 18 Nov 2003 16:57:02 +0100 (CET) Subject: [Mapserver-users] using one classification for multiple layers In-Reply-To: <1171A7CE-19DB-11D8-8BC7-000393B98B56@frii.com> References: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> <1171A7CE-19DB-11D8-8BC7-000393B98B56@frii.com> Message-ID: <23480.212.238.227.182.1069171022.squirrel@webmail.xs4all.nl> Hi Sean, okay, I already thought this would not be possible. What I want would mean introducing a new object called e.g. CLASSIFICATION which is composed of several CLASS objects. Layers could then define a CLASSIFICATION or multiple CLASS objects (as they do now). Best regards, Bart > On Tuesday, November 18, 2003, at 07:35 AM, bartvde at xs4all.nl wrote: > >> Hi list, >> >> is it possible to define a classification once and then re-use it for >> more >> than one layer? I have 20 layers which all use the same classification, >> but now I am redefining all the CLASS objects all the time in every >> LAYER. >> >> I could not find anything about this in the Mapfile reference. >> >> Best regards, >> Bart > > Bart, > > In a manner similar to fonts and symbols? No, this is not possible. > > But it would be useful. One way to implement this would be to extend > the > map file structure to allow nesting of layers, a concept that already > exists in WMS. Define classes in a top-level layer (kinda like a group) > and the sub-layers inherit the classes. However, this would involve > significant changes to MapServer. > > cheers, > Sean > > -- > Sean Gillies > sgillies at frii dot com > http://www.frii.com/~sgillies > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From api at justapi.de Tue Nov 18 08:08:39 2003 From: api at justapi.de (Sebastian Albrecht) Date: Tue, 18 Nov 2003 17:08:39 +0100 Subject: [Mapserver-users] Graphical output errors with mercator projection Message-ID: <84171907209.20031118170839@justapi.de> Hello, me again ;) I have programmed a mapserver-demo-like web interface using PHP/mapscript so far. It should be possible to change to a few other projections. The problem is the mercator projection that does not work at all. Here you can see three images containing the output of mercator and a nasty graphical error: http://justapi.de/mapserv/ Why does mapserver show these strange errors and how can I make them disappear? Regards, Sebastian Albrecht As you can see in the following map file (shortened) I have two layers, a world coast line (projected in latlong/kartesian) and a grid: # Start of map file NAME Mapserver STATUS ON EXTENT -180 -150 180 150 SIZE 600 500 UNITS DD SHAPEPATH "./data" IMAGECOLOR 65 125 200 DEBUG TRUE IMAGETYPE png PROJECTION "proj=merc" "ellps=WGS84" END #----------------------------------------------------------- LAYER NAME "coastlines" TYPE POLYGON STATUS DEFAULT DATA cntry00 PROJECTION "proj=latlong" "ellps=WGS84" END CLASSITEM "CNTRY_NAME" CLASS NAME "L?nder" EXPRESSION /[ADGJMPSVY]./ OUTLINECOLOR 80 80 40 COLOR 230 230 150 END CLASS EXPRESSION /[BEHKNQTWZ]./ OUTLINECOLOR 80 80 40 COLOR 220 220 140 END CLASS EXPRESSION /./ OUTLINECOLOR 80 80 40 COLOR 200 200 120 END END LAYER NAME "grid" TYPE LINE STATUS default PROJECTION "proj=latlong" "ellps=WGS84" END GRID MINARCS 2 MAXARCS 10 LABELFORMAT "%5.5f" END CLASS SYMBOL "dashed_line" COLOR 170 170 200 LABEL TYPE BITMAP SIZE SMALL COLOR 200 200 230 SHADOWCOLOR 100 100 130 END END END END # Map File From mschulz at webgis.de Tue Nov 18 08:11:14 2003 From: mschulz at webgis.de (Michael Schulz) Date: Tue, 18 Nov 2003 17:11:14 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <200311181501.09187.bplatzen@sosnetz.de> References: <200311180945.38522.bplatzen@sosnetz.de> <3FBA0754.5040004@webgis.de> <200311181501.09187.bplatzen@sosnetz.de> Message-ID: <3FBA44A2.20901@webgis.de> Hi Bjoern, > Or is there a way to add the shapefileObject to >the layer? (myLayer.data = myShapefileName didn't work). > Well, actually that should work, but not with the shapefileobj, the filename of you newly created shapefile is enough (you probably have to "close" the new shapefile with shapefileObj=None before). Otherwise if you only want to add some features to the layerobj, you can use layerobj.addFeature, that only takes a shapeobj, so you don't need a shapefileobj. Cheers, Michael From bplatzen at sosnetz.de Tue Nov 18 08:52:09 2003 From: bplatzen at sosnetz.de (=?iso-8859-15?q?Bj=F6rn=20Platzen?=) Date: Tue, 18 Nov 2003 17:52:09 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <1069147223.1767.8.camel@ubet.gomoos.org> References: <200311180945.38522.bplatzen@sosnetz.de> <1069147223.1767.8.camel@ubet.gomoos.org> Message-ID: <200311181752.09279.bplatzen@sosnetz.de> Hi Eric, thanks for this hint! It now works perfectly! ...and as a hint to others who might run into similar problems: the dynamic layers have to be generated BEFORE I do the queryByPoint()... ...it took me half a day to find out... 8~( Bye, Bjoern. Am Dienstag, 18. November 2003 10:20 schrieb Eric Bridger: > On Tue, 2003-11-18 at 08:45, Bjoern Platzen wrote: > > Hi Folks, > > > > I have some point-data in a MySQL database. Just showing them was > > not a problem. But now I also want to make them queryable. As far > > as I found out in the ML-archive, in that case, I'll have to create > > a new (temporary) shapefile and a corresponding dbf, right? > > This is not strictly true. If you not only draw your points, > $point->draw(), but also add them as Features to your layer > (addFeature($shape)) you can query them as if a DBF file exists and > get the shape index returned. You can use this index to lookup your > MySQL keys values in a lookup table. If your MySQL key values are > numeric you can use them as the shape index and have them returned by > queryByPoint() and look up the record in MySQL. No lookup table > required.' > > This is the method I always use when drawing point data. There is a > Perl example here: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35e >x19 > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- small office solutions info at sosnetz.de - http://www.sosnetz.de From bplatzen at sosnetz.de Tue Nov 18 08:59:16 2003 From: bplatzen at sosnetz.de (=?iso-8859-1?q?Bj=F6rn=20Platzen?=) Date: Tue, 18 Nov 2003 17:59:16 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <3FBA44A2.20901@webgis.de> References: <200311180945.38522.bplatzen@sosnetz.de> <200311181501.09187.bplatzen@sosnetz.de> <3FBA44A2.20901@webgis.de> Message-ID: <200311181759.17000.bplatzen@sosnetz.de> Hi Michael, now I decided to walk the way, Eric suggested. Nevertheless, thanks for helping! I saw that I need that way in another project, where the Features change maybe once a year. There, I think, it will have a greater performance to write a new shapefile if something changes and then use the shapefile as layer data. > > Or is there a way to add the shapefileObject to > >the layer? (myLayer.data = myShapefileName didn't work). > > Well, actually that should work, but not with the shapefileobj, the > filename of you newly created shapefile is enough (you probably have > to "close" the new shapefile with shapefileObj=None before). > Otherwise if you only want to add some features to the layerobj, you > can use layerobj.addFeature, that only takes a shapeobj, so you don't > need a shapefileobj. You're right! that should work... The problem was, that myShapefileName contained the shapepath, the shapename and the appendix '.shp'... Bye, Bjoern. -- small office solutions info at sosnetz.de - http://www.sosnetz.de From Cedric.Moeri at bd.so.ch Tue Nov 18 09:12:41 2003 From: Cedric.Moeri at bd.so.ch (=?ISO-8859-1?Q?M=F6ri_C=E9dric?=) Date: Tue, 18 Nov 2003 18:12:41 +0100 Subject: [Mapserver-users] mappostgis.c for MapServer 3.6.6/Postgres7.3 Message-ID: <5B025B1F39D6D4119F5700508BEEEC660142324F@srsofaioi4546.ktso.ch> Dear list we are running in a problem as i described in a other mail to the list (see below). meanwhile i investigated some more on this topic and found the following: we are running MapServer3.6.6 and like to change to postgresql7.3. postgresql apparently changed the way in which EXPLAIN returns information. (http://lists.gis.umn.edu/pipermail/mapserver-users/2003-May/003855.html). There should be a patch for supporting postgres7.3 functionality for the mappostgis.c of MapServer3.6.6 (the download tarball isn't uptodate I think :-( ) May anyone provide me the patched/uptodate mappostgis.c file? thanks a lot in advance regards cedirc -----Urspr?ngliche Nachricht----- Von: M?ri C?dric [mailto:Cedric.Moeri at bd.so.ch] Gesendet am: Dienstag, 18. November 2003 15:10 An: 'mapserver-users at lists.gis.umn.edu' Cc: D?ster Horst Betreff: [Mapserver-users] (no subject) Dear list! we are running Mapserver as cgi with postgis as db. While in browse-mode everything is ok, but when changing in query-mode, the following error shows up: msPOSTGISLayerGetShape(): Query error. Error executing POSTGIS SQL statement (in FETCH ALL): EXPLAIN VERBOSE SELECT * FROM geo_gemeinden I found a discussion in the archive about this topic between Ignacio Laplagne and David Blasby, but no answer (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/msg00766.html ) we are using MapServer 3.6.6, postgreSQL 7.3.4, PostGIS CVS(7th nov 03). So I looks we are running in this postgresql handling problem with "explain verbose". David Blasby states that this problem shoud be fixed. But in which "version" of the mappostgis.c? Our version dates from 15. November 2002. Should it be fixed in this version or are there more recent ones? Or is this "bug" still travelling around? thanks for any hint in advance regards C?dric From palanisamyg at ornl.gov Tue Nov 18 09:38:49 2003 From: palanisamyg at ornl.gov (Palanisamy, Giri) Date: Tue, 18 Nov 2003 12:38:49 -0500 Subject: [Mapserver-users] how to set a busyimage in JBox? Message-ID: <0290E9A99BE89B4CB17908E29890A7063067A8@EXCHANGE.ornl.gov> Hi, I am trying to display a busy image ("your map is loading..") while the JBox is working. I have added "busyimage" param inside the applet script. But it is not displaying the busy image. Any idea? Thanks Giri From cstorozuk at shaw.ca Tue Nov 18 09:41:26 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Tue, 18 Nov 2003 11:41:26 -0600 Subject: [Mapserver-users] Arcview shapefile of type ArcZ won't load Message-ID: <003401c3adfb$3116f310$e60c4f18@duke> This is a multi-part message in MIME format. ------=_NextPart_000_0031_01C3ADC8.E61F47E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is there any way to load a shapefile that is an ArcZ rather than an Arc? = I've tried using TYPE LINE and TYPE POLYGON (using only OUTLINECOLOR), = but none of these seem to work. Thanks, Chris Storozuk ------=_NextPart_000_0031_01C3ADC8.E61F47E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is there any way to load a shapefile = that is an=20 ArcZ rather than an Arc? I've tried using TYPE LINE and TYPE POLYGON = (using only=20 OUTLINECOLOR), but none of these seem to work.

Thanks,
Chris = Storozuk
------=_NextPart_000_0031_01C3ADC8.E61F47E0-- From fraserm at terravistaltd.com Tue Nov 18 09:45:20 2003 From: fraserm at terravistaltd.com (Fraser MacLeod) Date: Tue, 18 Nov 2003 17:45:20 +0000 Subject: [Mapserver-users] Re: PHP MapScript In-Reply-To: <3FBA3F3D.20005@dmsolutions.ca> References: <1069147281.10862.3.camel@localhost> <3FBA207E.9020508@dmsolutions.ca> <1069163731.10860.11.camel@localhost> <3FBA2AEA.50807@dmsolutions.ca> <1069168183.25699.7.camel@localhost> <3FBA3F3D.20005@dmsolutions.ca> Message-ID: <1069177520.25698.9.camel@localhost> No change whatsoever I still get the same error message: Fatal error: Due to thread-safety problems, php_mapscript cannot be used as a 'apache2handler' module. You will have to reconfigure your PHP as a CGI to run this version of MapScript. See http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in /var/www/html/terraVX/pda/test.php on line 5 On Tue, 2003-11-18 at 15:48, Daniel Morissette wrote: > Fraser MacLeod wrote: > > > > Have followed the suggestions that you make. I have checked the > > httpd.conf: > > > > AddType application/x-httpd-php .php .php4 .php3 > > AddType application/x-httpd-php-cgi .phtml > > AddType application/x-httpd-php-source .phps > > AddHandler phtml-script .phtml > > Action phtml-script /cgi-bin/php-cgi > > Action application/x-httpd-php-cgi /cgi-bin/php-cgi > > > > Try commenting out (or deleting) all the above lines and replacing them > with only: > > AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml > Action application/x-httpd-php-cgi /cgi-bin/php-cgi > > Then restart the server for the changes to take effect. > > Daniel From eduardo at consultoria.eti.br Tue Nov 18 10:35:06 2003 From: eduardo at consultoria.eti.br (Eduardo P. Kanegae) Date: Tue, 18 Nov 2003 16:35:06 -0200 Subject: [Mapserver-users] Arcview shapefile of type ArcZ won't load In-Reply-To: <003401c3adfb$3116f310$e60c4f18@duke> References: <003401c3adfb$3116f310$e60c4f18@duke> Message-ID: <20031118183506.5204.qmail@hm47.locaweb.com.br> use ... CONNECTIONTYPE OGR CONNECTION "../myshapefilez.shp" ... Eduardo P. Kanegae http://www.consultoria.eti.br - BRASIL F?rum ptMapServer - http://www.consultoria.eti.br/mapserverptforum/ ClickBrasil - http://www.consultoria.eti.br/clickbrasil/ *************************************** ***Fim da Mensagem / End of Message *** *************************************** On Tue, 18 Nov 2003 11:41:26 -0600, Chris Storozuk escreveu: > De: Chris Storozuk > Data: Tue, 18 Nov 2003 11:41:26 -0600 > Para: MapServer Mailing List > Assunto: [Mapserver-users] Arcview shapefile of type ArcZ won't load > > > Is there any way to load a shapefile that is an ArcZ rather than an Arc? I've tried using TYPE LINE and TYPE POLYGON (using only OUTLINECOLOR), but none of these seem to work. > > Thanks, > Chris Storozuk > > From morissette at dmsolutions.ca Tue Nov 18 12:36:44 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 18 Nov 2003 15:36:44 -0500 Subject: [Mapserver-users] using one classification for multiple layers In-Reply-To: <23480.212.238.227.182.1069171022.squirrel@webmail.xs4all.nl> References: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> <1171A7CE-19DB-11D8-8BC7-000393B98B56@frii.com> <23480.212.238.227.182.1069171022.squirrel@webmail.xs4all.nl> Message-ID: <3FBA82DC.3000006@dmsolutions.ca> bartvde at xs4all.nl wrote: > > What I want would mean introducing a new object called e.g. CLASSIFICATION > which is composed of several CLASS objects. Layers could then define a > CLASSIFICATION or multiple CLASS objects (as they do now). > Sean Gillies wrote: >> >>But it would be useful. One way to implement this would be to extend >>the >>map file structure to allow nesting of layers, a concept that already >>exists in WMS. Define classes in a top-level layer (kinda like a group) >>and the sub-layers inherit the classes. However, this would involve >>significant changes to MapServer. >> I think the CLASSIFICATION idea (or whatever we call a block of classes) would cause much less chaos in MapServer than nesting layers. (Even though nesting layers may be nice for some reasons.) My 0.02$ Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Tue Nov 18 12:54:07 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 18 Nov 2003 15:54:07 -0500 Subject: [Mapserver-users] mappostgis.c for MapServer 3.6.6/Postgres7.3 In-Reply-To: <5B025B1F39D6D4119F5700508BEEEC660142324F@srsofaioi4546.ktso.ch> References: <5B025B1F39D6D4119F5700508BEEEC660142324F@srsofaioi4546.ktso.ch> Message-ID: <3FBA86EF.3060708@dmsolutions.ca> M?ri C?dric wrote: > > we are running in a problem as i described in a other mail to the list (see > below). meanwhile i investigated some more on this topic and found the > following: > > we are running MapServer3.6.6 and like to change to postgresql7.3. > postgresql apparently changed the way in which EXPLAIN returns information. > (http://lists.gis.umn.edu/pipermail/mapserver-users/2003-May/003855.html). > There should be a patch for supporting postgres7.3 functionality for the > mappostgis.c of MapServer3.6.6 (the download tarball isn't uptodate I think > :-( ) > > May anyone provide me the patched/uptodate mappostgis.c file? > This file was updated after the 3.6.6 release, so you can get it only via CVS. I made a copy of the file available for download at http://www2.dmsolutions.ca/tmp/mappostgis.c (Note that this link my work only for a few days). -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From gis at gisrs.com Tue Nov 18 15:10:02 2003 From: gis at gisrs.com (Stephen Wallace) Date: Tue, 18 Nov 2003 18:10:02 -0500 Subject: [Mapserver-users] Map Lab question continued Message-ID: <003f01c3ae29$18696b80$12b0fea9@dell> This is a multi-part message in MIME format. ------=_NextPart_000_0040_01C3ADFF.2F936380 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Paul Zak and the list A couple of weeks ago I asked for assistance with error below Error Parsing dundas1.map Description (DundasTC) in /maplab/common/wrapper/drawmap.php The answer to the error relates to MapLab. Using the the MapEdit module when a raster file is added using the Data combo box, the raster extension has to be typed in after the image has been selected. The parsing problem must be related to the fact that when I first added the raster no extension was on the file. Thanks for the help. Stephen Wallace Email gis at gisrs.com ------=_NextPart_000_0040_01C3ADFF.2F936380 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Paul  Zak and=20 the list
 
A = couple of weeks=20 ago I asked for assistance with error below
 

Error Parsing = dundas1.map=20

I = installed MapLab=20 (2.1RC3) using ms4w
 
Thanks
 
 
Stephen Wallace
------=_NextPart_000_0053_01C3B5BA.A641A3D0-- From morissette at dmsolutions.ca Fri Nov 28 11:21:18 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 28 Nov 2003 14:21:18 -0500 Subject: [Mapserver-users] Re: [ms4w-users] Problems with tab files in MapLab In-Reply-To: <005201c3b5e4$8f17abd0$12b0fea9@dell> References: <005201c3b5e4$8f17abd0$12b0fea9@dell> Message-ID: <3FC7A02E.60200@dmsolutions.ca> In MapServer 4.0 and 3.6, the OGR connections were *not* relative to the SHAPEPATH. This has been fixed in version 4.1 (under development). Try setting absolute paths inyour OGR connections. Daniel Stephen Wallace wrote: > To the list > > I am having difficulties getting MapInfo tab files working with my setup > of Mapserver/MapLab. > * * > I have set up the map using MapEdit and got the following error when I > tried to open the map in MapBrowser. > > *Error Parsing DundasSub.map* > Description > Open failed for OGR connection `DundasHome.TAB'. File not found or > unsupported format. in /maplab/common/wrapper/drawmap.php > Failed to draw layer named 'DundasHomeTab'. in > /maplab/common/wrapper/drawmap.php > > In MapEdit I set the following parameters > > Data - left blank > Type - polygon > Connection Type - OGR > Connection - DundasHome.TAB > > The map has 3 other files, two shape files and 1 ecw file which worked > correctly until the tab file was added. > > > I installed MapLab (2.1RC3) using ms4w > > Thanks > > > Stephen Wallace From morissette at dmsolutions.ca Fri Nov 28 12:06:35 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 28 Nov 2003 15:06:35 -0500 Subject: [Mapserver-users] MapServer passes 82/83 tests of the OGC WMS testsuite Message-ID: <3FC7AACB.5050208@dmsolutions.ca> Hi, I thought you might be interested to hear that MapServer 4.1 (current development version) has passed 82 out of 83 tests of the OGC WMS test suite. This is the version of the software that should be released early next year as version 4.2. The test that we don't pass is one related to producing an image with non-square pixels, or in other words producing a map image where the width/height ratio in pixels doesn't match the dx/dy ratio in geographic coordinates. This is something most clients won't try to request anyway so it's not that big a deal. The current version of MapServer can only produce map images where the x-scale and y-scale are equal. We've started looking at fixing this with Steve way back when, but that would affect quite a bit of code and we never ended up making the required changes. We may have to tackle that one if we decide to go after official certification, but for now we know that we pass all the tests except one, and that's the most important think. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Fri Nov 28 12:08:42 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 28 Nov 2003 15:08:42 -0500 Subject: [Mapserver-users] Re: MapServer passes 82/83 tests of the OGC WMS testsuite In-Reply-To: <3FC7AACB.5050208@dmsolutions.ca> References: <3FC7AACB.5050208@dmsolutions.ca> Message-ID: <3FC7AB4A.9010303@dmsolutions.ca> Oh, BTW, Kudos to Assefa and Normand for their great work on this! I snet the announcement but they did all the work! :) Daniel Daniel Morissette wrote: > Hi, > > I thought you might be interested to hear that MapServer 4.1 (current > development version) has passed 82 out of 83 tests of the OGC WMS test > suite. This is the version of the software that should be released early > next year as version 4.2. > > The test that we don't pass is one related to producing an image with > non-square pixels, or in other words producing a map image where the > width/height ratio in pixels doesn't match the dx/dy ratio in geographic > coordinates. This is something most clients won't try to request anyway > so it's not that big a deal. The current version of MapServer can only > produce map images where the x-scale and y-scale are equal. We've > started looking at fixing this with Steve way back when, but that would > affect quite a bit of code and we never ended up making the required > changes. > > We may have to tackle that one if we decide to go after official > certification, but for now we know that we pass all the tests except > one, and that's the most important think. > > Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From doug at moximedia.com Fri Nov 28 12:36:23 2003 From: doug at moximedia.com (Doug Cates) Date: 28 Nov 2003 12:36:23 -0800 Subject: [Mapserver-users] Re: MapServer passes 82/83 tests of the OGC WMS testsuite In-Reply-To: <3FC7AB4A.9010303@dmsolutions.ca> References: <3FC7AACB.5050208@dmsolutions.ca> <3FC7AB4A.9010303@dmsolutions.ca> Message-ID: <1070051783.4070.491.camel@moxi-rh9> Daniel, Well done. This is great news. Congratulations to all involved. Doug On Fri, 2003-11-28 at 12:08, Daniel Morissette wrote: > Oh, BTW, Kudos to Assefa and Normand for their great work on this! > > I snet the announcement but they did all the work! :) > > Daniel > > > Daniel Morissette wrote: > > Hi, > > > > I thought you might be interested to hear that MapServer 4.1 (current > > development version) has passed 82 out of 83 tests of the OGC WMS test > > suite. This is the version of the software that should be released early > > next year as version 4.2. > > > > The test that we don't pass is one related to producing an image with > > non-square pixels, or in other words producing a map image where the > > width/height ratio in pixels doesn't match the dx/dy ratio in geographic > > coordinates. This is something most clients won't try to request anyway > > so it's not that big a deal. The current version of MapServer can only > > produce map images where the x-scale and y-scale are equal. We've > > started looking at fixing this with Steve way back when, but that would > > affect quite a bit of code and we never ended up making the required > > changes. > > > > We may have to tackle that one if we decide to go after official > > certification, but for now we know that we pass all the tests except > > one, and that's the most important think. > > > > Daniel > From Tom.Kralidis at ec.gc.ca Fri Nov 28 12:48:30 2003 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Burlington]) Date: Fri, 28 Nov 2003 15:48:30 -0500 Subject: [Mapserver-users] MapServer passes 82/83 tests of the OGC WMS testsuite Message-ID: <2576812186CDD411BF1500508B6DCE950583D2A0@ECNWRI1.ontario.int.ec.gc.ca> > -----Original Message----- > From: Daniel Morissette [mailto:morissette at dmsolutions.ca] > Sent: Friday, November 28, 2003 3:07 PM > To: mapserver-users > Subject: [Mapserver-users] MapServer passes 82/83 tests of > the OGC WMS testsuite > > > Hi, > > I thought you might be interested to hear that MapServer 4.1 (current > development version) has passed 82 out of 83 tests of the OGC > WMS test > suite. This is the version of the software that should be > released early > next year as version 4.2. > This is great news! Congrats to the development group which helped MapServer pass the test assertions at OGC CITE. > The test that we don't pass is one related to producing an image with > non-square pixels, or in other words producing a map image where the > width/height ratio in pixels doesn't match the dx/dy ratio in > geographic > coordinates. This is something most clients won't try to > request anyway > so it's not that big a deal. The current version of MapServer > can only > produce map images where the x-scale and y-scale are equal. We've > started looking at fixing this with Steve way back when, but > that would > affect quite a bit of code and we never ended up making the required > changes. > > We may have to tackle that one if we decide to go after official > certification, but for now we know that we pass all the tests except > one, and that's the most important think. > I strongly suggest we do this to get the official stamp of approval. Official conformance will be very important for "OGC-compliant" software, which many organizations will write into their requirements for projects. Is there any works for doing the same for OGC:WFS in MapServer? ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > From gerry.creager at tamu.edu Fri Nov 28 19:43:22 2003 From: gerry.creager at tamu.edu (Gerry Creager N5JXS) Date: Fri, 28 Nov 2003 21:43:22 -0600 Subject: [Mapserver-users] Re: MapServer passes 82/83 tests of the OGC WMS testsuite In-Reply-To: <3FC7AB4A.9010303@dmsolutions.ca> References: <3FC7AACB.5050208@dmsolutions.ca> <3FC7AB4A.9010303@dmsolutions.ca> Message-ID: <3FC815DA.4080107@tamu.edu> Congratulations to all on the accomplishment. Regards, Gerry Daniel Morissette wrote: > Oh, BTW, Kudos to Assefa and Normand for their great work on this! > > I snet the announcement but they did all the work! :) > > Daniel > > > Daniel Morissette wrote: > >> Hi, >> >> I thought you might be interested to hear that MapServer 4.1 (current >> development version) has passed 82 out of 83 tests of the OGC WMS test >> suite. This is the version of the software that should be released >> early next year as version 4.2. >> >> The test that we don't pass is one related to producing an image with >> non-square pixels, or in other words producing a map image where the >> width/height ratio in pixels doesn't match the dx/dy ratio in >> geographic coordinates. This is something most clients won't try to >> request anyway so it's not that big a deal. The current version of >> MapServer can only produce map images where the x-scale and y-scale >> are equal. We've started looking at fixing this with Steve way back >> when, but that would affect quite a bit of code and we never ended up >> making the required changes. >> >> We may have to tackle that one if we decide to go after official >> certification, but for now we know that we pass all the tests except >> one, and that's the most important think. >> >> Daniel > > > -- Gerry Creager -- gerry.creager at tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From bartvde at xs4all.nl Sat Nov 29 04:38:31 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Sat, 29 Nov 2003 13:38:31 +0100 Subject: [Mapserver-users] MapServer passes 82/83 tests of the OGC WMS testsuite In-Reply-To: <3FC7AACB.5050208@dmsolutions.ca> References: <3FC7AACB.5050208@dmsolutions.ca> Message-ID: Hi Daniel, great news! I think a lot of people out there will be thankful for this. Does this include the testing of the optional GetFeatureInfo interface? I agree with Tom that it would be the best to have Mapserver officially certified, since Mapserver is now so close to this. Does anybody know if there is a public list of WMS servers which have passed all tests and have been certified? Best regards, Bart On Fri, 28 Nov 2003 15:06:35 -0500, Daniel Morissette wrote: > Hi, > > I thought you might be interested to hear that MapServer 4.1 (current > development version) has passed 82 out of 83 tests of the OGC WMS test > suite. This is the version of the software that should be released early > next year as version 4.2. > > The test that we don't pass is one related to producing an image with > non-square pixels, or in other words producing a map image where the > width/height ratio in pixels doesn't match the dx/dy ratio in geographic > coordinates. This is something most clients won't try to request anyway > so it's not that big a deal. The current version of MapServer can only > produce map images where the x-scale and y-scale are equal. We've > started looking at fixing this with Steve way back when, but that would > affect quite a bit of code and we never ended up making the required > changes. > > We may have to tackle that one if we decide to go after official > certification, but for now we know that we pass all the tests except > one, and that's the most important think. > > Daniel -- From map_surfer at yahoo.com Sat Nov 29 08:41:48 2003 From: map_surfer at yahoo.com (Damian Schroder) Date: Sat, 29 Nov 2003 08:41:48 -0800 (PST) Subject: [Mapserver-users] querybyattributes with Postgres/Postgis Layer In-Reply-To: <1069871526.1223.27.camel@katrin> Message-ID: <20031129164148.89970.qmail@web80703.mail.yahoo.com> --0-1435250590-1070124108=:89418 Content-Type: text/plain; charset=us-ascii try using a filter instead of querybyattributes. Nicol Hermann wrote:Dear List, i trying to do a querybyattributes Query with a Postgres/Postgis layer and get the following error: Warning: [MapServer Error]: prep_DB(): Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT plzort01::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),OID::text from plz_gebiete WHERE (Mutterstadt) and (the_geom && setSRID( 'BOX3D(5.865627 46.57242768,15.039879 55.75900832)'::BOX3D,find_srid('','plz_gebiete','the_geom') ))' here is the relevant part of my code: $layer = $Map ->getLayerbyname("Regionen"); $layer -> set("status", MS_ON ); $status = $layer->querybyattributes("plzort01", "Mutterstadt", MS_MULTIPLE); It seems that the 'qitem' (plzort01) won't be evaluated because it is not present in the SQL statement. I also tried the qitem with upper case. The same error appears. The debugging message on my shell says: ERROR: Attribute "mutterstadt" not found My Postgis Version is: Mappostgis.c - version of June 12/2003. and i`am using Mapserver 4.0.1 on a Linux box. Does anybody know how I can solve this problem? Many thanks Nicol -- Nicol Hermann _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --0-1435250590-1070124108=:89418 Content-Type: text/html; charset=us-ascii
try using a filter instead of querybyattributes.

Nicol Hermann <mapserver at geochem.de> wrote:
Dear List,

i trying to do a querybyattributes Query with a Postgres/Postgis layer
and get the following error:

Warning: [MapServer Error]: prep_DB(): Error executing POSTGIS DECLARE
(the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT
plzort01::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),OID::text from plz_gebiete WHERE (Mutterstadt) and (the_geom && setSRID( 'BOX3D(5.865627 46.57242768,15.039879 55.75900832)'::BOX3D,find_srid('','plz_gebiete','the_geom') ))'

here is the relevant part of my code:

$layer = $Map ->getLayerbyname("Regionen");
$layer -> set("status", MS_ON );
$status = $layer->querybyattributes("plzort01", "Mutterstadt",
MS_MULTIPLE);

It seems that the 'qitem' (plzort01) won't be evaluated because it is
not present in the SQL statement.
I also tried the qitem with upper case. The same error appears.

The debugging message on my shell says:
ERROR: Attribute "mutterstadt" not found

My Postgis Version is: Mappostgis.c - version of June 12/2003.
and i`am using Mapserver 4.0.1 on a Linux box.

Does anybody know how I can solve this problem?
Many thanks
Nicol


--
Nicol Hermann

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


Do you Yahoo!?
Free Pop-Up Blocker - Get it now --0-1435250590-1070124108=:89418-- From edman007x at mac.com Sat Nov 29 08:59:53 2003 From: edman007x at mac.com (Ed Martin) Date: Sat, 29 Nov 2003 11:59:53 -0500 Subject: [Mapserver-users] Segmentation Fault -- reference image -- PHP Message-ID: <74035440-228D-11D8-9387-0003934DD798@mac.com> i am using the map file and map stuff from the cvs mapserver (did not compile from cvs, i used the stable version 4.0.1) and when i try to get the reference image using a very simple script i get the jpeg header an then a segmentation fault when run in the command line and a blank page when in a browser, turning off the jpeg header still gives me a blank page here is the php file i am using drawReferenceMap(); $img->saveImage(''); ?> and here is the reference part of the map file #refence map REFERENCE IMAGE ./reference.jpeg EXTENT -0.5 50.977222 0.5 51.977222 SIZE 120 120 STATUS ON COLOR 255 255 0 OUTLINECOLOR 255 100 0 STATUS ON MARKER "line" MARKERSIZE 5 MINBOXSIZE 50 MINBOXSIZE 100 END i have output set to jpeg and changing the reference image to jpg or png doesn't help and i tried gif and that gave an error saying that it couldn't load it (probably because gifs aren't supported by gd, but this page ( http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#referencemap ) says it has to be a gif) could it be the way i made the reference image, i just took the main image, cropped out the boarder, shrunk it to 120x120 and saved it in various formats i see nothing in my apache logs, but i know it is logging to them because a parse error will show up, i have error reporting set to the highest (E_ALL), i'm using mapserver 4.0.1, php 4.3.4 as CGI, apache 2.0.48, slackware linux 9.0 so does anyone have any clue as to what is causing this, my map file, do i have to put more stuff in the php file, is it the way i made the image, or is it a bug From ycnyon at pd.jaring.my Sat Nov 29 10:08:06 2003 From: ycnyon at pd.jaring.my (YC Nyon) Date: Sun, 30 Nov 2003 02:08:06 +0800 Subject: [Mapserver-users] RE: Color not accurate in dynamic layer. Message-ID: <003501c3b6a3$de0fae80$4682063d@domain> This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C3B6E6.CB7E6F20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, My application plots points dynamically from a database. The user can select the color and symbol used. All is fine. However, the color is not accurate when they are other layers switched on. These layers also has labels with the use of buffer and outlines colors. My point that should be green turn out to be grey. When I zoom in, the color is green. I'm think there is somethiing with the PNG color table. If i set the output to jpeg, everything is correct. Anyone encountered this before? Using PHP-MS 4.0 on windows. regards Nyon ------=_NextPart_000_0032_01C3B6E6.CB7E6F20 Content-Type: image/png; name="wrong_color.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="wrong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SZfpqIMKedGgHXom/MUxT2ovOlyW9BVONZSMKOmJkDaEhgrKIrTmRyVsRPms6NCyRXgVDY6PULYp hu56DsA0UTItrkP8g5JQofnMtGpRPB8G6DkLWMuZbCQfx5oBcJmQiGvQsJkaCw6p2uBvAcDiJh1B IhF6aVKoET7h8m1Pt8aKVRYbGAqfZVnVlxhYFKYhjHWiTxjgpFNPO1n4WU/2LB3Zyn8lwjLXsfYF VWxd5XntcrJryTnDz9NyoJ6D0unL2oDtTApjU/uPwD63hZ/1dOcSc3baEGZOTOGNkMdKmjXmnUmx 7xXfDZsmCumNUAsj0iUknLyuWJHrZQaOY7RIs5vrvhRdzTPQ2A1iiiySceq6Eg9dTbFiv17YrhJB vyhaAtoMCgeCPOJx6sLKtFqi3SaWfSL9iusnlkbictaAgxhpSVNkR2WdjLCartAQ1hoSfYaMBKx2 wICtlgA0YeEhKCrccBF+WeDrBY6mLDTAhKWNKzOWRSbNgNHEhQKvsMyzGyHzaYHIrBsvmrBQ4NyU YpcN8SeJRQnxuNCEhQLLLjjodt+Tq7GarJBgCoGAvkT2BMNmmq7QQGJ4JVkaQYpamhrz34SFBXFF Oui6XA616YbTACQAvywqbn7DXfTcOJYVkk1RS1qLI6IBG3WqrSasLeB0NrQ1LA0VpFU7yw1FUL7W asraBoofjNiEtSUUVFcT1qni/wPf8hCBBVg2TQAAAABJRU5ErkJggg== ------=_NextPart_000_0032_01C3B6E6.CB7E6F20 Content-Type: image/png; name="correct_color.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="correct_color.png" iVBORw0KGgoAAAANSUhEUgAAAlgAAAHICAMAAAHSMVSmAAADAFBMVEVMl9v36bcAAAD////o8vq/ v7/+/Pb68dIfHx/468D57sn9+e379Nv89uT8/f7f39/+/v3+/fn+/Pj+/vz47cf+/fr68tb+/fv9 +vH79N379uL9+e79+/T+/v7+/Pf9+u/79d/9+vL89+f+/fz9/Pj7+/v9+/P9+e/478758M/+/f39 /PYJEhsDAwM/Pz8fHx6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YTKxHL1XxjAVltgL bSCqraRFEx6oq3xh2BQuswoWCDLIgXhLMs+6wcE0WcNEWMwQYwdZBVIW66HmEB6llSlWMu9k4JXR tzXCUk1EtLBzyo6IYZ57kYgNsZpuGJdJWKyNZiusWWGuhgJZshultAus9hUqljHyUZmHsYAuaodY ike58FoiZSF2ClFBqsx7WmEBduuERYzeDF5a2wjL32VN0RZ27+wJrLQyEJZGO5oVRRAZglFWcmHx o5PF+fm4VMOusL2wbJTFpNunniTg3q7Wae3wsmdlpRcWMQnIeoJ0zWmYnVaFXiv9UnMuBtD8QjbC akgNBcZJTdMcq1RW+ucWJwO2FpZXkpQpAEg3ZvL6izDE6LQyFFbDx+zMrOzkdRhhBthQWJ7KWg6a mVfTTR99IDQYe3y3E5bnzadr9wH3XoOD4vMGnWO6nbACuBXA5PvOQPMN/w9/I9KC6wz5KwAAAABJ RU5ErkJggg== ------=_NextPart_000_0032_01C3B6E6.CB7E6F20-- From sgillies at frii.com Sat Nov 29 12:11:22 2003 From: sgillies at frii.com (Sean Gillies) Date: Sat, 29 Nov 2003 13:11:22 -0700 Subject: [Mapserver-users] RE: Color not accurate in dynamic layer. In-Reply-To: <003501c3b6a3$de0fae80$4682063d@domain> Message-ID: <33855A80-22A8-11D8-8D74-000393B98B56@frii.com> On Saturday, November 29, 2003, at 11:08 AM, YC Nyon wrote: > Hi, > > My application plots points dynamically from a database. The user can > select > the color and symbol used. > All is fine. > > However, the color is not accurate when they are other layers switched > on. > These layers also has labels with the use of buffer and outlines > colors. > My point that should be green turn out to be grey. When I zoom in, the > color > is green. I'm think there is somethiing with the PNG color table. If i > set > the output to jpeg, everything is correct. > > Anyone encountered this before? Using PHP-MS 4.0 on windows. > > regards > Nyon > Nyon, There are three entries in Bugzilla which may be related: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=306 http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=397 http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=475 It may be that the 8-bit color palette for your PNG is already filled when it comes time to draw the symbol. You may not think that you are using many colors because you only have 2 layers ... the culprit is the antialiasing you use for the country labels. Examine them closely and you will see that there are many many different colors used. In the image you named 'wrong_color.png', the labels have exhausted the color palette and so GD is limited to choosing an existing color instead of green. No label appears for the grey triangle because MapServer cannot add white to the palette and is using the map's background color. In the second image you provide, the labels have not quite exhausted the palette and so a green color can be added. One solution would be to draw the point with its symbol and label before you draw and label the countries. This means raising it in the order of layers within the map file. Not a great solution, particularly if you need these symbols to be drawn over the countries, but should work. Another solution that has occurred to me is that you could define a new layer in your map file, make it the first layer, and define for it a class and style that use the same green color that you want to use layer for your points. This would serve the purpose of getting that color into the palette early before all the available colors are taken by the antialiased labels. cheers, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From Tom.Kralidis at ec.gc.ca Sat Nov 29 13:05:13 2003 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Burlington]) Date: Sat, 29 Nov 2003 16:05:13 -0500 Subject: [Mapserver-users] Support for WMS time parameter Message-ID: <2576812186CDD411BF1500508B6DCE950583D2A8@ECNWRI1.ontario.int.ec.gc.ca> Hi, As per OGC WMS 1.1.1 and later, the specification allows a client to request maps with an additional/optional "TIME" parameter. The format of the value is as per ISO8601. Having said this, is there support for this in MapServer? Applicability Vector: we have climate databases with daily records dating back to 1840 Raster: consider a repository of satellite images with idential spatial properties but acquired at different dates. Any word on this? Thanks ..Tom ============================================ Tom Kralidis Systems Scientist Integrated Environmental Applications Branch Knowledge Integration Directorate Environment Canada 867 Lakeshore Road Burlington, ON L7R 4A6 Canada Tel: +01-905-336-4409 http://www.cise-scie.ca/ ============================================ From zaltand at iol.it Sun Nov 30 10:25:33 2003 From: zaltand at iol.it (zaltand at iol.it) Date: Sun, 30 Nov 2003 19:25:33 +0100 Subject: [Mapserver-users] Postgis query problem Message-ID: Hello, If I do a QueryByPoint on layer all works, when I do QuwryByRect I have the following error: Warning: [MapServer Error]: msPOSTGISLayerGetShape(): Error executing POSTGIS SQL statement (in FETCH ALL): DECLARE mycursor BINARY CURSOR FOR SELECT asbinary(force_collection(force_2d(the_geom)),'NDR') from layer4 WHERE OID = 18158 -ERROR: cursor "mycursor" already exists The indexes on the table are ok: I created two indexes, one GIST type and one on OID. My platform is LINUX with postgres 7.4, postgis 0.8.0, mapserver 4.0.1 and php 4.3.3 Thanks in advance... Andrea From gis at gisrs.com Sun Nov 30 10:59:27 2003 From: gis at gisrs.com (Stephen Wallace) Date: Sun, 30 Nov 2003 13:59:27 -0500 Subject: [Mapserver-users] Re: [ms4w-users] Problems with tab files in MapLab In-Reply-To: <3FC7A02E.60200@dmsolutions.ca> Message-ID: <00ad01c3b774$1773a4d0$12b0fea9@dell> Daniel Your advise solved the problem Thanks Stephen Wallace In MapServer 4.0 and 3.6, the OGR connections were *not* relative to the SHAPEPATH. This has been fixed in version 4.1 (under development). Try setting absolute paths inyour OGR connections. Daniel Stephen Wallace wrote: > To the list > > I am having difficulties getting MapInfo tab files working with my > setup > of Mapserver/MapLab. > * * > I have set up the map using MapEdit and got the following error when I > tried to open the map in MapBrowser. > > *Error Parsing DundasSub.map* > Description > Open failed for OGR connection `DundasHome.TAB'. File not found or > unsupported format. in /maplab/common/wrapper/drawmap.php > Failed to draw layer named 'DundasHomeTab'. in > /maplab/common/wrapper/drawmap.php > > In MapEdit I set the following parameters > > Data - left blank > Type - polygon > Connection Type - OGR > Connection - DundasHome.TAB > > The map has 3 other files, two shape files and 1 ecw file which worked > correctly until the tab file was added. > > > I installed MapLab (2.1RC3) using ms4w > > Thanks > > > Stephen Wallace _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From fx.gamoy at mapxplore.com Sun Nov 30 14:01:34 2003 From: fx.gamoy at mapxplore.com (fx gamoy) Date: Sun, 30 Nov 2003 22:01:34 -0000 Subject: [Mapserver-users] problem with symbol use in polygon layer in debian release Message-ID: <000c01c3b78d$853f8470$0201a8c0@mapxplore.com> C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0009_01C3B78D.84D43F80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello everybody i have compiled a mapserver3.6.6 with php_mapscript everything is ok but i can't use a symbole in a layer of type POLYGON CLASS=20 NAME "com"=20 TITLE "OFF"=20 EXPRESSION "OFF" SYMBOL 'circle' OUTLINECOLOR 184 51 184=20 color 255 217 236 SIZE 2=20 MINSIZE 1=20 MAXSIZE 100=20 END It causes an php premature script end header and works fine when i let SYMBOL 0 and circle is defined in symbol.sym MAP SHAPEPATH "./data" SYMBOLSET "etc/symbols.sym"=20 FONTSET "./etc/fonts.txt"=20 Any idea?? thanks fx ------=_NextPart_000_0009_01C3B78D.84D43F80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello everybody
i have compiled a mapserver3.6.6 with=20 php_mapscript
everything is ok but i can't use a = symbole in a=20 layer of type POLYGON
 
CLASS=20
          NAME "com"=20
          TITLE "OFF"=20
          EXPRESSION=20 "OFF"
          SYMBOL=20 'circle'
          = OUTLINECOLOR=20 184 51=20 184 
          =  color=20 255 217 236
         =20 SIZE 2 
        &nbs= p;=20 MINSIZE 1
          = MAXSIZE 100=20
END
 
It causes an php premature script end=20 header
and works fine when i let SYMBOL = 0
 
and circle is defined in = symbol.sym
MAP
 
  SHAPEPATH "./data"
  = SYMBOLSET=20 "etc/symbols.sym"
  FONTSET "./etc/fonts.txt"
Any idea??
thanks
fx
------=_NextPart_000_0009_01C3B78D.84D43F80-- From fx.gamoy at mapxplore.com Sun Nov 30 14:06:06 2003 From: fx.gamoy at mapxplore.com (fx gamoy) Date: Sun, 30 Nov 2003 22:06:06 -0000 Subject: [Mapserver-users] problem using index pixmap with debian Message-ID: <001701c3b78e$271f0810$0201a8c0@mapxplore.com> C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_0014_01C3B78E.26C6D5F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello i am using a self compiled release of mapserver 3.6.6 with php_mapscript = into a debian machine. I have some problems with pixmap symbol. I can't use png indexed image type because mapserver crash. So i must = use 256 colors png images and the transparent method don't works = anymore. What is wrong in my case? ti works very well in win200 plateform with binary release Thanks to any suggestion fx ------=_NextPart_000_0014_01C3B78E.26C6D5F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello
i am using a self compiled release of = mapserver=20 3.6.6 with php_mapscript into a debian machine.
 
I have some problems with pixmap=20 symbol.
I can't use png indexed image type = because=20 mapserver crash. So i must use 256 colors png images and the transparent = method=20 don't works anymore.
What is wrong in my case?
ti works very well in win200 plateform = with binary=20 release
Thanks to any suggestion
fx
------=_NextPart_000_0014_01C3B78E.26C6D5F0-- From green at fboweb.com Sun Nov 30 20:00:16 2003 From: green at fboweb.com (Andy Green) Date: Sun, 30 Nov 2003 23:00:16 -0500 Subject: [Mapserver-users] GeoTIFF's and some FAA Data Message-ID: <008a01c3b7bf$a19774c0$6501a8c0@aviation4> This is a multi-part message in MIME format. ------=_NextPart_000_008B_01C3B795.B8C16CC0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi folks. I just set up the server for the first time, and got it all running using the demo, so it seems to work great. I'm trying to use the server as a WMS server, and I'm having a bit of trouble. Specifically, I'm trying to use a particular GeoTIFF, available at the following link: http://www.naco.faa.gov/index.asp?xml=naco/catalog/charts/digital/Raster _Sectional_Sample/Raster#3 It includes a .tif file and a .tfw file (which I've renamed sample.wld, cuz that's what the docs say to do). When I try to pull the map from the mapserver when specifying a particular bounding box [that should return a valid map], I always get a blank image. however when I pull the map from the WMS server and OMIT a bounding box parameter, I get a big seemingly blank image with a thumbnail-sized view of the GeoTIFF way down at the bottom image. My guess is that somehow my projections are messed up, or perhaps the server is not seeing the .wld file. If anyone could provide some pointers, I'd greatly appreciate it.! Andy, green at fboweb.com PS: Here's my .MAP file. # # Start of map file # NAME DEMO STATUS ON SIZE 600 600 #EXTENT 435376.6668 167787.8676 455661.5904 176788.656 # original extent #EXTENT 388107.634400379 5203120.88405952 500896.339019834 5310243.30613897 # modified extent from andy EXTENT 455661.5904 167787.8676 435376.6670 5310243.30613897 # entire extent #EXTENT 0.0 0.0 684000.0 684000.0 #EXTENT 0.0 9999999.9 0.0 9999999.0 #EXTENT -408683.0 512426.0 -408683.0 512426.0 UNITS METERS SHAPEPATH "data" IMAGECOLOR 255 255 255 # you may need to change this to match your MapServer build #IMAGETYPE PNG # # Projection definition, consult the PROJ.4 documentation for parameter discussion # #PROJECTION # "proj=utm" # "ellps=GRS80" # "zone=15" # "north" # "no_defs" # # OR: # # "init=epsg:26915" #END PROJECTION "proj=lcc" "ellps=GRS80" "lat_1=41.333333" "lat_2=46.666667" "lat_0=44.5" "lon_0=-121.0" "x_0=0.0" "y_0=0.0" END # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html MINSCALE 1000 MAXSCALE 3550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" METADATA "wms_title" "Seattle Sectional Demo" WMS_ABSTRACT "This is just me playing around with the Sectional .TIFFS to see if I can get them working." WMS_ACCESSCONSTRAINTS none # change this value to match your setup "wms_onlineresource" "http://localhost/ms/map.asp?&" #WMS_ONLINERESOURECE "http://localhost/ms/dm/itasca/demo_init.html" #WMS_SRS "EPSG:26915" "wms_srs" "EPSG:4326" END END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # # Start of reference map # REFERENCE IMAGE graphics/reference.gif # EXTENT 435376.6668 167787.8676 455661.5904 176788.656 #EXTENT 435376.6668 167787.8676 455661.5904 176788.656 # entire extent #EXTENT 0.0 0.0 684000.0 684000.0 # modified extent from andy #EXTENT 455661.5904 167787.8676 435376.6670 5310243.30613897 # original extent #EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127 #EXTENT 0.0 9999999.9 0.0 9999999.0 #EXTENT -408683.0 512426.0 -408683.0 512426.0 SIZE 120 120 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 END # # Start of legend # LEGEND KEYSIZE 18 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 89 END STATUS ON END # # Start of scalebar # SCALEBAR IMAGECOLOR 255 255 255 LABEL COLOR 255 255 255 SIZE tiny END STYLE 1 SIZE 80 2 COLOR 255 255 255 UNITS MILES INTERVALS 1 TRANSPARENT TRUE STATUS TRUE END # # Start of layer definitions # LAYER NAME sectional DATA sample.tif TYPE RASTER STATUS ON METADATA WMS_TITLE "sectional" WMS_SRS "EPSG:4326" END END END # Map File ------=_NextPart_000_008B_01C3B795.B8C16CC0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi folks.

 

I just set up the server for the first time, and got = it all running using the demo, so it seems to work = great.

 

I’m trying to use the server as a WMS server, = and I’m having a bit of trouble.

 

Specifically, I’m trying to use a particular = GeoTIFF, available at the following = link:

http://www.naco.faa.gov/index.asp?xm= l=3Dnaco/catalog/charts/digital/Raster_Sectional_Sample/Raster#3=

 

It includes a .tif file = and a .tfw file (which I’ve renamed sample.wld, cuz that’s what the docs say to = do).

 

When I try to pull the map from the mapserver when specifying a particular bounding box [that should return a valid = map], I always get a blank image… however when I pull the map from the WMS = server and OMIT a bounding box parameter, I get a big seemingly blank image = with a thumbnail-sized view of the GeoTIFF way down at the bottom = image.

 

My guess is that somehow my projections are messed = up, or perhaps the server is not seeing the .wld = file…

 

If anyone could provide some pointers, I’d = greatly appreciate it…!

 

Andy, green at fboweb.com

 

PS: Here’s my .MAP = file…

 

#

# Start of map file

#

NAME DEMO

STATUS ON

SIZE 600 600

 

#EXTENT 435376.6668 167787.8676 455661.5904 = 176788.656

# original = extent

#EXTENT 388107.634400379 5203120.88405952 = 500896.339019834 5310243.30613897

# modified extent from andy

EXTENT 455661.5904 167787.8676 435376.6670 = 5310243.30613897

# entire = extent

#EXTENT 0.0 0.0 684000.0 = 684000.0

#EXTENT 0.0 9999999.9 0.0 = 9999999.0

#EXTENT -408683.0 512426.0 -408683.0 512426.0 =

UNITS METERS

SHAPEPATH = "data"

IMAGECOLOR 255 255 255

 

# you may need to change = this to match your MapServer = build

#IMAGETYPE PNG

 

#

# Projection definition, consult the PROJ.4 = documentation for parameter discussion

#

#PROJECTION

#  = "proj=3Dutm"

#  = "ellps=3DGRS80"

#  = "zone=3D15"

#  = "north"

#  = "no_defs"

#

#  OR: =

#

#  = "init=3Depsg:26915"=

#END

 

PROJECTION

        = ;    "proj=3Dlcc"

        = ;    "ellps=3DGRS80"

        = ;    = "lat_1=3D41.333333"

        = ;    = "lat_2=3D46.666667"

        = ;    = "lat_0=3D44.5"

        = ;    = "lon_0=3D-121.0"

        = ;    = "x_0=3D0.0"

        = ;    = "y_0=3D0.0"

END

 

 

#

# Start of web interface definition (including WMS = enabling metadata)

#

WEB

  HEADER demo_header.html

  = TEMPLATE demo.html

  FOOTER demo_footer.html

  = MINSCALE 1000

  = MAXSCALE 3550000

  = IMAGEPATH "set in demo_init.html"

  = IMAGEURL "set in demo_init.html"

  = METADATA

    "wms_title" "Seattle = Sectional Demo"

    WMS_ABSTRACT "This is just me playing around with the = Sectional .TIFFS to see if I can get them = working.”

    WMS_ACCESSCONSTRAINTS none

 

    = # change this value to match your setup

    "wms_onlineresource" "http://localhost/ms/map.asp?&"

    #WMS_ONLINERESOURECE "http://localhost/ms/dm/itasca/demo_init.html"

 

    #WMS_SRS "EPSG:26915"

    "wms_srs" "EPSG:4326"

  = END

END

 

QUERYMAP

  SIZE = 200 200

  STATUS = ON

  STYLE = HILITE

  COLOR = 255 0 0

END

 

#

# Start of reference map

#

REFERENCE

  IMAGE = graphics/reference.gif

#  = EXTENT = 435376.6668 167787.8676 455661.5904 176788.656

#EXTENT 435376.6668 167787.8676 455661.5904 = 176788.656

# entire = extent

#EXTENT 0.0 0.0 684000.0 = 684000.0

# modified extent from andy

#EXTENT 455661.5904 167787.8676 435376.6670 = 5310243.30613897

# original = extent

#EXTENT 393234.393701263 5205405.16440722 = 495769.579718949 5307959.02579127

#EXTENT 0.0 9999999.9 0.0 = 9999999.0

#EXTENT -408683.0 512426.0 -408683.0 512426.0 =

  SIZE = 120 120

  STATUS = ON

  COLOR = -1 -1 -1

  = OUTLINECOLOR 255 0 0

END

 

#

# Start of legend

#

LEGEND

  = KEYSIZE 18 12

  = LABEL

    TYPE BITMAP

    SIZE MEDIUM

    COLOR 0 0 = 89

  = END

  STATUS = ON

END

 

#

# Start of scalebar

#

SCALEBAR

  = IMAGECOLOR 255 255 255

  = LABEL

    COLOR 255 255 255

    SIZE tiny    =

  = END

  STYLE = 1

  SIZE = 80 2

  COLOR = 255 255 255

  UNITS = MILES

  = INTERVALS 1

  = TRANSPARENT TRUE

  STATUS = TRUE

END

 

#

# Start of layer = definitions

#

 

LAYER

  NAME = sectional

  DATA = sample.tif

  TYPE = RASTER

  STATUS = ON

  = METADATA

    WMS_TITLE "sectional"

    WMS_SRS "EPSG:4326"

  = END

END

 

 

END # Map File

------=_NextPart_000_008B_01C3B795.B8C16CC0-- From Martin.Kiuru at Elion.ee Sun Nov 30 22:38:34 2003 From: Martin.Kiuru at Elion.ee (Martin Kiuru) Date: Mon, 1 Dec 2003 08:38:34 +0200 Subject: [Mapserver-users] MapLab 2.1 -rc3 installation problems. Message-ID: <1D6EE6E7F017B2479C94CAC3903E5DE18C0A66@KIRJATUVI.cc.et.ee> I'm using IE 6.0.2800.1106CO Yes, fonts referenced by mapfile are present. Also, I have already tried to change paths to absolute - unfortunately, it does not change anything... Thanks for your reply, Martin Kiuru. -----Original Message----- From: Zak James [mailto:zak-ms at hoppsan.org] Sent: Friday, November 28, 2003 6:43 PM To: Martin Kiuru Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapLab 2.1 -rc3 installation problems. Can you provide some additional information? What web browser are you using to view the map browser? Can you check that the fonts file referenced by your map is present? Also, make sure that any fonts required by the layers in your map file are referenced in that fonts file. If all of that looks ok, you can try making the paths to the symbol and fonts files in the map absolute rather than relative (e.g. ./data would become //data). On some platforms, Mapserver 4.0 has problems with relative paths. Ideally, these problems would result in more instructive error messages. We hope to be able to address that before the final release of 2.1. -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Nov 28, 2003, at 8:22 AM, Martin Kiuru wrote: > Hi, > > I have a problem with Maplab installation and tutorial project. Maplab > generally works, but with the following problems : > > - Browser main window shows only a white screen - not map. Only after > some movements/zooms around the map image appears. > > - Map preview not working - appears new window with following errors : > > Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font > in C:\Program Files\Apache > Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on line 469 > Fatal > error: Call to a member function on a non-object in C:\Program > Files\Apache Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on > line 474 > > -Following error appears in map browser > > Error Parsing tutorial.map > > Description > > Could not find/open font in /maplab/htdocs/common/wrapper/drawmap.php > > > > Please advice! Here is the configuration of my test server : > > Windows 2000 SP4 > > MapLab (2.1 -rc3) > > Mapserver 4.0 > > Apache 2.0.48 > > PHP 4.3.4 > > Martin Kiuru > >
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> Pan > > $check_pan?>> >
> Zoom In > > $check_zin?>> >
> Zoom Out > > $check_zout?>> >
> Right > > $check_right?>> >
> Left > > $check_left?>> >
> Up > > $check_up?>> >
> Down > > $check_down?>> >
> Zoom Size > > SIZE=2> >
> Full Extent > > SIZE=2> >
> > > > > > > >map file at the moment: (the one I use for mapscript) > ># ># Start of map file ># >NAME ERENKOY >STATUS ON >SIZE 600 600 >EXTENT 29.057 40.954 29.143 40.999 >UNITS DD >SHAPEPATH "/var/www/html/mapserver/itasca/" >IMAGECOLOR 255 255 255 >FONTSET font.list > >#OUTPUTFORMAT ># NAME PNG ># DRIVER "GD/PNG" ># MIMETYPE "image/png" ># IMAGEMODE PC256 ># EXTENSION "png" >#END > >IMAGETYPE GIF > > >WEB > MINSCALE 1000 > MAXSCALE 1550000 > IMAGEPATH "/var/www/html/mapserver/tmp3/" > IMAGEURL "/mapserver/tmp3/" > END > > >SYMBOL > NAME 'circle' > TYPE ELLIPSE > POINTS 1 1 END > FILLED TRUE >END > > >LAYER > NAME 'ERENKOY_ORNEKILCE_PG_region' > TYPE polygon > STATUS DEFAULT > DATA ERENKOY_ORNEKILCE_PG_region > > CLASSITEM 'ID' > CLASS > EXPRESSION '3' > OUTLINECOLOR 128 128 128 > COLOR 225 225 185 > END > CLASS > EXPRESSION /./ > OUTLINECOLOR 128 128 128 > COLOR 255 255 255 > END >END > >#LAYER ># NAME ERENKOY_ORNEKMAHALLE_PG_region ># GROUP cities ># TYPE polygon ># DATA ERENKOY_ORNEKMAHALLE_PG_region ># STATUS ON ># CLASSITEM 'ID' ># CLASS ># EXPRESSION /./ ># EXPRESSION /./ ># COLOR 255 225 185 ># OUTLINECOLOR 0 0 0 > ># END > > >#END > >#LAYER ># NAME ERENKOY_ORNEKSOKAK_PL_polyline ># GROUP sokaklar ># TYPE line ># DATA ERENKOY_ORNEKSOKAK_PL_polyline ># STATUS ON ># CLASSITEM 'ID' ># CLASS ># EXPRESSION /./ ># COLOR 66 34 249 ># END > >#END > >LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > TYPE line > GROUP sokaklar > STATUS ON > DATA ERENKOY_ORNEKSOKAK_PL_polyline > >CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END >#LABELCACHE on >LABELITEM 'ADI' > CLASS > NAME 'ADI' >EXPRESSION /./ > COLOR 161 02 110 > LABEL > TYPE truetype ># FORCE true > FONT arial > COLOR 0 0 0 > ANGLE AUTO > BACKGROUNDCOLOR 250 250 250 #WIT > POSITION AUTO > SIZE 0 > MINSIZE 2 > SIZE 8 > END > END >END > > >LAYER > NAME ERENKOY_ORNEKOTOBAN_PL_polyline > GROUP otoban > TYPE line > DATA ERENKOY_ORNEKOTOBAN_PL_polyline > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > >LAYER > NAME ERENKOY_ORNEKCADDE_PL_polyline > GROUP otoban > TYPE line > DATA ERENKOY_ORNEKCADDE_PL_polyline > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > >LAYER > NAME ERENKOY_ORNEKBULVAR_PL_polyline > GROUP otoban > TYPE line > DATA ERENKOY_ORNEKBULVAR_PL_polyline > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > > > >LAYER > NAME ERENKOY_ORNEKKAVSAK2_PL_polyline > GROUP otoban > TYPE line > DATA ERENKOY_ORNEKKAVSAK2_PL_polyline > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > >LAYER > NAME ERENKOY_ORNEKKAVSAK_PL_polyline > GROUP otoban > TYPE line > DATA ERENKOY_ORNEKKAVSAK_PL_polyline > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > >LAYER > NAME ERENKOY_ORNEKDENIZ_PG_region > GROUP otoban > TYPE polygon > DATA ERENKOY_ORNEKDENIZ_PG_region > STATUS OFF > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > > END > > >END > > >LAYER > NAME 'target2' > TYPE point > DATA target2 > STATUS ON > CLASS > SYMBOL 'circle' > COLOR 255 255 0 > SIZE 20 > LABEL > COLOR 0 0 0 > END > END > > >END > >LAYER > NAME 'target1' > TYPE point > DATA target1 > STATUS ON > CLASS > SYMBOL 'circle' > COLOR 255 0 0 > SIZE 4 > LABEL > COLOR 0 0 0 > END > END > > >END > >END # end of map file > >----- Original Message ----- >From: "Frieso ter Haseborg" >To: "Murat Isik" >Cc: >Sent: Monday, November 10, 2003 4:38 PM >Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed > > >> Hi, >> >> there should be no difference between a mapfile for direct-use in MS >> and a mapfile used with MS/mapscript. IMHO you should check >your php for >> the problem first (post the relevant part of the code too, if the >> problem continues). >> >> => Do you execute the drawLabelCache-method (e.g. >map->drawLabelCache ( >> $image ))? >> >> Don't forget the cc to the list! >> >> HTH, >> Frieso >> >> >-----Original Message----- >> >From: Murat Isik [mailto:muratisik at megatek.com.tr] >> >Sent: Monday, November 10, 2003 3:22 PM >> >To: Frieso ter Haseborg >> >Subject: Re: [Mapserver-users] TrueType fonts problem -- help needed >> > >> > >> >Thank you for your reply. >> >after my last mail, I have started to play around with labelling and >> >achieved good results with mapserver. >> >However when I copy the related layer's part from mapserver >map file to >> >mapscripts mapfile, it first stopped rendering. then I added >> >the CLASSITEM >> >'ID' line and it started to produce image without labels. Can >> >you please >> >help me? I am stuck... >> > >> >original layer from mapscript mapfile: >> >LAYER >> > NAME ERENKOY_ORNEKSOKAK_PL_polyline >> > GROUP sokaklar >> > TYPE line >> > DATA ERENKOY_ORNEKSOKAK_PL_polyline >> > STATUS ON >> > CLASSITEM 'ID' >> > CLASS >> > EXPRESSION /./ >> > COLOR 66 34 249 >> > END >> > >> >END >> > >> >instead of the above I copied this and labelling did not work: >> > >> >LAYER >> > NAME ERENKOY_ORNEKSOKAK_PL_polyline >> > TYPE line >> > GROUP sokaklar >> > STATUS ON >> > DATA ERENKOY_ORNEKSOKAK_PL_polyline >> > >> >CLASSITEM 'ID' >> > CLASS >> > EXPRESSION /./ >> > COLOR 66 34 249 >> > END >> >#LABELCACHE on >> >LABELITEM 'ADI' >> > CLASS >> > NAME 'ADI' >> > COLOR 161 02 110 >> > LABEL >> > TYPE truetype >> ># FORCE true >> > FONT arial >> > COLOR 0 0 0 >> > ANGLE AUTO >> > BACKGROUNDCOLOR 250 250 250 #WIT >> > POSITION AUTO >> > SIZE 0 >> > MINSIZE 2 >> > SIZE 8 >> > END >> > END >> > >> >Should I do something with the php part too? >> > >> >Have a nice day:) >> > >> >Murat Isik >> > >> > >> > >> >----- Original Message ----- >> >From: "Frieso ter Haseborg" >> >To: "Murat Isik" >> >Cc: >> >Sent: Monday, November 10, 2003 12:06 PM >> >Subject: RE: [Mapserver-users] TrueType fonts problem -- help needed >> > >> > >> >> Hi, >> >> >> >> try to use an absolute path in your "fonts.list". >> >> >> >> HTH, >> >> >> >> Frieso ter Haseborg >> >> - Software Development - >> >> >> >> -- >> >> >> >> -------------------------------------------------- >> >> S&F Datentechnik GmbH&Co.KG >> >> Reimersstr. 41b >> >> 26789 Leer, Germany >> >> >> >> -----Original Message----- >> >> From: Murat Isik [mailto:muratisik at megatek.com.tr] >> >> Sent: Monday, November 10, 2003 10:27 AM >> >> To: mapserver-users at lists.gis.umn.edu >> >> Subject: [Mapserver-users] TrueType fonts problem -- help needed >> >> >> >> >> >> Hello, >> >> I am having a problem with TrueType fonts. This is the >error I get: >> >> >> >> msGetLabelSize(): TrueType Font error. Could not find/open font >> >> >> >> And this is what I do to get this error: >> >> >> >> I have these in my mapfile: >> >> >> >> NAME ERENKOY >> >> STATUS ON >> >> SIZE 600 600 >> >> SHAPEPATH "data" >> >> IMAGECOLOR 255 255 255 >> >> FONTSET font.list >> >> >> >> and >> >> >> >> LAYER >> >> NAME ERENKOY_ORNEKSOKAK_PL_polyline >> >> TYPE LINE >> >> GROUP sokaklar >> >> STATUS ON >> >> DATA ERENKOY_ORNEKSOKAK_PL_polyline >> >> LABELITEM "ADI" >> >> CLASS >> >> NAME "ADI" >> >> COLOR 161 02 110 >> >> LABEL >> >> TYPE truetype >> >> FORCE true >> >> FONT arial >> >> COLOR 0 0 0 >> >> BACKGROUNDCOLOR 250 250 250 >> >> POSITION cc >> >> SIZE 8 >> >> END >> >> END >> >> END >> >> >> >> >> >> This ERENKOY_ORNEKSOKAK_PL_polyline layer's dbf file includes two >> >> coloumns, ID and ADI (name). This is a street layer and I am >> >trying to >> >> get the name of the streets written next to their lines. >> >> >> >> font.list include: >> >> >> >> arial arial.ttf >> >> arial-bold arialbd.ttf >> >> arial-italic ariali.ttf >> >> arial-bold-italic arialbi.ttf >> >> >> >> I have all the related ttf files in the same directory as >font.list >> >> text, mapfile and the html page calling these fonts. However >> >I get the >> >> error. May it be that my mapserver is not truetype >compiled? I must >> >> admit that I installed mapserver and mapscript through >rpms so I dont >> >> know the trutype situation of my mapserver 3.6. If I can get this >> >> labelling to work then I am going to use th same mapfile for >> >a mapscript >> >> page. >> >> >> >> Have a nice day. >> >> >> >> Murat Isik >> >> >> >> >> >> >> >> >> > >> > >> > > > > From andreas.mueller at bfua.de Mon Nov 10 08:28:50 2003 From: andreas.mueller at bfua.de (andreas.mueller at bfua.de) Date: Mon, 10 Nov 2003 17:28:50 +0100 Subject: [Mapserver-users] Cascading WMS Problem Message-ID: <3FAFCAD2.19230.1B0C060@localhost> Hi, I'm trying to cascade an OGC WMS with MapServer 4.0 and I'm having some problems. We set up a test WMS with MapServer and everything worked fine. But when we tried to access the "real one" all we get is an error message. Can anybody give me a clue on how to set up the map file? Or is it a problem of the "to be cascaded" server? What we have: 1. Cascading OGC WMS which works fine: ... LAYER NAME "test" TYPE RASTER STATUS OFF CONNECTION "http://myserver/cgi-bin/fnvref_wms?" CONNECTIONTYPE WMS METADATA "wms_srs" "EPSG:31466" "wms_name" "reference" "wms_server_version" "1.1.0" "wms_formatlist" "image/png,image/jpeg,image/wbmp" "wms_format" "image/png" "wms_title" "TEST_TITLE" END END ... 2. Cascading OGC WMS which doesn't work: ... LAYER NAME "BK50" TYPE RASTER STATUS ON CONNECTION "http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?" CONNECTIONTYPE WMS METADATA "wms_name" "BK50:Bodenkarte" "wms_server_version" "1.1.0" "wms_formatlist" "image/png,image/jpeg,image/bmp" "wms_format" "image/png" "wms_title" "Geoserver Bodenkarte" "wms_srs" "EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 EPSG:25832 EPSG:25833" "wms_boundingbox" "EPSG:31466 2490637 5574425 2738496 5821724" "wms_latlonboundingbox" "5.8686 50.3018 9.5103 52.4726" END END ... 3. Request, which results in an error: http://localhost/cgi- bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S ERVICE=WMS 4. Error message of the cascaded server Error: 500

Error: 500

Location: /GeoOgcWms1.3/servlet/BK50

Internal Servlet Error:
java.lang.NullPointerException
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.ServiceDispatcher.dispatch(ServiceDispatc
her.java:225)
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.serviceRequest(OgcWms
Servlet.java:590)
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.doGet(OgcWmsServlet.ja
va:469)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
	at org.apache.tomcat.core.Handler.service(Unknown Source)
	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
	at 
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown 
Source)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
Source)
	at java.lang.Thread.run(Unknown Source)
5. Manual request, which renders a valid picture http://www.geoserver.nrw.de/GeoOgcWms1.3/servlet/BK50?REQUEST=GetMap&VER SION=1.1.0&SERVICE=WMS&BBOX=2500000,5600000,2505000,5605000&LAYERS =BK50:Bodenkarte&STYLES=&SRS=EPSG:31466&WIDTH=600&HEIGHT=600&FOR MAT=image/png 5. Capabilities-File of the OGC WMS ]> OGC:WMS AED MapServer, Projekt 'BK50'
none none
application/vnd.ogc.wms_xml image/png image/bmp image/jpeg image/tiff text/html text/plain application/vnd.ogc.se_xml BK50 EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 EPSG:25832 EPSG:25833 BK50:Bodenkarte Bodenkarte
Thanks in advance Andreas -- Dr. Andreas M?ller Medien und Umwelt Breite Stra?e 21 R?ttenscheider Stra?e 61 53111 Bonn 45130 Essen Tel.: 02 28.9 73 83 90 Tel.: 02 01.79 49 41 Fax: 02 28.9 73 83 91 Fax: 02 01.79 49 42 info at m-u-u.de www.m-u-u.de From bartvde at xs4all.nl Mon Nov 10 10:01:07 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Mon, 10 Nov 2003 19:01:07 +0100 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FAFCAD2.19230.1B0C060@localhost> References: <3FAFCAD2.19230.1B0C060@localhost> Message-ID: Hi Andreas, in your request which results in an error your layer name is incorrect. It should be BK50:Bodenkarte and not BK50. Perhaps your external WMS does not return a nice exception in this case and returns a null-pointer exception instead. Is this request from the mapserver logs? I think Mapserver should handle the namespace kind of notation for layer names (like BK50:Bodenkarte), as it is also used in the CITE conformance testing. But this I do not know for sure. http://localhost/cgi- bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S ERVICE=WMS Best regards, Bart On Mon, 10 Nov 2003 17:28:50 +0100, wrote: > Hi, > > I'm trying to cascade an OGC WMS with MapServer 4.0 and I'm having some > problems. We set up a test WMS with MapServer and everything worked fine. > But when we tried to access the "real one" all we get is an error > message. > > Can anybody give me a clue on how to set up the map file? > Or is it a problem of the "to be cascaded" server? > > > What we have: > > 1. Cascading OGC WMS which works fine: > > ... > LAYER > NAME "test" > TYPE RASTER > STATUS OFF > CONNECTION "http://myserver/cgi-bin/fnvref_wms?" > CONNECTIONTYPE WMS > METADATA > "wms_srs" "EPSG:31466" > "wms_name" "reference" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/png,image/jpeg,image/wbmp" > "wms_format" "image/png" > "wms_title" "TEST_TITLE" > END > END > ... > > 2. Cascading OGC WMS which doesn't work: > ... > LAYER > NAME "BK50" > TYPE RASTER > STATUS ON > CONNECTION "http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?" > CONNECTIONTYPE WMS > METADATA > "wms_name" "BK50:Bodenkarte" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/png,image/jpeg,image/bmp" > "wms_format" "image/png" > "wms_title" "Geoserver Bodenkarte" > "wms_srs" "EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 > EPSG:25832 EPSG:25833" > "wms_boundingbox" "EPSG:31466 2490637 5574425 2738496 5821724" > "wms_latlonboundingbox" "5.8686 50.3018 9.5103 52.4726" > > END > END > ... > > 3. Request, which results in an error: > http://localhost/cgi- > bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM > ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG > HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S > ERVICE=WMS > > > 4. Error message of the cascaded server > > Error: 500 > >

Error: 500

>

Location: /GeoOgcWms1.3/servlet/BK50

Internal Servlet > Error:
>
java.lang.NullPointerException
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.ServiceDispatcher.dispatch(ServiceDispatc 
>
>
> her.java:225)
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.serviceRequest(OgcWms 
>
>
> Servlet.java:590)
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.doGet(OgcWmsServlet.ja 
>
>
> va:469)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> 	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
> 	at org.apache.tomcat.core.Handler.service(Unknown Source)
> 	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> 	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> 	at 
> org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown 
>
>
>
> Source)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
> Source)
> 	at java.lang.Thread.run(Unknown Source)
> 
> > > > 5. Manual request, which renders a valid picture > http://www.geoserver.nrw.de/GeoOgcWms1.3/servlet/BK50?REQUEST=GetMap&VER > SION=1.1.0&SERVICE=WMS&BBOX=2500000,5600000,2505000,5605000&LAYERS > =BK50:Bodenkarte&STYLES=&SRS=EPSG:31466&WIDTH=600&HEIGHT=600&FOR > MAT=image/png > > > 5. Capabilities-File of the OGC WMS > > > "http://www.digitalearth.gov/wmt/xml/capabilities_1_1_0.dtd" > [ > > ]> > > > > > > > > OGC:WMS > > AED MapServer, Projekt 'BK50' > > xlink:href="http://www.aed-graphics.de" > xlink:type="simple" /> > > > > > > > > > >
> > > > >
> > > >
> none > none >
> > > > application/vnd.ogc.wms_xml > > > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > image/png > image/bmp > image/jpeg > image/tiff > > > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > text/html > text/plain > > > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > > application/vnd.ogc.se_xml > > > BK50 > EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 EPSG:25832 > EPSG:25833 > maxy="52.4726"> > maxx="2738496.0" maxy="5821724.0"> > maxx="2738496.0" maxy="5821724.0"> > maxx="2738496.0" maxy="5821724.0"> > maxx="3534726.6" maxy="5816047.82"> > maxx="941910.0500000007" maxy="5833989.26"> > maxx="534641.129999999" maxy="5814162.95"> > maxx="127273.4299999997" maxy="5828222.05"> > > > BK50:Bodenkarte > Bodenkarte > > >
> > > > > > Thanks in advance > > Andreas > > -- From doug at moximedia.com Mon Nov 10 10:05:15 2003 From: doug at moximedia.com (Doug Cates) Date: 10 Nov 2003 10:05:15 -0800 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FAFCAD2.19230.1B0C060@localhost> References: <3FAFCAD2.19230.1B0C060@localhost> Message-ID: <1068487515.4094.13.camel@moxi-rh9> Hi, Try it with just a single wms_srs, and set the layer's projection if different from the map. Doyug On Mon, 2003-11-10 at 08:28, andreas.mueller at bfua.de wrote: > Hi, > > I'm trying to cascade an OGC WMS with MapServer 4.0 and I'm having some > problems. We set up a test WMS with MapServer and everything worked fine. But when > we tried to access the "real one" all we get is an error message. > > Can anybody give me a clue on how to set up the map file? > Or is it a problem of the "to be cascaded" server? > > > What we have: > > 1. Cascading OGC WMS which works fine: > > ... > LAYER > NAME "test" > TYPE RASTER > STATUS OFF > CONNECTION "http://myserver/cgi-bin/fnvref_wms?" > CONNECTIONTYPE WMS > METADATA > "wms_srs" "EPSG:31466" > "wms_name" "reference" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/png,image/jpeg,image/wbmp" > "wms_format" "image/png" > "wms_title" "TEST_TITLE" > END > END > ... > > 2. Cascading OGC WMS which doesn't work: > ... > LAYER > NAME "BK50" > TYPE RASTER > STATUS ON > CONNECTION "http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?" > CONNECTIONTYPE WMS > METADATA > "wms_name" "BK50:Bodenkarte" > "wms_server_version" "1.1.0" > "wms_formatlist" "image/png,image/jpeg,image/bmp" > "wms_format" "image/png" > "wms_title" "Geoserver Bodenkarte" > "wms_srs" "EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 > EPSG:25832 EPSG:25833" > "wms_boundingbox" "EPSG:31466 2490637 5574425 2738496 5821724" > "wms_latlonboundingbox" "5.8686 50.3018 9.5103 52.4726" > > END > END > ... > > 3. Request, which results in an error: > http://localhost/cgi- > bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM > ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG > HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S > ERVICE=WMS > > > 4. Error message of the cascaded server > > Error: 500 > >

Error: 500

>

Location: /GeoOgcWms1.3/servlet/BK50

Internal Servlet Error:
>
java.lang.NullPointerException
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.ServiceDispatcher.dispatch(ServiceDispatc
> her.java:225)
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.serviceRequest(OgcWms
> Servlet.java:590)
> 	at 
> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.doGet(OgcWmsServlet.ja
> va:469)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
> 	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
> 	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
> 	at org.apache.tomcat.core.Handler.service(Unknown Source)
> 	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
> 	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
> 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
> 	at 
> org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown 
> Source)
> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
> 	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
> Source)
> 	at java.lang.Thread.run(Unknown Source)
> 
> > > > 5. Manual request, which renders a valid picture > http://www.geoserver.nrw.de/GeoOgcWms1.3/servlet/BK50?REQUEST=GetMap&VER > SION=1.1.0&SERVICE=WMS&BBOX=2500000,5600000,2505000,5605000&LAYERS > =BK50:Bodenkarte&STYLES=&SRS=EPSG:31466&WIDTH=600&HEIGHT=600&FOR > MAT=image/png > > > 5. Capabilities-File of the OGC WMS > > > > "http://www.digitalearth.gov/wmt/xml/capabilities_1_1_0.dtd" > [ > > > ]> > > > > > > > > OGC:WMS > > AED MapServer, Projekt 'BK50' > > xlink:href="http://www.aed-graphics.de" > xlink:type="simple" /> > > > > > > > > > > >
> > > > >
> > > > >
> none > none >
> > > > application/vnd.ogc.wms_xml > > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > image/png > image/bmp > image/jpeg > image/tiff > > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > text/html > text/plain > > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ > BK50" > xlink:type="simple" /> > > > > > > > application/vnd.ogc.se_xml > > > BK50 > EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 > EPSG:25831 EPSG:25832 EPSG:25833 > maxx="9.5103" maxy="52.4726"> > miny="5574425.0" maxx="2738496.0" > maxy="5821724.0"> > miny="5574425.0" maxx="2738496.0" > maxy="5821724.0"> > miny="5574425.0" maxx="2738496.0" > maxy="5821724.0"> > miny="5579108.66" maxx="3534726.6" > maxy="5816047.82"> > miny="5576562.48" maxx="941910.0500000007" > maxy="5833989.26"> > miny="5577320.65" maxx="534641.129999999" > maxy="5814162.95"> > miny="5612627.92" maxx="127273.4299999997" > maxy="5828222.05"> > > > BK50:Bodenkarte > Bodenkarte > > >
> > > > > > Thanks in advance > > Andreas > From blaine at plansight.com Mon Nov 10 10:07:39 2003 From: blaine at plansight.com (blaine at plansight.com) Date: Mon, 10 Nov 2003 12:07:39 -0600 Subject: [Mapserver-users] Query window size, .etc Message-ID: <20031110180739.14938.qmail@mx3.webblake.com> All Does anyone know a good way to control the window size and other things like the icon bar in a query window. I have tried the javascript that I use when launching other windows but cannot figure out how to minipulate the query window. Thanks Blaine From stephen.clark at focus.ca Mon Nov 10 11:20:05 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 10 Nov 2003 11:20:05 -0800 Subject: [Mapserver-users] dhtml refresh getscale() and latlong References: Message-ID: <00c001c3a7bf$a60f5280$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_00BD_01C3A77C.97A6F330 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MessageAmy, My guess is that the problem is in your javascript. Which tool are you = using mapplet of jbox? As far as I know the whole page must refresh to get the scale returned = but other on the list may be more helpful. Stephen ----- Original Message -----=20 From: Amy.Stender at erdc.usace.army.mil=20 To: stephen.clark at focus.ca=20 Sent: Monday, November 10, 2003 9:55 AM Subject: RE: [Mapserver-users] dhtml refresh getscale() and latlong I'm behind a firewall, so I don't really know where to post it to. = I've pasted the mapfile (except layers) below, though... I have javascript that formats the raw scale into a rounded, comma = number but it's this number that isn't refreshing because the whole page = doesn't reload when the user zooms in, just the map area... # # Start of Map File # NAME alaska STATUS ON SIZE 500 400 EXTENT -2168806 410152 1491776 2378649 SHAPEPATH /my_shape_path/ IMAGECOLOR 135 206 235 TRANSPARENT off UNITS meters SYMBOLSET /my_symbol_path/ FONTSET /my_font_list/ PROJECTION "proj=3Daea" "units=3Dm" "lat_1=3D55" "lat_2=3D65" "lat_0=3D50" "lon_0=3D-154" "x_0=3D0" "y_0=3D0" END WEB TEMPLATE "alaska.html" IMAGEPATH "/html/"=20 IMAGEURL "/tmp/" END QUERYMAP COLOR 255 255 0 STATUS on STYLE hilite END LEGEND IMAGECOLOR 255 255 255 KEYSIZE 18 12 LABEL TYPE TRUETYPE FONT "tahoma" SIZE 8 COLOR 0 0 0 END STATUS on END SCALEBAR STYLE 0 IMAGECOLOR 255 255 255 LABEL FONT "tahoma" COLOR 0 0 0 SIZE tiny BUFFER 3 BACKGROUNDCOLOR 255 255 255 END SIZE 120 4 COLOR 255 255 255 BACKGROUNDCOLOR 0 0 0 OUTLINECOLOR 0 0 0 UNITS miles INTERVALS 4 STATUS on TRANSPARENT true END LAYERS... END #end mapfile -----Original Message----- From: Stephen Clark [mailto:stephen.clark at focus.ca]=20 Sent: Monday, November 10, 2003 1:34 PM To: Amy.Stender at erdc.usace.army.mil Subject: Re: [Mapserver-users] dhtml refresh getscale() and latlong post your *.map file. You could also use the [scale] value returned from the mapserver = application in your getscale() function. stephen ----- Original Message -----=20 From: Amy.Stender at erdc.usace.army.mil=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Monday, November 10, 2003 7:50 AM Subject: [Mapserver-users] dhtml refresh getscale() and latlong Anyone know how to refresh getscale() and window.status when the = map is refreshed in dhtml? At the bottom of my map, I have the starting scale (1:20,000,000) = but's not updated when the user zooms in. It's static. Same thing with = my lat/long. The initial lat/long is correct, but it doesn't change = after the user zooms in. Any help would be greatly appreciated. Thanks, Amy Amy L. Stender=20 Remote Sensing/GIS Center=20 Cold Regions Research and Engineering Laboratory=20 United States Army Corps of Engineers=20 72 Lyme Road, Hanover, NH 03755-1290=20 Tel:(603)646-4733 Fax:(603) 646-4730=20 Amy.Stender at erdc.usace.army.mil ------=_NextPart_000_00BD_01C3A77C.97A6F330 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
Amy,
 
My guess is that the problem is in your = javascript.  Which tool are you using mapplet of jbox?
 
As far as I know the whole page must = refresh to get=20 the scale returned but other on the list may be more = helpful.
 
 
 
Stephen
 
 
----- Original Message -----
From:=20 Amy.Stender at erdc.usace.ar= my.mil=20
Sent: Monday, November 10, 2003 = 9:55=20 AM
Subject: RE: [Mapserver-users] = dhtml=20 refresh getscale() and latlong

I'm=20 behind a firewall, so I don't really know where to post it to. I've = pasted the=20 mapfile (except layers) below, though...
 
I=20 have javascript that formats the raw scale into a rounded, comma = number but=20 it's this number that isn't refreshing because the whole page doesn't = reload=20 when the user zooms in, just the map area...
 
 
#
# Start of Map File
#
 
NAME=20 alaska
STATUS ON
SIZE 500 400
EXTENT -2168806 410152 1491776=20 2378649
SHAPEPATH /my_shape_path/
IMAGECOLOR 135 206 = 235
TRANSPARENT=20 off
UNITS meters
SYMBOLSET /my_symbol_path/
FONTSET=20 /my_font_list/
 
PROJECTION
  "proj=3Daea"
  = "units=3Dm"
 =20 "lat_1=3D55"
  "lat_2=3D65"
  "lat_0=3D50"
 =20 "lon_0=3D-154"
  "x_0=3D0"
  = "y_0=3D0"
END
 
WEB
  TEMPLATE "alaska.html"
  IMAGEPATH = "/html/"=20
  IMAGEURL "/tmp/"
END
 
QUERYMAP
 COLOR 255 255 0
 STATUS = on
 STYLE=20 hilite
END
 
LEGEND
  IMAGECOLOR 255 255 255
  KEYSIZE 18=20 12
  LABEL
    TYPE = TRUETYPE
   =20 FONT "tahoma"
    SIZE 8
    COLOR = 0 0=20 0
  END
  STATUS on
END
 
SCALEBAR
  STYLE 0
  IMAGECOLOR 255 255 = 255
 =20 LABEL
    FONT "tahoma"
    COLOR = 0 0=20 0
    SIZE tiny
    BUFFER=20 3
    BACKGROUNDCOLOR 255 255 255
  = END
 =20 SIZE 120 4
  COLOR 255 255 255
  BACKGROUNDCOLOR 0 0=20 0
  OUTLINECOLOR 0 0 0
  UNITS miles
  = INTERVALS=20 4
  STATUS on
  TRANSPARENT = true
END
 
LAYERS...
 
END=20 #end mapfile
 
-----Original Message-----
From: = Stephen Clark=20 [mailto:stephen.clark at focus.ca]
Sent: Monday, November = 10, 2003=20 1:34 PM
To: = Amy.Stender at erdc.usace.army.mil
Subject: Re:=20 [Mapserver-users] dhtml refresh getscale() and = latlong

post your *.map file.
 
You could also use the [scale] = value returned=20 from the mapserver application in your getscale() = function.
 
 
stephen
----- Original Message ----- =
From:=20 Amy.Stender at erdc.usace.ar= my.mil=20
To: mapserver-users at lists.g= is.umn.edu=20
Sent: Monday, November 10, = 2003 7:50=20 AM
Subject: [Mapserver-users] = dhtml=20 refresh getscale() and latlong

Anyone know=20 how to refresh getscale() and window.status when the map is = refreshed in=20 dhtml?
 
At the bottom=20 of my map, I have the starting scale (1:20,000,000) but's not = updated when=20 the user zooms in. It's static. Same thing with my lat/long. The = initial=20 lat/long is correct, but it doesn't change after the user zooms=20 in.
 
Any help would=20 be greatly appreciated.
 
Thanks,
Amy
 
Amy=20 L. Stender
Remote Sensing/GIS=20 Center
Cold Regions = Research and=20 Engineering Laboratory
United States Army = Corps of=20 Engineers
72 Lyme Road, = Hanover, NH=20 03755-1290
Tel:(603)646-4733 =20 Fax:(603) 646-4730 =
Amy.Stender at erdc.usace.army.mil =
 
------=_NextPart_000_00BD_01C3A77C.97A6F330-- From bartvde at xs4all.nl Mon Nov 10 11:21:08 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Mon, 10 Nov 2003 20:21:08 +0100 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FAFE974.6045.22869A5@localhost> References: <3FAFCAD2.19230.1B0C060@localhost> <3FAFE974.6045.22869A5@localhost> Message-ID: Hi Andreas, you're absolutely right, your layer name was correct (reading too quickly). When I try to simulate your problem (with your mapfile) I get an error in the mapserver error file which says: [Mon Nov 10 20:16:52 2003] [error] [client 127.0.0.1] Mon Nov 10 20:16:52 2003 - msHTTPExecuteRequests(): HTTP request error. HTTP GET request failed with status 500 () for http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?SERVICE=WMS&VERSION=1.1.0&LAYERS=BK50%3ABodenkarte&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&REQUEST=GetMap&WIDTH=600&HEIGHT=600&SRS=EPSG:31466&BBOX=2500004.166667,5600004.166667,2504995.833333,5604995.833333&EXCEPTIONS=application/vnd.ogc.se_inimage The strange thing is that when I use the URL directly in a browser I get a map. Does anybody have an idea why Mapserver thinks it is a HTTP 500 status and not a 200 status which I get by using a sniffer directly on the GetMap URL? Best regards, Bart On Mon, 10 Nov 2003 19:39:32 +0100, wrote: > Hi Bart, > > thanks for your quick reply! > I don't think the layer name should be "BK50:Bodenkarte", because of two > reasons: > 1. I tried it and it didn't work > 2. I thought that I have to adress the layer name in my mapfile not the > layer name of the cascaded layer. the original name is in fact > BK50:Bodenkarte, but "my" layer name is "BK50". It works this way with > the otherserver (which is MapServer 3.6): The original layer's name is > "reference" and I call it "test" in my map file. When I request > "....&layers=test", it works. > > You are right, the external WMS sends java.lang.NullPointerException, > which I added to my previous mail at No. 4 (sse far down below, if you > like). > > the question is: Is it my fault (2 stupid to correctly configure the MAP- > file) or is it a problem caused by the external WMS, which doesn't > respond properly to my (proper) requests. > > If you have any more ideas, I'd be thankful. Otherwise I'm gonna call the > admin of the external WMS tomorrow. > > > Thanks a lot anyway > > Andreas > > > On 10 Nov 2003 at 19:01, Bart van den Eijnden wrote: > > Date sent: Mon, 10 Nov 2003 19:01:07 +0100 > To: andreas.mueller at bfua.de, mapserver- > users at lists.gis.umn.edu > Subject: Re: [Mapserver-users] Cascading WMS Problem > Send reply to: bartvde at xs4all.nl > From: Bart van den Eijnden > > Hi Andreas, > > in your request which results in an error your layer name is incorrect. > It should be BK50:Bodenkarte and not BK50. Perhaps your external WMS does > not return a nice exception in this case and returns a null-pointer > exception instead. > > Is this request from the mapserver logs? I think Mapserver should handle > the namespace kind of notation for layer names (like BK50:Bodenkarte), as > it is also used in the CITE conformance testing. But this I do not know > for sure. > http://localhost/cgi- > bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM > ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG > HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S > ERVICE=WMS > > Best regards, > Bart > > On Mon, 10 Nov 2003 17:28:50 +0100, wrote: > >> Hi, >> >> I'm trying to cascade an OGC WMS with MapServer 4.0 and I'm having some >> problems. We set up a test WMS with MapServer and everything worked >> fine. But when we tried to access the "real one" all we get is an error >> message. >> >> Can anybody give me a clue on how to set up the map file? >> Or is it a problem of the "to be cascaded" server? >> >> >> What we have: >> >> 1. Cascading OGC WMS which works fine: >> >> ... >> LAYER >> NAME "test" >> TYPE RASTER >> STATUS OFF >> CONNECTION "http://myserver/cgi-bin/fnvref_wms?" >> CONNECTIONTYPE WMS >> METADATA >> "wms_srs" "EPSG:31466" >> "wms_name" "reference" >> "wms_server_version" "1.1.0" >> "wms_formatlist" "image/png,image/jpeg,image/wbmp" >> "wms_format" "image/png" >> "wms_title" "TEST_TITLE" >> END >> END >> ... >> >> 2. Cascading OGC WMS which doesn't work: >> ... >> LAYER >> NAME "BK50" >> TYPE RASTER >> STATUS ON >> CONNECTION "http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?" >> CONNECTIONTYPE WMS >> METADATA >> "wms_name" "BK50:Bodenkarte" >> "wms_server_version" "1.1.0" >> "wms_formatlist" "image/png,image/jpeg,image/bmp" >> "wms_format" "image/png" >> "wms_title" "Geoserver Bodenkarte" >> "wms_srs" "EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 >> EPSG:25832 EPSG:25833" >> "wms_boundingbox" "EPSG:31466 2490637 5574425 2738496 5821724" >> "wms_latlonboundingbox" "5.8686 50.3018 9.5103 52.4726" >> >> END >> END >> ... >> >> 3. Request, which results in an error: >> http://localhost/cgi- >> bin/mapserv?map=d:/apache/apache/htdocs/itasca/demonrw2.map&REQUEST=GetM >> ap&BBOX=2500000,5600000,2505000,5605000&LAYERS=BK50&WIDTH=600&HEIG >> HT=600&EXCEPTION=INIMAGE&VERSION=1.1.0&STYLES=&SRS=EPSG:31466&S >> ERVICE=WMS >> >> >> 4. Error message of the cascaded server >> >> Error: 500 >> >>

Error: 500

>>

Location: /GeoOgcWms1.3/servlet/BK50

Internal Servlet >> Error:
>>
java.lang.NullPointerException
>> 	at 
>> de.aedgraphics.geoogcwms.ogcwmsservlet.ServiceDispatcher.dispatch(ServiceDispatc 
>>
>>
>>
>>
>>
>> her.java:225)
>> 	at 
>> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.serviceRequest(OgcWms 
>>
>>
>>
>>
>>
>> Servlet.java:590)
>> 	at 
>> de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.doGet(OgcWmsServlet.ja 
>>
>>
>>
>>
>>
>> va:469)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>> 	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
>> 	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
>> 	at org.apache.tomcat.core.Handler.service(Unknown Source)
>> 	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
>> 	at org.apache.tomcat.core.ContextManager.internalService(Unknown 
>> Source)
>> 	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
>> 	at 
>> org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown 
>>
>>
>>
>>
>>
>>
>> Source)
>> 	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
>> 	at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
>> Source)
>> 	at java.lang.Thread.run(Unknown Source)
>> 
>> >> >> >> 5. Manual request, which renders a valid picture >> http://www.geoserver.nrw.de/GeoOgcWms1.3/servlet/BK50?REQUEST=GetMap&VER >> SION=1.1.0&SERVICE=WMS&BBOX=2500000,5600000,2505000,5605000&LAYERS >> =BK50:Bodenkarte&STYLES=&SRS=EPSG:31466&WIDTH=600&HEIGHT=600&FOR >> MAT=image/png >> >> >> 5. Capabilities-File of the OGC WMS >> >> >> > "http://www.digitalearth.gov/wmt/xml/capabilities_1_1_0.dtd" >> [ >> >> ]> >> >> >> >> >> >> >> >> OGC:WMS >> >> AED MapServer, Projekt 'BK50' >> >> > xlink:href="http://www.aed-graphics.de" >> xlink:type="simple" /> >> >> >> >> >> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> none >> none >>
>> >> >> >> application/vnd.ogc.wms_xml >> >> >> >> > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ >> BK50" >> xlink:type="simple" /> >> >> >> > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ >> BK50" >> xlink:type="simple" /> >> >> >> >> >> >> image/png >> image/bmp >> image/jpeg >> image/tiff >> >> >> >> > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ >> BK50" >> xlink:type="simple" /> >> >> >> >> >> >> text/html >> text/plain >> >> >> >> > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ >> BK50" >> xlink:type="simple" /> >> >> >> > xlink:href="http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/ >> BK50" >> xlink:type="simple" /> >> >> >> >> >> >> >> application/vnd.ogc.se_xml >> >> >> BK50 >> EPSG:31466 EPSG:31462 EPSG:31492 EPSG:31467 EPSG:25831 EPSG:25832 >> EPSG:25833 >> > maxy="52.4726"> >> > maxx="2738496.0" maxy="5821724.0"> >> > maxx="2738496.0" maxy="5821724.0"> >> > maxx="2738496.0" maxy="5821724.0"> >> > maxx="3534726.6" maxy="5816047.82"> >> > maxx="941910.0500000007" maxy="5833989.26"> >> > miny="5577320.65" maxx="534641.129999999" >> maxy="5814162.95"> >> > miny="5612627.92" maxx="127273.4299999997" >> maxy="5828222.05"> >> >> >> BK50:Bodenkarte >> Bodenkarte >> >> >>
>> >> >> >> >> >> Thanks in advance >> >> Andreas >> >> > > > -- From murilo.yoshida at agx.com.br Mon Nov 10 11:46:45 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Mon, 10 Nov 2003 17:46:45 -0200 Subject: [Mapserver-users] Shapefile problem ... Message-ID: <000001c3a7c3$5fb49f80$1364a8c0@parapente> This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C3A7B2.9C2BCF80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I have this problem: I have an area, a farm, for example, that I have to show on the page, using php and mapscript. But I have to divide this farm into several tiles, and these tiles should be in the shapefile, because I have data to display for each tile. And I wanted to specify these tiles dynamically. Until now I was doing this shapefiles with maplab. But now I want to do it this way. Can you guys help me? I was wondering if there is a function in mapscript to do this, or a function in another library that would help me do this. Thanks in advance, Murilo ------=_NextPart_000_0001_01C3A7B2.9C2BCF80 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

  Hi = all,

  I have this problem: I have an = area, a farm, for example, that I have to show on the page, using php and mapscript. But I have to divide this = farm into several tiles, and these tiles should be in the shapefile, because I have data to display for each tile. And I wanted to specify = these tiles dynamically.

  Until now I was doing this = shapefiles with maplab. But now I want to do it this way. Can you guys help me? I was wondering if there = is a function in mapscript to do this, or a = function in another library that would help me do = this…

  Thanks in = advance,

     = Murilo

------=_NextPart_000_0001_01C3A7B2.9C2BCF80-- From stephen.clark at focus.ca Mon Nov 10 13:52:03 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 10 Nov 2003 13:52:03 -0800 Subject: [Mapserver-users] WMS servers for BC and western Canada?? References: <3FAFCAD2.19230.1B0C060@localhost> Message-ID: <015401c3a7d4$e0515dc0$6c000a0a@sclark> Hi all, Does anyone have a list of WMS servers for BC and western Canada. Specifically I am looking for the NTS topographic service 1:50000 scale maps. thanks Stephen From morissette at dmsolutions.ca Mon Nov 10 12:54:19 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 10 Nov 2003 15:54:19 -0500 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: References: <3FAFCAD2.19230.1B0C060@localhost> <3FAFE974.6045.22869A5@localhost> Message-ID: <3FAFFAFB.3050108@dmsolutions.ca> Bart van den Eijnden wrote: > Hi Andreas, > > you're absolutely right, your layer name was correct (reading too quickly). > > When I try to simulate your problem (with your mapfile) I get an error > in the mapserver error file which says: > > [Mon Nov 10 20:16:52 2003] [error] [client 127.0.0.1] Mon Nov 10 > 20:16:52 2003 - msHTTPExecuteRequests(): HTTP request error. HTTP GET > request failed with status 500 () for > http://www.geoserver.nrw.de:80/GeoOgcWms1.3/servlet/BK50?SERVICE=WMS&VERSION=1.1.0&LAYERS=BK50%3ABodenkarte&FORMAT=image%2Fpng&TRANSPARENT=TRUE&STYLES=&REQUEST=GetMap&WIDTH=600&HEIGHT=600&SRS=EPSG:31466&BBOX=2500004.166667,5600004.166667,2504995.833333,5604995.833333&EXCEPTIONS=application/vnd.ogc.se_inimage > > > The strange thing is that when I use the URL directly in a browser I get > a map. > > Does anybody have an idea why Mapserver thinks it is a HTTP 500 status > and not a 200 status which I get by using a sniffer directly on the > GetMap URL? > I was able to reproduce this as well. I have no clue why this happens, but I filed a bug about this: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=479 Please add any more information you may have to the bug. BTW, I don't think it's MapServer that's wrong in *thinking* that it got a 500 status ... I think it's more that the remote server doesn't like the request that MapServer sends and really does produce a 500 error. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From bfraser at geoanalytic.com Mon Nov 10 13:22:41 2003 From: bfraser at geoanalytic.com (Brent Fraser) Date: Mon, 10 Nov 2003 14:22:41 -0700 Subject: [Mapserver-users] WMS servers for BC and western Canada?? References: <3FAFCAD2.19230.1B0C060@localhost> <015401c3a7d4$e0515dc0$6c000a0a@sclark> Message-ID: <006101c3a7d0$c66db2e0$020002c0@SHARK> Stephen, As far as I know, there is no WMS service for the Canadian topo maps (1:50k or 1:250k). We plan on rolling one out (as a subscription service with a low monthly fee) as soon as the licensing and royalty issues are ironed out with Natural Resources Canada (the copyright holders). The closest thing I've found so far is NRCan's Toporama. It renders "topographic maps" from a vector database to your browser, using imagemaps (no WMS): http://toporama.ctis.nrcan.gc.ca/toporama_en.html Brent Fraser bfraser at geoanalytic.com ----- Original Message ----- From: "Stephen Clark" To: Sent: Monday, November 10, 2003 2:52 PM Subject: [Mapserver-users] WMS servers for BC and western Canada?? > Hi all, > > Does anyone have a list of WMS servers for BC and western Canada. > > Specifically I am looking for the NTS topographic service 1:50000 scale > maps. > > thanks > Stephen > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From gadoury at dmsolutions.ca Mon Nov 10 13:17:16 2003 From: gadoury at dmsolutions.ca (Dean Gadoury) Date: Mon, 10 Nov 2003 16:17:16 -0500 Subject: [Mapserver-users] WMS servers for BC and western Canada?? In-Reply-To: <015401c3a7d4$e0515dc0$6c000a0a@sclark> References: <3FAFCAD2.19230.1B0C060@localhost> <015401c3a7d4$e0515dc0$6c000a0a@sclark> Message-ID: <3FB0005C.3010507@dmsolutions.ca> Here are two servers that server NTS topo maps at 1:250,000 and 1:50,000 scales. Centre for Topographic Information Sherbrooke: http://wms.cits.nrcan.gc.ca/cgi-bin/cubeserv.cgi?request=GetCapabilities&version=1.1.0&service=wms CFS mirror of the CTIS server: http://blackice.pfc.forestry.ca/cubestor/cubeserv/cubeserv.cgi?request=GetCapabilities&version=1.1.0&service=wms Stephen Clark wrote: >Hi all, > >Does anyone have a list of WMS servers for BC and western Canada. > >Specifically I am looking for the NTS topographic service 1:50000 scale >maps. > >thanks >Stephen > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > -- ___________________________ Dean Gadoury DM Solutions Group 72 Chamberlain Ave. Third Floor Ottawa, Ontario. K1S 1V9 613 565-5056 ext. 24 gadoury at dmsolutions.ca www.dmsolutions.ca From stephen.clark at focus.ca Mon Nov 10 14:51:34 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 10 Nov 2003 14:51:34 -0800 Subject: [Mapserver-users] Render a WMS layer to a PDF file using PHP Mapscript? References: <3FAFCAD2.19230.1B0C060@localhost> <015401c3a7d4$e0515dc0$6c000a0a@sclark> <3FB0005C.3010507@dmsolutions.ca> Message-ID: <019c01c3a7dd$310f6790$6c000a0a@sclark> Hi all: Has anyone been able to render a WMS layer to a PDF file using php mapscript? In reference: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapscriptPDF At this stage: $img = $map->draw(); $url = $img->saveWebImage?(MS_PNG, 0, 0, 0); I get the following error: Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'trimphoto'. in C:\Program Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179 Warning: [MapServer Error]: msDrawRaster(): Unrecognized or unsupported image format in C:\Program Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179 Warning: [MapServer Error]: drawEPP(): EPPL7 support is not available. in C:\Program Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 179 finished rendering image ... Fatal error: Call to a member function on a non-object in C:\Program Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf01.php on line 181 Any thoughts? thanks Stephen From warmerdam at pobox.com Mon Nov 10 14:00:41 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon, 10 Nov 2003 17:00:41 -0500 Subject: [Mapserver-users] GDAL/libgeotiff configure problem on Solaris 2.8/gcc 3.3 In-Reply-To: References: Message-ID: <3FB00A89.7020101@pobox.com> richard.roger at agric.nsw.gov.au wrote: > configure:4664: checking whether we should include OGR support... > configure:4724: checking for OGRRegisterAll in -lgdal.1.1 > configure:4743: gcc -o conftest -g -O2 conftest.c -lgdal.1.1 -lm > -lstdc++ -L/riu/links/local/lib -lgdal.1.1 1>&5 > Undefined first referenced > symbol in file > __eprintf /riu/links/local/lib/libgeotiff.so ... > gcc -o conftest conftest.c -lgdal.1.1 > > but it succeeded with > > gcc -o conftest conftest.c -lgdal.1.1 -lgeotiff > > The "-lgdal.1.1" is essentially the library switch that is reported by > the installed "gdal-config". > > I'm not sure whether this error is because "configure" is not correctly > set up, or whether this is to do with the dependence of "gdal" on > libtiff/libgeotiff, or a mistake on my part. > > I have worked around this problem by changing line 4721 of "configure" from > > LIBS="$LIBS `$GDAL_CONFIG --libs`" > > to > > LIBS="$LIBS `$GDAL_CONFIG --libs` -lgeotiff" Richard, In my experience the __eprintf symbol is usually missing if ld is used to link an application that uses assert() and was compiled with gcc. Basically, the assert() required some function only linked if gcc was used to link and not (by default) if ld was used. I don't really know why this failed: gcc -o conftest conftest.c -lgdal.1.1 But you didn't mention what error was reported. My understanding (and this might be true on Linux but not Solaris), is that we don't need to list supporting shared libraries when linking against libgdal.1.1.so because it should already know what it depends on and automatically include them. In any event, thanks for summarizing your findings and the extensive work you did digging into it. It seems building software is still far from problem free on different platforms. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From muratisik at megatek.com.tr Mon Nov 10 14:49:58 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Tue, 11 Nov 2003 00:49:58 +0200 Subject: [Mapserver-users] urgent help needed about labelling Message-ID: <002401c3a7dd$0575e7d0$a25cfdd4@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0021_01C3A7ED.BB442940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am quite stuck as I tryied many options and none worked: I have a layer of streets and I am trying to label it in mapscript. I = have written the suiatable layer definitions into the mapfile and = labelling worked with mapserver. However when I copy the exact same = layer definition into the mapfile I use for mapscript, the script even = refuses to render images. Whta might be the problem? Anything to add to = the php code. The dbf of this layer has two coloumns, ID and ADI (name). = ADI is the one I am trying to label. This is the layer definition that = worked in mapserver but crushed on mapscript: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline #LABELCACHE on LABELITEM 'ADI' CLASS NAME 'ADI' COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO BACKGROUNDCOLOR 250 250 250 #WIT POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END Anybody has any idea? Am I making a php mistake? Please, it is rather = urgent for me... Murat Isik ------=_NextPart_000_0021_01C3A7ED.BB442940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I am quite stuck as I tryied many = options and none=20 worked:
 
I have a layer of streets and I am = trying to label=20 it in mapscript. I have written the suiatable layer definitions into the = mapfile=20 and labelling worked with mapserver. However when I copy the exact same = layer=20 definition into the mapfile I use for mapscript, the script even refuses = to=20 render images. Whta might be the problem? Anything to add to the php = code. The=20 dbf of this layer has two coloumns, ID and ADI (name). ADI is the one I = am=20 trying to label. This is the layer definition that worked in mapserver = but=20 crushed on mapscript:
 
LAYER
  NAME ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE=20 line
  GROUP sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
#LABELCACHE on
LABELITEM 'ADI'
  CLASS
   = NAME=20 'ADI'
   COLOR 161 02 110
   =20 LABEL
      TYPE=20 truetype
#      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
       ANGLE = AUTO
    =20 BACKGROUNDCOLOR 250 250 250 #WIT
      = POSITION=20 AUTO
        SIZE=20 0
        MINSIZE=20 2
      SIZE 8
   END
  = END
 
Anybody has any idea? Am I making a php = mistake?=20 Please, it is rather urgent for me...
 
Murat = Isik
------=_NextPart_000_0021_01C3A7ED.BB442940-- From pramsey at refractions.net Mon Nov 10 15:57:46 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Mon, 10 Nov 2003 15:57:46 -0800 Subject: [Mapserver-users] WMS servers for BC and western Canada?? In-Reply-To: <015401c3a7d4$e0515dc0$6c000a0a@sclark> References: <3FAFCAD2.19230.1B0C060@localhost> <015401c3a7d4$e0515dc0$6c000a0a@sclark> Message-ID: <3FB025FA.8020505@refractions.net> TRIM data (and orthos) at 1:20K for BC is available from: http://slkapps2.env.gov.bc.ca/servlet/com.esri.wms.Esrimap Stephen Clark wrote: > Hi all, > > Does anyone have a list of WMS servers for BC and western Canada. > > Specifically I am looking for the NTS topographic service 1:50000 scale > maps. > > thanks > Stephen > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_ From edman007x at mac.com Mon Nov 10 16:59:42 2003 From: edman007x at mac.com (Ed Martin) Date: Mon, 10 Nov 2003 19:59:42 -0500 Subject: [Mapserver-users] PHP Mapscript with php 4.3.4 and apache 2.0.48 Message-ID: <5583B67E-13E2-11D8-9F3E-0003934DD798@mac.com> how do i get PHP mapscript to work with php 4.3.4 and apache 2.0.48, no matter how i compile it i just get it to work, it keeps on saying that php has to use the system regex but i can't get php to compile for apache2 with the system regex From muratisik at megatek.com.tr Tue Nov 11 00:35:25 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Tue, 11 Nov 2003 10:35:25 +0200 Subject: [Mapserver-users] drawLabelCache doesnot work Message-ID: <004f01c3a82e$c1788950$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_004C_01C3A83F.84A92730 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, In order to label a layer in mapscript I have the following lines in my = php code: $img =3D $myMap->draw(); $myMap->drawLabelCache($img); $image_url =3D $img->saveWebImage(GIF,1,1,0); The layer it should label is named ERENKOY_ORNEKSOKAK_PL_polyline. Here = is my layer definition for this layer: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END LABELCACHE OFF LABELITEM 'ADI' CLASS NAME 'ADI' #EXPRESSION /./ COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO BACKGROUNDCOLOR 250 250 250 #WIT POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END But I am getting no labels. Mapscript even doesnot render image without CLASSITEM 'ID' CLASS EXPRESSION /./ =20 ADI is the label item, name of the coloumn in dbf to be used for = labelling. Any ideas? Murat Isik ------=_NextPart_000_004C_01C3A83F.84A92730 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
In order to label a layer in mapscript = I have the=20 following lines in my php code:
 
$img =3D=20 $myMap->draw();
$myMap->drawLabelCache($img);
$image_url =3D = $img->saveWebImage(GIF,1,1,0);
 
The layer it should label is named=20 ERENKOY_ORNEKSOKAK_PL_polyline. Here is my layer definition for this=20 layer:
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE line
  GROUP=20 sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
 
CLASSITEM 'ID'
 =20 CLASS
       EXPRESSION /./
  = COLOR 66=20 34 249
  END
LABELCACHE OFF
LABELITEM 'ADI'
 =20 CLASS
   NAME 'ADI'
#EXPRESSION /./
   = COLOR 161 02=20 110
    LABEL
      TYPE=20 truetype
#      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
       ANGLE = AUTO
    =20 BACKGROUNDCOLOR 250 250 250 #WIT
      = POSITION=20 AUTO
        SIZE=20 0
        MINSIZE=20 2
      SIZE 8
   END
  = END
END
 
 
But I am getting no labels. Mapscript = even doesnot=20 render image without
 
CLASSITEM = 'ID'
 =20 CLASS
       EXPRESSION /./
 =20
ADI is the label item, name of the = coloumn in dbf=20 to be used for labelling. Any ideas?
 
Murat = Isik
------=_NextPart_000_004C_01C3A83F.84A92730-- From andreas.mueller at bfua.de Tue Nov 11 00:40:17 2003 From: andreas.mueller at bfua.de (andreas.mueller at bfua.de) Date: Tue, 11 Nov 2003 09:40:17 +0100 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FAFFAFB.3050108@dmsolutions.ca> References: Message-ID: <3FB0AE81.29571.1EA79C@localhost> On 10 Nov 2003 at 15:54, Daniel Morissette wrote: Date sent: Mon, 10 Nov 2003 15:54:19 -0500 From: Daniel Morissette To: bartvde at xs4all.nl Copies to: andreas.mueller at bfua.de, "mapserver-users at lists.gis.umn.edu" Subject: Re: [Mapserver-users] Cascading WMS Problem I was able to reproduce this as well. I have no clue why this happens, but I filed a bug about this: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=479 Please add any more information you may have to the bug. BTW, I don't think it's MapServer that's wrong in *thinking* that it got a 500 status ... I think it's more that the remote server doesn't like the request that MapServer sends and really does produce a 500 error. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ Hi Daniel, that's consistent with the exception the remote server sends, which I already cited in my first mail to the list. Here it comes again: Error: 500

Error: 500

Location: /GeoOgcWms1.3/servlet/BK50

Internal Servlet Error:
java.lang.NullPointerException
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.ServiceDispatcher.dispatch(ServiceDispatc
her.java:225)
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.serviceRequest(OgcWms
Servlet.java:590)
	at 
de.aedgraphics.geoogcwms.ogcwmsservlet.OgcWmsServlet.doGet(OgcWmsServlet.ja
va:469)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java)
	at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
	at org.apache.tomcat.core.Handler.invoke(Unknown Source)
	at org.apache.tomcat.core.Handler.service(Unknown Source)
	at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
	at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
	at org.apache.tomcat.core.ContextManager.service(Unknown Source)
	at 
org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown 
Source)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown 
Source)
	at java.lang.Thread.run(Unknown Source)
It seems that the remote server can't handle the request MapServer sends. Now I don't think it's very **OGCish** to send a "ClassNotFound" exception if a piece of software doesn't like a request. Andreas -- Dr. Andreas M?ller Medien und Umwelt Breite Stra?e 21 R?ttenscheider Stra?e 61 53111 Bonn 45130 Essen Tel.: 02 28.9 73 83 90 Tel.: 02 01.79 49 41 Fax: 02 28.9 73 83 91 Fax: 02 01.79 49 42 info at m-u-u.de www.m-u-u.de From yvain.ballini at seat.it Tue Nov 11 04:04:17 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Tue, 11 Nov 2003 13:04:17 +0100 Subject: [Mapserver-users] link problem proj4 on VC7 Message-ID: <008e01c3a84b$eef2a9c0$a559af0a@seat.it> This is a multi-part message in MIME format. ------=_NextPart_000_008B_01C3A854.50981810 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hello, I'm trying to compile Mapserver with Visual Studio 2003 (precisely VC7) = on Windows 2000, and I've got everything except the Proj.4 library. I've = downloaded at ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., = like i'ts said it on the page = http://mapserver.gis.umn.edu/doc40/win32_compile-howto.html. When I try to compile this library (proj4.lib), I' meet a linking = problem that I can't explain. It gives me the following error: proj.obj : error LNK2022: metadata operation failed (8013118D) : = Inconsistent layout information in duplicated types (PJconsts) I've controlled that the structure PJconsts is defined and declared only = one time (in the header projects.h) and I don't find where is the = problem. Do you know if there is some patch or these files to make the = compilation without problem? Thank you very much for your help. Best regards. Yvain. ------=_NextPart_000_008B_01C3A854.50981810 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"

Hello,

I'm trying to compile Mapserver with = Visual Studio=20 2003 (precisely VC7) on Windows 2000, and I've got everything except the = Proj.4=20 library. I've downloaded at=20  ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., like i'ts = said it on=20 the page
http= ://mapserver.gis.umn.edu/doc40/win32_compile-howto.html.

When I try to compile this library = (proj4.lib), I'=20 meet a linking problem that I can't explain. It gives me the following=20 error:

proj.obj : error LNK2022: metadata operation failed = (8013118D)=20 : Inconsistent layout information in duplicated types = (PJconsts)

I've=20 controlled that the structure PJconsts is defined and declared only one = time (in=20 the header projects.h) and I don't find where is the problem.

Do = you know=20 if there is some patch or these files to make the compilation without=20 problem?
Thank you very much for your help.
Best=20 regards.

Yvain.

------=_NextPart_000_008B_01C3A854.50981810-- From dg at mapmedia.de Tue Nov 11 04:26:24 2003 From: dg at mapmedia.de (Dirk Geschwandtner) Date: Tue, 11 Nov 2003 13:26:24 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 Message-ID: <6.0.0.22.0.20031111132618.04507ba0@localhost> Hello List, we have a problem with compiling MapServer 4.0.1 on RedHat 7.3 We compiled all packages which worked fine, but when we try to compile MapServer with gdal enabled we get errors. Without gdal everything works. This is the configure we use: ./configure --with-gd=/usr/local --with-gdal=/usr/local/bin/gdal-config --with-tiff=/usr/local --with-jpeg=/usr/local --with-proj=/usr/local --with-wmsclient --with-curl-config=/usr/local/bin/curl-config --with-postgis=/usr/local/pgsql/bin/pg_config --with-freetype=/usr/local --without-eppl And this is the error message we get: gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR - DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -DUSE_POSTGI S -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/pgsql/include -I/usr/local/include shp2img.o -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -L/usr/local/lib -ltiff -ljpeg -lfreetype -lpng -lz -L/usr/local/lib -lproj -ljpeg -L/usr/local/lib -lgdal.1.1 -L/usr/local/pgsql/lib -lpq -L/usr/local/lib -lcurl -lz -lssl -lcrypto -ldl -lz -lm -lstdc++ -o shp2img ./libmap.a(mapogr.o): In function `msOGRSpatialRef2ProjectionObj(OGRSpatialReference *, projectionOb j *, int)': mapogr.o(.text+0x4e): undefined reference to `OGRSpatialReference::IsLocal(void) const' mapogr.o(.text+0x6d): undefined reference to `OGRSpatialReference::exportToProj4(char **) const' ./libmap.a(mapogr.o): In function `msOGCWKT2ProjectionObj': mapogr.o(.text+0x10e): undefined reference to `OGRSpatialReference::OGRSpatialReference(char const * )' mapogr.o(.text+0x11d): undefined reference to `OGRSpatialReference::importFromWkt(char **)' mapogr.o(.text+0x141): undefined reference to `OGRSpatialReference::~OGRSpatialReference(void)' mapogr.o(.text+0x166): undefined reference to `OGRSpatialReference::~OGRSpatialReference(void)' mapogr.o(.text+0x17e): undefined reference to `OGRSpatialReference::~OGRSpatialReference(void)' mapogr.o(.text+0x18b): undefined reference to `__rethrow' mapogr.o(.text+0x199): undefined reference to `__rethrow' mapogr.o(.text+0x1a9): undefined reference to `__rethrow' mapogr.o(.text+0x1b1): undefined reference to `terminate(void)' collect2: ld returned 1 exit status make: *** [shp2img] Error 1 Has anybody any ideas? TIA, Dirk From palanisamyg at ornl.gov Tue Nov 11 05:01:08 2003 From: palanisamyg at ornl.gov (Palanisamy, Giri) Date: Tue, 11 Nov 2003 08:01:08 -0500 Subject: [Mapserver-users] RE: JBox Image swapping Message-ID: <0290E9A99BE89B4CB17908E29890A7063067A0@EXCHANGE.ornl.gov> Hi, I am using JBox in my mapserver application, and I like to do the image swapping (reloading the map in the applet without refreshing the entire page) when the user zooms in/out or pan. Does any one provide a code example for this? I have found a very brief documentation in the Mapserver's JBox how to do document, but couldn't proceed further. Thanks in advance Giri -----Original Message----- From: Richard Greenwood [mailto:Rich at GreenwoodMap.com] Sent: Sunday, November 09, 2003 1:04 PM To: Palanisamy, Giri Cc: mapserver-users at lists.gis.umn.edu Subject: Re: Image swapping At 10:18 AM 11/9/2003, Giri Palanisamy wrote: >I am trying to implement image swapping (reloading the map without >refreshing the entire page), DO you have an example javascript code that >does this? Can you please send the code to me?, Giri, I am copying the mapserver list with this email as there may be members of the list who can provide a good example. I do not use image swapping, so I do not have an example. I am pretty sure Steve Lime is using it in Landview: http://www.dnr.state.mn.us/maps/landview.html >I referred your JBox how to do, it says I need to add >var url; > url = "http://www.somedomain.com/cgi-bin/mapserv"+ > "?mode=map" + > "&map=" + mapfile + > "&mapext=" + extent.join("+") + > "&mapsize=" + width + "+" + height + > "&layers=" + layerlist; > document.jBox.setimage(url); > >Do I need to do this in a separate javascript function or add it to one >of my existing function? Add it to your existing function, but use that instead of "document.mapserv.submit();" In other words, you do NOT want to submit the whole page, you want to call the setimage(url) function instead. You may need to eval the function, something like: eval(" document.jBox.setimage(" + url + ")" ); Rich >Here is my javascript: > > > > >Thanks for the help. > >Giri Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From spencer at dmsolutions.ca Tue Nov 11 05:06:55 2003 From: spencer at dmsolutions.ca (Paul Spencer) Date: Tue, 11 Nov 2003 08:06:55 -0500 Subject: [Mapserver-users] [Fwd: [maplab-users] logical operators] Message-ID: <3FB0DEEF.2090405@magma.ca> This is a multi-part message in MIME format. --------------050408090306040808010705 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit this is more appropriate to the mapserver-users list I think. -- ----------------------------------------------------------------- |Paul Spencer spencer at dmsolutions.ca | |-----------------------------------------------------------------| |Applications & Software Development | |DM Solutions Group Inc http://www.dmsolutions.ca/| ----------------------------------------------------------------- --------------050408090306040808010705 Content-Type: message/rfc822; name="[maplab-users] logical operators" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="[maplab-users] logical operators" Return-Path: Received: from xcalibur.dmsolutions.ca (www2.dmsolutions.on.ca [209.217.116.146]) by in3.magma.ca (Magma's Mail Server) with ESMTP id hABD0fU0008853; Tue, 11 Nov 2003 08:00:51 -0500 Received: from www.maptools.org ([209.217.116.153]) by xcalibur.dmsolutions.ca (8.11.6/8.11.6) with ESMTP id hABD0O527014; Tue, 11 Nov 2003 08:00:24 -0500 Received: from www.maptools.org (www.maptools.org [127.0.0.1]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hABCxg8o003506; Tue, 11 Nov 2003 07:59:43 -0500 Received: from hotmail.com (sea1-f50.sea1.hotmail.com [207.68.163.50]) by www.maptools.org (8.12.5/8.12.5) with ESMTP id hABA938o002932 for ; Tue, 11 Nov 2003 05:09:04 -0500 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 11 Nov 2003 02:09:00 -0800 Received: from 139.191.75.149 by sea1fd.sea1.hotmail.msn.com with HTTP; Tue, 11 Nov 2003 10:08:59 GMT X-Originating-IP: [139.191.75.149] X-Originating-Email: [panospan5 at hotmail.com] From: "panos pan" To: maplab-users at lists.maptools.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Nov 2003 10:09:00.0062 (UTC) FILETIME=[D373BBE0:01C3A83B] Subject: [maplab-users] logical operators Sender: maplab-users-admin at lists.maptools.org Errors-To: maplab-users-admin at lists.maptools.org X-BeenThere: maplab-users at lists.maptools.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: Maplab Users Mailing list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 11 Nov 2003 10:08:59 +0000 X-Spam-Status: X-Spam-Status: hits=0.0 X-NAS-Bayes: #0: 3.09295E-051; #1: 1 X-NAS-Classification: 0 X-NAS-MessageID: 285 X-NAS-Validation: {2C7A8CD0-78FA-427F-BF86-AE333A20DC52} In MapLab , Map Edit Functionality , for a specific layer Working Environment WINDOWs 2000, Internet Exporer 6.0 I am trying to built a query in the Expression (i try to avoid regular expressions) It seems that not all the logical operators work fine. The ClassItem is named Fips_code and is a string. It works fine for : ("[Fips_code]" eq "AS") or for the foillowing expression ("[Fips_code]" != "AS") but It doesn't work for Operators Greater Than (GT, >) Less Than (LT, <)...etc I cannot find how the operator LIKE or any masks (*, ?) can function well! Thank you for your help Panagos Panos _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail _______________________________________________ Maplab-users mailing list Maplab-users at lists.maptools.org http://lists.maptools.org/mailman/listinfo/maplab-users --------------050408090306040808010705-- From schut at sarvision.com Tue Nov 11 05:08:45 2003 From: schut at sarvision.com (Vincent Schut) Date: Tue, 11 Nov 2003 14:08:45 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <20031111130449.GA10797@lowresbox.lan> (from schut@sarvision.com on Tue, Nov 11, 2003 at 14:04:49 +0100) References: <6.0.0.22.0.20031111132618.04507ba0@localhost> <20031111130449.GA10797@lowresbox.lan> Message-ID: <20031111130845.GC10797@lowresbox.lan> On 2003.11.11 14:04, Vincent Schut wrote: Hi Dirk, the missing references should be in the OGR lib which in turn should be in GDAL. Some things to consider: - when you compiled gdal, did you disable OGR? If so, recompile GDAL without the '--without-ogr' switch. - after (re)compiling gdal, did you run /sbin/ldconfig (as root) to update the linker cache, before compiling mapserver? - Is your version of GDAL the most recent one? If not, try to update it and then recompile mapserver. Hope it is any of these... Otherwise, post again so i/someone can have a closer look at your problem... Cheers, Vincent. On 2003.11.11 13:26, Dirk Geschwandtner wrote: > Hello List, > we have a problem with compiling MapServer 4.0.1 on RedHat 7.3 > > We compiled all packages which worked fine, but when we try to > compile > MapServer with gdal enabled we get errors. Without gdal everything > works. > > This is the configure we use: > > ./configure --with-gd=/usr/local --with-gdal=/usr/local/bin/gdal- > config --with-tiff=/usr/local > --with-jpeg=/usr/local --with-proj=/usr/local --with-wmsclient > --with-curl-config=/usr/local/bin/curl-config --with-postgis=/usr/ > local/pgsql/bin/pg_config > --with-freetype=/usr/local --without-eppl > > And this is the error message we get: > > gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_PROJ -DUSE_PROJ_API_H - > DUSE_WMS_SVR -DUSE_WMS_LYR - > DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP - > DUSE_GD_FT -DUSE_GDAL -DUSE_POSTGI > S -I/usr/local/include -I/usr/local/include -I/usr/local/include > -I/usr/local/include -I/usr/local/pgsql/include -I/usr/local/include > shp2img.o -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng - > lz -L/usr/local/lib -ltiff -ljpeg -lfreetype -lpng -lz -L/usr/ > local/lib -lproj -ljpeg -L/usr/local/lib -lgdal.1.1 -L/usr/local/ > pgsql/lib -lpq -L/usr/local/lib -lcurl -lz -lssl -lcrypto -ldl -lz > -lm -lstdc++ -o shp2img > ./libmap.a(mapogr.o): In function `msOGRSpatialRef2ProjectionObj > (OGRSpatialReference *, projectionOb > j *, int)': > mapogr.o(.text+0x4e): undefined reference to `OGRSpatialReference:: > IsLocal(void) const' > mapogr.o(.text+0x6d): undefined reference to `OGRSpatialReference:: > exportToProj4(char **) const' > ./libmap.a(mapogr.o): In function `msOGCWKT2ProjectionObj': > mapogr.o(.text+0x10e): undefined reference to `OGRSpatialReference:: > OGRSpatialReference(char const * > )' > mapogr.o(.text+0x11d): undefined reference to `OGRSpatialReference:: > importFromWkt(char **)' > mapogr.o(.text+0x141): undefined reference to `OGRSpatialReference:: > ~OGRSpatialReference(void)' > mapogr.o(.text+0x166): undefined reference to `OGRSpatialReference:: > ~OGRSpatialReference(void)' > mapogr.o(.text+0x17e): undefined reference to `OGRSpatialReference:: > ~OGRSpatialReference(void)' > mapogr.o(.text+0x18b): undefined reference to `__rethrow' > mapogr.o(.text+0x199): undefined reference to `__rethrow' > mapogr.o(.text+0x1a9): undefined reference to `__rethrow' > mapogr.o(.text+0x1b1): undefined reference to `terminate(void)' > collect2: ld returned 1 exit status > make: *** [shp2img] Error 1 > > Has anybody any ideas? > > TIA, > Dirk > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From warmerdam at pobox.com Tue Nov 11 06:12:51 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 11 Nov 2003 09:12:51 -0500 Subject: [Mapserver-users] link problem proj4 on VC7 In-Reply-To: <008e01c3a84b$eef2a9c0$a559af0a@seat.it> References: <008e01c3a84b$eef2a9c0$a559af0a@seat.it> Message-ID: <3FB0EE63.9050202@pobox.com> Yvain Ballini wrote: > Hello, > > I'm trying to compile Mapserver with Visual Studio 2003 (precisely VC7) > on Windows 2000, and I've got everything except the Proj.4 library. I've > downloaded at ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., > like i'ts said it on the page > _http://mapserver.gis.umn.edu/doc40/win32_compile-howto.html_. > > When I try to compile this library (proj4.lib), I' meet a linking > problem that I can't explain. It gives me the following error: > > *proj.obj : error LNK2022: metadata operation failed (8013118D) : > Inconsistent layout information in duplicated types (PJconsts)* > > I've controlled that the structure PJconsts is defined and declared only > one time (in the header projects.h) and I don't find where is the problem. > > Do you know if there is some patch or these files to make the > compilation without problem? > Thank you very much for your help. > Best regards. Yvain, This is more properly a PROJ.4 issue. I have built PROJ.4 with Visual Studio .NET, but not the most recent version of that. It would appear it is getting more picky all the time. The likely issue with PJconsts is that the structure includes the PROJ_PARMS__ macro, which basically expands to be a different set of projection specific parameters in each of the low level projection support files. I guess Visual Studio is trying to keep track of all this for debugging purposes and is getting confused. Are you using the default makefile.vc build definitions? By default the OPTFLAGS is set to /Ox with no debug support enabled. I would have thought this would have avoided such issues. I am not intending to upgrade to this compiler in the immediate future so I can't really offer to fix the problem ... whatever that fix might be. I would suggest you just grab a PROJ.DLL and corresponding import library from a Visual Studio 6 build and use that. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From dg at mapmedia.de Tue Nov 11 06:36:12 2003 From: dg at mapmedia.de (Dirk Geschwandtner) Date: Tue, 11 Nov 2003 15:36:12 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 Message-ID: <6.0.0.22.0.20031111153559.0451d920@localhost> Hello Vincent, thanks for your answer. At 14:04 11.11.2003, you wrote: >the missing references should be in the OGR lib which in turn should be >in GDAL. Some things to consider: >- when you compiled gdal, did you disable OGR? If so, recompile GDAL >without the '--without-ogr' switch. OGR is enabled (at least gdal-config --ogr-enabled says so ...) >- after (re)compiling gdal, did you run /sbin/ldconfig (as root) to >update the linker cache, before compiling mapserver? yes >- Is your version of GDAL the most recent one? If not, try to update it >and then recompile mapserver. I used 1.1.9, now I checked out the cvs version but still nothing changes... Any other ideas?? From morissette at dmsolutions.ca Tue Nov 11 06:33:50 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 11 Nov 2003 09:33:50 -0500 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FB0AE81.29571.1EA79C@localhost> References: <3FB0AE81.29571.1EA79C@localhost> Message-ID: <3FB0F34E.3000306@dmsolutions.ca> andreas.mueller at bfua.de wrote: > > that's consistent with the exception the remote server sends, which I already cited in my > first mail to the list. > Here it comes again: > ... > > It seems that the remote server can't handle the request MapServer sends. Now I don't > think it's very **OGCish** to send a "ClassNotFound" exception if a piece of software > doesn't like a request. > Which software is running on the server? Could you check with the developers if this is a known problem or if they have any specific requirements from the WMS clients? -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From rickb at genaware.com Tue Nov 11 06:27:07 2003 From: rickb at genaware.com (Rick Buckley) Date: Tue, 11 Nov 2003 14:27:07 +0000 Subject: [Mapserver-users] makeref.pl Message-ID: <3FB0F1BB.4090501@genaware.com> Hi, Having recently downloaded MapServer, I am a bit of a novice, so please bear with me. I have successfully set up the itacsa demo application, ( which is very useful ). All is fine except that when I try and use the makeref.pl script, I get allsorts of errors, many of which I have worked round ( hopefully successfully ). The error I am now having trouble with is:- Can't modify constant item in local at makeref.pl line 47, near "mapscript::MS_PNG=" Line 47 of the file looks like #Usage: msSaveImage(img,filename,type,transparent,interlace,quality) mapscript::msSaveImage($img, 'reference.png', mapscript::MS_PNG=PNG, 1, 1); I suspect I map have the "type" syntax incorrect, however, this is as the syntax appears in the doccumentation. I have tried various different syntaxs on this line, but cannot get through the problem. My environemnt of use is:- RedHat Linux 8.0 Could anyone offer any advise please. Kind Regards Rick Buckley From schut at sarvision.com Tue Nov 11 06:41:14 2003 From: schut at sarvision.com (Vincent Schut) Date: Tue, 11 Nov 2003 15:41:14 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <6.0.0.22.0.20031111151647.04507118@localhost> (from dg@mapmedia.de on Tue, Nov 11, 2003 at 15:18:22 +0100) References: <6.0.0.22.0.20031111132618.04507ba0@localhost> <20031111130449.GA10797@lowresbox.lan> <6.0.0.22.0.20031111151647.04507118@localhost> Message-ID: <20031111144114.GE10797@lowresbox.lan> On 2003.11.11 15:18, Dirk Geschwandtner wrote: > Hello Vincent, > thanks for your answer. > > At 14:04 11.11.2003, you wrote: >> the missing references should be in the OGR lib which in turn should >> be >> in GDAL. Some things to consider: >> - when you compiled gdal, did you disable OGR? If so, recompile GDAL >> without the '--without-ogr' switch. > > OGR is enabled (at least gdal-config --ogr-enabled says so ...) > >> - after (re)compiling gdal, did you run /sbin/ldconfig (as root) to >> update the linker cache, before compiling mapserver? > > yes > >> - Is your version of GDAL the most recent one? If not, try to update >> it >> and then recompile mapserver. > > I used 1.1.9, now I checked out the cvs version but still nothing > changes... > > Any other ideas?? You might accidentally have 2 versions of gdal on your system? Try "ldconfig -p | grep gdal". The output should be something like: libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 libgdal.so (libc6) => /usr/local/lib/libgdal.so If there are gdal files in /usr/lib, then delete those (and the gdal include files in /usr/include) and rerun ldconfig. > > > From dg at mapmedia.de Tue Nov 11 06:58:20 2003 From: dg at mapmedia.de (Dirk Geschwandtner) Date: Tue, 11 Nov 2003 15:58:20 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <20031111144114.GE10797@lowresbox.lan> References: <6.0.0.22.0.20031111132618.04507ba0@localhost> <20031111130449.GA10797@lowresbox.lan> <6.0.0.22.0.20031111151647.04507118@localhost> <20031111144114.GE10797@lowresbox.lan> Message-ID: <6.0.0.22.0.20031111155736.044c0da8@localhost> > >You might accidentally have 2 versions of gdal on your system? Try >"ldconfig -p | grep gdal". The output should be something like: > >libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so >libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 >libgdal.so (libc6) => /usr/local/lib/libgdal.so This is my output: libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 libgdal.so (libc6) => /usr/local/lib/libgdal.so Still no change, sorry... From muratisik at megatek.com.tr Tue Nov 11 06:59:01 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Tue, 11 Nov 2003 16:59:01 +0200 Subject: [Mapserver-users] cant label streets in mapscript -- please help Message-ID: <006b01c3a864$5a5b8890$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0068_01C3A875.1B0AD2C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Good days Mr. Morissette, I hope it is okey if I ask you a question about mapscript labelling and = also cc this question to maillist (as you have asked me to do before) I have tried to label a streets layer in mapserver and succeeded in a = reasonbale way, names are not perfectly written but I guess it all takes = some playing around with MINSIZE and/or other values. I will do that. Before doing that, I tried to do the same thing in my php/mapscript = which used to run the same mapfile minus the labelling part. I copied = the mapserver-mapfile's labelled street layer and replaced it into the = place of the same non-labelled street layer in mapscript-mapfile. This = is the non-labeled layer of mapscript: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline GROUP sokaklar TYPE line DATA ERENKOY_ORNEKSOKAK_PL_polyline STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END I removed the above and put this in its place (which worked with = mapserver): LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE LINE GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline LABELITEM "ADI" CLASS NAME "ADI" COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250=20 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 6 END END END ADI is the coloumn in dbf which I am trying to use for labelling. After = this, mapscript stopped rendering images. Then hopelessly, I added a few = more lines to mapscript mapfile and it restarted to render maps but with = no labels. So the layer definition became: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END # LABELCACHE OFF LABELITEM 'ADI' CLASS NAME 'ADI' #EXPRESSION /./ COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250=20 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END After the advice of Mr. Haseborg from the maillist I added = $myMap->drawLabelCache($img) line right before = $img->saveWebImage(GIF,1,1,0) line. Still no labels were written. This the point I am stuck at. I have read = a lot of mail archieves but found no results.... Is there anything else to be added to the php code or mapfile? How can I = get the labelling to work with mapscript? (It is killing me to be a php-newbei and mapscript-newbei at the same = time...) Thanks in advance:) Have a nice day Murat Isik ------=_NextPart_000_0068_01C3A875.1B0AD2C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Good days Mr. Morissette,
 
I hope it is okey if I ask you a = question about=20 mapscript labelling and also cc this question to maillist (as you have = asked me=20 to do before)
 
I have tried to label a streets layer = in mapserver=20 and succeeded in a reasonbale way, names are not perfectly written but I = guess=20 it all takes some playing around with MINSIZE and/or other values. I = will do=20 that.
Before doing that, I tried to do the = same thing in=20 my php/mapscript which used to run the same mapfile minus the labelling = part. I=20 copied the mapserver-mapfile's labelled street layer and replaced it = into the=20 place of the same non-labelled street layer in mapscript-mapfile. This = is the=20 non-labeled layer of mapscript:
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  GROUP sokaklar
  TYPE=20 line
  DATA ERENKOY_ORNEKSOKAK_PL_polyline
  STATUS = ON
 =20 CLASSITEM 'ID'
  = CLASS
       =20 EXPRESSION /./
   COLOR 66 34 249
  = END
 
END
I removed the above and put this in its = place=20 (which worked with mapserver):
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE LINE
  GROUP=20 sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
  LABELITEM "ADI"
 =20 CLASS
    NAME "ADI"
    COLOR 161 = 02=20 110
    LABEL
      TYPE=20 truetype
#      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
        ANGLE=20 AUTO
 #     BACKGROUNDCOLOR 250 250=20 250 
      POSITION=20 AUTO
        SIZE=20 0
        MINSIZE=20 2
      SIZE 6
    = END
 =20 END
END
ADI is the coloumn in dbf which I am = trying to use=20 for labelling. After this, mapscript stopped rendering images. Then = hopelessly,=20 I added a few more lines to mapscript mapfile and it restarted to render = maps=20 but with no labels. So the layer definition became:
 
LAYER
  NAME=20 ERENKOY_ORNEKSOKAK_PL_polyline
  TYPE line
  GROUP=20 sokaklar
  STATUS ON
  DATA=20 ERENKOY_ORNEKSOKAK_PL_polyline
    CLASSITEM = 'ID'
 =20     CLASS
       = EXPRESSION=20 /./
      COLOR 66 34 249
  =    =20 END
   # LABELCACHE OFF
    = LABELITEM=20 'ADI'
      CLASS
   NAME=20 'ADI'
    #EXPRESSION /./
   COLOR 161 02 = 110
    LABEL
      TYPE=20 truetype
#      FORCE=20 true
      FONT=20 arial
      COLOR 0 0=20 0
       ANGLE=20 AUTO
  #   BACKGROUNDCOLOR 250 250=20 250 
      POSITION=20 AUTO
        SIZE=20 0
        MINSIZE=20 2
      SIZE 8
   END
  = END
END
After the advice of Mr. Haseborg from = the maillist=20 I added $myMap->drawLabelCache($img) line right before =20 $img->saveWebImage(GIF,1,1,0) line.
Still no labels were written. This the = point I am=20 stuck at. I have read a lot of mail archieves but found no=20 results....
 
Is there anything else to be added to = the php code=20 or mapfile? How can I get the labelling to work with = mapscript?
 
(It is killing me to be a php-newbei = and=20 mapscript-newbei at the same time...)
 
Thanks in advance:)
 
Have a nice day
 
Murat Isik
------=_NextPart_000_0068_01C3A875.1B0AD2C0-- From schut at sarvision.com Tue Nov 11 07:24:23 2003 From: schut at sarvision.com (Vincent Schut) Date: Tue, 11 Nov 2003 16:24:23 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <6.0.0.22.0.20031111155736.044c0da8@localhost> (from dg@mapmedia.de on Tue, Nov 11, 2003 at 15:58:20 +0100) References: <6.0.0.22.0.20031111132618.04507ba0@localhost> <20031111130449.GA10797@lowresbox.lan> <6.0.0.22.0.20031111151647.04507118@localhost> <20031111144114.GE10797@lowresbox.lan> <6.0.0.22.0.20031111155736.044c0da8@localhost> Message-ID: <20031111152423.GK10797@lowresbox.lan> On 2003.11.11 15:58, Dirk Geschwandtner wrote: > >> >> You might accidentally have 2 versions of gdal on your system? Try >> "ldconfig -p | grep gdal". The output should be something like: >> >> libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so >> libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 >> libgdal.so (libc6) => /usr/local/lib/libgdal.so > > This is my output: > > libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so > libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 > libgdal.so (libc6) => /usr/local/lib/libgdal.so > > Still no change, sorry... Things start to dawn here... My own output was also bad, but I haven't recompiled mapserver since gdal moved to libtool supported compilation so no errors yet occured. Check the dates of the files that were in your ldd ouput. You will see that the libgdal.1.1.so is older than the others. Recently, gdal changed its compilation method and hence the name of the .so files. You should probably remove the libgdal.1.1.so, rerun ldconfig, then try to recompile mapserver. Probably you will have to rerun ./configure for mapserver for it to find the new gdal? If it complains now that it cannot find gdal this means that the mapserver configure script has not yet been adapted to the new gdal name. Then you can recompile gdal using the '--without-libtool' switch which will - I think - use not only the old mechanism but only the old name. Please, some of the gdal developers, correct me if I'm wrong here. Sorry I can't try this myself here at the moment. But this should be it. Cheers, Vincent. > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From sgillies at frii.com Tue Nov 11 08:02:45 2003 From: sgillies at frii.com (Sean Gillies) Date: Tue, 11 Nov 2003 09:02:45 -0700 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <6.0.0.22.0.20031111155736.044c0da8@localhost> Message-ID: <7D26EC44-1460-11D8-BE30-000393B98B56@frii.com> On Tuesday, November 11, 2003, at 07:58 AM, Dirk Geschwandtner wrote: > >> >> You might accidentally have 2 versions of gdal on your system? Try >> "ldconfig -p | grep gdal". The output should be something like: >> >> libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so >> libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 >> libgdal.so (libc6) => /usr/local/lib/libgdal.so > > This is my output: > > libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so > libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 > libgdal.so (libc6) => /usr/local/lib/libgdal.so > > Still no change, sorry... > Dirk, Add --with-ogr=[path to OGR build directory] to your configure. Also, I see that you will need to build the PROJ.4 library and add --with-proj to your configure as well. cheers, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From schut at sarvision.com Tue Nov 11 08:49:40 2003 From: schut at sarvision.com (Vincent Schut) Date: Tue, 11 Nov 2003 17:49:40 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <7D26EC44-1460-11D8-BE30-000393B98B56@frii.com> (from sgillies@frii.com on Tue, Nov 11, 2003 at 17:02:45 +0100) References: <7D26EC44-1460-11D8-BE30-000393B98B56@frii.com> Message-ID: <20031111164940.GS10797@lowresbox.lan> On 2003.11.11 17:02, Sean Gillies wrote: > On Tuesday, November 11, 2003, at 07:58 AM, Dirk Geschwandtner > wrote: > >> >>> >>> You might accidentally have 2 versions of gdal on your system? Try >>> "ldconfig -p | grep gdal". The output should be something like: >>> >>> libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so >>> libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 >>> libgdal.so (libc6) => /usr/local/lib/libgdal.so >> >> This is my output: >> >> libgdal.1.1.so (libc6) => /usr/local/lib/libgdal.1.1.so >> libgdal.so.1 (libc6) => /usr/local/lib/libgdal.so.1 >> libgdal.so (libc6) => /usr/local/lib/libgdal.so >> >> Still no change, sorry... >> > > Dirk, > > Add --with-ogr=[path to OGR build directory] to your configure. > Also, > I see that you will need to build the PROJ.4 library and add --with- > proj > to your configure as well. kind of stupid of me to overlook the obvious... Indeed you will have to specify ogr and proj when building mapserver, i guess... cheers, Vincent. > > cheers, > Sean > > > -- > Sean Gillies > sgillies at frii dot com > http://www.frii.com/~sgillies > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From coronadh at coronasolutions.com Tue Nov 11 08:59:52 2003 From: coronadh at coronasolutions.com (Dan Harris) Date: Tue, 11 Nov 2003 09:59:52 -0700 Subject: [Mapserver-users] Raster layers are all gray Message-ID: <3FB11588.7060309@coronasolutions.com> I have no idea what I'm doing wrong here or if this is a bug. But, I'm trying to display a raster on my map and I've tried it as 8-bit png, jpeg, and tiff and it won't render properly. It is the only layer in the map, so I don't think it's exhausting the color palette. I've tried reducing to 16 colors and it makes the output image black instead of gray (is this a clue?). So I can tell that mapserver is rendering the entire output as the "median" color of the raster image, but none of the details in the photo actually show up. I would upgrade to 4.0, but it seems to not mesh with my older GD libraries in Debian/stable. Please help! Here's the relevant layer in my map file: LAYER NAME "ORTHO" DATA "ortho_gray.tiff" TYPE RASTER STATUS ON END ..contents of the .wld file: 16.000000 0.000000 0.000000 -16.000000 -79.91460 32.82132 .. a link to the raster file: http://drivefaster.net/images/ortho_gray.tiff .. a link to what mapserver generates: http://drivefaster.net/images/output.png .. my mapserv -v output: ./mapserv -v MapServer version 3.6.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE and ldd output for mapserv ( in case it's a library problem? ) -- /mapserver-3.6.5# ldd mapserv libgd.so.2 => /usr/lib/libgd.so.2 (0x40018000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4004e000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4006e000) libpng.so.2 => /usr/lib/libpng.so.2 (0x400ad000) libz.so.1 => /usr/lib/libz.so.1 (0x400d8000) libtiff.so.3 => /usr/lib/libtiff.so.3 (0x400e7000) libm.so.6 => /lib/libm.so.6 (0x40129000) libc.so.6 => /lib/libc.so.6 (0x4014a000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40267000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40275000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) From opengis at libero.it Tue Nov 11 09:04:58 2003 From: opengis at libero.it (opengis) Date: Tue, 11 Nov 2003 18:04:58 +0100 Subject: [Mapserver-users] Create View with PostGis table Message-ID: Howdy, I need to CREATE VIEW of PostGis table. My landusea_region table: Field Type gid int4 polygon_id int8 name varchar langcode varchar type varchar city varchar the_geom geometry Early I try with simple VIEW test=> CREATE VIEW only_pg_view AS SELECT * FROM landusea_region; test=# \dv List of relations Schema | Name | Type | Owner --------+------------------+------+---------- public | only_pg_view | view | postgres (1 row) PostGres-PostGis work fine, but when I try to use this view in mapserver with mapfile like: LAYER NAME LandUseA_region # DATA LandUseA_region # original shape file -- work fine CONNECTIONTYPE postgis CONNECTION "user=pg_user password=pg_passwd dbname=test host=linux_box" # DATA "the_geom from landusea_region" # work fine DATA "the_geom from only_pg_land_use" # DOESN?T WORK!! STATUS ON TYPE POLYGON LABELITEM "name" LABELMAXSCALE 50000 CLASS TEMPLATE "land.html" EXPRESSION ('[type]' = 'PARK (CITY/COUNTY)' ) NAME 'Urban park' COLOR 0 210 0 LABEL COLOR 25 120 50 # POSITION AUTO END END END I?ve this: Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: mapserv If you think this is a server error, please contact the webmaster Error 500 linux_box mar 11 nov 2003 17:31:31 CET Apache/2.0.40 (Red Hat Linux) I suppose need INSERT INTO geometry_columns table. I try to duplicate landusea_region record: f_table_schema f_table_name f_geometry_column coord_dimension srid type attrelid varattnum test landusea_region the_geom 2 -1 MULTIPOLYGON 17464 7 in test only_pg_land_use the_geom 2 -1 MULTIPOLYGON 17464 7 but mapserver send me same Server error! Environment RH9 Mapserver4 Postgres 7.3.2 PostGis 0.5 Any suggest, sample? Best regards P.S. Why I need to CREATE VIEW? Because I?ve geo-data in PostGres-PostGis table and miscellaneous data in other tables (and other remote db). With a single VIEW I can map both of them. --- opengis (at) libero (dot) it AOL: open2gis From noti at ciaoweb.it Tue Nov 11 09:14:57 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Tue, 11 Nov 2003 18:14:57 +0100 Subject: [Mapserver-users] Mapscript problem with MS401 Message-ID: <003101c3a877$58e0fbe0$0301a8c0@valerion> This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C3A87F.B6AEAE40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I've upgraded mapscript version from 366 to 401 downloaded from = DMsolutions. My old application seems to work well without applying changes to = mapfile or code. However I got an error when I try to get the feature extent of a = selected object. Code of bound.php: .... $map =3D ms_newMapObj("mapfile.map"); $image=3D$map->draw(); $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); $shape =3D $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]); //feature extension $ShapeIndex =3D $HTTP_GET_VARS["ShapeIndex"]; $shapeExt =3D $shapefile->getExtent($ShapeIndex); $minx =3D $shapeExt->minx; $miny =3D $shapeExt->miny; $maxx =3D $shapeExt->maxx; $maxy =3D $shapeExt->maxy; .... I passed layer and shapeindex by a form and retrieved them with = HTTP_GET_VARS. I located shapefile in "shape" folder (as saved in mapfile.map) but I = also tried copying shapefile in the same directory of bound.php. The error is: ***************************** Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in = c:\inetpub\wwwroot\gall\bound.php on line 16 Fatal error: Failed to open shapefile CAT_VETT in = c:\inetpub\wwwroot\gall\bound.php on line 16 ***************************** CAT_VETT is the right name of shapefile, line 16 is: $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); All this works fine changing reference to PHP_MAPSCRIPT_36.dll instead = of PHP_MAPSCRIPT_4.0.1.dll. Any help appreciated Thanks Valerio Noti ------=_NextPart_000_002C_01C3A87F.B6AEAE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
 
I've upgraded mapscript version from = 366 to 401=20 downloaded from DMsolutions.
My old application seems to work well = without=20 applying changes to mapfile or code.
However I got an error when I = try to get=20 the feature extent of a selected object.
 
Code of bound.php:
 
....
$map =3D=20 ms_newMapObj("mapfile.map");
$image=3D$map->draw();
$shapefile = =3D=20 ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
$shape =3D=20 $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]);
 
//feature extension
$ShapeIndex =3D=20 $HTTP_GET_VARS["ShapeIndex"];
$shapeExt =3D=20 $shapefile->getExtent($ShapeIndex);
$minx =3D = $shapeExt->minx;
$miny =3D=20 $shapeExt->miny;
$maxx =3D $shapeExt->maxx;
$maxy =3D=20 $shapeExt->maxy;
....
 
I passed layer and shapeindex by a form = and=20 retrieved them with HTTP_GET_VARS.
I located shapefile in "shape" = folder (as=20 saved in mapfile.map) but I also tried
copying shapefile in the same=20 directory of bound.php.
 
The error=20 is:
*****************************
Warning: [MapServer Error]:=20 msSHPOpenFile(): (CAT_VETT) in c:\inetpub\wwwroot\gall\bound.php on line = 16
 
Fatal error: Failed to open shapefile = CAT_VETT in=20 c:\inetpub\wwwroot\gall\bound.php on line=20 16
*****************************
CAT_VETT is the right name of = shapefile,=20 line 16 is:
 
$shapefile =3D=20 ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
 
All this works fine changing reference = to=20 PHP_MAPSCRIPT_36.dll instead of PHP_MAPSCRIPT_4.0.1.dll.
 
Any help = appreciated
Thanks
 
Valerio Noti
------=_NextPart_000_002C_01C3A87F.B6AEAE40-- From dg at mapmedia.de Tue Nov 11 09:14:21 2003 From: dg at mapmedia.de (Dirk Geschwandtner) Date: Tue, 11 Nov 2003 18:14:21 +0100 Subject: [Mapserver-users] MapServer 4 Compile Error on RedHat 7.3 In-Reply-To: <20031111164940.GS10797@lowresbox.lan> References: <7D26EC44-1460-11D8-BE30-000393B98B56@frii.com> <20031111164940.GS10797@lowresbox.lan> Message-ID: <6.0.0.22.0.20031111181141.044df0c8@localhost> Hello Vincent, hello Sean, >>Dirk, >>Add --with-ogr=[path to OGR build directory] to your configure. >>Also, >>I see that you will need to build the PROJ.4 library and add --with- proj >>to your configure as well. > > kind of stupid of me to overlook the obvious... Indeed you will >have to specify ogr and proj when building mapserver, i guess... thanks for your suggestions, I already had that in my configure, but still no change. But: I tried gdal-1.1.8 instead of the newer ones and now everything worked fine. So I still have no idea why it broke but finally I got the MapServer. If you have another idea let me know :-) Thanks for your help, Dirk From moissinac+mapserver at enst.fr Tue Nov 11 09:25:10 2003 From: moissinac+mapserver at enst.fr (Jean-Claude Moissinac) Date: Tue, 11 Nov 2003 18:25:10 +0100 Subject: [Mapserver-users] Demo In-Reply-To: <1068405365.3fae9275e99a8@www.rebidia.org.br> References: <3FABCC82.50704@enst.fr> <1068405365.3fae9275e99a8@www.rebidia.org.br> Message-ID: <3FB11B76.60201@enst.fr> Thank you (a little) It works better. After converting all .gif images to .png images, I'm going to the next step: a page with the 'MapServer Demo Interface' title, some radio buttons and interface elements and a big zone for an image which doesn't appear. In 'Properties', that zone refers to '/tmp/DEMO10684762602652.png' which doesn't exist. But why? Some help? Jean-Claude humberto at pastoraldacrianca.org.br wrote: >Citando Jean-Claude Moissinac : > > > >>I'm installing MapServer 4.0 for the first time. >>I'm unable to run the demo I have downloaded on the site. >>I search in the FAQ and get the >>http://mapserver.gis.umn.edu/doc/mapserver-FAQ.html#d45e17 >>link for a 'new' demo. This link is broken. >> >>My problem is with the demo.map file. >>Wen I click on the Initialize button, I get the message: >>msLoadMap(): Unknown identifier. Parsing error near (SHADESET):(line 7) >>If I comment out the SHADESET line, I have the same message on the >>MARKERSET, then on the LINESET. >>And so on... >> >>Can we help? >> >>Thanks in advance. >> >>Jean-Claude Moissinac >> >> >> > >Try download the Demo from http://cvs.gis.umn.edu/dist/itasca3.5.tar.gz > >The demo itasca3.3.tar.gz is deprecated for MapServer 4.0 > >Humberto Cereser Ibanez >Pastoral da Crian?a > > > > >------------------------------------------------- >E-Mail enviado pelo Webmail Pastoral da Crian?a >usando IMP: http://horde.org/imp/ >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > From warmerdam at pobox.com Tue Nov 11 09:33:50 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 11 Nov 2003 12:33:50 -0500 Subject: [Mapserver-users] Raster layers are all gray In-Reply-To: <3FB11588.7060309@coronasolutions.com> References: <3FB11588.7060309@coronasolutions.com> Message-ID: <3FB11D7E.3090208@pobox.com> Dan Harris wrote: > I have no idea what I'm doing wrong here or if this is a bug. But, I'm > trying to display a raster on my map and I've tried it as 8-bit png, > jpeg, and tiff and it won't render properly. > > It is the only layer in the map, so I don't think it's exhausting the > color palette. I've tried reducing to 16 colors and it makes the output > image black instead of gray (is this a clue?). So I can tell that > mapserver is rendering the entire output as the "median" color of the > raster image, but none of the details in the photo actually show up. > > I would upgrade to 4.0, but it seems to not mesh with my older GD > libraries in Debian/stable. Dan, I'll take a quick look at your ortho file, but it would have been helpful if you could have provided your whole mapfile, or at least a cutdown simple one that reproduces the problem. One obvious possibility is that your map area might not intersect with the image's georeferenced area but I can't check that without the map. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From bronsema at dmsolutions.ca Tue Nov 11 09:30:19 2003 From: bronsema at dmsolutions.ca (William A. Bronsema, C.E.T.) Date: Tue, 11 Nov 2003 12:30:19 -0500 Subject: [Mapserver-users] Re: Retrieving informations from created swf files... In-Reply-To: <22CD7A0EA6070A4DB932011F3429F190B7FF57@eint11.einet.ad.eivd.ch> References: <22CD7A0EA6070A4DB932011F3429F190B7FF57@eint11.einet.ad.eivd.ch> Message-ID: <3FB11CAB.7040108@dmsolutions.ca> I am forwarding this to the mapserver users list. You might get a faster reply. BAUD remi wrote: > Hi, > > I've seen that when mapserver output files in SWF files (Output multiple), this is possible to retrieve informations about that layers: When you "mouse-over" a feature, this last is highlighted, and an Action_Script is made (_root.ElementSelected). Assefa wrote that it's possible to use it to define which layer, shape was clicked and then it's possible to retrieve some attributes. > > If I want to do that, should I create a new .fla document and the use actionscript to load the mapserver's outputed swf files? > I'm really not sure about how to define this ElementSelected function. > > Don't you have a hint or a little sample about how to do that because it's quite hard to begin.. > > Cheers > -- William A. Bronsema, C.E.T. Applications Developer, DM Solutions Group Inc. http://www.dmsolutions.ca email: bronsema at dmsolutions.ca Phone: (613) 565-5056 ext.25 Fax : (613) 565-0925 ____________________________________ From ter-haseborg at sf-datentechnik.de Tue Nov 11 09:38:46 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Tue, 11 Nov 2003 18:38:46 +0100 Subject: [Mapserver-users] cant label streets in mapscript -- please help Message-ID: <0DF955F15A102E4F81B948D44A45015A069258@nt-sf-exchange.Windows2000> Hi, for better debugging you perhaps should simplify your mapfile as far as possible. Only one layer, one class, one label-object, no expressions if not really needed, just to get rid of any possible side effects. For example a label-definition like LABEL COLOR 0 0 0 END should do for a label to be drawn. But I'm not sure if the mapfile is really your problem. Next step would be to reduce your php to the important. Try first to draw one point, with label. Just write a testscript to only do this little thing. And then post this snippet, if it doesn't work, not your whole application. ;-) Best regards, Frieso -----Original Message----- From: Murat Isik [mailto:muratisik at megatek.com.tr] Sent: Tuesday, November 11, 2003 3:59 PM To: Daniel Morissette Cc: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] cant label streets in mapscript -- please help Good days Mr. Morissette, I hope it is okey if I ask you a question about mapscript labelling and also cc this question to maillist (as you have asked me to do before) I have tried to label a streets layer in mapserver and succeeded in a reasonbale way, names are not perfectly written but I guess it all takes some playing around with MINSIZE and/or other values. I will do that. Before doing that, I tried to do the same thing in my php/mapscript which used to run the same mapfile minus the labelling part. I copied the mapserver-mapfile's labelled street layer and replaced it into the place of the same non-labelled street layer in mapscript-mapfile. This is the non-labeled layer of mapscript: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline GROUP sokaklar TYPE line DATA ERENKOY_ORNEKSOKAK_PL_polyline STATUS ON CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END END I removed the above and put this in its place (which worked with mapserver): LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE LINE GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline LABELITEM "ADI" CLASS NAME "ADI" COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 6 END END END ADI is the coloumn in dbf which I am trying to use for labelling. After this, mapscript stopped rendering images. Then hopelessly, I added a few more lines to mapscript mapfile and it restarted to render maps but with no labels. So the layer definition became: LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line GROUP sokaklar STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END # LABELCACHE OFF LABELITEM 'ADI' CLASS NAME 'ADI' #EXPRESSION /./ COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END After the advice of Mr. Haseborg from the maillist I added $myMap->drawLabelCache($img) line right before $img->saveWebImage(GIF,1,1,0) line. Still no labels were written. This the point I am stuck at. I have read a lot of mail archieves but found no results.... Is there anything else to be added to the php code or mapfile? How can I get the labelling to work with mapscript? (It is killing me to be a php-newbei and mapscript-newbei at the same time...) Thanks in advance:) Have a nice day Murat Isik From nacional at cbs.umn.edu Tue Nov 11 09:41:16 2003 From: nacional at cbs.umn.edu (Pericles S. Nacionales) Date: Tue, 11 Nov 2003 11:41:16 -0600 Subject: [Mapserver-users] link problem proj4 on VC7 In-Reply-To: <008e01c3a84b$eef2a9c0$a559af0a@seat.it> References: <008e01c3a84b$eef2a9c0$a559af0a@seat.it> Message-ID: <1068572476.29831.1.camel@localhost> Hi, Please download and compile proj version 4.4.7. -Perry On Tue, 2003-11-11 at 06:04, Yvain Ballini wrote: > Hello, > > I'm trying to compile Mapserver with Visual Studio 2003 (precisely > VC7) on Windows 2000, and I've got everything except the Proj.4 > library. I've downloaded at > ftp://ftp.remotesensing.org/pub/proj/proj-4.4.3.zip., like i'ts said > it on the page > http://mapserver.gis.umn.edu/doc40/win32_compile-howto.html. > > When I try to compile this library (proj4.lib), I' meet a linking > problem that I can't explain. It gives me the following error: > > proj.obj : error LNK2022: metadata operation failed (8013118D) : > Inconsistent layout information in duplicated types (PJconsts) > > I've controlled that the structure PJconsts is defined and declared > only one time (in the header projects.h) and I don't find where is the > problem. > > Do you know if there is some patch or these files to make the > compilation without problem? > Thank you very much for your help. > Best regards. > > Yvain. > > From morissette at dmsolutions.ca Tue Nov 11 09:40:03 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 11 Nov 2003 12:40:03 -0500 Subject: [Mapserver-users] cant label streets in mapscript -- please help In-Reply-To: <006b01c3a864$5a5b8890$b4704ad5@murathq> References: <006b01c3a864$5a5b8890$b4704ad5@murathq> Message-ID: <3FB11EF3.1090609@dmsolutions.ca> Murat Isik wrote: > > I hope it is okey if I ask you a question about mapscript labelling and > also cc this question to maillist (as you have asked me to do before) I saw your multiple posts to the list and also noticed the small number of replies. This is often an indication that your question is not clear enough for someone to help: either lacking essential information, poorly formatted, or just contains too much information to a point where it becomes confusing. You need to help the readers help you: well formatted questions most of the time get resolved the same day on this list. First we need to know: - Which version of MapServer/MapScript are you using - I presume you're on Windows and if not then please specify your OS. It may also help to know: - If you got a pre-built binary then where did you download it from? - If you compiled yourself then which options did you enable? (output of mapserv -v or configure options) - Describe your PHP config: does your PHP have GD/Freetype enabled and if yes please verify that the PHP GD and freetype are of the same version as the ones used by MapScript > > I have tried to label a streets layer in mapserver and succeeded in a > reasonbale way, names are not perfectly written but I guess it all takes > some playing around with MINSIZE and/or other values. I will do that. Great, so we know we have a working mapfile to start from ... > Before doing that, I tried to do the same thing in my php/mapscript > which used to run the same mapfile minus the labelling part. So MapScript works fine when the labelling is not enabled... also good to know. > I copied > the mapserver-mapfile's labelled street layer and replaced it into the > place of the same non-labelled street layer in mapscript-mapfile. This > is the non-labeled layer of mapscript: > > ADI is the coloumn in dbf which I am trying to use for labelling. After > this, mapscript stopped rendering images. "stopped rendering images"? Your computer didn't go on strike did it? ;) So what did it do instead? Did it produce a blank image? Did it produce any errors? Was there any error/warning on the error_log or if you do a view source? Please describe what you got and what you didn't get. This is very important... without a description of the incorrect behavior nobody can help. > Then hopelessly, I added a few > more lines to mapscript mapfile and it restarted to render maps but with > no labels. So the layer definition became: > Which lines did you add? Readers offer you 30 seconds of their time and don't have time to compare a 30-lines layer definition to figure which line has changed. > After the advice of Mr. Haseborg from the maillist I added > $myMap->drawLabelCache($img) line right before > $img->saveWebImage(GIF,1,1,0) line. Which version of MapServer/MapScript are you using again? The line $img->saveWebImage(GIF,1,1,0) may not work in any version of MapServer/MapScript: In version 3.6.x it should be: $img->saveWebImage(MS_GIF,1,1,0); In version 4.x the format arguments are gone, instead it uses the format specified in the mapfile (of via selectOutputformat()): $img->saveWebImage(); > Still no labels were written. This the point I am stuck at. I have read > a lot of mail archieves but found no results.... > > Is there anything else to be added to the php code or mapfile? How can I > get the labelling to work with mapscript? > Normally a mapfile that works in mapserv will also work in php_mapscript as is... without any modification. If it doesn't work then it's either a configuration issue on your server (conflict with PHP's GD/freetype for instance) or it's something that you do wrong in your script. The best way to identify the source of the problem is to test with a 5-lines script. Does the following script work for you with the mapfile that contains all the label stuff and that used to work with mapserv? draw(); $url = $map->saveWebImage(); echo ; ?> Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From vguzman at maintask.com Tue Nov 11 10:03:23 2003 From: vguzman at maintask.com (=?windows-1252?Q?Vladimir_Guzm=E1n?=) Date: Tue, 11 Nov 2003 13:03:23 -0500 Subject: [Mapserver-users] Create View with PostGis table In-Reply-To: References: Message-ID: <3FB1246B.9080108@maintask.com> opengis wrote: >Howdy, > >I need to CREATE VIEW of PostGis table. > >My landusea_region table: >Field Type >gid int4 >polygon_id int8 >name varchar >langcode varchar >type varchar >city varchar >the_geom geometry > >Early I try with simple VIEW > >test=> CREATE VIEW only_pg_view AS SELECT * FROM landusea_region; >test=# \dv > List of relations > Schema | Name | Type | Owner >--------+------------------+------+---------- > public | only_pg_view | view | postgres >(1 row) > >PostGres-PostGis work fine, but when I try to use this view in mapserver with mapfile like: >LAYER > NAME LandUseA_region ># DATA LandUseA_region # original shape file -- work fine > CONNECTIONTYPE postgis > CONNECTION "user=pg_user password=pg_passwd dbname=test host=linux_box" ># DATA "the_geom from landusea_region" # work fine > DATA "the_geom from only_pg_land_use" # DOESN?T WORK!! > STATUS ON > TYPE POLYGON > LABELITEM "name" > LABELMAXSCALE 50000 > CLASS > TEMPLATE "land.html" > EXPRESSION ('[type]' = 'PARK (CITY/COUNTY)' ) > NAME 'Urban park' > COLOR 0 210 0 > LABEL > COLOR 25 120 50 ># POSITION AUTO > END > END >END > >I?ve this: >Server error! >The server encountered an internal error and was unable to complete your request. >Error message: >Premature end of script headers: mapserv >If you think this is a server error, please contact the webmaster >Error 500 >linux_box >mar 11 nov 2003 17:31:31 CET >Apache/2.0.40 (Red Hat Linux) > > > >I suppose need INSERT INTO geometry_columns table. I try to duplicate landusea_region record: >f_table_schema f_table_name f_geometry_column coord_dimension srid type attrelid varattnum >test landusea_region the_geom 2 -1 MULTIPOLYGON 17464 7 >in > test only_pg_land_use the_geom 2 -1 MULTIPOLYGON 17464 7 > >but mapserver send me same Server error! > >Environment >RH9 >Mapserver4 >Postgres 7.3.2 >PostGis 0.5 > >Any suggest, sample? > >Best regards > >P.S. >Why I need to CREATE VIEW? >Because I?ve geo-data in PostGres-PostGis table and miscellaneous data in other tables (and other remote db). >With a single VIEW I can map both of them. > > >--- >opengis (at) libero (dot) it >AOL: open2gis > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > Maybe the line: DATA "the_geom from only_pg_land_use" Must be: DATA "the_geom from only_pg_view" No? -- Vladimir Ilich Guzm?n R. ------------------------ http://www.maintask.com From ed at topozone.com Tue Nov 11 10:08:57 2003 From: ed at topozone.com (Ed McNierney) Date: Tue, 11 Nov 2003 13:08:57 -0500 Subject: [Mapserver-users] Raster layers are all gray Message-ID: <13858AA1A74F30419F319ACB66A9D1222C060B@mercator.topozone.com> Dan - Frank's right, and your map request almost certainly does not intersect the defined image. That's because your world file is wrong. This seems to be a Microsoft TerraServer image download. The first and fourth lines in the file seem to be plausible, if your data is 16 meters per pixel in UTM projection. But the last two lines are certainly not UTM coordinates and appear to be decimal degrees of latitude and longitude. You can't mix the two, and you need to correct your world 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 at topozone.com (978) 251-4242 -----Original Message----- From: Frank Warmerdam [mailto:warmerdam at pobox.com] Sent: Tuesday, November 11, 2003 12:34 PM To: Dan Harris; UMN MapServer Subject: Re: [Mapserver-users] Raster layers are all gray Dan Harris wrote: > I have no idea what I'm doing wrong here or if this is a bug. But, I'm > trying to display a raster on my map and I've tried it as 8-bit png, > jpeg, and tiff and it won't render properly. > > It is the only layer in the map, so I don't think it's exhausting the > color palette. I've tried reducing to 16 colors and it makes the output > image black instead of gray (is this a clue?). So I can tell that > mapserver is rendering the entire output as the "median" color of the > raster image, but none of the details in the photo actually show up. > > I would upgrade to 4.0, but it seems to not mesh with my older GD > libraries in Debian/stable. Dan, I'll take a quick look at your ortho file, but it would have been helpful if you could have provided your whole mapfile, or at least a cutdown simple one that reproduces the problem. One obvious possibility is that your map area might not intersect with the image's georeferenced area but I can't check that without the map. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From coronadh at coronasolutions.com Tue Nov 11 10:50:45 2003 From: coronadh at coronasolutions.com (Dan Harris) Date: Tue, 11 Nov 2003 11:50:45 -0700 Subject: [Mapserver-users] Raster layers are all gray In-Reply-To: <13858AA1A74F30419F319ACB66A9D1222C060B@mercator.topozone.com> References: <13858AA1A74F30419F319ACB66A9D1222C060B@mercator.topozone.com> Message-ID: <3FB12F85.2030304@coronasolutions.com> Thanks very much for your responses! Yes, you're right. It is a Terraserver image. However, the original world file was in UTM coordinates but everything else in my map is based on DD. So I converted the coordinates in the world file to DD. When I left them in UTM, the image didn't appear on the map anywhere, but after converting to DD, I saw *something* at least! So I thought I was on the right track. So if I can't mix the two, how can I remedy this? The map file UNITS is DD as are all my layers and points. Do I need to do something else to the world file to tell it to register as DD or do I have to get a different image from another source? Thanks again for your help, I'm still a newbie with rasters. -Dan Ed McNierney wrote: >Dan - > >Frank's right, and your map request almost certainly does not intersect the defined image. That's because your world file is wrong. > >This seems to be a Microsoft TerraServer image download. The first and fourth lines in the file seem to be plausible, if your data is 16 meters per pixel in UTM projection. But the last two lines are certainly not UTM coordinates and appear to be decimal degrees of latitude and longitude. You can't mix the two, and you need to correct your world file. > > - Ed > > > From morissette at dmsolutions.ca Tue Nov 11 11:00:57 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 11 Nov 2003 14:00:57 -0500 Subject: [Mapserver-users] Mapscript problem with MS401 In-Reply-To: <003101c3a877$58e0fbe0$0301a8c0@valerion> References: <003101c3a877$58e0fbe0$0301a8c0@valerion> Message-ID: <3FB131E9.80200@dmsolutions.ca> One difference between V3.6 and 4.0 is the way relative paths are handled. Is the CAT_VETT.shp in the same directory as the mapfile? Perhaps try using an absolute path in the call to ms_newShapefileObj() and see if that makes a difference. Daniel Valerio Noti wrote: > Hello, > > I've upgraded mapscript version from 366 to 401 downloaded from DMsolutions. > My old application seems to work well without applying changes to > mapfile or code. > However I got an error when I try to get the feature extent of a > selected object. > > Code of bound.php: > > .... > $map = ms_newMapObj("mapfile.map"); > $image=$map->draw(); > $shapefile = ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > $shape = $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]); > > //feature extension > $ShapeIndex = $HTTP_GET_VARS["ShapeIndex"]; > $shapeExt = $shapefile->getExtent($ShapeIndex); > $minx = $shapeExt->minx; > $miny = $shapeExt->miny; > $maxx = $shapeExt->maxx; > $maxy = $shapeExt->maxy; > .... > > I passed layer and shapeindex by a form and retrieved them with > HTTP_GET_VARS. > I located shapefile in "shape" folder (as saved in mapfile.map) but I > also tried > copying shapefile in the same directory of bound.php. > > The error is: > ***************************** > Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in > c:\inetpub\wwwroot\gall\bound.php on line 16 > > Fatal error: Failed to open shapefile CAT_VETT in > c:\inetpub\wwwroot\gall\bound.php on line 16 > ***************************** > CAT_VETT is the right name of shapefile, line 16 is: > > $shapefile = ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > > All this works fine changing reference to PHP_MAPSCRIPT_36.dll instead > of PHP_MAPSCRIPT_4.0.1.dll. > > Any help appreciated > Thanks > > Valerio Noti From kgeurts at gis.umn.edu Tue Nov 11 11:33:08 2003 From: kgeurts at gis.umn.edu (Kari Geurts) Date: Tue, 11 Nov 2003 13:33:08 CST Subject: [Mapserver-users] Mapfile in WMS Message-ID: <200311111933.hABJX8jl009224@trojan.software.umn.edu> Hello MapServer Users, I have updated the WMS HOWTO documentation on the website to reflect the comments below. Thanks for your commitment to MapServer and the ongoing process of documentation. It is very helpful to have users inform us of problems and issues in the documentation. Kari A. Geurts MDP Coordinator Department of Forest Resources University of Minnesota 115 Green Hall 1530 Cleveland Ave. N. St. Paul, MN 55108-6112 Phone: 612-624-3459 Email: kgeurts at gis.umn.edu > ------------- Begin Forwarded Message ------------- > > From: Daniel Morissette > User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) > Gecko/20030624 > X-Accept-Language: en-us, en > MIME-Version: 1.0 > To: Doug Cates > CC: mapserver-users at lists.gis.umn.edu > Subject: Re: RE : [Mapserver-users] Mapfile in WMS > Content-Transfer-Encoding: 8bit > X-BeenThere: mapserver-users at lists.gis.umn.edu > X-Mailman-Version: 2.0.13 > List-Unsubscribe: > , > ribe> > List-Id: Mapserver Users Mailing List (Appropriate for general > users) > List-Post: > List-Help: > > List-Subscribe: > , > be> > List-Archive: > > Date: Fri, 07 Nov 2003 10:48:33 -0500 > > Good idea, I've added it to the docs in CVS for versions 4.0 and > 4.1 and > that should show up on the UMN website in the next update. > > BTW, I've removed the hardcoded "&WMTVER=1.0.0&" in the URL since > this > value has to come from the client and we shouldn't hardcode it. > > Daniel > > Doug Cates wrote: > > > > I hope that this snippet finds its way on to the WMS HOWTO > page. > > > > > > > >>-----Message d'origine----- > >>De : Brent Fraser [mailto:bfraser at geoanalytic.com] > >>Envoy?? : Thursday, November 06, 2003 12:58 PM > >>?? : nicolas.fortin at ec.gc.ca; Tom.Kralidis at ec.gc.ca > >>Cc : mapserver-users at lists.gis.umn.edu > >>Objet : Re: [Mapserver-users] Mapfile in WMS > >> > >> > >>Nick, > >> > >> I use a little ASP to hide the map file name: > >> > >><% > >>Server.ScriptTimeout = 360 > >>strRequest = Request.ServerVariables("QUERY_STRING") > >>strURL = > >>"http://myserver/cgi-bin/mapserv.exe?map=C:\Inetpub\wwwroot\WMS > \mymap.map&WM > >>TVER=1.0.0&" & strRequest > >>Dim objHTTP > >>Set objHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP") > >>objHTTP.open "GET", strURL, false > >>objHTTP.send "" > >>Response.ContentType = > objHTTP.getResponseHeader("content-type") > >>Response.BinaryWrite objHTTP.responseBody > >>Set objHTTP = Nothing > >>%> > >> > >>And just use the above ASP's URL in the WMS client. > >> > >>Brent Fraser > >>bfraser at geoanalytic.com > > > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > ------------- End Forwarded Message ------------- > > > From ed at topozone.com Tue Nov 11 11:54:55 2003 From: ed at topozone.com (Ed McNierney) Date: Tue, 11 Nov 2003 14:54:55 -0500 Subject: [Mapserver-users] Raster layers are all gray Message-ID: <13858AA1A74F30419F319ACB66A9D1222C0616@mercator.topozone.com> Dan - First, don't fiddle with world files and expect magic to happen . Your other data are in decimal degrees, and your image is in UTM, and SOMETHING has to tell MapServer that they're different. You need to decide what projection you want to use for your output map. MapServer can reproject raster data to a "geographic" lat/lon projection, and MapServer can reproject vector data to UTM. Your choice - either is valid, but I do not recommend "geographic" projections because they have many limitations (e.g. you can't have an accurate scale bar in units other than degrees). Reprojecting raster data is more time-consuming than reprojecting vector data (because there's more of it), and to do that you'll need to rebuild MapServer to disable the default TIFF support and use GDAL instead (also a good idea for many reasons). I would recommend you read a bit on the MapServer site about projections and how to use the PROJECTION block, and I would recommend you try making your output map in UTM, leaving the raster world file the way it was, and adding PROJECTION blocks to the vector layers to identify them as being in need of reprojection from decimal degrees to UTM. I would start by simply getting the raster layer all by itself to display properly in a UTM output map. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed at topozone.com (978) 251-4242 -----Original Message----- From: Dan Harris [mailto:coronadh at coronasolutions.com] Sent: Tuesday, November 11, 2003 1:51 PM To: 'mapserver-users at lists.gis.umn.edu' Subject: Re: [Mapserver-users] Raster layers are all gray Thanks very much for your responses! Yes, you're right. It is a Terraserver image. However, the original world file was in UTM coordinates but everything else in my map is based on DD. So I converted the coordinates in the world file to DD. When I left them in UTM, the image didn't appear on the map anywhere, but after converting to DD, I saw *something* at least! So I thought I was on the right track. So if I can't mix the two, how can I remedy this? The map file UNITS is DD as are all my layers and points. Do I need to do something else to the world file to tell it to register as DD or do I have to get a different image from another source? Thanks again for your help, I'm still a newbie with rasters. -Dan Ed McNierney wrote: >Dan - > >Frank's right, and your map request almost certainly does not intersect the defined image. That's because your world file is wrong. > >This seems to be a Microsoft TerraServer image download. The first and fourth lines in the file seem to be plausible, if your data is 16 meters per pixel in UTM projection. But the last two lines are certainly not UTM coordinates and appear to be decimal degrees of latitude and longitude. You can't mix the two, and you need to correct your world file. > > - Ed > > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From morissette at dmsolutions.ca Tue Nov 11 12:25:27 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 11 Nov 2003 15:25:27 -0500 Subject: [Mapserver-users] Mapfile in WMS In-Reply-To: <200311111933.hABJX8jl009224@trojan.software.umn.edu> References: <200311111933.hABJX8jl009224@trojan.software.umn.edu> Message-ID: <3FB145B7.9070605@dmsolutions.ca> Kari Geurts wrote: > Hello MapServer Users, > > I have updated the WMS HOWTO documentation on the website to reflect the > comments below. Thanks for your commitment to MapServer and the ongoing > process of documentation. It is very helpful to have users inform us of > problems and issues in the documentation. > I committed my changes to the wms-server-howto.xml in CVS in both the main trunk (version 4.1) and the branch-4-0 (version 4.0). When I check on the UMN site both versions don't seem to be updated. The URLs I check are: The 4.1 version http://mapserver.gis.umn.edu/doc/wms-server-howto.html The 4.0 version: http://mapserver.gis.umn.edu/doc40/wms-server-howto.html BTW, I thought there was an automated process to update the docs from CVS. Can you please update us on the status of that? Thanks Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From muratisik at megatek.com.tr Tue Nov 11 14:08:30 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 12 Nov 2003 00:08:30 +0200 Subject: [Mapserver-users] cant label streets in mapscript -- please help References: <006b01c3a864$5a5b8890$b4704ad5@murathq> <3FB11EF3.1090609@dmsolutions.ca> Message-ID: <002901c3a8a0$659b0dc0$a256fdd4@murathq> Hello, Thanks for answering:) I am sorry for multiple posts, maybe I paniced a little. I hope you and the list accept my apoligies.... I am running mapserver/mapscript on RedHat 9.0. I was no more than a linux newbei when I started the mapserver study so I chose to install mapserver and mapscript by rpms: mapserver-3.6.0-4 php-mapscript-3.6.0-4 I found the rpms from major rpm download sites, like rpmfind and easyrpms. My mapserv -v output is: MapServer version 3.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE My phpinfo_mapscript output is: MapScript Version ($Revision: 1.104 $ $Date: 2002/04/24 20:37:32 $) MapServer version 3.6.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE As for the "stopped rendering", the web page only has the part that is until the start of the php code, like the title or the logo gif. The source of the web page only has the page title and the url of the page logo. When I check the temporary folder into which images are written, I see no images are produced. On the web page, there were no error messages. Unfortunately, I dont know how to use the error_log :( The lines I added to the mapfile for mapscript choose the streets by their value in the second column which is ID (numeric) and I choose all by /./ CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END I applied your test with the following php code: TEST
draw(); # $map->drawLabelCache($img); $url = $img->saveWebImage(GIF,1,1,0); ?> Once again, the web page displays no images, no images produced in temp directory and web page source ends at
. Also tried it with drawLabelCache on, getting the same result :( Have a nice day... Murat Isik ----- Original Message ----- From: "Daniel Morissette" To: "Murat Isik" Cc: Sent: Tuesday, November 11, 2003 7:40 PM Subject: Re: [Mapserver-users] cant label streets in mapscript -- please help > Murat Isik wrote: > > > > I hope it is okey if I ask you a question about mapscript labelling and > > also cc this question to maillist (as you have asked me to do before) > > I saw your multiple posts to the list and also noticed the small number > of replies. This is often an indication that your question is not clear > enough for someone to help: either lacking essential information, poorly > formatted, or just contains too much information to a point where it > becomes confusing. You need to help the readers help you: well > formatted questions most of the time get resolved the same day on this list. > > First we need to know: > > - Which version of MapServer/MapScript are you using > - I presume you're on Windows and if not then please specify your OS. > > It may also help to know: > > - If you got a pre-built binary then where did you download it from? > - If you compiled yourself then which options did you enable? (output > of mapserv -v or configure options) > - Describe your PHP config: does your PHP have GD/Freetype enabled and > if yes please verify that the PHP GD and freetype are of the same > version as the ones used by MapScript > > > > > I have tried to label a streets layer in mapserver and succeeded in a > > reasonbale way, names are not perfectly written but I guess it all takes > > some playing around with MINSIZE and/or other values. I will do that. > > Great, so we know we have a working mapfile to start from ... > > > Before doing that, I tried to do the same thing in my php/mapscript > > which used to run the same mapfile minus the labelling part. > > So MapScript works fine when the labelling is not enabled... also good > to know. > > > > I copied > > the mapserver-mapfile's labelled street layer and replaced it into the > > place of the same non-labelled street layer in mapscript-mapfile. This > > is the non-labeled layer of mapscript: > > > > > > > ADI is the coloumn in dbf which I am trying to use for labelling. After > > this, mapscript stopped rendering images. > > "stopped rendering images"? Your computer didn't go on strike did it? > ;) So what did it do instead? Did it produce a blank image? Did it > produce any errors? Was there any error/warning on the error_log or if > you do a view source? Please describe what you got and what you didn't get. > > This is very important... without a description of the incorrect > behavior nobody can help. > > > > Then hopelessly, I added a few > > more lines to mapscript mapfile and it restarted to render maps but with > > no labels. So the layer definition became: > > > > Which lines did you add? Readers offer you 30 seconds of their time and > don't have time to compare a 30-lines layer definition to figure which > line has changed. > > > After the advice of Mr. Haseborg from the maillist I added > > $myMap->drawLabelCache($img) line right before > > $img->saveWebImage(GIF,1,1,0) line. > > Which version of MapServer/MapScript are you using again? > The line $img->saveWebImage(GIF,1,1,0) may not work in any version of > MapServer/MapScript: > > In version 3.6.x it should be: > $img->saveWebImage(MS_GIF,1,1,0); > In version 4.x the format arguments are gone, instead it uses the format > specified in the mapfile (of via selectOutputformat()): > $img->saveWebImage(); > > > > Still no labels were written. This the point I am stuck at. I have read > > a lot of mail archieves but found no results.... > > > > Is there anything else to be added to the php code or mapfile? How can I > > get the labelling to work with mapscript? > > > > Normally a mapfile that works in mapserv will also work in php_mapscript > as is... without any modification. If it doesn't work then it's either > a configuration issue on your server (conflict with PHP's GD/freetype > for instance) or it's something that you do wrong in your script. The > best way to identify the source of the problem is to test with a 5-lines > script. > > Does the following script work for you with the mapfile that contains > all the label stuff and that used to work with mapserv? > > dl("php_mapscript.so"); > $map = ms_newMapObj("/path/to/yourmapfile.map"); > $img = $map->draw(); > $url = $map->saveWebImage(); > echo ; > ?> > > > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > From muratisik at megatek.com.tr Tue Nov 11 14:57:40 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 12 Nov 2003 00:57:40 +0200 Subject: [Mapserver-users] cant label streets in mapscript -- please help References: <0DF955F15A102E4F81B948D44A45015A069258@nt-sf-exchange.Windows2000> Message-ID: <004001c3a8a7$4465c170$a256fdd4@murathq> Thank you:) I did the test with the following php code and mapfile to get the same labelless result :( TEST
draw(); $map->drawLabelCache($img); //tried with commentted too. $url = $img->saveWebImage(GIF,1,1,0); # echo ; #echo ; ?> mapfile: NAME ERENKOY STATUS ON SIZE 600 600 EXTENT 29.057 40.954 29.143 40.999 UNITS DD SHAPEPATH "/var/www/html/mapserver/itasca/" IMAGECOLOR 255 255 255 FONTSET "/var/www/html/mapserver/itasca/font.list" IMAGETYPE GIF WEB MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "/var/www/html/mapserver/tmp3/" IMAGEURL "/mapserver/tmp3/" END LAYER NAME ERENKOY_ORNEKSOKAK_PL_polyline TYPE line STATUS ON DATA ERENKOY_ORNEKSOKAK_PL_polyline CLASSITEM 'ID' CLASS EXPRESSION /./ COLOR 66 34 249 END LABELCACHE ON LABELITEM 'ADI' CLASS NAME 'ADI' EXPRESSION /./ COLOR 161 02 110 LABEL TYPE truetype # FORCE true FONT arial COLOR 0 0 0 ANGLE AUTO # BACKGROUNDCOLOR 250 250 250 POSITION AUTO SIZE 0 MINSIZE 2 SIZE 8 END END END END Have a nice day Murat Isik ----- Original Message ----- From: "Frieso ter Haseborg" To: "Murat Isik" Cc: Sent: Tuesday, November 11, 2003 7:38 PM Subject: RE: [Mapserver-users] cant label streets in mapscript -- please help > Hi, > > for better debugging you perhaps should simplify your mapfile as far as > possible. Only one layer, one class, one label-object, no expressions if > not really needed, just to get rid of any possible side effects. > > For example a label-definition like > LABEL > COLOR 0 0 0 > END > should do for a label to be drawn. > > But I'm not sure if the mapfile is really your problem. Next step would > be to reduce your php to the important. Try first to draw one point, > with label. Just write a testscript to only do this little thing. And > then post this snippet, if it doesn't work, not your whole application. > ;-) > > Best regards, > Frieso > > > > -----Original Message----- > From: Murat Isik [mailto:muratisik at megatek.com.tr] > Sent: Tuesday, November 11, 2003 3:59 PM > To: Daniel Morissette > Cc: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] cant label streets in mapscript -- please > help > > > Good days Mr. Morissette, > > I hope it is okey if I ask you a question about mapscript labelling and > also cc this question to maillist (as you have asked me to do before) > > I have tried to label a streets layer in mapserver and succeeded in a > reasonbale way, names are not perfectly written but I guess it all takes > some playing around with MINSIZE and/or other values. I will do that. > Before doing that, I tried to do the same thing in my php/mapscript > which used to run the same mapfile minus the labelling part. I copied > the mapserver-mapfile's labelled street layer and replaced it into the > place of the same non-labelled street layer in mapscript-mapfile. This > is the non-labeled layer of mapscript: > > LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > GROUP sokaklar > TYPE line > DATA ERENKOY_ORNEKSOKAK_PL_polyline > STATUS ON > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END > > END > > I removed the above and put this in its place (which worked with > mapserver): > > LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > TYPE LINE > GROUP sokaklar > STATUS ON > DATA ERENKOY_ORNEKSOKAK_PL_polyline > LABELITEM "ADI" > CLASS > NAME "ADI" > COLOR 161 02 110 > LABEL > TYPE truetype > # FORCE true > FONT arial > COLOR 0 0 0 > ANGLE AUTO > # BACKGROUNDCOLOR 250 250 250 > POSITION AUTO > SIZE 0 > MINSIZE 2 > SIZE 6 > END > END > END > > ADI is the coloumn in dbf which I am trying to use for labelling. After > this, mapscript stopped rendering images. Then hopelessly, I added a few > more lines to mapscript mapfile and it restarted to render maps but with > no labels. So the layer definition became: > > LAYER > NAME ERENKOY_ORNEKSOKAK_PL_polyline > TYPE line > GROUP sokaklar > STATUS ON > DATA ERENKOY_ORNEKSOKAK_PL_polyline > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END > # LABELCACHE OFF > LABELITEM 'ADI' > CLASS > NAME 'ADI' > #EXPRESSION /./ > COLOR 161 02 110 > LABEL > TYPE truetype > # FORCE true > FONT arial > COLOR 0 0 0 > ANGLE AUTO > # BACKGROUNDCOLOR 250 250 250 > POSITION AUTO > SIZE 0 > MINSIZE 2 > SIZE 8 > END > END > END > > After the advice of Mr. Haseborg from the maillist I added > $myMap->drawLabelCache($img) line right before > $img->saveWebImage(GIF,1,1,0) line. > Still no labels were written. This the point I am stuck at. I have read > a lot of mail archieves but found no results.... > > Is there anything else to be added to the php code or mapfile? How can I > get the labelling to work with mapscript? > > (It is killing me to be a php-newbei and mapscript-newbei at the same > time...) > > Thanks in advance:) > > Have a nice day > > Murat Isik > > From morissette at dmsolutions.ca Tue Nov 11 15:28:48 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 11 Nov 2003 18:28:48 -0500 Subject: [Mapserver-users] cant label streets in mapscript -- please help In-Reply-To: <002901c3a8a0$659b0dc0$a256fdd4@murathq> References: <006b01c3a864$5a5b8890$b4704ad5@murathq> <3FB11EF3.1090609@dmsolutions.ca> <002901c3a8a0$659b0dc0$a256fdd4@murathq> Message-ID: <3FB170B0.8060303@dmsolutions.ca> Murat Isik wrote: > > As for the "stopped rendering", the web page only has the part that is until > the start of the php code, like the title or the logo gif. The source of the > web page only has the page title and the url of the page logo. When I check > the temporary folder into which images are written, I see no images are > produced. On the web page, there were no error messages. Unfortunately, I > dont know how to use the error_log :( > The Apache error_log is located in /var/log/httpd/error_log. You can monitor it using the following command in a shell window: tail -f /var/log/httpd/error_log Then run the PHP script again and see if anything is sent to the error_log that could help figuring the source of the problem. > The lines I added to the mapfile for mapscript choose the streets by their > value in the second column which is ID (numeric) and I choose all by /./ > > CLASSITEM 'ID' > CLASS > EXPRESSION /./ > COLOR 66 34 249 > END > Makes sense. All streets end up being caught by the first class and none are sent to the second class that contains the label definition. That's why it draws with no error but you don't get labels either: the label stuff is never used. > I applied your test with the following php code: > > > TEST > >
> dl("php_mapscript.so"); > $map = ms_newMapObj("demonew.map"); > $img = $map->draw(); > # $map->drawLabelCache($img); > $url = $img->saveWebImage(GIF,1,1,0); > > ?> > > > Once again, the web page displays no images, no images produced in temp > directory and web page source ends at
. Also tried it with > drawLabelCache on, getting the same result :( > It seems clear that php_mapscript crashes (segmentation fault) during the $map->draw() call then. First let's see if you'll get any hints about the source of the problem in the error_log, and if not then I think there are 75% chances that you are running conflicting versions of GD/freetype between your PHP and php_mapscript.so. You can check if your PHP includes GD/freetype by running the phpinfo() command in a script and looking for GD/freetype stuff in the list of modules. If you possible try to disable the PHP GD/freetype stuff. If that's not a GD/freetype conflict then it could be a bug somewhere in MapServer, and the only way to figure it would be to run in a debugger and you can't do that with the RPM version. Anyway that's getting quite involved if you are a beginner so I would suggest instead uninstalling the RPMs and installing MapServer v4.0 using the instructions that you can find in the wiki at: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 If the crash persists with version 4.0 then your best bet would be to package a small testcase that reproduces the problem with mapfile and sample data and submit a bug in the MapServer bugzilla. Lots to learn, eh? :) Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From muratisik at megatek.com.tr Tue Nov 11 16:08:09 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 12 Nov 2003 02:08:09 +0200 Subject: [Mapserver-users] cant label streets in mapscript -- please help References: <006b01c3a864$5a5b8890$b4704ad5@murathq> <3FB11EF3.1090609@dmsolutions.ca> <002901c3a8a0$659b0dc0$a256fdd4@murathq> <3FB170B0.8060303@dmsolutions.ca> Message-ID: <005101c3a8b1$1c0d5760$a256fdd4@murathq> I checked the error_log like you showed both with and without the 'ID' part. Nothing showed up in the log. I added phpinfo() into the same test php right before draw(). You are right about draw() crashing. If placed after draw(), phpinfo() doesnot work. As for GD/freetype, the gd title section of phpinfo() says that GD support is enabled, version between 1.3 and 1.6.1, Freetype support enabled, FreeType Linkage with freetype, GIF Read Support enabled, GIF Create Support enabled. To me it all looks fine but maybe you can see something wrong here. I dont know how to disable gd/freetype and what to do next :( I have started to read wiki for 4.0 and redhat right away, too bad to meet this problem at a point where I thought study had come to an end :( Yes, lots of things to learn :) I hope someday my problems will be some other beginners solutions. By the way, I am planning to post my current php code (all of it) in another post. It can read mapfile, fetch coordinates from mysql, print points dynamically, zoom, pan, move up-down-left-right. Cant label though:) Took me a long time to put together, simple stuff for a proffessional but great for another beginner. I hope it helps other beginners. Anyway... Have a nice day. Murat Isik ----- Original Message ----- From: "Daniel Morissette" To: "Murat Isik" Cc: Sent: Wednesday, November 12, 2003 1:28 AM Subject: Re: [Mapserver-users] cant label streets in mapscript -- please help > Murat Isik wrote: > > > > As for the "stopped rendering", the web page only has the part that is until > > the start of the php code, like the title or the logo gif. The source of the > > web page only has the page title and the url of the page logo. When I check > > the temporary folder into which images are written, I see no images are > > produced. On the web page, there were no error messages. Unfortunately, I > > dont know how to use the error_log :( > > > > The Apache error_log is located in /var/log/httpd/error_log. You can > monitor it using the following command in a shell window: > > tail -f /var/log/httpd/error_log > > Then run the PHP script again and see if anything is sent to the > error_log that could help figuring the source of the problem. > > > > The lines I added to the mapfile for mapscript choose the streets by their > > value in the second column which is ID (numeric) and I choose all by /./ > > > > CLASSITEM 'ID' > > CLASS > > EXPRESSION /./ > > COLOR 66 34 249 > > END > > > > Makes sense. All streets end up being caught by the first class and > none are sent to the second class that contains the label definition. > That's why it draws with no error but you don't get labels either: the > label stuff is never used. > > > > I applied your test with the following php code: > > > > > > TEST > > > >
> > > dl("php_mapscript.so"); > > $map = ms_newMapObj("demonew.map"); > > $img = $map->draw(); > > # $map->drawLabelCache($img); > > $url = $img->saveWebImage(GIF,1,1,0); > > > > ?> > > > > > > Once again, the web page displays no images, no images produced in temp > > directory and web page source ends at
. Also tried it with > > drawLabelCache on, getting the same result :( > > > > It seems clear that php_mapscript crashes (segmentation fault) during > the $map->draw() call then. > > First let's see if you'll get any hints about the source of the problem > in the error_log, and if not then I think there are 75% chances that you > are running conflicting versions of GD/freetype between your PHP and > php_mapscript.so. You can check if your PHP includes GD/freetype by > running the phpinfo() command in a script and looking for GD/freetype > stuff in the list of modules. If you possible try to disable the PHP > GD/freetype stuff. > > If that's not a GD/freetype conflict then it could be a bug somewhere in > MapServer, and the only way to figure it would be to run in a debugger > and you can't do that with the RPM version. Anyway that's getting quite > involved if you are a beginner so I would suggest instead uninstalling > the RPMs and installing MapServer v4.0 using the instructions that you > can find in the wiki at: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 > > If the crash persists with version 4.0 then your best bet would be to > package a small testcase that reproduces the problem with mapfile and > sample data and submit a bug in the MapServer bugzilla. > > Lots to learn, eh? :) > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ From millardymecki at sympatico.ca Tue Nov 11 17:13:01 2003 From: millardymecki at sympatico.ca (Paul Dymecki) Date: Tue, 11 Nov 2003 20:13:01 -0500 Subject: [Mapserver-users] list of companies using Mapserver References: <3FAF15B0.6090900@dmsolutions.ca> Message-ID: <004101c3a8ba$1e662560$f098fea9@pauls> How about a map of homeless mapserver programmers, which is where i will be if i don't find work.... Sorry for the shameless plug.. + i would volunteer to create such a map with a link to their websites if people want to send me there data and coordinates. Example of my work below www.xosolutions.com/servlet/eman-sites/sites.phtml Paul Dymecki ----- Original Message ----- From: "Daniel Morissette" To: Cc: Sent: Sunday, November 09, 2003 11:36 PM Subject: Re: [Mapserver-users] list of companies using Mapserver > Bart van den Eijnden wrote: > > > > does anybody know of a list of companies that are using Mapserver in > > projects? I for one would be very interested to see such a list, and to > > see how it changes in time. > > > > For customers it could be a way to find a company in their home country > > which can help them implement Mapserver in their organization. > > > > Any thoughts on this? > > > There were talks about doing something like this after the MUM in June, > lots of cool ideas came up but I don't know if anything has happened > yet. Look in the June list archives for the thread titled "map of > mapserver users and providers". > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From opengis at libero.it Tue Nov 11 23:54:55 2003 From: opengis at libero.it (opengis) Date: Wed, 12 Nov 2003 08:54:55 +0100 Subject: [Mapserver-users] Create View with PostGis table Message-ID: > Maybe the line: > > DATA "the_geom from only_pg_land_use" > > Must be: > > DATA "the_geom from only_pg_view" > > No? Thanks but it is only a cut & past mistake, the problem is always data type (geometry) lose in CREATE VIEW I saw you demo site: interesting From remi.baud at eivd.ch Wed Nov 12 00:20:56 2003 From: remi.baud at eivd.ch (BAUD remi) Date: Wed, 12 Nov 2003 09:20:56 +0100 Subject: [Mapserver-users] Retrieving informations from created swf files... Message-ID: <22CD7A0EA6070A4DB932011F3429F190B7FF5B@eint11.einet.ad.eivd.ch> Hi the list, I've seen that when mapserver output files in SWF files (Output multiple), this is possible to retrieve informations about that layers: When you "mouse-over" a feature, this last is highlighted, and an Action_Script is made (_root.ElementSelected). Assefa wrote that it's possible to use it to define which layer, shape was clicked and then it's possible to retrieve some attributes. If I want to do that, should I create a new .fla document and the use actionscript to load the mapserver's outputed swf files? I'm really not sure about how to define this ElementSelected function. Don't you have a hint or a little sample about how to do that because it's quite hard to begin.. Cheers From youssefchamoun at hotmail.com Wed Nov 12 00:30:53 2003 From: youssefchamoun at hotmail.com (youssef chamoun) Date: Wed, 12 Nov 2003 09:30:53 +0100 Subject: [Mapserver-users] PROJ 4 Message-ID: Hello, I am installing Mapserver on an Apache webserver, and I don't have access to the httpd.conf to set the PROJ_LIB environment variable, so I am getting the error: msProcessProjection(): no system list, errno: 2. Is their another solution? Can I compile mapserv in order to find directly the espg file? I tried setting PROJ_LIB in .htaccess but no luck either. Thank you for your help, Joseph Chamoun IT Consultant Carl Bro _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From alexander.gabriel at blubbermania.com Wed Nov 12 00:52:20 2003 From: alexander.gabriel at blubbermania.com (Alexander Gabriel) Date: Wed, 12 Nov 2003 09:52:20 +0100 Subject: AW: AW: [Mapserver-users] PHP/Mapscript - Mapserver 4.0 - $oLayer->queryByAttributes() In-Reply-To: <3FA2B780.4090301@dmsolutions.ca> Message-ID: Hi, [code] $query = '([GEMARKUNG] = 7725 AND [FLUR] = 0 AND \'[FLSTNR]\' = \'3000\')'; @$myLayer->queryByAttributes("ANYVALIDITEMINTHESHAPE", $query, MS_MULTIPLE); [/code] works. But is that really the way it should be? I'd say, this is just a workaround but i don't know C and cannot say, if it is intent to give the method any dummy-values if they aren't needed. perhaps someone makes a patch to fix this. thx Alexander Gabriel -----Ursprungliche Nachricht----- Von: Daniel Morissette [mailto:morissette at dmsolutions.ca] Gesendet: Freitag, 31. Oktober 2003 20:27 An: Alexander Gabriel Cc: mapserver-users at lists.gis.umn.edu Betreff: Re: AW: [Mapserver-users] PHP/Mapscript - Mapserver 4.0 - $oLayer->queryByAttributes() Alexander Gabriel wrote: > Hello, > > thx for your reply. > i've tried > > [code] > $query = '([GEMARKUNG] = 7725 AND [FLUR] = 0 AND \'[FLSTNR]\' = \'3000\')'; > @$myLayer->queryByAttributes("", $query, MS_MULTIPLE); > [/code] > > But it didn't work :( > Duh! That's the best I could suggest without digging into the code to understand what's going on (which I don't have time to do now). Hopefully someone else (Steve?) knows how that stuff works and can make a better suggestion. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From api at justapi.de Wed Nov 12 02:05:55 2003 From: api at justapi.de (Sebastian Albrecht) Date: Wed, 12 Nov 2003 11:05:55 +0100 Subject: [Mapserver-users] Reference map in PHP Mapscript / HTML Message-ID: <130342973089.20031112110555@justapi.de> Hello, I have a big problem I try to solve since a few days. I've already searched the whole archive but did not found anything. So far I developed a web interface using PHP Mapscript. It should act and work as the Mapserver cgi-bin interface. The only problem I have is the reference map. It displays the red box correct but I do not right know what to do with the xyinput of the box if a user clicks on it. Does anybody have an example of how to implement the reference map and how to zoom to the correct point in mapscript (language doesn't matter)? Regards, Sebastian Albrecht From yvain.ballini at seat.it Wed Nov 12 02:08:29 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Wed, 12 Nov 2003 11:08:29 +0100 Subject: [Mapserver-users] truetype error Message-ID: <00a001c3a904$ebd0f850$a559af0a@seat.it> This is a multi-part message in MIME format. ------=_NextPart_000_009D_01C3A90D.4D73F5A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hello List, I would like to know if there is some fix to problem that many users = have met with the truetype font. I have compiled the work on XP using mapserver 3.5 GD 2.0.15 FreeType 2.2.5 and at the execution I get the following error: msGetLabelSize(): TrueType Font error. libgd was not built with FreeType font support because mapserver is looking for the truetype font in gd.lib while it = should do it directly in freetype.lib. Have someone any idea to fix the problem? Thanks a lot. Yvain. ------=_NextPart_000_009D_01C3A90D.4D73F5A0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Hello=20 List,

I would like to know if there is some fix to problem that = many=20 users have
met with the truetype font. I have compiled the work on XP = using
mapserver 3.5
GD 2.0.15
FreeType 2.2.5
and at the = execution I=20 get the following error:
msGetLabelSize(): TrueType Font error. libgd = was not=20 built with FreeType
font support
because mapserver is looking for = the=20 truetype font in gd.lib while it should
do it directly in=20 freetype.lib.
Have someone any idea to fix the problem?
Thanks a=20 lot.
Yvain.

------=_NextPart_000_009D_01C3A90D.4D73F5A0-- From muratisik at megatek.com.tr Wed Nov 12 02:15:51 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 12 Nov 2003 12:15:51 +0200 Subject: [Mapserver-users] mapserver4.0 compiling problem Message-ID: <002501c3a905$f3ca5500$b4704ad5@murathq> This is a multi-part message in MIME format. ------=_NextPart_000_0022_01C3A916.B6CFEB40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, This is not exactly a mapserver problem but it is related... I am trying to do = http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 I have a fresh redhat9.0 to work with. when it comes to curl, it = generates an error for which I could not find an solution: ./configure works fine but when I do "make", it says: gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -O2 -MT url.lo = -MD -MP -MF .deps/url.Tpo -c url.c -fPIC -DPIC -o .libs/url.o url.c: In function `Curl_setopt': url.c:1067: structure has no member named `engine' url.c:1068: structure has no member named `engine' url.c:1070: structure has no member named `engine' url.c:1087: structure has no member named `engine' url.c:1088: structure has no member named `engine' make[2]: *** [url.lo] Error 1 make[2]: Leaving directory `/usr/local/curl-7.10.7/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/curl-7.10.7/lib' make: *** [all-recursive] Error 1 I editted url.c, changing #include on line 89 to = #include to make it more precise. But it = still gives the same error.=20 Anybody has worked on this page before and have any idea? Have a nice day Murat Isik ------=_NextPart_000_0022_01C3A916.B6CFEB40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
This is not exactly a mapserver problem = but it is=20 related...
I am trying to do http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40=
 
I have a fresh redhat9.0 to work with. = when it=20 comes to curl, it generates an error for which I could not find an=20 solution:
./configure works fine but when I do = "make", it=20 says:
 
 gcc -DHAVE_CONFIG_H -I../include = -I../lib=20 -I../lib -g -O2 -MT url.lo -MD -MP -MF .deps/url.Tpo -c url.c  = -fPIC -DPIC=20 -o .libs/url.o
url.c: In function `Curl_setopt':
url.c:1067: = structure has=20 no member named `engine'
url.c:1068: structure has no member named=20 `engine'
url.c:1070: structure has no member named = `engine'
url.c:1087:=20 structure has no member named `engine'
url.c:1088: structure has no = member=20 named `engine'
make[2]: *** [url.lo] Error 1
make[2]: Leaving = directory=20 `/usr/local/curl-7.10.7/lib'
make[1]: *** [all] Error 2
make[1]: = Leaving=20 directory `/usr/local/curl-7.10.7/lib'
make: *** [all-recursive] = Error=20 1
 
I editted url.c, changing #include=20 <openssl/engine.h> on line 89 to #include=20 </usr/include/openssl/engine.h> to make it more precise. But it = still=20 gives the same error.
Anybody has worked on this page before = and have any=20 idea?
 
Have a nice day
 
Murat Isik
------=_NextPart_000_0022_01C3A916.B6CFEB40-- From noti at ciaoweb.it Wed Nov 12 02:46:17 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Wed, 12 Nov 2003 11:46:17 +0100 Subject: [Mapserver-users] Mapscript problem with MS401 References: <003101c3a877$58e0fbe0$0301a8c0@valerion> <3FB131E9.80200@dmsolutions.ca> Message-ID: <006a01c3a90a$3f618a70$0301a8c0@valerion> This is a multi-part message in MIME format. ------=_NextPart_000_0063_01C3A912.95483A30 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Daniel, Nothing to do: CAT_VETT.shp, mapfile.map and bound.php are in the same directory. A copy of CAT_VETT.shp is also in "shape" subfolder. This is the mapfile: ******************* ... SHAPEPATH "shape" .... LAYER NAME CAT_VETT TYPE POLYGON STATUS ON DATA CAT_VETT CLASS COLOR 110 50 100 OUTLINECOLOR 200 200 200 END END ...... ******************* I tried also: $path =3D "http://192.168.1.51/gall/CAT_VETT"; $shapefile =3D ms_newShapefileObj($path,-1); but the error is always the same: **************************************** Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in = c:\inetpub\wwwroot\gall\bound.php on line 19 Fatal error: Failed to open shapefile CAT_VETT in = c:\inetpub\wwwroot\gall\bound.php on line 19 **************************************** Thank you very much Valerio Noti ----- Original Message -----=20 From: "Daniel Morissette" To: "Valerio Noti" Cc: Sent: Tuesday, November 11, 2003 8:00 PM Subject: Re: [Mapserver-users] Mapscript problem with MS401 > One difference between V3.6 and 4.0 is the way relative paths are=20 > handled. Is the CAT_VETT.shp in the same directory as the mapfile?=20 > Perhaps try using an absolute path in the call to ms_newShapefileObj() = > and see if that makes a difference. >=20 > Daniel >=20 > Valerio Noti wrote: > > Hello, > > =20 > > I've upgraded mapscript version from 366 to 401 downloaded from = DMsolutions. > > My old application seems to work well without applying changes to=20 > > mapfile or code. > > However I got an error when I try to get the feature extent of a=20 > > selected object. > > =20 > > Code of bound.php: > > =20 > > .... > > $map =3D ms_newMapObj("mapfile.map"); > > $image=3D$map->draw(); > > $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > > $shape =3D $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]); > > =20 > > //feature extension > > $ShapeIndex =3D $HTTP_GET_VARS["ShapeIndex"]; > > $shapeExt =3D $shapefile->getExtent($ShapeIndex); > > $minx =3D $shapeExt->minx; > > $miny =3D $shapeExt->miny; > > $maxx =3D $shapeExt->maxx; > > $maxy =3D $shapeExt->maxy; > > .... > > =20 > > I passed layer and shapeindex by a form and retrieved them with=20 > > HTTP_GET_VARS. > > I located shapefile in "shape" folder (as saved in mapfile.map) but = I=20 > > also tried > > copying shapefile in the same directory of bound.php. > > =20 > > The error is: > > ***************************** > > Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in=20 > > c:\inetpub\wwwroot\gall\bound.php on line 16 > > =20 > > Fatal error: Failed to open shapefile CAT_VETT in=20 > > c:\inetpub\wwwroot\gall\bound.php on line 16 > > ***************************** > > CAT_VETT is the right name of shapefile, line 16 is: > > =20 > > $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > > =20 > > All this works fine changing reference to PHP_MAPSCRIPT_36.dll = instead=20 > > of PHP_MAPSCRIPT_4.0.1.dll. > > =20 > > Any help appreciated > > Thanks > > =20 > > Valerio Noti >=20 >=20 > ------=_NextPart_000_0063_01C3A912.95483A30 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Daniel,
Nothing to do:
CAT_VETT.shp, mapfile.map and = bound.php are in=20 the same directory.
A copy of CAT_VETT.shp is also in = "shape"=20 subfolder.
 
This is the mapfile:
*******************
...
SHAPEPATH = "shape"
....
LAYER
NAME CAT_VETT
TYPE = POLYGON
STATUS=20 ON
DATA CAT_VETT
 CLASS
  COLOR 110 50=20 100
  OUTLINECOLOR 200 200 = 200
 END
END
......
*******************
 
I tried also:
$path =3D "http://192.168.1.51/gall/CAT_VETT";
$shapefile =3D ms_newShapefileObj($path,-1);
 
but the error is always the = same:
****************************************
Warning: [MapServer Error]: = msSHPOpenFile():=20 (CAT_VETT) in c:\inetpub\wwwroot\gall\bound.php on line 19
Fatal = error:=20 Failed to open shapefile CAT_VETT in c:\inetpub\wwwroot\gall\bound.php = on line=20 19
****************************************
 
Thank you very much
 
Valerio Noti
 
 
 
 
----- Original Message -----
From: "Daniel Morissette" <morissette at dmsolutions.ca>
To: "Valerio Noti" <noti at ciaoweb.it>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Tuesday, November 11, 2003 8:00=20 PM
Subject: Re: [Mapserver-users] = Mapscript problem=20 with MS401

> One difference between V3.6 and 4.0 is the way relative = paths are=20
> handled.  Is the CAT_VETT.shp in the same directory as the = mapfile?
> Perhaps try using an absolute path in the call to=20 ms_newShapefileObj()
> and see if that makes a = difference.
>=20
> Daniel
>
> Valerio Noti wrote:
> > = Hello,
>=20 > 
> > I've upgraded mapscript version from 366 to 401 = downloaded from DMsolutions.
> > My old application seems to = work well=20 without applying changes to
> > mapfile or code.
> > = However=20 I got an error when I try to get the feature extent of a
> > = selected=20 object.
> > 
> > Code of bound.php:
> = > =20
> > ....
> > $map =3D = ms_newMapObj("mapfile.map");
> >=20 $image=3D$map->draw();
> > $shapefile =3D=20 ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
> > $shape =3D=20 $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]);
> = > =20
> > //feature extension
> > $ShapeIndex =3D=20 $HTTP_GET_VARS["ShapeIndex"];
> > $shapeExt =3D=20 $shapefile->getExtent($ShapeIndex);
> > $minx =3D=20 $shapeExt->minx;
> > $miny =3D $shapeExt->miny;
> = > $maxx=20 =3D $shapeExt->maxx;
> > $maxy =3D = $shapeExt->maxy;
> >=20 ....
> > 
> > I passed layer and shapeindex by a = form=20 and retrieved them with
> > HTTP_GET_VARS.
> > I = located=20 shapefile in "shape" folder (as saved in mapfile.map) but I
> = > also=20 tried
> > copying shapefile in the same directory of = bound.php.
>=20 > 
> > The error is:
> >=20 *****************************
> > Warning: [MapServer Error]:=20 msSHPOpenFile(): (CAT_VETT) in
> > = c:\inetpub\wwwroot\gall\bound.php=20 on line 16
> > 
> > Fatal error: Failed to open=20 shapefile CAT_VETT in
> > c:\inetpub\wwwroot\gall\bound.php on = line=20 16
> > *****************************
> > CAT_VETT is = the right=20 name of shapefile, line 16 is:
> > 
> > = $shapefile =3D=20 ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
> >  =
> >=20 All this works fine changing reference to PHP_MAPSCRIPT_36.dll instead =
>=20 > of PHP_MAPSCRIPT_4.0.1.dll.
> > 
> > Any = help=20 appreciated
> > Thanks
> > 
> > Valerio = Noti
>
>
>
------=_NextPart_000_0063_01C3A912.95483A30-- From simon at inf.univali.br Wed Nov 12 04:33:07 2003 From: simon at inf.univali.br (Fernando S.) Date: Wed, 12 Nov 2003 10:33:07 -0200 Subject: [Mapserver-users] Shape problems Message-ID: <3FB22883.2030400@inf.univali.br> Dear list, I'm having difficulty to create line type shapefiles, the problems is the Mapserver closing the shape. The script closes the line, the first point with the last point of line. How can I fix this? I'm using this code to generate the shape: setXY( $x, $y ); $oLine->add($point); } $oShp->add($oLine); $shpFile->addShape($oShp); dbase_add_record($dbfFile, array($programId, $pname )); } $shpFname = "/home/apache/htdocs/tmp/pol"; $shpFile = ms_newShapeFileObj( $shpFname, MS_SHP_ARC); $dbfFile = dbase_create($shpFname.".dbf",array(array("ID","N",5,0),array("NAME","C",10))); createShape(1,"River"); echo "Shapes Created.
"; $shpFile->free(); echo "Shape File ($shpFname) closed.
"; dbase_close($dbfFile); echo "Dbase file closed.
"; ociEncerrar(); //close connection ociDesconectar(); ?> Fernando Simon simon at cttmar.univali.br From nicolas at maich.gr Wed Nov 12 05:06:47 2003 From: nicolas at maich.gr (Nicolas Boretos) Date: Wed, 12 Nov 2003 15:06:47 +0200 Subject: [Mapserver-users] DBFWriteStringAttribute problem/bug? In-Reply-To: <130342973089.20031112110555@justapi.de> References: <130342973089.20031112110555@justapi.de> Message-ID: <3FB23067.4010908@maich.gr> Hi, This is weird using tclmapscript (ms3.4 and 3.6.6) Want to update a dbf record last_name "Poindexter" with "Doe" mapscript::DBFWriteStringAttribute $hdbf 0 4 "Doe" Reading the record, mapscript::DBFReadStringAttribute $hdbf 0 4 returns "Doendexter" This is on win and linux... Swigging the shapelib separately for tcl produces correct results, e.g the value gets replaced. I wonder if DBFWrite works correctly on the other ms-interfaces, e.g perl, php, python etc.. or if this is a bug in the mapscript interface file? Using shapelib1.29, and tcl 8.3, and 8.4.... regards, nicolas boretos From EBashi at chesapeakebay.net Wed Nov 12 06:06:31 2003 From: EBashi at chesapeakebay.net (Enils Bashi) Date: Wed, 12 Nov 2003 09:06:31 -0500 Subject: [Mapserver-users] PHP Mapscript with php 4.3.4 and apache 2.0 .48 Message-ID: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09969B@mail2.chesapeakebay.net> Hi all, What Ed addresses is an issue I have been having as well. I would be interested to see what the problem is. I have latest mapserver built on Redhat 9 with Apache2 and php4.3. Enils Bashi Programmer - Chesapeake Bay Program Veridyne Incorporated Annapolis, Maryland: (410) 267-9833 www.chesapeakebay.net -----Original Message----- From: Ed Martin [mailto:edman007x at mac.com] Sent: Monday, November 10, 2003 8:00 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] PHP Mapscript with php 4.3.4 and apache 2.0.48 how do i get PHP mapscript to work with php 4.3.4 and apache 2.0.48, no matter how i compile it i just get it to work, it keeps on saying that php has to use the system regex but i can't get php to compile for apache2 with the system regex _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From zak-ms at hoppsan.org Wed Nov 12 06:18:36 2003 From: zak-ms at hoppsan.org (Zak James) Date: Wed, 12 Nov 2003 09:18:36 -0500 Subject: [Mapserver-users] Re: [ms4w-users] MapLab question In-Reply-To: <000301c01c67$ef3f82e0$12b0fea9@dell> References: <000301c01c67$ef3f82e0$12b0fea9@dell> Message-ID: <1A954A6E-151B-11D8-9C1F-000393D97A6E@hoppsan.org> Does the same mapfile work with mapserver and produce a map? It may be a syntax error in your file. Can you post a simplified version to the list? zak -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Sep 11, 2000, at 11:17 PM, Stephen Wallace wrote: > To the list > > I am beginning to use MapLab and have encountered the following error > and cannot determine a fix. > > The only layer on the map is a tif image with related tfw file. > > The error message is > > > > Error Parsing dundas1.map > > Description > (DundasTC) in /maplab/common/wrapper/drawmap.php > > Thanks in advance > > > > Stephen Wallace > Email gis at gisrs.com > Phone 905-627-8786 > > From eric at gomoos.org Wed Nov 12 06:25:59 2003 From: eric at gomoos.org (Eric Bridger) Date: Wed, 12 Nov 2003 09:25:59 -0500 Subject: [Mapserver-users] Reference map in PHP Mapscript / HTML In-Reply-To: <130342973089.20031112110555@justapi.de> Message-ID: <4.3.2.7.2.20031112092428.00ad9630@mail.gomoos.org> At 11:05 AM 11/12/2003 +0100, Sebastian Albrecht wrote: >The only problem I have is the reference map. It displays the red box >correct but I do not right know what to do with the xyinput of the box >if a user clicks on it. >Does anybody have an example of how to implement the reference map and >how to zoom to the correct point in mapscript (language doesn't >matter)? There is an example of converting a reference map click to new extents here: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex17 It's in perl. From vguzman at maintask.com Wed Nov 12 06:41:16 2003 From: vguzman at maintask.com (=?ISO-8859-1?Q?Vladimir_Guzm=E1n?=) Date: Wed, 12 Nov 2003 09:41:16 -0500 Subject: [Mapserver-users] PHP Mapscript with php 4.3.4 and apache 2.0.48 In-Reply-To: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09969B@mail2.chesapeakebay.net> References: <5BDF17DD2B5B224BBFFDFE0EA23CF93D09969B@mail2.chesapeakebay.net> Message-ID: <3FB2468C.6030804@maintask.com> Enils Bashi wrote: >Hi all, > >What Ed addresses is an issue I have been having as well. I would be >interested to see what the problem is. I have latest mapserver built on >Redhat 9 with Apache2 and php4.3. > >Enils Bashi >Programmer - Chesapeake Bay Program >Veridyne Incorporated >Annapolis, Maryland: (410) 267-9833 >www.chesapeakebay.net > > > >-----Original Message----- >From: Ed Martin [mailto:edman007x at mac.com] >Sent: Monday, November 10, 2003 8:00 PM >To: mapserver-users at lists.gis.umn.edu >Subject: [Mapserver-users] PHP Mapscript with php 4.3.4 and apache >2.0.48 > > >how do i get PHP mapscript to work with php 4.3.4 and apache 2.0.48, no >matter how i compile it i just get it to work, it keeps on saying that >php has to use the system regex but i can't get php to compile for >apache2 with the system regex > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > I have a step by step guide, but with php 4.3.2RC3, maybe it could be of some help.: (There was a bug in php 4.3.3 that made impossible mapscript's installation) REDHAT 9.0 with the following rpms: httpd 2.0.40-8 freetype 2.1.2-7 freetype-devel 2.1.2-7 libpng 1.2.2-6 libpng-devel 1.2.2-6 libjpeg 6b-21 ->-> Uninstall curl ------------------------------------------ Install mysql: mysql-standard-4.0.13-pc-linux-i686.tar.gz ------------------------------------------ # tar -xzvf mysql-standard-4.0.13-pc-linux-i686.tar.gz groupadd mysql useradd -g mysql mysql mv mysql-standard-4.0.13-pc-linux-i686 /usr/local/mysql cd /usr/local/mysql scripts/mysql_install_db chown -R root . chown -R mysql data chgrp -R mysql . bin/mysqld_safe --user=mysql & bin/mysqladmin -u root password 'yourpassword' ------------------------------------------ Install GD: gd-2.0.12.tar.gz ------------------------------------------ # tar -xzvf gd-2.0.12.tar.gz cd gd-2.0.12 ./configure --without-xpm --with-png=/usr --with-freetype=/usr/local --without-jpeg make make install ------------------------------------------ PHP: php-4.3.2RC3.tar.bz2 ------------------------------------------ # tar -xjvf php-4.3.2RC3.tar.bz2 cd php-4.3.2RC3 ./configure \ --enable-force-cgi-redirect \ --with-config-file-path=/etc \ --with-gd=/usr/local \ --disable-jpeg \ --without-jpeg \ --with-png-dir=/usr \ --with-freetype-dir=/usr \ --with-zlib-dir=/usr \ --without-ttf \ --with-mysql=/usr/local/mysql \ --with-regex=system \ --enable-dbase \ --enable-dbx \ --enable-versioning make make install cp sapi/cgi/php /var/www/cgi-bin/ Add the lines: AddType application/x-httpd-php-cgi .phtml .php Action application/x-httpd-php-cgi /cgi-bin/php To the /etc/httpd/conf/httpd.conf file ------------------------------------------ GDAL: gdal-1.1.8.tar.gz ------------------------------------------ # tar -xzvf gdal-1.1.8.tar.gz cd gdal-1.1.8 ./configure \ --with-libz=/usr \ --with-png=/usr \ --with-libtiff=internal \ --with-geotiff=internal \ --without-jpeg \ --without-jasper \ --without-python make make install ------------------------------------------ PROJ4: proj-4.4.7.tar.gz ------------------------------------------ # tar -xzvf proj-4.4.7.tar.gz cd proj-4.4.7 ./configure make make install ------------------------------------------ CURL: curl-7.10.5.tar.gz ------------------------------------------ # tar -xzvf curl-7.10.5.tar.gz cd curl-7.10.5 ./configure make make install ------------------------------------------ MAPSERVER: mapserver-4.0b.tar.gz ------------------------------------------ # tar -xzvf mapserver-4.0b.tar.gz cd mapserver-4.0b ./configure \ --without-tiff \ --without-eppl \ --without-jpeg \ --with-threads \ --with-proj \ --with-gdal=/usr/local/bin \ --with-gd=/usr/local \ --with-png=/usr \ --with-freetype=/usr \ --with-ogr \ --with-gdal \ --with-wmsclient \ --with-wfs \ --with-wfs-client \ --with-php=../php-4.3.2RC3 make cp mapscript/php3/php_mapscript.so /usr/local/lib/php/extensions/no-debug-non-zts-20020429/ Best regards, -- Vladimir Ilich Guzm?n R. ------------------------ http://www.maintask.com From warmerdam at pobox.com Wed Nov 12 06:44:33 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Wed, 12 Nov 2003 09:44:33 -0500 Subject: [Mapserver-users] PROJ 4 In-Reply-To: References: Message-ID: <3FB24751.90308@pobox.com> youssef chamoun wrote: > Hello, > > > > I am installing Mapserver on an Apache webserver, and I don't have > access to the httpd.conf to set the PROJ_LIB environment variable, so I > am getting the error: msProcessProjection(): no system list, errno: 2. > Is their another solution? > > > > Can I compile mapserv in order to find directly the espg file? > > > > I tried setting PROJ_LIB in .htaccess but no luck either. Youssef, If you can rebuild PROJ.4, you can hardcode in the location. The PROJ_LIB macro should be used for this. Ideally at some point I would like to see some config controls like this and the GDAL_DATA directory location be settable from in the .map file ... but not today. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From muratisik at megatek.com.tr Wed Nov 12 06:47:35 2003 From: muratisik at megatek.com.tr (Murat Isik) Date: Wed, 12 Nov 2003 16:47:35 +0200 Subject: [Mapserver-users] cant label streets in mapscript -- please help References: <006b01c3a864$5a5b8890$b4704ad5@murathq> <3FB11EF3.1090609@dmsolutions.ca> <002901c3a8a0$659b0dc0$a256fdd4@murathq> <3FB170B0.8060303@dmsolutions.ca> Message-ID: <00af01c3a92b$eb9a6d40$b4704ad5@murathq> Thank you Mr.Morissette, You were right, today I installed mapserver4.0 according to the wiki and with minor difficulties I did it. (curl did not get compiled, took me some time to figure out that it had some thing to do with ssl, so I did "./configure --without-ssl") Then my little labelling test code worked:) Thanks a lot... Have a nice day. Murat Isik ----- Original Message ----- From: "Daniel Morissette" To: "Murat Isik" Cc: Sent: Wednesday, November 12, 2003 1:28 AM Subject: Re: [Mapserver-users] cant label streets in mapscript -- please help > Murat Isik wrote: > > > > As for the "stopped rendering", the web page only has the part that is until > > the start of the php code, like the title or the logo gif. The source of the > > web page only has the page title and the url of the page logo. When I check > > the temporary folder into which images are written, I see no images are > > produced. On the web page, there were no error messages. Unfortunately, I > > dont know how to use the error_log :( > > > > The Apache error_log is located in /var/log/httpd/error_log. You can > monitor it using the following command in a shell window: > > tail -f /var/log/httpd/error_log > > Then run the PHP script again and see if anything is sent to the > error_log that could help figuring the source of the problem. > > > > The lines I added to the mapfile for mapscript choose the streets by their > > value in the second column which is ID (numeric) and I choose all by /./ > > > > CLASSITEM 'ID' > > CLASS > > EXPRESSION /./ > > COLOR 66 34 249 > > END > > > > Makes sense. All streets end up being caught by the first class and > none are sent to the second class that contains the label definition. > That's why it draws with no error but you don't get labels either: the > label stuff is never used. > > > > I applied your test with the following php code: > > > > > > TEST > > > >
> > > dl("php_mapscript.so"); > > $map = ms_newMapObj("demonew.map"); > > $img = $map->draw(); > > # $map->drawLabelCache($img); > > $url = $img->saveWebImage(GIF,1,1,0); > > > > ?> > > > > > > Once again, the web page displays no images, no images produced in temp > > directory and web page source ends at
. Also tried it with > > drawLabelCache on, getting the same result :( > > > > It seems clear that php_mapscript crashes (segmentation fault) during > the $map->draw() call then. > > First let's see if you'll get any hints about the source of the problem > in the error_log, and if not then I think there are 75% chances that you > are running conflicting versions of GD/freetype between your PHP and > php_mapscript.so. You can check if your PHP includes GD/freetype by > running the phpinfo() command in a script and looking for GD/freetype > stuff in the list of modules. If you possible try to disable the PHP > GD/freetype stuff. > > If that's not a GD/freetype conflict then it could be a bug somewhere in > MapServer, and the only way to figure it would be to run in a debugger > and you can't do that with the RPM version. Anyway that's getting quite > involved if you are a beginner so I would suggest instead uninstalling > the RPMs and installing MapServer v4.0 using the instructions that you > can find in the wiki at: > > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?RedHat9AndMapserver40 > > If the crash persists with version 4.0 then your best bet would be to > package a small testcase that reproduces the problem with mapfile and > sample data and submit a bug in the MapServer bugzilla. > > Lots to learn, eh? :) > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ From hunt at zedxinc.com Wed Nov 12 07:07:10 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Wed, 12 Nov 2003 10:07:10 -0500 Subject: [Mapserver-users] 4.0.1 compile problem with php 4.3.4 Message-ID: <08db01c3a92e$a57d7c00$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_08D8_01C3A904.BC8768E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When I try to configure mapserver with php I get the error bellow about = --with-regex=3Dsystem when my php is configured with it. Am I missing = something? I have php configured with './configure' '--with-mysql' '--with-dbase' = '--with-gd' '--with-system-regex' '--with-zlib' '--with-expat' = '--with-xml'=20 mapserver configure with=20 ./configure --without-tiff --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config = --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient = --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ = --with-php=3D/usr/local/src/php-4.3.4/ = --with-curl-config=3D/home/mapserver/bin/curl-config = --with-ming=3D/home/mapserver/ming-0.2a I get=20 !!! The current version of PHP MapScript has some problems with = !!! !!! PHP4's bundled regex. Until we figure the solution to the = !!! !!! problem, the workaround is to compile PHP4 with the system regex = !!! !!! Please re-configure and re-compile PHP4 with --with-regex=3Dsystem = !!! !!! and then re-configure and re-compile MapServer. = !!! Aaron D. Hunt Technical Manager ZedX Inc. ------=_NextPart_000_08D8_01C3A904.BC8768E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
When I try to configure mapserver with = php I get=20 the error bellow about --with-regex=3Dsystem  when my php is = configured=20 with it. Am I missing something?
 
 
 
I have php configured with = './configure'=20 '--with-mysql' '--with-dbase' '--with-gd' '--with-system-regex' = '--with-zlib'=20 '--with-expat' '--with-xml'
 
mapserver configure with =
./configure --without-tiff=20 --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config=20 --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient=20 --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20 --with-php=3D/usr/local/src/php-4.3.4/=20 --with-curl-config=3D/home/mapserver/bin/curl-config=20 --with-ming=3D/home/mapserver/ming-0.2a
 
I get
!!! The current version of PHP = MapScript has some=20 problems with       !!!
!!! PHP4's = bundled=20 regex.  Until we figure the solution to=20 the        !!!
!!! problem, the = workaround=20 is to compile PHP4 with the system regex  !!!
!!! Please = re-configure=20 and re-compile PHP4 with --with-regex=3Dsystem  !!!
!!! and then = re-configure and re-compile=20 MapServer.          &nb= sp;       =20 !!!
 
 
Aaron D. Hunt
Technical = Manager
ZedX=20 Inc.
------=_NextPart_000_08D8_01C3A904.BC8768E0-- From sgillies at frii.com Wed Nov 12 07:07:12 2003 From: sgillies at frii.com (Sean Gillies) Date: Wed, 12 Nov 2003 08:07:12 -0700 Subject: [Mapserver-users] truetype error In-Reply-To: <00a001c3a904$ebd0f850$a559af0a@seat.it> Message-ID: On Wednesday, November 12, 2003, at 03:08 AM, Yvain Ballini wrote: > Hello List, > > I would like to know if there is some fix to problem that many users > have > met with the truetype font. I have compiled the work on XP using > mapserver 3.5 > GD 2.0.15 > FreeType 2.2.5 > and at the execution I get the following error: > msGetLabelSize(): TrueType Font error. libgd was not built with > FreeType > font support > because mapserver is looking for the truetype font in gd.lib while it > should > do it directly in freetype.lib. > Have someone any idea to fix the problem? > Thanks a lot. > Yvain. > Yvain, This error is a sign that you compiled MapServer without defining USE_GD_TTF or USE_GD_FT. Add that to the other definitions for GD such as -DUSE_GD_JPEG etc. I hope this gets you pointed in the right direction. My memory of issues specific to version 3.5 is fading ... and I vaguely remember that there was a transition from USE_GD_TTF to USE_GD_FT happening around version 3.5. Make sure to search the mapserver-users archive for more information on GD and Truetype. cheers, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From lfilak at medinaco.org Wed Nov 12 07:52:29 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Wed, 12 Nov 2003 10:52:29 -0500 Subject: [Mapserver-users] DBFWriteStringAttribute problem/bug? Message-ID: <20031112155222.60A031A6599@mail.medinaco.org> I'm not sure if anyone will be able to confirm whether it works in other interfaces. The suggestion has been to use the xbase module available for the laguage as opposed to the DBFxxxxx functions as they exist in mapscript mainly for tcl. So just in case you receive no feedback, your not being ignored. Lowell The following message was sent by Nicolas Boretos on Wed, 12 Nov 2003 15:06:47 +0200. > Hi, > > This is weird using tclmapscript (ms3.4 and 3.6.6) > > Want to update a dbf record last_name "Poindexter" with "Doe" > > mapscript::DBFWriteStringAttribute $hdbf 0 4 "Doe" > > Reading the record, > > mapscript::DBFReadStringAttribute $hdbf 0 4 > returns > "Doendexter" > > This is on win and linux... > > Swigging the shapelib separately for tcl produces correct results, e.g > the value gets replaced. > > I wonder if DBFWrite works correctly on the other ms-interfaces, e.g > perl, php, python etc.. > or if this is a bug in the mapscript interface file? > > Using shapelib1.29, and tcl 8.3, and 8.4.... > > regards, > > nicolas boretos > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pram at pramcentral.com Wed Nov 12 07:58:31 2003 From: pram at pramcentral.com (Prashanth Ram) Date: Wed, 12 Nov 2003 10:58:31 -0500 Subject: [Mapserver-users] 4.0.1 compile problem with php 4.3.4 References: <08db01c3a92e$a57d7c00$1805000a@helicity> Message-ID: <3FB258A7.7B722975@pramcentral.com> --------------A385157232AE20973B22C0BF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Aaron: I had the same problem w/php 4.3.3 and mapserver. I have 2 suggestions for u. 1) Remove config.cache, config.status from the php install directory and recompile using these options: PHP:: './configure' '--with-mysql' '--with-dbase' '--with-gd=/home/mapserver/' '--with-regex=system' '--with-zlib' '--with-expat' '--with-xml' Mapserver: /configure --without-tiff --with-proj=/home/mapserver/ --with-gdal=/home/mapserver/bin/gdal-config --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ --with-php=/usr/local/src/php-4.3.4/ --with-curl-config=/home/mapserver/bin/curl-config --with-ming=/home/mapserver/ming-0.2a I found out that the gd library specified with the php configure HAS to be the SAME as the mapserv gd .. 2) This suggestion, I know will bring the wrath of a slew of ppl. on the list... but here goes.. Do this ONLY TO TEST: Mapserver: Edit ./configure and comment out the exit 1; .. after the change it should look like this: !!! and then re-configure and re-compile MapServer. !!!" 1>&2 ; # exit 1; } See if it complies.. and works correctly.. if it does.. remove the comment, make clean, and recompile.. it worked for me.. I think it has something to do w/caching, but I could be wrong. Good luck.. -Prashanth "Aaron D. Hunt" wrote: > When I try to configure mapserver with php I get the error bellow > about --with-regex=system when my php is configured with it. Am I > missing something? I have php configured with './configure' > '--with-mysql' '--with-dbase' '--with-gd' '--with-system-regex' > '--with-zlib' '--with-expat' '--with-xml' mapserver configure > with./configure --without-tiff --with-proj=/home/mapserver/ > --with-gdal=/home/mapserver/bin/gdal-config > --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient > --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ > --with-php=/usr/local/src/php-4.3.4/ > --with-curl-config=/home/mapserver/bin/curl-config > --with-ming=/home/mapserver/ming-0.2a I get!!! The current version of > PHP MapScript has some problems with !!! > !!! PHP4's bundled regex. Until we figure the solution to the > !!! > !!! problem, the workaround is to compile PHP4 with the system regex > !!! > !!! Please re-configure and re-compile PHP4 with --with-regex=system > !!! > !!! and then re-configure and re-compile MapServer. > !!! Aaron D. Hunt > Technical Manager > ZedX Inc. --------------A385157232AE20973B22C0BF Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Aaron:
    I had the same problem w/php 4.3.3 and mapserver. I have 2 suggestions for u.
        1) Remove config.cache, config.status from the php install directory and recompile using these options:
               PHP:: './configure' '--with-mysql' '--with-dbase' '--with-gd=/home/mapserver/' '--with-regex=system' '--with-zlib' '--with-expat' '--with-xml'
               Mapserver: /configure --without-tiff --with-proj=/home/mapserver/ --with-gdal=/home/mapserver/bin/gdal-config --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ --with-php=/usr/local/src/php-4.3.4/ --with-curl-config=/home/mapserver/bin/curl-config --with-ming=/home/mapserver/ming-0.2a
 
            I found out that the gd library specified with the php configure HAS to be the SAME as the mapserv gd ..
 

      2) This suggestion, I know will bring the wrath of a slew of ppl. on the list... but here goes.. Do this ONLY TO  TEST:
            Mapserver: Edit ./configure and comment out the exit 1;  ..  after the change it should look like this:
                         <code>
                                !!! and then re-configure and re-compile MapServer.                   !!!" 1>&2
                                ; # exit 1;
                            }
                        </code>
                        See if it complies.. and works correctly.. if it does.. remove the comment, make clean, and recompile.. it worked for me.. I think it has something to do w/caching, but  I could be wrong.

Good luck..
-Prashanth
 

"Aaron D. Hunt" wrote:

When I try to configure mapserver with php I get the error bellow about --with-regex=system  when my php is configured with it. Am I missing something?   I have php configured with './configure' '--with-mysql' '--with-dbase' '--with-gd' '--with-system-regex' '--with-zlib' '--with-expat' '--with-xml' mapserver configure with./configure --without-tiff --with-proj=/home/mapserver/ --with-gdal=/home/mapserver/bin/gdal-config --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ --with-php=/usr/local/src/php-4.3.4/ --with-curl-config=/home/mapserver/bin/curl-config --with-ming=/home/mapserver/ming-0.2a I get!!! The current version of PHP MapScript has some problems with       !!!
!!! PHP4's bundled regex.  Until we figure the solution to the        !!!
!!! problem, the workaround is to compile PHP4 with the system regex  !!!
!!! Please re-configure and re-compile PHP4 with --with-regex=system  !!!
!!! and then re-configure and re-compile MapServer.                   !!!  Aaron D. Hunt
Technical Manager
ZedX Inc.
--------------A385157232AE20973B22C0BF-- From stephen.clark at focus.ca Wed Nov 12 09:04:19 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Wed, 12 Nov 2003 09:04:19 -0800 Subject: [Mapserver-users] help with http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.esrimap wms server and php mapscript questions References: <003101c3a877$58e0fbe0$0301a8c0@valerion> <3FB131E9.80200@dmsolutions.ca> <006a01c3a90a$3f618a70$0301a8c0@valerion> Message-ID: <005101c3a93f$0c7369f0$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_004C_01C3A8FB.F4C47800 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I have been trying to render the raster that is returned from this wms = server to a PDF file. Here is my layer: ### WMS BC GOV -- Trim Orthophotomosaic --=20 LAYER NAME trimphoto TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION = "http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.Esrimap?WMTVER=3D1= .0.0&ServiceName=3Dwms26910&LAYERS=3DTRIM%20Orthomosaic&FORMAT=3DPNG&TRAN= SPARENT=3DTRUE" METADATA WMS_SRS "EPSG:26910" WMS_TITLE "TRIM photo" "wms_connectiontimeout" "60" END END In my php mapscript file I use the following code to render the WMS = layer as an image to then add to my PDF file. // set all layers to off for ($counter =3D 0; $counter < $number_of_layers_in_mapfile ; = $counter++) { $layer =3D $map->getLayer($counter); $layer->set(status, 0); } // set only the selected layers to be on for ($counter =3D 0; $counter < $size_of_listarray; $counter++) { // get layer $layer =3D $map->getLayerbyName($listarray[$counter]); $layer->set(status, 1); } // render the image to png print "rendering image ...
\n"; $image=3D$map->draw(); print "finished rendering image ...
\n"; $image_url=3D$image->saveWebImage(); Errors from my pdf generator function: rendering image ...=20 Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named = 'trimphoto'. in C:\Program Files\Apache = Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line 180 Warning: [MapServer Error]: msDrawRaster(): Unrecognized or unsupported = image format in C:\Program Files\Apache = Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line 180 Warning: [MapServer Error]: drawEPP(): EPPL7 support is not available. = in C:\Program Files\Apache = Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line 180 finished rendering image ...=20 Fatal error: Call to a member function on a non-object in C:\Program = Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on = line 182 Questions: 1. If the time required to get the PNG image from the wms server is = fairly long, will that create the error I posted. 2. Is there another set of functions to process WMS layers and add them = to the resulting PNG file? thanks for you time Stephen ------=_NextPart_000_004C_01C3A8FB.F4C47800 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I have been trying to render the raster = that is=20 returned from this wms server to a PDF file.
 
Here is my layer:

### WMS BC GOV -- Trim Orthophotomosaic --
LAYER
  = NAME=20 trimphoto
  TYPE RASTER
  STATUS ON
  = CONNECTIONTYPE=20 WMS
   CONNECTION "http://slkapps2.env.gov.bc.ca:80/s= ervlet/com.esri.wms.Esrimap?WMTVER=3D1.0.0&ServiceName=3Dwms26910&= ;LAYERS=3DTRIM%20Orthomosaic&FORMAT=3DPNG&TRANSPARENT=3DTRUE"=
 =20 METADATA
    WMS_SRS = "EPSG:26910"
   =20 WMS_TITLE "TRIM photo"
    "wms_connectiontimeout" = "60"
 
  END
END
 
 
In my php mapscript file I use the following code to render the WMS = layer=20 as an image to then add to my PDF file.
 
// set all layers to off
for ($counter =3D 0; $counter <=20 $number_of_layers_in_mapfile ; $counter++)
{
 $layer =3D=20 $map->getLayer($counter);
 $layer->set(status, = 0);
}
 

// set only the selected layers to be on
for ($counter =3D 0; $counter < $size_of_listarray;=20 $counter++)
{
 // get layer
 $layer =3D=20 $map->getLayerbyName($listarray[$counter]);
 $layer->set(st= atus,=20 1);
}
 

// render the image to png
print "rendering image ...=20 <br>\n";
$image=3D$map->draw();
print "finished rendering = image ...=20 <br>\n";
$image_url=3D$image->saveWebImage();
 
 
Errors from my pdf generator function:
 
rendering image ...

Warning: [MapServer Error]: = msDrawMap():=20 Failed to draw layer named 'trimphoto'. in C:\Program Files\Apache=20 Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line=20 180

Warning: [MapServer Error]: msDrawRaster():=20 Unrecognized or unsupported image format in C:\Program Files\Apache=20 Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line=20 180

Warning: [MapServer Error]: drawEPP(): EPPL7 = support is=20 not available. in C:\Program Files\Apache=20 Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line=20 180
finished rendering image ...

Fatal error: = Call to a=20 member function on a non-object in C:\Program Files\Apache=20 Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line=20 182
 
 
 
Questions:
 
1. If the time required to get the PNG image from the wms server is = fairly=20 long, will that create the error I posted.
 
2. Is there another set of functions to process WMS layers and add = them to=20 the resulting PNG file?
 
 
thanks for you time
Stephen
------=_NextPart_000_004C_01C3A8FB.F4C47800-- From vguzman at maintask.com Wed Nov 12 08:03:54 2003 From: vguzman at maintask.com (=?ISO-8859-1?Q?Vladimir_Guzm=E1n?=) Date: Wed, 12 Nov 2003 11:03:54 -0500 Subject: [Mapserver-users] 4.0.1 compile problem with php 4.3.4 In-Reply-To: <08db01c3a92e$a57d7c00$1805000a@helicity> References: <08db01c3a92e$a57d7c00$1805000a@helicity> Message-ID: <3FB259EA.7090306@maintask.com> Aaron D. Hunt wrote: > When I try to configure mapserver with php I get the error bellow > about --with-regex=system when my php is configured with it. Am I > missing something? > > > > I have php configured with './configure' '--with-mysql' '--with-dbase' > '--with-gd' '--with-system-regex' '--with-zlib' '--with-expat' > '--with-xml' > > mapserver configure with > ./configure --without-tiff --with-proj=/home/mapserver/ > --with-gdal=/home/mapserver/bin/gdal-config > --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient > --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ > --with-php=/usr/local/src/php-4.3.4/ > --with-curl-config=/home/mapserver/bin/curl-config > --with-ming=/home/mapserver/ming-0.2a > > I get > !!! The current version of PHP MapScript has some problems with !!! > !!! PHP4's bundled regex. Until we figure the solution to the !!! > !!! problem, the workaround is to compile PHP4 with the system regex !!! > !!! Please re-configure and re-compile PHP4 with --with-regex=system !!! > !!! and then re-configure and re-compile MapServer. !!! > > > Aaron D. Hunt > Technical Manager > ZedX Inc. Maybe --with-regex=system? -- Vladimir Ilich Guzm?n R. ------------------------ http://www.maintask.com From hunt at zedxinc.com Wed Nov 12 09:03:19 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Wed, 12 Nov 2003 12:03:19 -0500 Subject: [Mapserver-users] 4.0.1 compile problem with php 4.3.4 References: <08db01c3a92e$a57d7c00$1805000a@helicity> <3FB258A7.7B722975@pramcentral.com> Message-ID: <091201c3a93e$df5cc010$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_090F_01C3A914.F6715B50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable The first thing did it, thank you Aaron ----- Original Message -----=20 From: Prashanth Ram=20 To: Aaron D. Hunt=20 Cc: mapserver-users at lists.gis.umn.edu=20 Sent: Wednesday, November 12, 2003 10:58 AM Subject: Re: [Mapserver-users] 4.0.1 compile problem with php 4.3.4 Aaron:=20 I had the same problem w/php 4.3.3 and mapserver. I have 2 = suggestions for u.=20 1) Remove config.cache, config.status from the php install = directory and recompile using these options:=20 PHP:: './configure' '--with-mysql' '--with-dbase' = '--with-gd=3D/home/mapserver/' '--with-regex=3Dsystem' '--with-zlib' = '--with-expat' '--with-xml'=20 Mapserver: /configure --without-tiff = --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config = --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient = --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ = --with-php=3D/usr/local/src/php-4.3.4/ = --with-curl-config=3D/home/mapserver/bin/curl-config = --with-ming=3D/home/mapserver/ming-0.2a=20 =20 I found out that the gd library specified with the php = configure HAS to be the SAME as the mapserv gd ..=20 =20 2) This suggestion, I know will bring the wrath of a slew of = ppl. on the list... but here goes.. Do this ONLY TO TEST:=20 Mapserver: Edit ./configure and comment out the exit 1; = .. after the change it should look like this:=20 =20 !!! and then re-configure and = re-compile MapServer. !!!" 1>&2=20 ; # exit 1;=20 }=20 =20 See if it complies.. and works correctly.. if = it does.. remove the comment, make clean, and recompile.. it worked for = me.. I think it has something to do w/caching, but I could be wrong.=20 Good luck..=20 -Prashanth=20 =20 "Aaron D. Hunt" wrote:=20 When I try to configure mapserver with php I get the error bellow = about --with-regex=3Dsystem when my php is configured with it. Am I = missing something? I have php configured with './configure' = '--with-mysql' '--with-dbase' '--with-gd' '--with-system-regex' = '--with-zlib' '--with-expat' '--with-xml' mapserver configure = with./configure --without-tiff --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config = --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient = --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ = --with-php=3D/usr/local/src/php-4.3.4/ = --with-curl-config=3D/home/mapserver/bin/curl-config = --with-ming=3D/home/mapserver/ming-0.2a I get!!! The current version of = PHP MapScript has some problems with !!!=20 !!! PHP4's bundled regex. Until we figure the solution to the = !!!=20 !!! problem, the workaround is to compile PHP4 with the system regex = !!!=20 !!! Please re-configure and re-compile PHP4 with = --with-regex=3Dsystem !!!=20 !!! and then re-configure and re-compile MapServer. = !!! Aaron D. Hunt=20 Technical Manager=20 ZedX Inc. ------=_NextPart_000_090F_01C3A914.F6715B50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
The first thing did it,
thank you
 
Aaron
----- Original Message -----
From:=20 Prashanth=20 Ram
Cc: mapserver-users at lists.g= is.umn.edu=20
Sent: Wednesday, November 12, = 2003 10:58=20 AM
Subject: Re: [Mapserver-users] = 4.0.1=20 compile problem with php 4.3.4

Aaron:
    I had the same problem = w/php=20 4.3.3 and mapserver. I have 2 suggestions for u.=20
        1) Remove config.cache, = config.status from the php install directory and recompile using these = options:=20 =
           &nb= sp;  =20 PHP:: './configure' '--with-mysql'=20 '--with-dbase' '--with-gd=3D/home/mapserver/'=20 '--with-regex=3Dsystem' '--with-zlib' '--with-expat'=20 '--with-xml'=20 =
           &nb= sp;  =20 Mapserver: /configure = --without-tiff=20 --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config=20 --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient=20 --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20 --with-php=3D/usr/local/src/php-4.3.4/=20 --with-curl-config=3D/home/mapserver/bin/curl-config=20 --with-ming=3D/home/mapserver/ming-0.2a
 
          &nb= sp; I=20 found out that the gd library specified with the php configure HAS to = be the=20 SAME as the mapserv gd ..
 =20

      = 2) This=20 suggestion, I know will bring the wrath of a slew of ppl. on the = list... but=20 here goes.. Do this ONLY TO  TEST:
          &nb= sp;=20 Mapserver: Edit ./configure and comment out the exit 1;  = .. =20 after the change it should look like this:
          &nb= sp;           &nbs= p; =20 <code>
          &nb= sp;           &nbs= p;        =20 !!! and then re-configure and re-compile=20 = MapServer.          &nb= sp;       =20 !!!" 1>&2
          &nb= sp;           &nbs= p;        =20 ; # exit 1;
          &nb= sp;           &nbs= p;    =20 }
          &nb= sp;           &nbs= p;=20 </code>
          &nb= sp;           &nbs= p;=20 See if it complies.. and works correctly.. if it does.. remove the = comment,=20 make clean, and recompile.. it worked for me.. I think it has = something to do=20 w/caching, but  I could be wrong.=20

Good luck.. =
-Prashanth
 =20

"Aaron D. Hunt" wrote:=20

When I try to configure mapserver = with php I=20 get the error bellow about --with-regex=3Dsystem  when my php = is=20 configured with it. Am I missing=20 something?   I=20 have php configured with './configure' '--with-mysql' '--with-dbase' = '--with-gd' '--with-system-regex' '--with-zlib' '--with-expat'=20 '--with-xml' mapserver=20 configure with./configure=20 --without-tiff --with-proj=3D/home/mapserver/=20 --with-gdal=3D/home/mapserver/bin/gdal-config=20 --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient = --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20 --with-php=3D/usr/local/src/php-4.3.4/=20 --with-curl-config=3D/home/mapserver/bin/curl-config=20 --with-ming=3D/home/mapserver/ming-0.2a I get!!! The current version of PHP MapScript has some problems = with       !!!
!!! PHP4's bundled regex.  Until = we figure the=20 solution to the        = !!!=20
!!! problem, the workaround = is to compile=20 PHP4 with the system regex  !!!
!!! Please re-configure and re-compile = PHP4 with=20 --with-regex=3Dsystem  !!!
!!! and then re-configure and re-compile=20 = MapServer.          &nb= sp;       =20 !!!  Aaron D.=20 Hunt
Technical=20 Manager
ZedX=20 Inc.
------=_NextPart_000_090F_01C3A914.F6715B50-- From hunt at zedxinc.com Wed Nov 12 09:08:58 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Wed, 12 Nov 2003 12:08:58 -0500 Subject: [Mapserver-users] ming and mapsever 4.0.1 compile error Message-ID: <091b01c3a93f$a9b98f50$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_0918_01C3A915.C0C68970 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When I run make with the following config I get the bellow error ./configure --without-tiff --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config = --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient = --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/ = --with-php=3D/usr/local/src/php-4.3.4/ = --with-curl-config=3D/home/mapserver/bin/curl-config = --with-ming=3D/home/mapserver/ or --with-ming=3D/home/mapserver/ming-0.2a gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ = -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_MING_FLASH = -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT = -DUSE_OGR -DUSE_GDAL -I/home/mapserver//include = -I/home/mapserver//include = -I/home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts = -I/home/mapserver/gdal-1.1.9/ogr = -I/home/mapserver/gdal-1.1.9/ogr/../port -I/home/mapserver//include = -I/home/mapserver//include -I/home/mapserver/ shp2img.o -L. -lmap = -L/home/mapserver//lib -lgd -ljpeg -lfreetype -lpng -lz -ljpeg = -lfreetype -lpng -lz -L/home/mapserver//lib -lproj -ljpeg = -L/home/mapserver//lib -lgdal.1.1 -L/home/mapserver//lib -lcurl = -L/usr/kerberos/lib -lz -lssl -lcrypto -ldl -lssl -lcrypto -lgssapi_krb5 = -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz -lm -lstdc++ = /home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts/ogrsf_frmts.a = /home/mapserver/gdal-1.1.9/ogr/ogr.a = /home/mapserver/gdal-1.1.9/ogr/../port/cpl.a -o shp2img ./libmap.a(mapswf.o)(.text+0x39): In function `bitmap2shape': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x48): In function `bitmap2shape': : undefined reference to `newSWFInput_buffer' ./libmap.a(mapswf.o)(.text+0x51): In function `bitmap2shape': : undefined reference to `newSWFBitmap_fromInput' ./libmap.a(mapswf.o)(.text+0x62): In function `bitmap2shape': : undefined reference to `SWFShape_addBitmapFill' ./libmap.a(mapswf.o)(.text+0x6d): In function `bitmap2shape': : undefined reference to `SWFShape_setRightFill' ./libmap.a(mapswf.o)(.text+0x81): In function `bitmap2shape': : undefined reference to `SWFShape_drawLine' ./libmap.a(mapswf.o)(.text+0x95): In function `bitmap2shape': : undefined reference to `SWFShape_drawLine' ./libmap.a(mapswf.o)(.text+0xab): In function `bitmap2shape': : undefined reference to `SWFShape_drawLine' ./libmap.a(mapswf.o)(.text+0xc1): In function `bitmap2shape': : undefined reference to `SWFShape_drawLine' ./libmap.a(mapswf.o)(.text+0x392): In function `BuildButtonFromGD': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0x3a0): In function `BuildButtonFromGD': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x3c3): In function `BuildEllipseShape': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x3f3): In function `BuildEllipseShape': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x419): In function `BuildEllipseShape': : undefined reference to `SWFShape_addSolidFill' ./libmap.a(mapswf.o)(.text+0x425): In function `BuildEllipseShape': : undefined reference to `SWFShape_setRightFill' ./libmap.a(mapswf.o)(.text+0x458): In function `BuildEllipseShape': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x48d): In function `BuildEllipseShape': : undefined reference to `SWFShape_drawCurveTo' ./libmap.a(mapswf.o)(.text+0x4b1): In function `BuildEllipseShape': : undefined reference to `SWFShape_drawCurveTo' ./libmap.a(mapswf.o)(.text+0x4d4): In function `BuildEllipseShape': : undefined reference to `SWFShape_drawCurveTo' ./libmap.a(mapswf.o)(.text+0x4e7): In function `BuildEllipseShape': : undefined reference to `SWFShape_drawCurveTo' ./libmap.a(mapswf.o)(.text+0x561): In function `BuildEllipseButton': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0x56d): In function `BuildEllipseButton': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x59d): In function `BuildEllipseButton': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x5e0): In function `BuildEllipseButton': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x5e9): In function `BuildEllipseButton': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x615): In function `BuildEllipseButton': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x61e): In function `BuildEllipseButton': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x64a): In function `BuildEllipseButton': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x653): In function `BuildEllipseButton': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x67f): In function `BuildEllipseButton': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x688): In function `BuildEllipseButton': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x6d8): In function `BuildPolygonShape': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x700): In function `BuildPolygonShape': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x726): In function `BuildPolygonShape': : undefined reference to `SWFShape_addSolidFill' ./libmap.a(mapswf.o)(.text+0x732): In function `BuildPolygonShape': : undefined reference to `SWFShape_setRightFill' ./libmap.a(mapswf.o)(.text+0x782): In function `BuildPolygonShape': : undefined reference to `SWFShape_drawLineTo' ./libmap.a(mapswf.o)(.text+0x7cd): In function `BuildPolygonShape': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x7fc): In function `BuildShape': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x829): In function `BuildShape': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x849): In function `BuildShape': : undefined reference to `SWFShape_addSolidFill' ./libmap.a(mapswf.o)(.text+0x853): In function `BuildShape': : undefined reference to `SWFShape_setRightFill' ./libmap.a(mapswf.o)(.text+0x873): In function `BuildShape': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x893): In function `BuildShape': : undefined reference to `SWFShape_drawLineTo' ./libmap.a(mapswf.o)(.text+0x8bb): In function `BuildShape': : undefined reference to `SWFShape_drawLineTo' ./libmap.a(mapswf.o)(.text+0x8ea): In function `BuildShape': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x908): In function `BuildShapeLine': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x939): In function `BuildShapeLine': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x951): In function `BuildShapeLine': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x989): In function `BuildShapeLine': : undefined reference to `SWFShape_drawLineTo' ./libmap.a(mapswf.o)(.text+0x9b8): In function `BuildShapeLine': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x9d4): In function `BuildButtonPolygon': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0x9f5): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0xa23): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0xa66): In function `BuildButtonPolygon': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xa6f): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xa9b): In function `BuildButtonPolygon': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xaa4): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xad0): In function `BuildButtonPolygon': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xad9): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xb05): In function `BuildButtonPolygon': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xb0e): In function `BuildButtonPolygon': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xb4c): In function `BuildButtonLine': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0xb74): In function `BuildButtonLine': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0xb97): In function `BuildButtonLine': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0xbda): In function `BuildButtonLine': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xbe3): In function `BuildButtonLine': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xc0f): In function `BuildButtonLine': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xc18): In function `BuildButtonLine': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xc44): In function `BuildButtonLine': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xc4d): In function `BuildButtonLine': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xc79): In function `BuildButtonLine': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xc82): In function `BuildButtonLine': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0xd80): In function `msImageCreateSWF': : undefined reference to `newSWFMovie' ./libmap.a(mapswf.o)(.text+0xd9c): In function `msImageCreateSWF': : undefined reference to `SWFMovie_setDimension' ./libmap.a(mapswf.o)(.text+0xef2): In function `msImageStartLayerSWF': : undefined reference to `newSWFMovie' ./libmap.a(mapswf.o)(.text+0xf25): In function `msImageStartLayerSWF': : undefined reference to `SWFMovie_setDimension' ./libmap.a(mapswf.o)(.text+0xf9b): In function `msImageStartLayerSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xfae): In function `msImageStartLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0xfd1): In function `msImageStartLayerSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0xfe6): In function `msImageStartLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1019): In function `msImageStartLayerSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x102d): In function `msImageStartLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1057): In function `msImageStartLayerSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x106f): In function `msImageStartLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x11fa): In function `msDrawStartShapeSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x1214): In function `msDrawStartShapeSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1263): In function `msDrawStartShapeSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x127d): In function `msDrawStartShapeSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1374): In function `AddMouseActions': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x137d): In function `AddMouseActions': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x13a5): In function `AddMouseActions': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x13ae): In function `AddMouseActions': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x13d6): In function `AddMouseActions': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x13df): In function `AddMouseActions': : undefined reference to `SWFButton_addAction' ./libmap.a(mapswf.o)(.text+0x140b): In function `AddMouseActions': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x180c): In function `msDrawMarkerSymbolSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1b50): In function `msDrawMarkerSymbolSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1b81): In function `msDrawMarkerSymbolSWF': : undefined reference to `SWFDisplayItem_moveTo' ./libmap.a(mapswf.o)(.text+0x1d6b): In function `msDrawMarkerSymbolSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1d82): In function `msDrawMarkerSymbolSWF': : undefined reference to `SWFDisplayItem_moveTo' ./libmap.a(mapswf.o)(.text+0x2380): In function `DrawShapePolyline': : undefined reference to `newSWFShape' ./libmap.a(mapswf.o)(.text+0x23a4): In function `DrawShapePolyline': : undefined reference to `SWFShape_setLine' ./libmap.a(mapswf.o)(.text+0x23dc): In function `DrawShapePolyline': : undefined reference to `SWFShape_movePenTo' ./libmap.a(mapswf.o)(.text+0x241e): In function `DrawShapePolyline': : undefined reference to `SWFShape_drawLineTo' ./libmap.a(mapswf.o)(.text+0x246c): In function = `DrawButtonFilledPolygon': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0x248a): In function = `DrawButtonFilledPolygon': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x24b1): In function = `DrawButtonFilledPolygon': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x2504): In function `DrawButtonPolyline': : undefined reference to `newSWFButton' ./libmap.a(mapswf.o)(.text+0x251b): In function `DrawButtonPolyline': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x2535): In function `DrawButtonPolyline': : undefined reference to `SWFButton_addShape' ./libmap.a(mapswf.o)(.text+0x25b4): In function `DrawText': : undefined reference to `loadSWFFontFromFile' ./libmap.a(mapswf.o)(.text+0x25ca): In function `DrawText': : undefined reference to `newSWFText' ./libmap.a(mapswf.o)(.text+0x25d6): In function `DrawText': : undefined reference to `SWFText_setFont' ./libmap.a(mapswf.o)(.text+0x25ea): In function `DrawText': : undefined reference to `SWFText_moveTo' ./libmap.a(mapswf.o)(.text+0x2606): In function `DrawText': : undefined reference to `SWFText_setColor' ./libmap.a(mapswf.o)(.text+0x2619): In function `DrawText': : undefined reference to `SWFText_setHeight' ./libmap.a(mapswf.o)(.text+0x2627): In function `DrawText': : undefined reference to `SWFText_addString' ./libmap.a(mapswf.o)(.text+0x2785): In function `msDrawLineSymbolSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x29fa): In function `msDrawShadeSymbolSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x2c7c): In function `draw_textSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x2c98): In function `draw_textSWF': : undefined reference to `SWFDisplayItem_moveTo' ./libmap.a(mapswf.o)(.text+0x2cb6): In function `draw_textSWF': : undefined reference to `SWFDisplayItem_rotate' ./libmap.a(mapswf.o)(.text+0x2e02): In function `msGetLabelSizeSWF': : undefined reference to `loadSWFFontFromFile' ./libmap.a(mapswf.o)(.text+0x2e22): In function `msGetLabelSizeSWF': : undefined reference to `newSWFText' ./libmap.a(mapswf.o)(.text+0x2e33): In function `msGetLabelSizeSWF': : undefined reference to `SWFText_setFont' ./libmap.a(mapswf.o)(.text+0x2e3e): In function `msGetLabelSizeSWF': : undefined reference to `SWFText_getStringWidth' ./libmap.a(mapswf.o)(.text+0x3e74): In function `msDrawLabelCacheSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x403e): In function `msDrawWMSLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x417e): In function `msDrawRasterLayerSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x425a): In function `msSaveImageSWF': : undefined reference to `fileOutputMethod' ./libmap.a(mapswf.o)(.text+0x4260): In function `msSaveImageSWF': : undefined reference to `SWFMovie_output' ./libmap.a(mapswf.o)(.text+0x42b3): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x42c4): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x42f0): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x4301): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x432e): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x433f): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x436c): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x437d): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x43dd): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x43ee): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x441b): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x442c): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x4453): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x4464): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x448b): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x449c): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x4637): In function `msSaveImageSWF': : undefined reference to `SWFMovie_setBackground' ./libmap.a(mapswf.o)(.text+0x4664): In function `msSaveImageSWF': : undefined reference to `fileOutputMethod' ./libmap.a(mapswf.o)(.text+0x466a): In function `msSaveImageSWF': : undefined reference to `SWFMovie_output' ./libmap.a(mapswf.o)(.text+0x46c8): In function `msSaveImageSWF': : undefined reference to `compileSWFActionCode' ./libmap.a(mapswf.o)(.text+0x46da): In function `msSaveImageSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x471c): In function `msSaveImageSWF': : undefined reference to `fileOutputMethod' ./libmap.a(mapswf.o)(.text+0x4722): In function `msSaveImageSWF': : undefined reference to `SWFMovie_output' ./libmap.a(mapswf.o)(.text+0x479e): In function `msFreeImageSWF': : undefined reference to `destroySWFMovie' ./libmap.a(mapswf.o)(.text+0x47d6): In function `msFreeImageSWF': : undefined reference to `destroySWFMovie' ./libmap.a(mapswf.o)(.text+0x4949): In function = `msDrawVectorLayerAsRasterSWF': : undefined reference to `SWFMovie_add' ./libmap.a(mapswf.o)(.text+0x1420): In function `AddMouseActions': : undefined reference to `SWFButton_addAction' collect2: ld returned 1 exit status make: *** [shp2img] Error 1 Aaron D. Hunt Technical Manager ZedX Inc. Voice: 814-357-8490 Fax: 814-357-8499 ------=_NextPart_000_0918_01C3A915.C0C68970 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
When I run make with the following = config I get the=20 bellow error
 
./configure --without-tiff=20 --with-proj=3D/home/mapserver/ = --with-gdal=3D/home/mapserver/bin/gdal-config=20 --with-ogr=3D/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient=20 --with-freetype=3D/home/mapserver/ --with-gd=3D/home/mapserver/=20 --with-php=3D/usr/local/src/php-4.3.4/=20 --with-curl-config=3D/home/mapserver/bin/curl-config=20 --with-ming=3D/home/mapserver/
 or=20 --with-ming=3D/home/mapserver/ming-0.2a
 
gcc -O2  -Wall = -DIGNORE_MISSING_DATA =20 -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR = -DUSE_WMS_LYR  =20 -DUSE_MING_FLASH   -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG = -DUSE_GD_WBMP=20 -DUSE_GD_FT   -DUSE_OGR -DUSE_GDAL    =20 -I/home/mapserver//include =20 -I/home/mapserver//include      =20 -I/home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts = -I/home/mapserver/gdal-1.1.9/ogr=20 -I/home/mapserver/gdal-1.1.9/ogr/../port = -I/home/mapserver//include  =20 -I/home/mapserver//include -I/home/mapserver/  shp2img.o  -L. = -lmap=20 -L/home/mapserver//lib -lgd -ljpeg -lfreetype -lpng = -lz    -ljpeg=20 -lfreetype -lpng -lz   -L/home/mapserver//lib -lproj=20 -ljpeg   -L/home/mapserver//lib -lgdal.1.1   =20 -L/home/mapserver//lib -lcurl -L/usr/kerberos/lib -lz -lssl -lcrypto = -ldl -lssl=20 -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz=20 -lz    -lm -lstdc++ =20 /home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts/ogrsf_frmts.a=20 /home/mapserver/gdal-1.1.9/ogr/ogr.a=20 /home/mapserver/gdal-1.1.9/ogr/../port/cpl.a -o=20 shp2img
./libmap.a(mapswf.o)(.text+0x39): In function = `bitmap2shape':
:=20 undefined reference to = `newSWFShape'
./libmap.a(mapswf.o)(.text+0x48): In=20 function `bitmap2shape':
: undefined reference to=20 `newSWFInput_buffer'
./libmap.a(mapswf.o)(.text+0x51): In function=20 `bitmap2shape':
: undefined reference to=20 `newSWFBitmap_fromInput'
./libmap.a(mapswf.o)(.text+0x62): In = function=20 `bitmap2shape':
: undefined reference to=20 `SWFShape_addBitmapFill'
./libmap.a(mapswf.o)(.text+0x6d): In = function=20 `bitmap2shape':
: undefined reference to=20 `SWFShape_setRightFill'
./libmap.a(mapswf.o)(.text+0x81): In function = `bitmap2shape':
: undefined reference to=20 `SWFShape_drawLine'
./libmap.a(mapswf.o)(.text+0x95): In function=20 `bitmap2shape':
: undefined reference to=20 `SWFShape_drawLine'
./libmap.a(mapswf.o)(.text+0xab): In function=20 `bitmap2shape':
: undefined reference to=20 `SWFShape_drawLine'
./libmap.a(mapswf.o)(.text+0xc1): In function=20 `bitmap2shape':
: undefined reference to=20 `SWFShape_drawLine'
./libmap.a(mapswf.o)(.text+0x392): In function=20 `BuildButtonFromGD':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0x3a0): In function=20 `BuildButtonFromGD':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x3c3): In function=20 `BuildEllipseShape':
: undefined reference to=20 `newSWFShape'
./libmap.a(mapswf.o)(.text+0x3f3): In function=20 `BuildEllipseShape':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x419): In function=20 `BuildEllipseShape':
: undefined reference to=20 `SWFShape_addSolidFill'
./libmap.a(mapswf.o)(.text+0x425): In = function=20 `BuildEllipseShape':
: undefined reference to=20 `SWFShape_setRightFill'
./libmap.a(mapswf.o)(.text+0x458): In = function=20 `BuildEllipseShape':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x48d): In function=20 `BuildEllipseShape':
: undefined reference to=20 `SWFShape_drawCurveTo'
./libmap.a(mapswf.o)(.text+0x4b1): In function = `BuildEllipseShape':
: undefined reference to=20 `SWFShape_drawCurveTo'
./libmap.a(mapswf.o)(.text+0x4d4): In function = `BuildEllipseShape':
: undefined reference to=20 `SWFShape_drawCurveTo'
./libmap.a(mapswf.o)(.text+0x4e7): In function = `BuildEllipseShape':
: undefined reference to=20 `SWFShape_drawCurveTo'
./libmap.a(mapswf.o)(.text+0x561): In function = `BuildEllipseButton':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0x56d): In function=20 `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x59d): In function=20 `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x5e0): In function=20 `BuildEllipseButton':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x5e9): In function = `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x615): In function=20 `BuildEllipseButton':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x61e): In function = `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x64a): In function=20 `BuildEllipseButton':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x653): In function = `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x67f): In function=20 `BuildEllipseButton':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x688): In function = `BuildEllipseButton':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x6d8): In function=20 `BuildPolygonShape':
: undefined reference to=20 `newSWFShape'
./libmap.a(mapswf.o)(.text+0x700): In function=20 `BuildPolygonShape':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x726): In function=20 `BuildPolygonShape':
: undefined reference to=20 `SWFShape_addSolidFill'
./libmap.a(mapswf.o)(.text+0x732): In = function=20 `BuildPolygonShape':
: undefined reference to=20 `SWFShape_setRightFill'
./libmap.a(mapswf.o)(.text+0x782): In = function=20 `BuildPolygonShape':
: undefined reference to=20 `SWFShape_drawLineTo'
./libmap.a(mapswf.o)(.text+0x7cd): In function=20 `BuildPolygonShape':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x7fc): In function=20 `BuildShape':
: undefined reference to=20 `newSWFShape'
./libmap.a(mapswf.o)(.text+0x829): In function=20 `BuildShape':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x849): In function=20 `BuildShape':
: undefined reference to=20 `SWFShape_addSolidFill'
./libmap.a(mapswf.o)(.text+0x853): In = function=20 `BuildShape':
: undefined reference to=20 `SWFShape_setRightFill'
./libmap.a(mapswf.o)(.text+0x873): In = function=20 `BuildShape':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x893): In function=20 `BuildShape':
: undefined reference to=20 `SWFShape_drawLineTo'
./libmap.a(mapswf.o)(.text+0x8bb): In function=20 `BuildShape':
: undefined reference to=20 `SWFShape_drawLineTo'
./libmap.a(mapswf.o)(.text+0x8ea): In function=20 `BuildShape':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x908): In function=20 `BuildShapeLine':
: undefined reference to=20 `newSWFShape'
./libmap.a(mapswf.o)(.text+0x939): In function=20 `BuildShapeLine':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x951): In function=20 `BuildShapeLine':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x989): In function=20 `BuildShapeLine':
: undefined reference to=20 `SWFShape_drawLineTo'
./libmap.a(mapswf.o)(.text+0x9b8): In function=20 `BuildShapeLine':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x9d4): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0x9f5): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0xa23): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0xa66): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xa6f): In function = `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xa9b): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xaa4): In function = `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xad0): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xad9): In function = `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xb05): In function=20 `BuildButtonPolygon':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xb0e): In function = `BuildButtonPolygon':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xb4c): In function=20 `BuildButtonLine':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0xb74): In function=20 `BuildButtonLine':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0xb97): In function=20 `BuildButtonLine':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0xbda): In function=20 `BuildButtonLine':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xbe3): In function = `BuildButtonLine':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xc0f): In function=20 `BuildButtonLine':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xc18): In function = `BuildButtonLine':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xc44): In function=20 `BuildButtonLine':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xc4d): In function = `BuildButtonLine':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xc79): In function=20 `BuildButtonLine':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xc82): In function = `BuildButtonLine':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0xd80): In function=20 `msImageCreateSWF':
: undefined reference to=20 `newSWFMovie'
./libmap.a(mapswf.o)(.text+0xd9c): In function=20 `msImageCreateSWF':
: undefined reference to=20 `SWFMovie_setDimension'
./libmap.a(mapswf.o)(.text+0xef2): In = function=20 `msImageStartLayerSWF':
: undefined reference to=20 `newSWFMovie'
./libmap.a(mapswf.o)(.text+0xf25): In function=20 `msImageStartLayerSWF':
: undefined reference to=20 `SWFMovie_setDimension'
./libmap.a(mapswf.o)(.text+0xf9b): In = function=20 `msImageStartLayerSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xfae): In function = `msImageStartLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0xfd1): In function=20 `msImageStartLayerSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0xfe6): In function = `msImageStartLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1019): In function=20 `msImageStartLayerSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x102d): In = function=20 `msImageStartLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1057): In function=20 `msImageStartLayerSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x106f): In = function=20 `msImageStartLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x11fa): In function=20 `msDrawStartShapeSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x1214): In = function=20 `msDrawStartShapeSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1263): In function=20 `msDrawStartShapeSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x127d): In = function=20 `msDrawStartShapeSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1374): In function=20 `AddMouseActions':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x137d): In = function=20 `AddMouseActions':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x13a5): In function = `AddMouseActions':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x13ae): In = function=20 `AddMouseActions':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x13d6): In function = `AddMouseActions':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x13df): In = function=20 `AddMouseActions':
: undefined reference to=20 `SWFButton_addAction'
./libmap.a(mapswf.o)(.text+0x140b): In function = `AddMouseActions':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x180c): In = function=20 `msDrawMarkerSymbolSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1b50): In function=20 `msDrawMarkerSymbolSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1b81): In function=20 `msDrawMarkerSymbolSWF':
: undefined reference to=20 `SWFDisplayItem_moveTo'
./libmap.a(mapswf.o)(.text+0x1d6b): In = function=20 `msDrawMarkerSymbolSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1d82): In function=20 `msDrawMarkerSymbolSWF':
: undefined reference to=20 `SWFDisplayItem_moveTo'
./libmap.a(mapswf.o)(.text+0x2380): In = function=20 `DrawShapePolyline':
: undefined reference to=20 `newSWFShape'
./libmap.a(mapswf.o)(.text+0x23a4): In function=20 `DrawShapePolyline':
: undefined reference to=20 `SWFShape_setLine'
./libmap.a(mapswf.o)(.text+0x23dc): In function=20 `DrawShapePolyline':
: undefined reference to=20 `SWFShape_movePenTo'
./libmap.a(mapswf.o)(.text+0x241e): In function=20 `DrawShapePolyline':
: undefined reference to=20 `SWFShape_drawLineTo'
./libmap.a(mapswf.o)(.text+0x246c): In function = `DrawButtonFilledPolygon':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0x248a): In function=20 `DrawButtonFilledPolygon':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x24b1): In function=20 `DrawButtonFilledPolygon':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x2504): In function=20 `DrawButtonPolyline':
: undefined reference to=20 `newSWFButton'
./libmap.a(mapswf.o)(.text+0x251b): In function=20 `DrawButtonPolyline':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x2535): In function=20 `DrawButtonPolyline':
: undefined reference to=20 `SWFButton_addShape'
./libmap.a(mapswf.o)(.text+0x25b4): In function=20 `DrawText':
: undefined reference to=20 `loadSWFFontFromFile'
./libmap.a(mapswf.o)(.text+0x25ca): In function = `DrawText':
: undefined reference to=20 `newSWFText'
./libmap.a(mapswf.o)(.text+0x25d6): In function = `DrawText':
:=20 undefined reference to = `SWFText_setFont'
./libmap.a(mapswf.o)(.text+0x25ea):=20 In function `DrawText':
: undefined reference to=20 `SWFText_moveTo'
./libmap.a(mapswf.o)(.text+0x2606): In function=20 `DrawText':
: undefined reference to=20 `SWFText_setColor'
./libmap.a(mapswf.o)(.text+0x2619): In function=20 `DrawText':
: undefined reference to=20 `SWFText_setHeight'
./libmap.a(mapswf.o)(.text+0x2627): In function=20 `DrawText':
: undefined reference to=20 `SWFText_addString'
./libmap.a(mapswf.o)(.text+0x2785): In function=20 `msDrawLineSymbolSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x29fa): In function=20 `msDrawShadeSymbolSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x2c7c): In function=20 `draw_textSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x2c98): In function=20 `draw_textSWF':
: undefined reference to=20 `SWFDisplayItem_moveTo'
./libmap.a(mapswf.o)(.text+0x2cb6): In = function=20 `draw_textSWF':
: undefined reference to=20 `SWFDisplayItem_rotate'
./libmap.a(mapswf.o)(.text+0x2e02): In = function=20 `msGetLabelSizeSWF':
: undefined reference to=20 `loadSWFFontFromFile'
./libmap.a(mapswf.o)(.text+0x2e22): In function = `msGetLabelSizeSWF':
: undefined reference to=20 `newSWFText'
./libmap.a(mapswf.o)(.text+0x2e33): In function=20 `msGetLabelSizeSWF':
: undefined reference to=20 `SWFText_setFont'
./libmap.a(mapswf.o)(.text+0x2e3e): In function=20 `msGetLabelSizeSWF':
: undefined reference to=20 `SWFText_getStringWidth'
./libmap.a(mapswf.o)(.text+0x3e74): In = function=20 `msDrawLabelCacheSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x403e): In function=20 `msDrawWMSLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x417e): In function=20 `msDrawRasterLayerSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x425a): In function=20 `msSaveImageSWF':
: undefined reference to=20 `fileOutputMethod'
./libmap.a(mapswf.o)(.text+0x4260): In function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_output'
./libmap.a(mapswf.o)(.text+0x42b3): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x42c4): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x42f0): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x4301): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x432e): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x433f): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x436c): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x437d): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x43dd): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x43ee): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x441b): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x442c): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x4453): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x4464): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x448b): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x449c): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x4637): In function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_setBackground'
./libmap.a(mapswf.o)(.text+0x4664): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `fileOutputMethod'
./libmap.a(mapswf.o)(.text+0x466a): In function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_output'
./libmap.a(mapswf.o)(.text+0x46c8): In function=20 `msSaveImageSWF':
: undefined reference to=20 `compileSWFActionCode'
./libmap.a(mapswf.o)(.text+0x46da): In = function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x471c): In function=20 `msSaveImageSWF':
: undefined reference to=20 `fileOutputMethod'
./libmap.a(mapswf.o)(.text+0x4722): In function=20 `msSaveImageSWF':
: undefined reference to=20 `SWFMovie_output'
./libmap.a(mapswf.o)(.text+0x479e): In function=20 `msFreeImageSWF':
: undefined reference to=20 `destroySWFMovie'
./libmap.a(mapswf.o)(.text+0x47d6): In function=20 `msFreeImageSWF':
: undefined reference to=20 `destroySWFMovie'
./libmap.a(mapswf.o)(.text+0x4949): In function=20 `msDrawVectorLayerAsRasterSWF':
: undefined reference to=20 `SWFMovie_add'
./libmap.a(mapswf.o)(.text+0x1420): In function=20 `AddMouseActions':
: undefined reference to=20 `SWFButton_addAction'
collect2: ld returned 1 exit status
make: = ***=20 [shp2img] Error 1
 
Aaron D. Hunt
Technical = Manager
ZedX=20 Inc.
Voice: 814-357-8490
Fax:   =20 814-357-8499
------=_NextPart_000_0918_01C3A915.C0C68970-- From rodrigotripodi at bol.com.br Wed Nov 12 09:47:43 2003 From: rodrigotripodi at bol.com.br (Rodrigo Zanato Tripodi) Date: Wed, 12 Nov 2003 15:47:43 -0200 Subject: [Mapserver-users] Shape problems References: <3FB22883.2030400@inf.univali.br> Message-ID: <00a101c3a945$1e535080$0b00100a@gt11rodrigo> Hi Fernando, Whatzup? Maybe you found a bug at php mapscript. file: mapscript_i.c function: lineObj_add code: self->point[self->numpoints].x = p->x; self->point[self->numpoints].y = p->y; self->point[self->numpoints].m = p->m; self->numpoints++; With this, the last point is equal to the first. Right? It need to be disabled at MS_SHAPE_LINE? []'s Rodrigo Zanato Tripodi ----- Original Message ----- From: "Fernando S." To: Sent: Wednesday, November 12, 2003 10:33 AM Subject: [Mapserver-users] Shape problems > Dear list, > > I'm having difficulty to create line type shapefiles, the problems is > the Mapserver closing the shape. > The script closes the line, the first point with the last point of > line. How can I fix this? > I'm using this code to generate the shape: > > set_time_limit(0); > include_once( "dual/oci.inc" ); > > dl( 'php_mapscript.so' ); > > ociConectar(); //database conection > > function createShape($programId, $pname ) > { > GLOBAL $shpFile,$dbfFile; > > $query = "select x.* from hidrografia_sc h, table (SELECT > h.COORDENADA.SDO_ORDINATES FROM hidrografia_sc h WHERE h.codigo_ott = > 83851000) x"; //query > > ociExecutar($query); //execute query > > $oShp = ms_newShapeObj(MS_SHAPE_LINE); > $oLine = ms_newLineObj(); > > while (list($x) = ociTupla()) > { > list($y) = ociTupla(); > $point = ms_newPointObj(); > $point->setXY( $x, $y ); > $oLine->add($point); > } > > $oShp->add($oLine); > $shpFile->addShape($oShp); > > dbase_add_record($dbfFile, array($programId, $pname )); > > } > > $shpFname = "/home/apache/htdocs/tmp/pol"; > $shpFile = ms_newShapeFileObj( $shpFname, MS_SHP_ARC); > $dbfFile = > dbase_create($shpFname.".dbf",array(array("ID","N",5,0),array("NAME","C",10) )); > > createShape(1,"River"); > > echo "Shapes Created.
"; > > $shpFile->free(); > echo "Shape File ($shpFname) closed.
"; > > dbase_close($dbfFile); > echo "Dbase file closed.
"; > > ociEncerrar(); //close connection > ociDesconectar(); > ?> > > > > Fernando Simon > simon at cttmar.univali.br > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From kgeurts at gis.umn.edu Wed Nov 12 10:07:03 2003 From: kgeurts at gis.umn.edu (Kari Geurts) Date: Wed, 12 Nov 2003 12:07:03 CST Subject: [Mapserver-users] Mapfile in WMS Message-ID: <200311121807.hACI73jr002361@challenge.software.umn.edu> Daniel and MapServer Users, The updates for the WMS HOWTO documentation are now done for both the 4.0 and development versions. I missed putting the html version in the development directory, oops. As for the automated process, we are at the final implementation stage. I believe it will be up and running by the end of the week. Thanks, Kari A. Geurts MDP Coordinator Department of Forest Resources University of Minnesota 115 Green Hall 1530 Cleveland Ave. N. St. Paul, MN 55108-6112 Phone: 612-624-3459 Email: kgeurts at gis.umn.edu > Kari Geurts wrote: > > Hello MapServer Users, > > > > I have updated the WMS HOWTO documentation on the website to reflect the > > comments below. Thanks for your commitment to MapServer and the ongoing > > process of documentation. It is very helpful to have users inform us of > > problems and issues in the documentation. > > > > I committed my changes to the wms-server-howto.xml in CVS in both the > main trunk (version 4.1) and the branch-4-0 (version 4.0). > > When I check on the UMN site both versions don't seem to be updated. > The URLs I check are: > > The 4.1 version > http://mapserver.gis.umn.edu/doc/wms-server-howto.html > > The 4.0 version: > http://mapserver.gis.umn.edu/doc40/wms-server-howto.html > > BTW, I thought there was an automated process to update the docs from > CVS. Can you please update us on the status of that? > > Thanks > > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > From jychoi at ecn.purdue.edu Wed Nov 12 12:15:34 2003 From: jychoi at ecn.purdue.edu (Jin-Yong Choi) Date: Wed, 12 Nov 2003 15:15:34 -0500 Subject: [Mapserver-users] Mapserver error wirh SDE 8.3 library Message-ID: <3FB294E6.1030201@ecn.purdue.edu> --------------070002090704050901060706 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit While compiling mapserver-4.0.1 with sde library, I met the error and failed to compile like this, /home/pasture/u/watergen/public-web/ms401t0/mapserver-4.0.1/../solaris/sdeexe83/lib/libsde83.so: undefined reference to 'clock_gettime' /home/pasture/u/watergen/public-web/ms401t0/mapserver-4.0.1/../solaris/sdeexe83/lib/libsde83.so: undefined reference to 'clock_getres' colletct2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target 'shp2img' Please tell me how to solve this problem. I am always thinking there is no better GIS engine than MapServer and really appreciate your efforts and make it real for free. Thanks. -- =========================== Jin-Yong Choi, Ph. D. :-) Environmental DSS Scientist Agr. & Bio. Engineering, Purdue University Tel. 765-494-1196 Fax. 765-496-1115 http://pasture.ecn.purdue.edu/~watergen --------------070002090704050901060706 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit While compiling mapserver-4.0.1 with sde library, I met the error  and failed to compile like this,

/home/pasture/u/watergen/public-web/ms401t0/mapserver-4.0.1/../solaris/sdeexe83/lib/libsde83.so: undefined reference to 'clock_gettime'
/home/pasture/u/watergen/public-web/ms401t0/mapserver-4.0.1/../solaris/sdeexe83/lib/libsde83.so: undefined reference to 'clock_getres'
colletct2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target 'shp2img'

Please tell me how to solve this problem.
I am always thinking there is no better GIS engine than MapServer and really appreciate your efforts and make it real for free.
Thanks.

--
===========================
Jin-Yong Choi, Ph. D. :-)
Environmental DSS Scientist
Agr. & Bio. Engineering, Purdue University
Tel. 765-494-1196
Fax. 765-496-1115
http://pasture.ecn.purdue.edu/~watergen
--------------070002090704050901060706-- From lfilak at medinaco.org Wed Nov 12 12:51:03 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Wed, 12 Nov 2003 15:51:03 -0500 Subject: [Mapserver-users] makeref.pl Message-ID: <20031112205055.A1D1A1A6599@mail.medinaco.org> Try mapscript::MS_PNG in place of mapscript::MS_PNG=PNG if that doesn't fix it there is another problem besides syntax. Lowell The following message was sent by Rick Buckley on Tue, 11 Nov 2003 14:27:07 +0000. > Hi, > > Having recently downloaded MapServer, I am a bit of a novice, so please > bear with me. > > I have successfully set up the itacsa demo application, ( which is very > useful ). > > All is fine except that when I try and use the makeref.pl script, I get > allsorts of errors, many of which I have worked round ( hopefully > successfully ). > > The error I am now having trouble with is:- > > > Can't modify constant item in local at makeref.pl line 47, near > "mapscript::MS_PNG=" > > Line 47 of the file looks like > > #Usage: msSaveImage(img,filename,type,transparent,interlace,quality) > mapscript::msSaveImage($img, 'reference.png', mapscript::MS_PNG=PNG, 1, 1); > > I suspect I map have the "type" syntax incorrect, however, this is as > the syntax appears in the doccumentation. > > I have tried various different syntaxs on this line, but cannot get > through the problem. > > My environemnt of use is:- > > RedHat Linux 8.0 > > > Could anyone offer any advise please. > > > Kind Regards > > Rick Buckley > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From murilo.yoshida at agx.com.br Wed Nov 12 13:16:45 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Wed, 12 Nov 2003 19:16:45 -0200 Subject: [Mapserver-users] Template Question Message-ID: <000201c3a962$46c60ea0$1364a8c0@parapente> This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C3A951.833D3EA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, How is the syntax to access a value in the layer's metadata from the legend template? How should I write a tag to do this? Thanks, Murilo ------=_NextPart_000_0003_01C3A951.833D3EA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

  Hi = all,

  How is the syntax to access a = value in the layer’s metadata from the legend template?

  How should I write a tag to do = this?

  = Thanks,

     = Murilo

------=_NextPart_000_0003_01C3A951.833D3EA0-- From morissette at dmsolutions.ca Wed Nov 12 13:23:53 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 12 Nov 2003 16:23:53 -0500 Subject: AW: AW: [Mapserver-users] PHP/Mapscript - Mapserver 4.0 - $oLayer->queryByAttributes() In-Reply-To: References: Message-ID: <3FB2A4E9.1040706@dmsolutions.ca> Alexander Gabriel wrote: > > [code] > $query = '([GEMARKUNG] = 7725 AND [FLUR] = 0 AND \'[FLSTNR]\' = \'3000\')'; > @$myLayer->queryByAttributes("ANYVALIDITEMINTHESHAPE", $query, MS_MULTIPLE); > [/code] > > works. > But is that really the way it should be? > I'd say, this is just a workaround but i don't know C and cannot say, if it > is intent to give the method any dummy-values if they aren't needed. > Thanks for the report. I filed this in bugzilla so that we don't forget to check and fix that: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=480 Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Wed Nov 12 13:53:01 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 12 Nov 2003 16:53:01 -0500 Subject: [Mapserver-users] Cascading WMS Problem In-Reply-To: <3FB28D2F.14286.2368610@localhost> References: <3FB105D5.2563.173C9C1@localhost> <3FB28D2F.14286.2368610@localhost> Message-ID: <3FB2ABBD.1000001@dmsolutions.ca> andreas.mueller at bfua.de wrote: > Hi Daniel, > > after talking to one of the admins of the "Geoserver (c)" we could solve our problem. He > recommended me to talk to one Norbert Schauerte who has had the same problem that > we have. During our talk and after checking the mailing list I found out that YOU had > already solved the problem! > > The "Geoserver(c)" expects the HTTP User Agent to be "MSIE..." or "Mozilla...". > > You wrote: > >>I find it really odd that a WMS server would cehck the user agents >>before responding to client requests, but anyway, there is apparently a >>way to control the user agent value with Libcurl. If you can build from >>source, then you could add the following line to maphttp.c around line >>339, just after the line that sets CURLOPT_URL: >> >> curl_easy_setopt(http_handle, CURLOPT_USERAGENT, "whatever you want"); >> >>Daniel > > Thanks for the update. I should have thought that it was the same issue but I didn't make the link... Duh! Let's hope they fix their server soon, in the meantime I have marked the bug as WONTFIX. I'll CC this to the list in case anyone runs into the same thing. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From stephen.clark at focus.ca Wed Nov 12 16:54:43 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Wed, 12 Nov 2003 16:54:43 -0800 Subject: [Mapserver-users] help with http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.esrimap wms server and php mapscript questions References: Message-ID: <017501c3a980$b9d296c0$6c000a0a@sclark> Tyler, My app will retrieve wms images up to and including 1000x1000. Above that I get an error of which is posted far below. I can now get the wms layers to generate to pdf correctly. thanks Stephen ----- Original Message ----- From: "Tyler Mitchell" To: "Stephen Clark" Sent: Wednesday, November 12, 2003 3:06 PM Subject: Re: [Mapserver-users] help with http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.esrimap wms server and php mapscript questions > > > > > > Now I'm reading your earlier message :) I haven't used mapscript at all. > Does your app get the image if you aren't outputting to pdf? > > "Stephen Clark" wrote on 11/12/2003 01:50:32 PM: > > > Tyler, > > > > I am trying to produce some sample pdf files using this wms server as a > > raster backdrop. > > > > Currently I can not get the raster layer to be retrieved from this server > > for use as a transparent png file. > > > > Have you had any luck with generating pdf files using php mapscript and > > using this wms server? > > > > > > > > Stephen > > > > > > ----- Original Message ----- > > From: "Tyler Mitchell" > > To: "Stephen Clark" > > Sent: Wednesday, November 12, 2003 8:58 AM > > Subject: Re: [Mapserver-users] help with > > http://slkapps2.env.gov.bc.ca:80/servlet/com.esri.wms.esrimap wms server > and > > php mapscript questions > > > > > > > > > > > > > > > > > > > > > > I don't know if this is an issue for you, but I repeatedly crapped out > > this > > > WMS connection when requesting larger images (I think >2048x2048). It > > > appeared to me to be a timeout issue, but really wasn't - it was the > WMS > > > server telling me to take a hike. Unfortunately these limitations are > not > > > advertised by the WMS server. > > > > > > I'm interested in what you are using the service for and what kind of > > > response times you are getting. > > > > > > Tyler > > > > > > mapserver-users-admin at lists.gis.umn.edu wrote on 11/12/2003 09:04:19 > AM: > > > > > > > Hi all, > > > > > > > > I have been trying to render the raster that is returned from this > > > > wms server to a PDF file. > > > > > > > > Here is my layer: > > > > > > > > ### WMS BC GOV -- Trim Orthophotomosaic -- > > > > LAYER > > > > NAME trimphoto > > > > TYPE RASTER > > > > STATUS ON > > > > CONNECTIONTYPE WMS > > > > CONNECTION "http://slkapps2.env.gov.bc.ca:80/servlet/com.esri. > > > > wms.Esrimap?WMTVER=1.0.0&ServiceName=wms26910&LAYERS=TRIM% > > > > 20Orthomosaic&FORMAT=PNG&TRANSPARENT=TRUE" > > > > METADATA > > > > WMS_SRS "EPSG:26910" > > > > WMS_TITLE "TRIM photo" > > > > "wms_connectiontimeout" "60" > > > > > > > > END > > > > END > > > > > > > > > > > > In my php mapscript file I use the following code to render the WMS > > > > layer as an image to then add to my PDF file. > > > > > > > > // set all layers to off > > > > for ($counter = 0; $counter < $number_of_layers_in_mapfile ; > $counter++) > > > > { > > > > $layer = $map->getLayer($counter); > > > > $layer->set(status, 0); > > > > } > > > > > > > > > > > > // set only the selected layers to be on > > > > for ($counter = 0; $counter < $size_of_listarray; $counter++) > > > > { > > > > // get layer > > > > $layer = $map->getLayerbyName($listarray[$counter]); > > > > $layer->set(status, 1); > > > > } > > > > > > > > > > > > // render the image to png > > > > print "rendering image ...
\n"; > > > > $image=$map->draw(); > > > > print "finished rendering image ...
\n"; > > > > $image_url=$image->saveWebImage(); > > > > > > > > > > > > Errors from my pdf generator function: > > > > > > > > rendering image ... > > > > > > > > Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named > > > > 'trimphoto'. in C:\Program Files\Apache > > > > Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line 180 > > > > > > > > Warning: [MapServer Error]: msDrawRaster(): Unrecognized or > > > > unsupported image format in C:\Program Files\Apache > > > > Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on line 180 > > > > > > > > Warning: [MapServer Error]: drawEPP(): EPPL7 support is not > available. > > in > > > > > > > C:\Program Files\Apache > > > Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php > > > > on line 180 > > > > finished rendering image ... > > > > > > > > Fatal error: Call to a member function on a non-object in C:\Program > > > > Files\Apache Group\Apache2\htdocs\nebcdemo-11_make_quick_pdf02.php on > > > line 182 > > > > > > > > > > > > > > > > Questions: > > > > > > > > 1. If the time required to get the PNG image from the wms server is > > > > fairly long, will that create the error I posted. > > > > > > > > 2. Is there another set of functions to process WMS layers and add > > > > them to the resulting PNG file? > > > > > > > > > > > > thanks for you time > > > > Stephen > > > > > > > > > > From doug at moximedia.com Wed Nov 12 20:45:02 2003 From: doug at moximedia.com (Doug Cates) Date: 12 Nov 2003 20:45:02 -0800 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map Message-ID: <1068698702.4094.194.camel@moxi-rh9> Hi, I've created a site that shows MapServer users: See it at: http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users I've heard people asking for this type of thing a few times, and decided to whip up a site for MapServer users, developers and installations to self register. Count yourself in. I'll add some better map data and query tools later on and post the URLs to the WMS and WFS services once more data is added. Best regards, Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug at moximedia.com Web: www.moximedia.com From ASeifert at schwerin.de Wed Nov 12 22:47:44 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Thu, 13 Nov 2003 07:47:44 +0100 Subject: [Mapserver-users] cc problem Message-ID: Hi folks, Mapserver 4.0 IRIX 6.5 If I try to make, then the following error message appears: cc-1005 cc: ERROR File = map.h, Line = 9 The source file "stdio.h" is unavailable. #include ^ 1 catastrophic error detected in the compilation of "maptemplate.c". Compilation terminated. I don't know where I can found the cause. What must I do? Andre from germany (I apologize for my lousy English.) Mail scanned by virusscanner, Patternfile from 11 Nov 2003 From youssefchamoun at hotmail.com Wed Nov 12 23:38:09 2003 From: youssefchamoun at hotmail.com (youssef chamoun) Date: Thu, 13 Nov 2003 08:38:09 +0100 Subject: [Mapserver-users] PROJ 4 Message-ID: Hello, the problem is solved, rebuilding PROJ4 gave me the idea. I rebuilt using --prefix after putting proj4 folder in the same directory structure as the web server. And then I called make on mapserver again. Thank you for your help. >From: Frank Warmerdam >To: youssef chamoun >CC: mapserver-users at lists.gis.umn.edu >Subject: Re: [Mapserver-users] PROJ 4 >Date: Wed, 12 Nov 2003 09:44:33 -0500 > >youssef chamoun wrote: >>Hello, >> >> >> >>I am installing Mapserver on an Apache webserver, and I don't have access >>to the httpd.conf to set the PROJ_LIB environment variable, so I am >>getting the error: msProcessProjection(): no system list, errno: 2. Is >>their another solution? >> >> >> >>Can I compile mapserv in order to find directly the espg file? >> >> >> >>I tried setting PROJ_LIB in .htaccess but no luck either. > >Youssef, > >If you can rebuild PROJ.4, you can hardcode in the location. The >PROJ_LIB macro should be used for this. Ideally at some point I would >like to see some config controls like this and the GDAL_DATA directory >location be settable from in the .map file ... but not today. > >Best regards, > >-- >---------------------------------------+-------------------------------------- >I set the clouds in motion - turn up | Frank Warmerdam, >warmerdam at pobox.com >light and sound - activate the windows | http://pobox.com/~warmerdam >and watch the world go round - Rush | Geospatial Programmer for Rent > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From schut at sarvision.com Thu Nov 13 03:10:07 2003 From: schut at sarvision.com (Vincent Schut) Date: Thu, 13 Nov 2003 12:10:07 +0100 Subject: [Mapserver-users] ming and mapsever 4.0.1 compile error In-Reply-To: <091b01c3a93f$a9b98f50$1805000a@helicity> (from hunt@zedxinc.com on Wed, Nov 12, 2003 at 18:08:58 +0100) References: <091b01c3a93f$a9b98f50$1805000a@helicity> Message-ID: <20031113111007.GC21328@lowresbox.lan> Aaron, Your problem is that mapserver is not linking with the ming library (there is no '-lming' in the gcc line). What happens if you just specify '--with-ming' instead of '--with-ming=somedir' (after doing a make distclean)? Cheers, Vincent. On 2003.11.12 18:08, Aaron D. Hunt wrote: > When I run make with the following config I get the bellow error > > ./configure --without-tiff --with-proj=/home/mapserver/ > --with-gdal=/home/mapserver/bin/gdal-config > --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient > --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ > --with-php=/usr/local/src/php-4.3.4/ > --with-curl-config=/home/mapserver/bin/curl-config > --with-ming=/home/mapserver/ > or --with-ming=/home/mapserver/ming-0.2a > > gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ > -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_MING_FLASH > -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT > -DUSE_OGR -DUSE_GDAL -I/home/mapserver//include > -I/home/mapserver//include -I/home/mapserver/gdal-1.1.9/ogr/ > ogrsf_frmts > -I/home/mapserver/gdal-1.1.9/ogr -I/home/mapserver/gdal-1.1.9/ogr/../ > port > -I/home/mapserver//include -I/home/mapserver//include > -I/home/mapserver/ shp2img.o -L. -lmap -L/home/mapserver//lib -lgd > -ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng -lz > -L/home/mapserver//lib -lproj -ljpeg -L/home/mapserver//lib > -lgdal.1.1 -L/home/mapserver//lib -lcurl -L/usr/kerberos/lib -lz > -lssl -lcrypto -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err > -lk5crypto -lresolv -ldl -lz -lz -lm -lstdc++ > /home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts/ogrsf_frmts.a > /home/mapserver/gdal-1.1.9/ogr/ogr.a > /home/mapserver/gdal-1.1.9/ogr/../port/cpl.a -o shp2img > ./libmap.a(mapswf.o)(.text+0x39): In function `bitmap2shape': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x48): In function `bitmap2shape': > : undefined reference to `newSWFInput_buffer' > ./libmap.a(mapswf.o)(.text+0x51): In function `bitmap2shape': > : undefined reference to `newSWFBitmap_fromInput' > ./libmap.a(mapswf.o)(.text+0x62): In function `bitmap2shape': > : undefined reference to `SWFShape_addBitmapFill' > ./libmap.a(mapswf.o)(.text+0x6d): In function `bitmap2shape': > : undefined reference to `SWFShape_setRightFill' > ./libmap.a(mapswf.o)(.text+0x81): In function `bitmap2shape': > : undefined reference to `SWFShape_drawLine' > ./libmap.a(mapswf.o)(.text+0x95): In function `bitmap2shape': > : undefined reference to `SWFShape_drawLine' > ./libmap.a(mapswf.o)(.text+0xab): In function `bitmap2shape': > : undefined reference to `SWFShape_drawLine' > ./libmap.a(mapswf.o)(.text+0xc1): In function `bitmap2shape': > : undefined reference to `SWFShape_drawLine' > ./libmap.a(mapswf.o)(.text+0x392): In function `BuildButtonFromGD': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0x3a0): In function `BuildButtonFromGD': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x3c3): In function `BuildEllipseShape': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x3f3): In function `BuildEllipseShape': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x419): In function `BuildEllipseShape': > : undefined reference to `SWFShape_addSolidFill' > ./libmap.a(mapswf.o)(.text+0x425): In function `BuildEllipseShape': > : undefined reference to `SWFShape_setRightFill' > ./libmap.a(mapswf.o)(.text+0x458): In function `BuildEllipseShape': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x48d): In function `BuildEllipseShape': > : undefined reference to `SWFShape_drawCurveTo' > ./libmap.a(mapswf.o)(.text+0x4b1): In function `BuildEllipseShape': > : undefined reference to `SWFShape_drawCurveTo' > ./libmap.a(mapswf.o)(.text+0x4d4): In function `BuildEllipseShape': > : undefined reference to `SWFShape_drawCurveTo' > ./libmap.a(mapswf.o)(.text+0x4e7): In function `BuildEllipseShape': > : undefined reference to `SWFShape_drawCurveTo' > ./libmap.a(mapswf.o)(.text+0x561): In function `BuildEllipseButton': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0x56d): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x59d): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x5e0): In function `BuildEllipseButton': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x5e9): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x615): In function `BuildEllipseButton': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x61e): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x64a): In function `BuildEllipseButton': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x653): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x67f): In function `BuildEllipseButton': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x688): In function `BuildEllipseButton': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x6d8): In function `BuildPolygonShape': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x700): In function `BuildPolygonShape': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x726): In function `BuildPolygonShape': > : undefined reference to `SWFShape_addSolidFill' > ./libmap.a(mapswf.o)(.text+0x732): In function `BuildPolygonShape': > : undefined reference to `SWFShape_setRightFill' > ./libmap.a(mapswf.o)(.text+0x782): In function `BuildPolygonShape': > : undefined reference to `SWFShape_drawLineTo' > ./libmap.a(mapswf.o)(.text+0x7cd): In function `BuildPolygonShape': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x7fc): In function `BuildShape': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x829): In function `BuildShape': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x849): In function `BuildShape': > : undefined reference to `SWFShape_addSolidFill' > ./libmap.a(mapswf.o)(.text+0x853): In function `BuildShape': > : undefined reference to `SWFShape_setRightFill' > ./libmap.a(mapswf.o)(.text+0x873): In function `BuildShape': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x893): In function `BuildShape': > : undefined reference to `SWFShape_drawLineTo' > ./libmap.a(mapswf.o)(.text+0x8bb): In function `BuildShape': > : undefined reference to `SWFShape_drawLineTo' > ./libmap.a(mapswf.o)(.text+0x8ea): In function `BuildShape': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x908): In function `BuildShapeLine': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x939): In function `BuildShapeLine': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x951): In function `BuildShapeLine': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x989): In function `BuildShapeLine': > : undefined reference to `SWFShape_drawLineTo' > ./libmap.a(mapswf.o)(.text+0x9b8): In function `BuildShapeLine': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x9d4): In function `BuildButtonPolygon': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0x9f5): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0xa23): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0xa66): In function `BuildButtonPolygon': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xa6f): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xa9b): In function `BuildButtonPolygon': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xaa4): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xad0): In function `BuildButtonPolygon': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xad9): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xb05): In function `BuildButtonPolygon': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xb0e): In function `BuildButtonPolygon': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xb4c): In function `BuildButtonLine': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0xb74): In function `BuildButtonLine': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0xb97): In function `BuildButtonLine': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0xbda): In function `BuildButtonLine': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xbe3): In function `BuildButtonLine': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xc0f): In function `BuildButtonLine': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xc18): In function `BuildButtonLine': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xc44): In function `BuildButtonLine': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xc4d): In function `BuildButtonLine': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xc79): In function `BuildButtonLine': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xc82): In function `BuildButtonLine': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0xd80): In function `msImageCreateSWF': > : undefined reference to `newSWFMovie' > ./libmap.a(mapswf.o)(.text+0xd9c): In function `msImageCreateSWF': > : undefined reference to `SWFMovie_setDimension' > ./libmap.a(mapswf.o)(.text+0xef2): In function > `msImageStartLayerSWF': > : undefined reference to `newSWFMovie' > ./libmap.a(mapswf.o)(.text+0xf25): In function > `msImageStartLayerSWF': > : undefined reference to `SWFMovie_setDimension' > ./libmap.a(mapswf.o)(.text+0xf9b): In function > `msImageStartLayerSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xfae): In function > `msImageStartLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0xfd1): In function > `msImageStartLayerSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0xfe6): In function > `msImageStartLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1019): In function > `msImageStartLayerSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x102d): In function > `msImageStartLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1057): In function > `msImageStartLayerSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x106f): In function > `msImageStartLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x11fa): In function > `msDrawStartShapeSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x1214): In function > `msDrawStartShapeSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1263): In function > `msDrawStartShapeSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x127d): In function > `msDrawStartShapeSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1374): In function `AddMouseActions': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x137d): In function `AddMouseActions': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x13a5): In function `AddMouseActions': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x13ae): In function `AddMouseActions': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x13d6): In function `AddMouseActions': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x13df): In function `AddMouseActions': > : undefined reference to `SWFButton_addAction' > ./libmap.a(mapswf.o)(.text+0x140b): In function `AddMouseActions': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x180c): In function > `msDrawMarkerSymbolSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1b50): In function > `msDrawMarkerSymbolSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1b81): In function > `msDrawMarkerSymbolSWF': > : undefined reference to `SWFDisplayItem_moveTo' > ./libmap.a(mapswf.o)(.text+0x1d6b): In function > `msDrawMarkerSymbolSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1d82): In function > `msDrawMarkerSymbolSWF': > : undefined reference to `SWFDisplayItem_moveTo' > ./libmap.a(mapswf.o)(.text+0x2380): In function `DrawShapePolyline': > : undefined reference to `newSWFShape' > ./libmap.a(mapswf.o)(.text+0x23a4): In function `DrawShapePolyline': > : undefined reference to `SWFShape_setLine' > ./libmap.a(mapswf.o)(.text+0x23dc): In function `DrawShapePolyline': > : undefined reference to `SWFShape_movePenTo' > ./libmap.a(mapswf.o)(.text+0x241e): In function `DrawShapePolyline': > : undefined reference to `SWFShape_drawLineTo' > ./libmap.a(mapswf.o)(.text+0x246c): In function > `DrawButtonFilledPolygon': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0x248a): In function > `DrawButtonFilledPolygon': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x24b1): In function > `DrawButtonFilledPolygon': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x2504): In function `DrawButtonPolyline': > : undefined reference to `newSWFButton' > ./libmap.a(mapswf.o)(.text+0x251b): In function `DrawButtonPolyline': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x2535): In function `DrawButtonPolyline': > : undefined reference to `SWFButton_addShape' > ./libmap.a(mapswf.o)(.text+0x25b4): In function `DrawText': > : undefined reference to `loadSWFFontFromFile' > ./libmap.a(mapswf.o)(.text+0x25ca): In function `DrawText': > : undefined reference to `newSWFText' > ./libmap.a(mapswf.o)(.text+0x25d6): In function `DrawText': > : undefined reference to `SWFText_setFont' > ./libmap.a(mapswf.o)(.text+0x25ea): In function `DrawText': > : undefined reference to `SWFText_moveTo' > ./libmap.a(mapswf.o)(.text+0x2606): In function `DrawText': > : undefined reference to `SWFText_setColor' > ./libmap.a(mapswf.o)(.text+0x2619): In function `DrawText': > : undefined reference to `SWFText_setHeight' > ./libmap.a(mapswf.o)(.text+0x2627): In function `DrawText': > : undefined reference to `SWFText_addString' > ./libmap.a(mapswf.o)(.text+0x2785): In function > `msDrawLineSymbolSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x29fa): In function > `msDrawShadeSymbolSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x2c7c): In function `draw_textSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x2c98): In function `draw_textSWF': > : undefined reference to `SWFDisplayItem_moveTo' > ./libmap.a(mapswf.o)(.text+0x2cb6): In function `draw_textSWF': > : undefined reference to `SWFDisplayItem_rotate' > ./libmap.a(mapswf.o)(.text+0x2e02): In function `msGetLabelSizeSWF': > : undefined reference to `loadSWFFontFromFile' > ./libmap.a(mapswf.o)(.text+0x2e22): In function `msGetLabelSizeSWF': > : undefined reference to `newSWFText' > ./libmap.a(mapswf.o)(.text+0x2e33): In function `msGetLabelSizeSWF': > : undefined reference to `SWFText_setFont' > ./libmap.a(mapswf.o)(.text+0x2e3e): In function `msGetLabelSizeSWF': > : undefined reference to `SWFText_getStringWidth' > ./libmap.a(mapswf.o)(.text+0x3e74): In function > `msDrawLabelCacheSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x403e): In function `msDrawWMSLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x417e): In function > `msDrawRasterLayerSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x425a): In function `msSaveImageSWF': > : undefined reference to `fileOutputMethod' > ./libmap.a(mapswf.o)(.text+0x4260): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_output' > ./libmap.a(mapswf.o)(.text+0x42b3): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x42c4): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x42f0): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x4301): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x432e): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x433f): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x436c): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x437d): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x43dd): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x43ee): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x441b): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x442c): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x4453): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x4464): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x448b): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x449c): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x4637): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_setBackground' > ./libmap.a(mapswf.o)(.text+0x4664): In function `msSaveImageSWF': > : undefined reference to `fileOutputMethod' > ./libmap.a(mapswf.o)(.text+0x466a): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_output' > ./libmap.a(mapswf.o)(.text+0x46c8): In function `msSaveImageSWF': > : undefined reference to `compileSWFActionCode' > ./libmap.a(mapswf.o)(.text+0x46da): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x471c): In function `msSaveImageSWF': > : undefined reference to `fileOutputMethod' > ./libmap.a(mapswf.o)(.text+0x4722): In function `msSaveImageSWF': > : undefined reference to `SWFMovie_output' > ./libmap.a(mapswf.o)(.text+0x479e): In function `msFreeImageSWF': > : undefined reference to `destroySWFMovie' > ./libmap.a(mapswf.o)(.text+0x47d6): In function `msFreeImageSWF': > : undefined reference to `destroySWFMovie' > ./libmap.a(mapswf.o)(.text+0x4949): In function > `msDrawVectorLayerAsRasterSWF': > : undefined reference to `SWFMovie_add' > ./libmap.a(mapswf.o)(.text+0x1420): In function `AddMouseActions': > : undefined reference to `SWFButton_addAction' > collect2: ld returned 1 exit status > make: *** [shp2img] Error 1 > > > Aaron D. Hunt > Technical Manager > ZedX Inc. > Voice: 814-357-8490 > Fax: 814-357-8499 From yvain.ballini at seat.it Thu Nov 13 05:24:22 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Thu, 13 Nov 2003 14:24:22 +0100 Subject: [Mapserver-users] truetype support on gd References: <091b01c3a93f$a9b98f50$1805000a@helicity> <20031113111007.GC21328@lowresbox.lan> Message-ID: <018601c3a9e9$73a345a0$a559af0a@seat.it> Hello List, I would like to know if there is some fix to problem that many users have met with the truetype font. I have compiled the work on XP with Visual C 7 using mapserver 4.0 GD 2.0.15 FreeType 2.2.5 and at the execution I get the following error: msGetLabelSize(): TrueType Font error. libgd was not built with FreeType font support because mapserver is looking for the truetype font in gd.lib while it should do it directly in freetype.lib (which was obtained with the workspace freetype.dsp). Has someone a version of gd which includes directly the truetype support for Windows? Thank you very much. Yvain.. From eric at gomoos.org Thu Nov 13 01:44:00 2003 From: eric at gomoos.org (Eric Bridger) Date: 13 Nov 2003 09:44:00 +0000 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map In-Reply-To: <1068698702.4094.194.camel@moxi-rh9> References: <1068698702.4094.194.camel@moxi-rh9> Message-ID: <1068716646.1522.1.camel@ubet.gomoos.org> Very, very nice! On Thu, 2003-11-13 at 04:45, Doug Cates wrote: > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and decided > to whip up a site for MapServer users, developers and installations to > self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the URLs > to the WMS and WFS services once more data is added. > > Best regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug at moximedia.com > Web: www.moximedia.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From pierre.giraud3 at free.fr Thu Nov 13 08:07:48 2003 From: pierre.giraud3 at free.fr (Pierre GIRAUD) Date: Thu, 13 Nov 2003 17:07:48 +0100 Subject: [Mapserver-users] Outputformat swf FormatOption Single Message-ID: <00d101c3aa00$48418040$eb00a8c0@crarhonealpes.fr> This is a multi-part message in MIME format. ------=_NextPart_000_00CE_01C3AA08.A9E763C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to run mapserver 4.0 /php-mapscript on Linux/Debian, and I = have the same problem as quoted : "Failed writing image to /var/www/tmp/myfile.swf" if I try to output in = a single flash-movie. However the file is created (but with image blurred ! ). There is no error when I want to output in multiple flash-movie. Is the bug (I didn't find in bugzilla) was corrected as it is said. Are sources to be compiled for linux available ? Thx Pierre GIRAUD >> I will do an update with the latest source code and let you know. It=20 >> should be working then (at least tha specific bug is working with my=20 >> test data). I have attached a php_mapscript_40.dll (build for=20 >> php4.3.2) that I use so you can give it a try while I build the full=20 >> package. >> >> Later, >> >> Geoffrey Rowland wrote: >> >>> I'm using the latest windows binaries. >>> >>> Yewondwossen Assefa wrote: >>> >>>> There was a bug corrected August 8 on that. Are you using the = latest=20 >>>> version ? >>>> >>>> Later, >>>> >>>> Geoffrey Rowland wrote: >>>> >>>>> Hello, >>>>> >>>>> In my .map file, if have the FORMATOPTION = "OUTPUT_MOVIE=3DMULTIPLE",=20 >>>>> my php script generates the SWF correctly. However if I change=20 >>>>> MULTIPLE to SINGLE, then I get a Fatal Error saying it failed=20 >>>>> writing the image. Am I missing something? >>>>> >>>>> OUTPUTFORMAT >>>>> NAME swf >>>>> MIMETYPE "application/x-shockwave-flash" >>>>> DRIVER swf >>>>> IMAGEMODE PC256 >>>>> FORMATOPTION "OUTPUT_MOVIE=3DSINGLE" >>>>> END >>>>> >>>>> >>>>> >>>>> >>>>> $map_path=3D"d:/inet/site/pop/"; >>>>> $map =3D ms_newMapObj($map_path."swf_pop.map"); >>>>> $map->selectOutputFormat("SWF"); >>>>> $image=3D$map->draw(); >>>>> $image_url=3D$image->saveWebImage(); >>>>> ------=_NextPart_000_00CE_01C3AA08.A9E763C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
  I'm trying to run mapserver 4.0=20 /php-mapscript on Linux/Debian, and I have the same problem as quoted=20 :
"Failed writing image to = /var/www/tmp/myfile.swf"=20 if I try to output in a single flash-movie.
However the file is created (but with = image blurred=20 ! ).
There is no error when I want to = output in=20 multiple flash-movie.
 
Is the bug (I didn't find in = bugzilla) was=20 corrected as it is said.
Are sources to be compiled for linux = available=20 ?
 
Thx
 
Pierre GIRAUD
 

>> I will do an update with the latest source code and let you = know. It=20
>>
= should be=20 working then (at least tha specific bug is working with my=20
>>
test = data). I=20 have attached a php_mapscript_40.dll (build for=20
>>
= php4.3.2) that I=20 use so you can give it a try while I build the full=20
>>
=20 package.
>>

>>=20 Later,
>>

>> Geoffrey = Rowland=20 wrote:
>>

>>> I'm = using the latest=20 windows binaries.
>>>

>>> = Yewondwossen Assefa=20 wrote:
>>>

>>>> = There was a bug=20 corrected August 8 on that. Are you using the latest=20
>>>>
version=20 ?
>>>>

>>>>=20 Later,
>>>>

>>>> = Geoffrey Rowland=20 wrote:
>>>>

>>>>>=20 Hello,
>>>>>

>>>>> In my .map=20 file, if have the FORMATOPTION "OUTPUT_MOVIE=3DMULTIPLE",=20
>>>>>
my=20 php script generates the SWF correctly.  However if I change=20
>>>>>
=20 MULTIPLE to SINGLE, then I get a Fatal Error saying it failed=20
>>>>>
=20 writing the image.  Am I missing=20 something?
>>>>>

>>>>>=20 OUTPUTFORMAT
>>>>>
        NAME=20 swf
>>>>>
        MIMETYPE=20 "application/x-shockwave-flash"
>>>>>
=         DRIVER=20 swf
>>>>>
        IMAGEMODE=20 PC256
>>>>>
        FORMATOPTION=20 "OUTPUT_MOVIE=3DSINGLE"
>>>>>
     =20 END
>>>>>

>>>>>
>>>>>
>>>>>
>>>>>          &= nbsp;     =20 $map_path=3D"d:/inet/site/pop/";
>>>>>
         $map=20 =3D=20 ms_newMapObj($map_path."swf_pop.map");
>>>>>
=         =20 $map->selectOutputFormat("SWF");
>>>>>
        =20 $image=3D$map->draw();
>>>>>
        =20 $image_url=3D$image->saveWebImage();
>>>>>

------=_NextPart_000_00CE_01C3AA08.A9E763C0-- From hunt at zedxinc.com Thu Nov 13 08:24:18 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Thu, 13 Nov 2003 11:24:18 -0500 Subject: [Mapserver-users] ming and mapsever 4.0.1 compile error References: <091b01c3a93f$a9b98f50$1805000a@helicity> <20031113111007.GC21328@lowresbox.lan> Message-ID: <098c01c3aa02$96578340$1805000a@helicity> That worked Thanks ----- Original Message ----- From: "Vincent Schut" To: "Aaron D. Hunt" Cc: Sent: Thursday, November 13, 2003 6:10 AM Subject: Re: [Mapserver-users] ming and mapsever 4.0.1 compile error > Aaron, > > Your problem is that mapserver is not linking with the ming library > (there is no '-lming' in the gcc line). What happens if you just > specify '--with-ming' instead of '--with-ming=somedir' (after doing a > make distclean)? > > Cheers, > Vincent. > > > On 2003.11.12 18:08, Aaron D. Hunt wrote: > > When I run make with the following config I get the bellow error > > > > ./configure --without-tiff --with-proj=/home/mapserver/ > > --with-gdal=/home/mapserver/bin/gdal-config > > --with-ogr=/home/mapserver/gdal-1.1.9 --with-jpeg --with-wmsclient > > --with-freetype=/home/mapserver/ --with-gd=/home/mapserver/ > > --with-php=/usr/local/src/php-4.3.4/ > > --with-curl-config=/home/mapserver/bin/curl-config > > --with-ming=/home/mapserver/ > > or --with-ming=/home/mapserver/ming-0.2a > > > > gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ > > -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_MING_FLASH > > -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT > > -DUSE_OGR -DUSE_GDAL -I/home/mapserver//include > > -I/home/mapserver//include -I/home/mapserver/gdal-1.1.9/ogr/ > > ogrsf_frmts > > -I/home/mapserver/gdal-1.1.9/ogr -I/home/mapserver/gdal-1.1.9/ogr/../ > > port > > -I/home/mapserver//include -I/home/mapserver//include > > -I/home/mapserver/ shp2img.o -L. -lmap -L/home/mapserver//lib -lgd > > -ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng -lz > > -L/home/mapserver//lib -lproj -ljpeg -L/home/mapserver//lib > > -lgdal.1.1 -L/home/mapserver//lib -lcurl -L/usr/kerberos/lib -lz > > -lssl -lcrypto -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err > > -lk5crypto -lresolv -ldl -lz -lz -lm -lstdc++ > > /home/mapserver/gdal-1.1.9/ogr/ogrsf_frmts/ogrsf_frmts.a > > /home/mapserver/gdal-1.1.9/ogr/ogr.a > > /home/mapserver/gdal-1.1.9/ogr/../port/cpl.a -o shp2img > > ./libmap.a(mapswf.o)(.text+0x39): In function `bitmap2shape': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x48): In function `bitmap2shape': > > : undefined reference to `newSWFInput_buffer' > > ./libmap.a(mapswf.o)(.text+0x51): In function `bitmap2shape': > > : undefined reference to `newSWFBitmap_fromInput' > > ./libmap.a(mapswf.o)(.text+0x62): In function `bitmap2shape': > > : undefined reference to `SWFShape_addBitmapFill' > > ./libmap.a(mapswf.o)(.text+0x6d): In function `bitmap2shape': > > : undefined reference to `SWFShape_setRightFill' > > ./libmap.a(mapswf.o)(.text+0x81): In function `bitmap2shape': > > : undefined reference to `SWFShape_drawLine' > > ./libmap.a(mapswf.o)(.text+0x95): In function `bitmap2shape': > > : undefined reference to `SWFShape_drawLine' > > ./libmap.a(mapswf.o)(.text+0xab): In function `bitmap2shape': > > : undefined reference to `SWFShape_drawLine' > > ./libmap.a(mapswf.o)(.text+0xc1): In function `bitmap2shape': > > : undefined reference to `SWFShape_drawLine' > > ./libmap.a(mapswf.o)(.text+0x392): In function `BuildButtonFromGD': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0x3a0): In function `BuildButtonFromGD': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x3c3): In function `BuildEllipseShape': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x3f3): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x419): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_addSolidFill' > > ./libmap.a(mapswf.o)(.text+0x425): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_setRightFill' > > ./libmap.a(mapswf.o)(.text+0x458): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x48d): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_drawCurveTo' > > ./libmap.a(mapswf.o)(.text+0x4b1): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_drawCurveTo' > > ./libmap.a(mapswf.o)(.text+0x4d4): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_drawCurveTo' > > ./libmap.a(mapswf.o)(.text+0x4e7): In function `BuildEllipseShape': > > : undefined reference to `SWFShape_drawCurveTo' > > ./libmap.a(mapswf.o)(.text+0x561): In function `BuildEllipseButton': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0x56d): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x59d): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x5e0): In function `BuildEllipseButton': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x5e9): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x615): In function `BuildEllipseButton': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x61e): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x64a): In function `BuildEllipseButton': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x653): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x67f): In function `BuildEllipseButton': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x688): In function `BuildEllipseButton': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x6d8): In function `BuildPolygonShape': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x700): In function `BuildPolygonShape': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x726): In function `BuildPolygonShape': > > : undefined reference to `SWFShape_addSolidFill' > > ./libmap.a(mapswf.o)(.text+0x732): In function `BuildPolygonShape': > > : undefined reference to `SWFShape_setRightFill' > > ./libmap.a(mapswf.o)(.text+0x782): In function `BuildPolygonShape': > > : undefined reference to `SWFShape_drawLineTo' > > ./libmap.a(mapswf.o)(.text+0x7cd): In function `BuildPolygonShape': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x7fc): In function `BuildShape': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x829): In function `BuildShape': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x849): In function `BuildShape': > > : undefined reference to `SWFShape_addSolidFill' > > ./libmap.a(mapswf.o)(.text+0x853): In function `BuildShape': > > : undefined reference to `SWFShape_setRightFill' > > ./libmap.a(mapswf.o)(.text+0x873): In function `BuildShape': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x893): In function `BuildShape': > > : undefined reference to `SWFShape_drawLineTo' > > ./libmap.a(mapswf.o)(.text+0x8bb): In function `BuildShape': > > : undefined reference to `SWFShape_drawLineTo' > > ./libmap.a(mapswf.o)(.text+0x8ea): In function `BuildShape': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x908): In function `BuildShapeLine': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x939): In function `BuildShapeLine': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x951): In function `BuildShapeLine': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x989): In function `BuildShapeLine': > > : undefined reference to `SWFShape_drawLineTo' > > ./libmap.a(mapswf.o)(.text+0x9b8): In function `BuildShapeLine': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x9d4): In function `BuildButtonPolygon': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0x9f5): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0xa23): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0xa66): In function `BuildButtonPolygon': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xa6f): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xa9b): In function `BuildButtonPolygon': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xaa4): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xad0): In function `BuildButtonPolygon': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xad9): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xb05): In function `BuildButtonPolygon': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xb0e): In function `BuildButtonPolygon': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xb4c): In function `BuildButtonLine': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0xb74): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0xb97): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0xbda): In function `BuildButtonLine': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xbe3): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xc0f): In function `BuildButtonLine': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xc18): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xc44): In function `BuildButtonLine': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xc4d): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xc79): In function `BuildButtonLine': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xc82): In function `BuildButtonLine': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0xd80): In function `msImageCreateSWF': > > : undefined reference to `newSWFMovie' > > ./libmap.a(mapswf.o)(.text+0xd9c): In function `msImageCreateSWF': > > : undefined reference to `SWFMovie_setDimension' > > ./libmap.a(mapswf.o)(.text+0xef2): In function > > `msImageStartLayerSWF': > > : undefined reference to `newSWFMovie' > > ./libmap.a(mapswf.o)(.text+0xf25): In function > > `msImageStartLayerSWF': > > : undefined reference to `SWFMovie_setDimension' > > ./libmap.a(mapswf.o)(.text+0xf9b): In function > > `msImageStartLayerSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xfae): In function > > `msImageStartLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0xfd1): In function > > `msImageStartLayerSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0xfe6): In function > > `msImageStartLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1019): In function > > `msImageStartLayerSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x102d): In function > > `msImageStartLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1057): In function > > `msImageStartLayerSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x106f): In function > > `msImageStartLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x11fa): In function > > `msDrawStartShapeSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x1214): In function > > `msDrawStartShapeSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1263): In function > > `msDrawStartShapeSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x127d): In function > > `msDrawStartShapeSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1374): In function `AddMouseActions': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x137d): In function `AddMouseActions': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x13a5): In function `AddMouseActions': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x13ae): In function `AddMouseActions': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x13d6): In function `AddMouseActions': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x13df): In function `AddMouseActions': > > : undefined reference to `SWFButton_addAction' > > ./libmap.a(mapswf.o)(.text+0x140b): In function `AddMouseActions': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x180c): In function > > `msDrawMarkerSymbolSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1b50): In function > > `msDrawMarkerSymbolSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1b81): In function > > `msDrawMarkerSymbolSWF': > > : undefined reference to `SWFDisplayItem_moveTo' > > ./libmap.a(mapswf.o)(.text+0x1d6b): In function > > `msDrawMarkerSymbolSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1d82): In function > > `msDrawMarkerSymbolSWF': > > : undefined reference to `SWFDisplayItem_moveTo' > > ./libmap.a(mapswf.o)(.text+0x2380): In function `DrawShapePolyline': > > : undefined reference to `newSWFShape' > > ./libmap.a(mapswf.o)(.text+0x23a4): In function `DrawShapePolyline': > > : undefined reference to `SWFShape_setLine' > > ./libmap.a(mapswf.o)(.text+0x23dc): In function `DrawShapePolyline': > > : undefined reference to `SWFShape_movePenTo' > > ./libmap.a(mapswf.o)(.text+0x241e): In function `DrawShapePolyline': > > : undefined reference to `SWFShape_drawLineTo' > > ./libmap.a(mapswf.o)(.text+0x246c): In function > > `DrawButtonFilledPolygon': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0x248a): In function > > `DrawButtonFilledPolygon': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x24b1): In function > > `DrawButtonFilledPolygon': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x2504): In function `DrawButtonPolyline': > > : undefined reference to `newSWFButton' > > ./libmap.a(mapswf.o)(.text+0x251b): In function `DrawButtonPolyline': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x2535): In function `DrawButtonPolyline': > > : undefined reference to `SWFButton_addShape' > > ./libmap.a(mapswf.o)(.text+0x25b4): In function `DrawText': > > : undefined reference to `loadSWFFontFromFile' > > ./libmap.a(mapswf.o)(.text+0x25ca): In function `DrawText': > > : undefined reference to `newSWFText' > > ./libmap.a(mapswf.o)(.text+0x25d6): In function `DrawText': > > : undefined reference to `SWFText_setFont' > > ./libmap.a(mapswf.o)(.text+0x25ea): In function `DrawText': > > : undefined reference to `SWFText_moveTo' > > ./libmap.a(mapswf.o)(.text+0x2606): In function `DrawText': > > : undefined reference to `SWFText_setColor' > > ./libmap.a(mapswf.o)(.text+0x2619): In function `DrawText': > > : undefined reference to `SWFText_setHeight' > > ./libmap.a(mapswf.o)(.text+0x2627): In function `DrawText': > > : undefined reference to `SWFText_addString' > > ./libmap.a(mapswf.o)(.text+0x2785): In function > > `msDrawLineSymbolSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x29fa): In function > > `msDrawShadeSymbolSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x2c7c): In function `draw_textSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x2c98): In function `draw_textSWF': > > : undefined reference to `SWFDisplayItem_moveTo' > > ./libmap.a(mapswf.o)(.text+0x2cb6): In function `draw_textSWF': > > : undefined reference to `SWFDisplayItem_rotate' > > ./libmap.a(mapswf.o)(.text+0x2e02): In function `msGetLabelSizeSWF': > > : undefined reference to `loadSWFFontFromFile' > > ./libmap.a(mapswf.o)(.text+0x2e22): In function `msGetLabelSizeSWF': > > : undefined reference to `newSWFText' > > ./libmap.a(mapswf.o)(.text+0x2e33): In function `msGetLabelSizeSWF': > > : undefined reference to `SWFText_setFont' > > ./libmap.a(mapswf.o)(.text+0x2e3e): In function `msGetLabelSizeSWF': > > : undefined reference to `SWFText_getStringWidth' > > ./libmap.a(mapswf.o)(.text+0x3e74): In function > > `msDrawLabelCacheSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x403e): In function `msDrawWMSLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x417e): In function > > `msDrawRasterLayerSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x425a): In function `msSaveImageSWF': > > : undefined reference to `fileOutputMethod' > > ./libmap.a(mapswf.o)(.text+0x4260): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_output' > > ./libmap.a(mapswf.o)(.text+0x42b3): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x42c4): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x42f0): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x4301): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x432e): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x433f): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x436c): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x437d): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x43dd): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x43ee): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x441b): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x442c): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x4453): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x4464): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x448b): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x449c): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x4637): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_setBackground' > > ./libmap.a(mapswf.o)(.text+0x4664): In function `msSaveImageSWF': > > : undefined reference to `fileOutputMethod' > > ./libmap.a(mapswf.o)(.text+0x466a): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_output' > > ./libmap.a(mapswf.o)(.text+0x46c8): In function `msSaveImageSWF': > > : undefined reference to `compileSWFActionCode' > > ./libmap.a(mapswf.o)(.text+0x46da): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x471c): In function `msSaveImageSWF': > > : undefined reference to `fileOutputMethod' > > ./libmap.a(mapswf.o)(.text+0x4722): In function `msSaveImageSWF': > > : undefined reference to `SWFMovie_output' > > ./libmap.a(mapswf.o)(.text+0x479e): In function `msFreeImageSWF': > > : undefined reference to `destroySWFMovie' > > ./libmap.a(mapswf.o)(.text+0x47d6): In function `msFreeImageSWF': > > : undefined reference to `destroySWFMovie' > > ./libmap.a(mapswf.o)(.text+0x4949): In function > > `msDrawVectorLayerAsRasterSWF': > > : undefined reference to `SWFMovie_add' > > ./libmap.a(mapswf.o)(.text+0x1420): In function `AddMouseActions': > > : undefined reference to `SWFButton_addAction' > > collect2: ld returned 1 exit status > > make: *** [shp2img] Error 1 > > > > > > Aaron D. Hunt > > Technical Manager > > ZedX Inc. > > Voice: 814-357-8490 > > Fax: 814-357-8499 From Daniel.A.Martin at erac.com Thu Nov 13 07:55:43 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Thu, 13 Nov 2003 09:55:43 -0600 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A01C2E507@STL-EXBE-I03.corp.erac.com> Yes, nice indeed. Good job. -Dan -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Eric Bridger Sent: Thursday, November 13, 2003 3:44 AM To: Doug Cates Cc: Mapserver List Subject: Re: [Mapserver-users] ANNOUNCE - MapServer User Map Very, very nice! On Thu, 2003-11-13 at 04:45, Doug Cates wrote: > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and > decided to whip up a site for MapServer users, developers and > installations to self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the > URLs to the WMS and WFS services once more data is added. > > Best regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug at moximedia.com > Web: www.moximedia.com > > _______________________________________________ > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak at medinaco.org Thu Nov 13 08:24:09 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Thu, 13 Nov 2003 11:24:09 -0500 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map Message-ID: <20031113162358.C51C71A659D@mail.medinaco.org> Thank you. Lowell The following message was sent by Doug Cates on 12 Nov 2003 20:45:02 -0800. > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and decided > to whip up a site for MapServer users, developers and installations to > self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the URLs > to the WMS and WFS services once more data is added. > > Best regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug at moximedia.com > Web: www.moximedia.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From hunt at zedxinc.com Thu Nov 13 09:13:55 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Thu, 13 Nov 2003 12:13:55 -0500 Subject: [Mapserver-users] swf output color problem Message-ID: <09c101c3aa09$84a8abe0$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_09BE_01C3A9DF.9BAC7E40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am trying to make a swf file with a single wms layer background. When = I do the colors get reduced to what looks like 8 colors. The script I am = using is below along with the map file. I can send the swf and a jpeg if = anyone needs a sample of what is going on. Aaron Hunt #!/usr/bin/perl use lib("/home/mapserver"); use mapscript40; $ENV{MS_ERRORFILE} =3D "mapserver.log";=20 $ENV{PROJ_LIB} =3D "/home/mapserver/proj-4.4.7/nad/";=20 my $map =3D new mapscript40::mapObj("geotif.map") or die("Unable to open = mapfile. $!"); $img =3D $map->draw() or die('Unable to draw map'); $imagename =3D "test.swf"; $img->save($imagename); ####map file # # # Start of map file # NAME Soil STATUS ON SIZE 500 500 EXTENT -90.637762 33.623924 -90.601165 33.650091 #EXTENT -180 -90 180 90 UNITS DD SHAPEPATH "/tmp" IMAGECOLOR 255 255 255 WEB IMAGEPATH "/home/hunt/" IMAGEURL "" END PROJECTION "proj=3Dlonglat" "ellps=3DWGS84" "unit=3Ddd" END OUTPUTFORMAT=20 NAME swf=20 MIMETYPE "application/x-shockwave-flash"=20 DRIVER swf=20 IMAGEMODE RGBA=20 FORMATOPTION "OUTPUT_MOVIE=3DMULTIPLE"=20 END=20 LAYER NAME LandSat METADATA "wms_title" "LandSat" "wms_srs" "EPSG:4326" #WGS 84 "wms_connectiontimeout" "10" LYRNAME "LandSat" LINK "N/A" END STATUS ON=20 TYPE RASTER OFFSITE 255 255 255 CONNECTIONTYPE WMS CONNECTION = "http://wms.jpl.nasa.gov/wms.cgi?WMTVER=3D1.0.0&REQUEST=3Dmap&LAYERS=3Dus= _landsat7o&red=3D4&green=3D3&blue=3D1&ld=3D25&le=3D45&ls=3D0&gamma=3D2.5&= STYLES=3D&FORMAT=3Djpeg&TRANSPARENT=3DTRUE&" PROJECTION "init=3Depsg:4326" #WGS 84 END END END ------=_NextPart_000_09BE_01C3A9DF.9BAC7E40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am trying to make a swf file with a = single wms=20 layer background. When I do the colors get reduced to what looks like 8 = colors.=20 The script I am using is below along with the map file. I can send the = swf and a=20 jpeg if anyone needs a sample of what is going on.
 
Aaron Hunt
 
 
#!/usr/bin/perl
 
use lib("/home/mapserver");
use=20 mapscript40;
 

$ENV{MS_ERRORFILE} =3D "mapserver.log";
$ENV{PROJ_LIB} =3D=20 "/home/mapserver/proj-4.4.7/nad/";
 

my $map =3D new mapscript40::mapObj("geotif.map") or = die("Unable to open=20 mapfile. $!");
 
$img =3D $map->draw() or die('Unable to draw map');
 
$imagename =3D "test.swf";
 
$img->save($imagename);
 
 
####map file
 
#
#
# Start of map file
#
NAME Soil
STATUS = ON
SIZE 500=20 500
EXTENT -90.637762 33.623924 -90.601165 33.650091
#EXTENT -180 = -90 180=20 90
UNITS DD
SHAPEPATH "/tmp"
IMAGECOLOR 255 255 255
 
 WEB
   IMAGEPATH "/home/hunt/"
   = IMAGEURL=20 ""
 END
 

 PROJECTION
  "proj=3Dlonglat"
  = "ellps=3DWGS84"
  "unit=3Ddd"
 END
 

      OUTPUTFORMAT=20
        NAME swf=20
        MIMETYPE=20 "application/x-shockwave-flash" =
       =20 DRIVER swf
        IMAGEMODE RGBA =
        FORMATOPTION=20 "OUTPUT_MOVIE=3DMULTIPLE"
      END
 

 LAYER
    NAME = LandSat
   =20 METADATA
      "wms_title"=20 "LandSat"
      "wms_srs"   = "EPSG:4326"=20 #WGS 84
      "wms_connectiontimeout"=20 "10"
      LYRNAME=20 "LandSat"
      LINK = "N/A"
   =20 END
    STATUS ON
    TYPE=20 RASTER
    OFFSITE 255 255 255
   =20 CONNECTIONTYPE WMS
    CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?WMTVER=3D1.0.0&a= mp;REQUEST=3Dmap&LAYERS=3Dus_landsat7o&red=3D4&green=3D3&= blue=3D1&ld=3D25&le=3D45&ls=3D0&gamma=3D2.5&STYLES=3D= &FORMAT=3Djpeg&TRANSPARENT=3DTRUE&"
   = =20 PROJECTION
      "init=3Depsg:4326" #WGS=20 84
    END
 END
 
END
 
 
 
------=_NextPart_000_09BE_01C3A9DF.9BAC7E40-- From doug at moximedia.com Thu Nov 13 09:53:42 2003 From: doug at moximedia.com (Doug Cates) Date: 13 Nov 2003 09:53:42 -0800 Subject: [Mapserver-users] Updated MapServer User Map In-Reply-To: <1068698702.4094.194.camel@moxi-rh9> References: <1068698702.4094.194.camel@moxi-rh9> Message-ID: <1068746022.4094.223.camel@moxi-rh9> Hi, FYI: I've added some more detailed base map data for North America to assist users to locate themselves more accurately. The base map data is drawn using WMS services at USGS and National Atlas of Canada. If user's from other countries are aware of WMS base map data available for their country, let me know and I'll add it in. Doug On Wed, 2003-11-12 at 20:45, Doug Cates wrote: > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and decided > to whip up a site for MapServer users, developers and installations to > self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the URLs > to the WMS and WFS services once more data is added. > > Best regards, > Doug From humberto at pastoraldacrianca.org.br Thu Nov 13 09:55:50 2003 From: humberto at pastoraldacrianca.org.br (humberto at pastoraldacrianca.org.br) Date: Thu, 13 Nov 2003 15:55:50 -0200 Subject: [Mapserver-users] Demo In-Reply-To: <3FB11B76.60201@enst.fr> References: <3FABCC82.50704@enst.fr> <1068405365.3fae9275e99a8@www.rebidia.org.br> <3FB11B76.60201@enst.fr> Message-ID: <1068746150.3fb3c5a6e2475@www.rebidia.org.br> Citando Jean-Claude Moissinac : > Thank you (a little) > It works better. > After converting all .gif images to .png images, I'm going to the next step: > a page with the 'MapServer Demo Interface' title, some radio buttons > and interface elements and a big zone for an image > which doesn't appear. In 'Properties', that zone refers to > '/tmp/DEMO10684762602652.png' which doesn't exist. > But why? > Some help? > > Jean-Claude > Set owner and group of directory itasca to www-data, for example. Humberto Cereser Ibanez Pastoral da Crian?a ------------------------------------------------- E-Mail enviado pelo Webmail Pastoral da Crian?a usando IMP: http://horde.org/imp/ From steve.lime at dnr.state.mn.us Thu Nov 13 10:20:34 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Thu, 13 Nov 2003 12:20:34 -0600 Subject: [Mapserver-users] RE: JBox Image swapping Message-ID: The landview interface I wrote does this. There is a version of the Itasca demo that has been outfitted with that code. You can see it in action and download it from http://maps.dnr.state.mn.us/mapserver_demos/. Look at the workshop files. Steve >>> "Palanisamy, Giri" 11/11/2003 7:01:08 AM >>> Hi, I am using JBox in my mapserver application, and I like to do the image swapping (reloading the map in the applet without refreshing the entire page) when the user zooms in/out or pan. Does any one provide a code example for this? I have found a very brief documentation in the Mapserver's JBox how to do document, but couldn't proceed further. Thanks in advance Giri -----Original Message----- From: Richard Greenwood [mailto:Rich at GreenwoodMap.com] Sent: Sunday, November 09, 2003 1:04 PM To: Palanisamy, Giri Cc: mapserver-users at lists.gis.umn.edu Subject: Re: Image swapping At 10:18 AM 11/9/2003, Giri Palanisamy wrote: >I am trying to implement image swapping (reloading the map without >refreshing the entire page), DO you have an example javascript code that >does this? Can you please send the code to me?, Giri, I am copying the mapserver list with this email as there may be members of the list who can provide a good example. I do not use image swapping, so I do not have an example. I am pretty sure Steve Lime is using it in Landview: http://www.dnr.state.mn.us/maps/landview.html >I referred your JBox how to do, it says I need to add >var url; > url = "http://www.somedomain.com/cgi-bin/mapserv"+ > "?mode=map" + > "&map=" + mapfile + > "&mapext=" + extent.join("+") + > "&mapsize=" + width + "+" + height + > "&layers=" + layerlist; > document.jBox.setimage(url); > >Do I need to do this in a separate javascript function or add it to one >of my existing function? Add it to your existing function, but use that instead of "document.mapserv.submit();" In other words, you do NOT want to submit the whole page, you want to call the setimage(url) function instead. You may need to eval the function, something like: eval(" document.jBox.setimage(" + url + ")" ); Rich >Here is my javascript: > > > > >Thanks for the help. > >Giri Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From cstorozuk at shaw.ca Thu Nov 13 11:10:51 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Thu, 13 Nov 2003 13:10:51 -0600 Subject: [Mapserver-users] UTM and 10TM Message-ID: <02fe01c3aa19$db155ae0$e60c4f18@duke> This is a multi-part message in MIME format. ------=_NextPart_000_02FB_01C3A9E7.900545B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Western Canada users, My application spans 2 provinces, Alberta and BC. Our data for Alberta = is in 10TM, which is a custom projection to cover all of the province, = and for BC it is in UTM.=20 When a user looks at a border area, how can I display data from both = datasets at the same time, or can I? Would this require using projection = items, and then trying to project one to the other?=20 Thanks, Chris Storozuk ------=_NextPart_000_02FB_01C3A9E7.900545B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Western Canada users,
 
My application spans 2 provinces, = Alberta and BC.=20 Our data for Alberta is in 10TM, which is a custom projection to cover = all of=20 the province, and for BC it is in UTM.
 
When a user looks at a border area, how = can I=20 display data from both datasets at the same time, or can I? Would this = require=20 using projection items, and then trying to project one to the other?=20
 
Thanks,
Chris Storozuk
 
------=_NextPart_000_02FB_01C3A9E7.900545B0-- From pramsey at refractions.net Thu Nov 13 11:47:42 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Thu, 13 Nov 2003 11:47:42 -0800 Subject: [Mapserver-users] UTM and 10TM In-Reply-To: <02fe01c3aa19$db155ae0$e60c4f18@duke> References: <02fe01c3aa19$db155ae0$e60c4f18@duke> Message-ID: <3FB3DFDE.2020908@refractions.net> Chris Storozuk wrote: > Dear Western Canada users, > > My application spans 2 provinces, Alberta and BC. Our data for Alberta > is in 10TM, which is a custom projection to cover all of the province, > and for BC it is in UTM. > > When a user looks at a border area, how can I display data from both > datasets at the same time, or can I? Would this require using projection > items, and then trying to project one to the other? Yes, you will declare a projection under the MAP object, and that will be the output projection. THen you'll define a projection for each layer, and those will be the input projections of the data being read. Mapserver will convert the incoming data to the output projection, then render the output image, so the data will end up nicely integrated. Paul > > Thanks, > Chris Storozuk > -- __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net | Phone: (250) 885-0632 \_ From cstorozuk at shaw.ca Thu Nov 13 12:01:44 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Thu, 13 Nov 2003 14:01:44 -0600 Subject: [Mapserver-users] UTM and 10TM References: <02fe01c3aa19$db155ae0$e60c4f18@duke> <3FB3DFDE.2020908@refractions.net> Message-ID: <031801c3aa20$f6b33180$e60c4f18@duke> Thanks Paul, Do you know if there is a definition to 10TM for my Alberta input layers? I have not been able to find one (in the Proj folder) - do I need to generate it myself? Chris ----- Original Message ----- From: "Paul Ramsey" To: "Chris Storozuk" Cc: "mapserver-users" Sent: Thursday, November 13, 2003 1:47 PM Subject: Re: [Mapserver-users] UTM and 10TM > Chris Storozuk wrote: > > > Dear Western Canada users, > > > > My application spans 2 provinces, Alberta and BC. Our data for Alberta > > is in 10TM, which is a custom projection to cover all of the province, > > and for BC it is in UTM. > > > > When a user looks at a border area, how can I display data from both > > datasets at the same time, or can I? Would this require using projection > > items, and then trying to project one to the other? > > Yes, you will declare a projection under the MAP object, and that will > be the output projection. THen you'll define a projection for each > layer, and those will be the input projections of the data being read. > Mapserver will convert the incoming data to the output projection, then > render the output image, so the data will end up nicely integrated. > > Paul > > > > > Thanks, > > Chris Storozuk > > > > > -- > __ > / > | Paul Ramsey > | Refractions Research > | Email: pramsey at refractions.net > | Phone: (250) 885-0632 > \_ > From gsw at globexplorer.com Thu Nov 13 12:27:03 2003 From: gsw at globexplorer.com (Gregory S. Williamson) Date: Thu, 13 Nov 2003 12:27:03 -0800 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map Message-ID: <71E37EF6B7DCC1499CEA0316A256832801057397@loki.wc.globexplorer.net> FWIW, I can't connect to this -- it gives a small text message about "Transfer timed out" and then tells me that my session timed out -- all in less than a second. Greg Williamson DBA GlobeXplorer LLC -----Original Message----- From: Martin, Daniel A [mailto:Daniel.A.Martin at erac.com] Sent: Thu 11/13/2003 7:55 AM To: Mapserver List Cc: Subject: RE: [Mapserver-users] ANNOUNCE - MapServer User Map Yes, nice indeed. Good job. -Dan -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Eric Bridger Sent: Thursday, November 13, 2003 3:44 AM To: Doug Cates Cc: Mapserver List Subject: Re: [Mapserver-users] ANNOUNCE - MapServer User Map Very, very nice! On Thu, 2003-11-13 at 04:45, Doug Cates wrote: > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and > decided to whip up a site for MapServer users, developers and > installations to self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the > URLs to the WMS and WFS services once more data is added. > > Best regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug at moximedia.com > Web: www.moximedia.com > > _______________________________________________ > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Daniel.A.Martin at erac.com Thu Nov 13 12:33:25 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Thu, 13 Nov 2003 14:33:25 -0600 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A01C2E50C@STL-EXBE-I03.corp.erac.com> Perhaps your corporate environment blocks outbound access to port 8080? -Dan -----Original Message----- From: Gregory S. Williamson [mailto:gsw at globexplorer.com] Sent: Thursday, November 13, 2003 2:27 PM To: Martin, Daniel A; Mapserver List Subject: RE: [Mapserver-users] ANNOUNCE - MapServer User Map FWIW, I can't connect to this -- it gives a small text message about "Transfer timed out" and then tells me that my session timed out -- all in less than a second. Greg Williamson DBA GlobeXplorer LLC -----Original Message----- From: Martin, Daniel A [mailto:Daniel.A.Martin at erac.com] Sent: Thu 11/13/2003 7:55 AM To: Mapserver List Cc: Subject: RE: [Mapserver-users] ANNOUNCE - MapServer User Map Yes, nice indeed. Good job. -Dan -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Eric Bridger Sent: Thursday, November 13, 2003 3:44 AM To: Doug Cates Cc: Mapserver List Subject: Re: [Mapserver-users] ANNOUNCE - MapServer User Map Very, very nice! On Thu, 2003-11-13 at 04:45, Doug Cates wrote: > Hi, > > I've created a site that shows MapServer users: See it at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > I've heard people asking for this type of thing a few times, and > decided to whip up a site for MapServer users, developers and > installations to self register. > > Count yourself in. > > I'll add some better map data and query tools later on and post the > URLs to the WMS and WFS services once more data is added. > > Best regards, > Doug > -- > Doug Cates > Moxi Media Inc. > 757 - 1641 Lonsdale Avenue > North Vancouver, BC, Canada V7M 2J5 > Phone: 604-984-8109 > Fax: 604-608-4764 > E-mail: doug at moximedia.com > Web: www.moximedia.com > > _______________________________________________ > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From doug at moximedia.com Thu Nov 13 12:34:00 2003 From: doug at moximedia.com (Doug Cates) Date: 13 Nov 2003 12:34:00 -0800 Subject: [Mapserver-users] UTM and 10TM In-Reply-To: <031801c3aa20$f6b33180$e60c4f18@duke> References: <02fe01c3aa19$db155ae0$e60c4f18@duke> <3FB3DFDE.2020908@refractions.net> <031801c3aa20$f6b33180$e60c4f18@duke> Message-ID: <1068755640.4094.260.camel@moxi-rh9> Chris, Try: PROJECTION # Alberta 10TM "proj=tmerc" "ellps=GRS80" "lon_0=-115.0" "lat_0=0.0" "k=0.9992" "x_0=500000.0" END Doug On Thu, 2003-11-13 at 12:01, Chris Storozuk wrote: > Thanks Paul, > > Do you know if there is a definition to 10TM for my Alberta input layers? I > have not been able to find one (in the Proj folder) - do I need to generate > it myself? > > Chris > > ----- Original Message ----- > From: "Paul Ramsey" > To: "Chris Storozuk" > Cc: "mapserver-users" > Sent: Thursday, November 13, 2003 1:47 PM > Subject: Re: [Mapserver-users] UTM and 10TM > > > > Chris Storozuk wrote: > > > > > Dear Western Canada users, > > > > > > My application spans 2 provinces, Alberta and BC. Our data for Alberta > > > is in 10TM, which is a custom projection to cover all of the province, > > > and for BC it is in UTM. > > > > > > When a user looks at a border area, how can I display data from both > > > datasets at the same time, or can I? Would this require using projection > > > items, and then trying to project one to the other? > > > > Yes, you will declare a projection under the MAP object, and that will > > be the output projection. THen you'll define a projection for each > > layer, and those will be the input projections of the data being read. > > Mapserver will convert the incoming data to the output projection, then > > render the output image, so the data will end up nicely integrated. > > > > Paul > > > > > > > > Thanks, > > > Chris Storozuk > > > > > > > > > -- > > __ > > / > > | Paul Ramsey > > | Refractions Research > > | Email: pramsey at refractions.net > > | Phone: (250) 885-0632 > > \_ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bfraser at geoanalytic.com Thu Nov 13 12:44:23 2003 From: bfraser at geoanalytic.com (Brent Fraser) Date: Thu, 13 Nov 2003 13:44:23 -0700 Subject: [Mapserver-users] UTM and 10TM References: <02fe01c3aa19$db155ae0$e60c4f18@duke> <3FB3DFDE.2020908@refractions.net> <031801c3aa20$f6b33180$e60c4f18@duke> Message-ID: <059201c3aa26$ebeccdf0$020002c0@SHARK> Chris, Typical 10TM Proj parameters are: proj=tmerc ellps=clrk66 k=0.9992 x_0=500000 lon_0=115w y_0=0 but you may need to change the ellps to GRS80 if your 10TM data is referenced to the NAD83 datum (instead of NAD27/clrk66). You may also need to change the false northing (y_0) to be -5000000 if your 10TM coordinates for Alberta are less than 5,000,000 (an AltaLIS "standard"). Brent Fraser bfraser at geoanalytic.com ----- Original Message ----- From: "Chris Storozuk" To: "Paul Ramsey" Cc: "mapserver-users" Sent: Thursday, November 13, 2003 1:01 PM Subject: Re: [Mapserver-users] UTM and 10TM > Thanks Paul, > > Do you know if there is a definition to 10TM for my Alberta input layers? I > have not been able to find one (in the Proj folder) - do I need to generate > it myself? > > Chris > > ----- Original Message ----- > From: "Paul Ramsey" > To: "Chris Storozuk" > Cc: "mapserver-users" > Sent: Thursday, November 13, 2003 1:47 PM > Subject: Re: [Mapserver-users] UTM and 10TM > > > > Chris Storozuk wrote: > > > > > Dear Western Canada users, > > > > > > My application spans 2 provinces, Alberta and BC. Our data for Alberta > > > is in 10TM, which is a custom projection to cover all of the province, > > > and for BC it is in UTM. > > > > > > When a user looks at a border area, how can I display data from both > > > datasets at the same time, or can I? Would this require using projection > > > items, and then trying to project one to the other? > > > > Yes, you will declare a projection under the MAP object, and that will > > be the output projection. THen you'll define a projection for each > > layer, and those will be the input projections of the data being read. > > Mapserver will convert the incoming data to the output projection, then > > render the output image, so the data will end up nicely integrated. > > > > Paul > > > > > > > > Thanks, > > > Chris Storozuk > > > > > > > > > -- > > __ > > / > > | Paul Ramsey > > | Refractions Research > > | Email: pramsey at refractions.net > > | Phone: (250) 885-0632 > > \_ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From doug at moximedia.com Thu Nov 13 12:51:46 2003 From: doug at moximedia.com (Doug Cates) Date: 13 Nov 2003 12:51:46 -0800 Subject: [Mapserver-users] ANNOUNCE - MapServer User Map In-Reply-To: <71E37EF6B7DCC1499CEA0316A256832801057397@loki.wc.globexplorer.net> References: <71E37EF6B7DCC1499CEA0316A256832801057397@loki.wc.globexplorer.net> Message-ID: <1068756706.4094.267.camel@moxi-rh9> Greg, Cookies must be enabled or the session will time out right away. Supported browsers are IE, NS, Mozilla, Opera. Konquerer is not supported. Doug On Thu, 2003-11-13 at 12:27, Gregory S. Williamson wrote: > FWIW, I can't connect to this -- it gives a small text message about "Transfer timed out" and then tells me that my session timed out -- all in less than a second. > > Greg Williamson > DBA > GlobeXplorer LLC From bergeron at zedxinc.com Thu Nov 13 13:34:21 2003 From: bergeron at zedxinc.com (Nick Petersen-Bergeron) Date: Thu, 13 Nov 2003 16:34:21 -0500 Subject: [Mapserver-users] scale bar Message-ID: <5.1.0.14.0.20031113163131.00b11060@mail.zedxinc.com> Hi, I'm drawing to draw a scale bar as a seperate image, but the draw command doesn't seem to be working the way I expect it to. Here's my code: my $map = new mapscript40::mapObj("/home/httpd/html/flash/mang.map") or die("Unable to open mapfile. $!"); $map->{scalebar}->{status} = $mapscript40::MS_ON; $scaleImg = $map->drawScalebar(); $map->drawLabelCache($scaleImg); my $scaleImagename = "/home/httpd/html/dy_images/".$t."_scale.jpg"; $scaleImg->save($scaleImagename); And here's the scalebar declaration in my map file SCALEBAR INTERVALS 7 STATUS OFF TRANSPARENT TRUE POSITION lc STYLE 1 SIZE 300 5 BACKGROUNDCOLOR -1 -1 -1 POSTLABELCACHE FALSE OUTLINECOLOR -1 -1 -1 #OUTLINECOLOR 255 255 255 COLOR 0 0 0 LABEL COLOR 0 0 0 BACKGROUNDCOLOR -1 -1 -1 OUTLINECOLOR 255 255 255 SIZE tiny END END Now, the image object is being created, but the actual save command doesn't seem to be actually saving the image to disk. Any ideas? Nick Petersen-Bergeron Developer ZedX Inc. 369 Rolling Ridge Drive Bellefonte, PA. 16823 From sethcohn at yahoo.com Thu Nov 13 17:21:02 2003 From: sethcohn at yahoo.com (Seth Cohn) Date: Thu, 13 Nov 2003 17:21:02 -0800 (PST) Subject: [Mapserver-users] Seeking Mapserver help for FreeStateProject Message-ID: <20031114012102.54371.qmail@web40907.mail.yahoo.com> Hi, I'm hoping someone on this list can help out... I'm looking for advice/help/pointers/etc toward doing a database driven map graphical web site to assist future Free State Project (FSP) members in moving to New Hampshire. from http://www.freestateproject.org The Free State Project is a plan in which 20,000 or more liberty-oriented people will move to New Hampshire, where they may work within the political system to reduce the size and scope of government. The success of the Free State Project would likely entail reductions in burdensome taxation and regulation, reforms in state and local law, an end to federal mandates, and a restoration of constitutional federalism, demonstrating the benefits of liberty to the rest of the nation and the world. I'm working with a 'research' group to compile useful data to allow people to choose places in NH toward making an informed decision as to where to move. This includes things like population and other demographics like housing costs or distance from airports, etc... It clearly looks like mapserver (and the variety of tools supporting it) are the way to go, to allow someone to enter in a number of desired parameters and see a graphical representation of places that fit that. ("Show me places within 30 miles of a population of 50,000 and with zoning that allows home businesses but where avg property costs are less than 40K a lot" and bingo: a map appears with areas highlighted in yellow or red, perfect for someone to go check out more in detail or in person.) While I'm good with linux and apache/php/mysql, I'm totally new to mapserver etc. Is PostGIS a must? Or is mysql fine? Can I do it all in PHP or am I going to need java too? What tools are best for doing something like? Does something like this exist? Anyone interested in helping make this site happen ASAP? I'm sure there are a few libertarian minded folks out there, there is your chance to help... Seth __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree From benvenuto.bertacco at seat.it Fri Nov 14 02:30:23 2003 From: benvenuto.bertacco at seat.it (Benvenuto Bertacco) Date: Fri, 14 Nov 2003 11:30:23 +0100 Subject: [Mapserver-users] Problems with true type font Message-ID: Hello, When trying to use the gd library compiled on XP with Visual C 7 using mapserver 4.0 GD 2.0.15 FreeType 2.2.5 and at the execution I get the following error: msGetLabelSize(): TrueType Font error. The point is that mapserver looks for true type support in gd.lib, doesn't seem to use freetype.lib. How can I avoid the problem? I mean, we are trying to merge the two libs into one, but this seems to be an huge task, is there a way to force mapserver to look in the freetype.lib for true type support? Any other way to avoid the problem? Any help will be appreciated Thanks Benvenuto From noti at ciaoweb.it Fri Nov 14 06:46:22 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Fri, 14 Nov 2003 15:46:22 +0100 Subject: [Mapserver-users] Mapscript problem with MS401 References: <003101c3a877$58e0fbe0$0301a8c0@valerion> <3FB131E9.80200@dmsolutions.ca> <006a01c3a90a$3f618a70$0301a8c0@valerion> Message-ID: <006101c3aac1$b64f82a0$0301a8c0@valerion> This is a multi-part message in MIME format. ------=_NextPart_000_002A_01C3AAC6.74184520 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I solved the problem with the following code: $map =3D ms_newMapObj("bound.map");=20 $image=3D$map->draw(); $path =3D "C:\Inetpub\wwwroot\gall\\\\".$HTTP_GET_VARS["layer"]; $shapefile =3D ms_newShapefileObj($path,-1); It seems that ms_newShapefileObj() doesn't work with relative paths. Thanks Valerio Noti ----- Original Message -----=20 From: Valerio Noti=20 To: Daniel Morissette=20 Cc: mapserver-users at lists.gis.umn.edu=20 Sent: Wednesday, November 12, 2003 11:46 AM Subject: Re: [Mapserver-users] Mapscript problem with MS401 Hi Daniel, Nothing to do: CAT_VETT.shp, mapfile.map and bound.php are in the same directory. A copy of CAT_VETT.shp is also in "shape" subfolder. This is the mapfile: ******************* ... SHAPEPATH "shape" .... LAYER NAME CAT_VETT TYPE POLYGON STATUS ON DATA CAT_VETT CLASS COLOR 110 50 100 OUTLINECOLOR 200 200 200 END END ...... ******************* I tried also: $path =3D "http://192.168.1.51/gall/CAT_VETT"; $shapefile =3D ms_newShapefileObj($path,-1); but the error is always the same: **************************************** Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in = c:\inetpub\wwwroot\gall\bound.php on line 19 Fatal error: Failed to open shapefile CAT_VETT in = c:\inetpub\wwwroot\gall\bound.php on line 19 **************************************** Thank you very much Valerio Noti ----- Original Message -----=20 From: "Daniel Morissette" To: "Valerio Noti" Cc: Sent: Tuesday, November 11, 2003 8:00 PM Subject: Re: [Mapserver-users] Mapscript problem with MS401 > One difference between V3.6 and 4.0 is the way relative paths are=20 > handled. Is the CAT_VETT.shp in the same directory as the mapfile?=20 > Perhaps try using an absolute path in the call to = ms_newShapefileObj()=20 > and see if that makes a difference. >=20 > Daniel >=20 > Valerio Noti wrote: > > Hello, > > =20 > > I've upgraded mapscript version from 366 to 401 downloaded from = DMsolutions. > > My old application seems to work well without applying changes to=20 > > mapfile or code. > > However I got an error when I try to get the feature extent of a=20 > > selected object. > > =20 > > Code of bound.php: > > =20 > > .... > > $map =3D ms_newMapObj("mapfile.map"); > > $image=3D$map->draw(); > > $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > > $shape =3D $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]); > > =20 > > //feature extension > > $ShapeIndex =3D $HTTP_GET_VARS["ShapeIndex"]; > > $shapeExt =3D $shapefile->getExtent($ShapeIndex); > > $minx =3D $shapeExt->minx; > > $miny =3D $shapeExt->miny; > > $maxx =3D $shapeExt->maxx; > > $maxy =3D $shapeExt->maxy; > > .... > > =20 > > I passed layer and shapeindex by a form and retrieved them with=20 > > HTTP_GET_VARS. > > I located shapefile in "shape" folder (as saved in mapfile.map) = but I=20 > > also tried > > copying shapefile in the same directory of bound.php. > > =20 > > The error is: > > ***************************** > > Warning: [MapServer Error]: msSHPOpenFile(): (CAT_VETT) in=20 > > c:\inetpub\wwwroot\gall\bound.php on line 16 > > =20 > > Fatal error: Failed to open shapefile CAT_VETT in=20 > > c:\inetpub\wwwroot\gall\bound.php on line 16 > > ***************************** > > CAT_VETT is the right name of shapefile, line 16 is: > > =20 > > $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1); > > =20 > > All this works fine changing reference to PHP_MAPSCRIPT_36.dll = instead=20 > > of PHP_MAPSCRIPT_4.0.1.dll. > > =20 > > Any help appreciated > > Thanks > > =20 > > Valerio Noti >=20 >=20 > ------=_NextPart_000_002A_01C3AAC6.74184520 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I solved the problem with the following code:

$map =3D=20 ms_newMapObj("bound.map");
$image=3D$map->draw();
$path =3D=20 "C:\Inetpub\wwwroot\gall\\\\".$HTTP_GET_VARS["layer"];
$shapefile =3D = ms_newShapefileObj($path,-1);

It seems that ms_newShapefileObj() = doesn't=20 work with relative paths.
 
Thanks
 
Valerio Noti
----- Original Message -----
From:=20 Valerio = Noti
Cc: mapserver-users at lists.g= is.umn.edu=20
Sent: Wednesday, November 12, = 2003 11:46=20 AM
Subject: Re: [Mapserver-users] = Mapscript=20 problem with MS401

Hi Daniel,
Nothing to do:
CAT_VETT.shp, mapfile.map and = bound.php are=20 in the same directory.
A copy of CAT_VETT.shp is also in = "shape"=20 subfolder.
 
This is the mapfile:
*******************
...
SHAPEPATH = "shape"
....
LAYER
NAME CAT_VETT
TYPE = POLYGON
STATUS=20 ON
DATA CAT_VETT
 CLASS
  COLOR 110 50=20 100
  OUTLINECOLOR 200 200 = 200
 END
END
......
*******************
 
I tried also:
$path =3D "http://192.168.1.51/gall/CAT_VETT";
$shapefile =3D = ms_newShapefileObj($path,-1);
 
but the error is always the = same:
****************************************
Warning: [MapServer Error]: = msSHPOpenFile():=20 (CAT_VETT) in c:\inetpub\wwwroot\gall\bound.php on line 19
Fatal = error:=20 Failed to open shapefile CAT_VETT in c:\inetpub\wwwroot\gall\bound.php = on line=20 19
****************************************
 
Thank you very much
 
Valerio Noti
 
 
 
 
----- Original Message -----
From: "Daniel Morissette" = <morissette at dmsolutions.ca>
To: "Valerio Noti" <noti at ciaoweb.it>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Tuesday, November 11, 2003 8:00 = PM
Subject: Re: [Mapserver-users] = Mapscript problem=20 with MS401

> One difference between V3.6 and 4.0 is the way relative = paths are=20
> handled.  Is the CAT_VETT.shp in the same directory as = the=20 mapfile?
> Perhaps try using an absolute path in the call to=20 ms_newShapefileObj()
> and see if that makes a = difference.
>=20
> Daniel
>
> Valerio Noti wrote:
> >=20 Hello,
> > 
> > I've upgraded mapscript = version from=20 366 to 401 downloaded from DMsolutions.
> > My old = application seems=20 to work well without applying changes to
> > mapfile or=20 code.
> > However I got an error when I try to get the = feature extent=20 of a
> > selected object.
> > 
> > = Code of=20 bound.php:
> > 
> > ....
> > $map =3D = ms_newMapObj("mapfile.map");
> > = $image=3D$map->draw();
> >=20 $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
> = >=20 $shape =3D = $shapefile->getShape($HTTP_GET_VARS["ShapeIndex"]);
>=20 > 
> > //feature extension
> > $ShapeIndex = =3D=20 $HTTP_GET_VARS["ShapeIndex"];
> > $shapeExt =3D=20 $shapefile->getExtent($ShapeIndex);
> > $minx =3D=20 $shapeExt->minx;
> > $miny =3D $shapeExt->miny;
> = >=20 $maxx =3D $shapeExt->maxx;
> > $maxy =3D = $shapeExt->maxy;
>=20 > ....
> > 
> > I passed layer and = shapeindex by a=20 form and retrieved them with
> > HTTP_GET_VARS.
> > = I=20 located shapefile in "shape" folder (as saved in mapfile.map) but I =
>=20 > also tried
> > copying shapefile in the same directory = of=20 bound.php.
> > 
> > The error is:
> > = *****************************
> > Warning: [MapServer Error]: = msSHPOpenFile(): (CAT_VETT) in
> > = c:\inetpub\wwwroot\gall\bound.php=20 on line 16
> > 
> > Fatal error: Failed to = open=20 shapefile CAT_VETT in
> > c:\inetpub\wwwroot\gall\bound.php = on line=20 16
> > *****************************
> > CAT_VETT is = the=20 right name of shapefile, line 16 is:
> > 
> >=20 $shapefile =3D ms_newShapefileObj($HTTP_GET_VARS["layer"],-1);
> = > 
> > All this works fine changing reference to=20 PHP_MAPSCRIPT_36.dll instead
> > of = PHP_MAPSCRIPT_4.0.1.dll.
>=20 > 
> > Any help appreciated
> > = Thanks
>=20 > 
> > Valerio Noti
>
>
>=20
------=_NextPart_000_002A_01C3AAC6.74184520-- From pierre.giraud3 at free.fr Fri Nov 14 07:19:35 2003 From: pierre.giraud3 at free.fr (Pierre GIRAUD) Date: Fri, 14 Nov 2003 16:19:35 +0100 Subject: [Mapserver-users] very small labels with flash output Message-ID: <015601c3aac2$b61d59a0$eb00a8c0@crarhonealpes.fr> This is a multi-part message in MIME format. ------=_NextPart_000_0153_01C3AACB.17C1B680 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm trying to add labels to shapes in a swf output. As said in FlashMapserverUserDoc.html, Ming only supports FDB fonts. I = downloaded some fdb fonts. Perhaps these are not good ones, because the swf shows very tiny labels = whatever value (tiny|small|medium|large|giant) I choose for the label = size. Has anyone been confronted to this problem ? Could someone send me some fdb fonts ? Are some fdb fonts available in = the DmSolutions site (like it is said) ? An integer value must be use for label size only for truetype type. As = fdb fonts can only be used as bitmap fonts, isn't it possible to give = then size value in integer ? Thanks in advance. Pierre GIRAUD ------=_NextPart_000_0153_01C3AACB.17C1B680 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
  I'm trying to add labels to = shapes in a swf=20 output.
 
As said in FlashMapserverUserDoc.html,=20 Ming only supports FDB fonts. I downloaded some fdb = fonts.
Perhaps these are not good ones, = because the swf=20 shows very tiny labels whatever value (tiny|small|medium|large|giant) I = choose=20 for the label size.
Has anyone been confronted to this = problem=20 ?
 
Could someone send me some fdb fonts = ? Are=20 some fdb fonts available in the DmSolutions site (like it is said)=20 ?
 
An integer value must be use for label = size only=20 for truetype type. As fdb fonts can only be used as bitmap = fonts,=20 isn't it possible to give then size value in integer ?
 
Thanks in advance.
 
Pierre = GIRAUD
------=_NextPart_000_0153_01C3AACB.17C1B680-- From adams at terrestris.de Fri Nov 14 08:14:54 2003 From: adams at terrestris.de (Till Adams) Date: Fri, 14 Nov 2003 17:14:54 +0100 Subject: [Mapserver-users] WMS and Querymap Message-ID: <3FB4FF7E.4070000@terrestris.de> Dear list, we have a problem using querymap through a WMS GetFeature-Info-request. We only get a querymap where the queried layer is displayed, all other layers, which are set to "on" in the map are not displayed in the querymap. We use Info_Mime_type 'text/html' the querymap style is set to "HILITE" Thanks in advance! Till From bartvde at xs4all.nl Fri Nov 14 08:45:50 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Fri, 14 Nov 2003 17:45:50 +0100 Subject: [Mapserver-users] Updated MapServer User Map In-Reply-To: <1068746022.4094.223.camel@moxi-rh9> References: <1068698702.4094.194.camel@moxi-rh9> <1068746022.4094.223.camel@moxi-rh9> Message-ID: Nice application! Is it a possibility that somebody from the University of Minnesota links this site to the main Mapserver site (http://mapserver.gis.umn.edu) ? Doug, I assume all the base map data for other countries would have to be in EPSG:4326 or not? Best regards, Bart On 13 Nov 2003 09:53:42 -0800, Doug Cates wrote: > Hi, > > FYI: I've added some more detailed base map data for North America to > assist users to locate themselves more accurately. The base map data is > drawn using WMS services at USGS and National Atlas of Canada. > > If user's from other countries are aware of WMS base map data available > for their country, let me know and I'll add it in. > > Doug > > On Wed, 2003-11-12 at 20:45, Doug Cates wrote: >> Hi, >> >> I've created a site that shows MapServer users: See it at: >> >> http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users >> >> I've heard people asking for this type of thing a few times, and decided >> to whip up a site for MapServer users, developers and installations to >> self register. >> >> Count yourself in. >> >> I'll add some better map data and query tools later on and post the URLs >> to the WMS and WFS services once more data is added. >> >> Best regards, >> Doug > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > -- From doug at moximedia.com Fri Nov 14 09:13:23 2003 From: doug at moximedia.com (Doug Cates) Date: 14 Nov 2003 09:13:23 -0800 Subject: [Mapserver-users] Updated MapServer User Map In-Reply-To: References: <1068698702.4094.194.camel@moxi-rh9> <1068746022.4094.223.camel@moxi-rh9> Message-ID: <1068830003.4094.362.camel@moxi-rh9> Bart, Thanks. Base data from other countries would work best in ESPG:4326. The application draws it directly from the WMS service (i.e. I don't need to include it in a MapServer map file), and the application can reproject if necessary, but for performance reasons, I'd prefer a geographic projection. At this scale, other geographic projections would be fine too. Doug On Fri, 2003-11-14 at 08:45, Bart van den Eijnden wrote: > Nice application! > > Is it a possibility that somebody from the University of Minnesota links > this site to the main Mapserver site (http://mapserver.gis.umn.edu) ? > > Doug, I assume all the base map data for other countries would have to be > in EPSG:4326 or not? > > Best regards, > Bart From morissette at dmsolutions.ca Fri Nov 14 09:30:22 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 14 Nov 2003 12:30:22 -0500 Subject: [Mapserver-users] Problems with true type font In-Reply-To: References: Message-ID: <3FB5112E.8090606@dmsolutions.ca> Benvenuto Bertacco wrote: > Hello, > When trying to use the gd library > compiled on XP with Visual C 7 using mapserver 4.0 GD 2.0.15 FreeType 2.2.5 > and at the > execution I get the following error: > msGetLabelSize(): TrueType Font error. > The point is that mapserver looks for true type support in gd.lib, doesn't > seem to use freetype.lib. How can I avoid the problem? I mean, we are trying > to merge the two libs into one, but this seems to be an huge task, is there > a way to force mapserver to look in the freetype.lib for true type support? You need to compile GD with freeetype support. See the GD docs and makefile for that. Once freetype is enabled in your gd.lib, MapServer will be able to use it if you enable the right options in the MapServer makefile.vc. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From morissette at dmsolutions.ca Fri Nov 14 09:43:35 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 14 Nov 2003 12:43:35 -0500 Subject: [Mapserver-users] WMS and Querymap In-Reply-To: <3FB4FF7E.4070000@terrestris.de> References: <3FB4FF7E.4070000@terrestris.de> Message-ID: <3FB51447.7060201@dmsolutions.ca> Till Adams wrote: > > we have a problem using querymap through a WMS GetFeature-Info-request. > > We only get a querymap where the queried layer is displayed, all other > layers, which are set to "on" in the map are not displayed in the querymap. > > We use Info_Mime_type 'text/html' > > the querymap style is set to "HILITE" > It's quite likely that the QUERY_LAYERS parameter takes precedence over LAYERS value in the WMS GetFeatureInfo request and the non-queryable layers end up being turned off. Um... perhaps one thing you could do to work around the problem is to pass the same list of layer names in QUERY_LAYERS that you pass in LAYERS. The layers that don't have a template won't be queried anyway but they will show up in the query map. If that doesn't work for you then please file a bug in bugzilla. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From arcims at stuartgreen.net Fri Nov 14 11:50:53 2003 From: arcims at stuartgreen.net (Stuart Green) Date: Fri, 14 Nov 2003 11:50:53 -0800 Subject: [Mapserver-users] Graphics card recommendation for ArcIMS? Message-ID: > 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. --B_3151655454_3920189 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I am in the process of ordering hardware for a new ArcIMS server we're installing. It will be running on Windows 2000. My question is, what graphics card should I order? We don't expect a huge amount of traffic -- maybe 100,000 maps a day (but that is just a guess). If anyone has any suggestions I would really appreciate it. Thanks- Stuart --B_3151655454_3920189 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Graphics card recommendation for ArcIMS? I am in the process of ordering hardware for a new Arc= IMS server we're installing. It will be running on Windows 2000. My question= is, what graphics card should I order? We don't expect a huge amount of tra= ffic -- maybe 100,000 maps a day (but that is just a guess). If anyone has a= ny suggestions I would really appreciate it.

Thanks- Stuart
--B_3151655454_3920189-- From stephen.clark at focus.ca Fri Nov 14 13:18:15 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Fri, 14 Nov 2003 13:18:15 -0800 Subject: [Mapserver-users] Multiple Layers using a dynamically generated drop down list : tree like interface References: <159EE492F7DD4A49BD57168D23D65956AC52C6@fs01.houstonengineeringinc.com> Message-ID: <032501c3aaf4$d1bf1950$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0321_01C3AAB1.C356BA00 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0322_01C3AAB1.C356BA00" ------=_NextPart_001_0322_01C3AAB1.C356BA00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Brian and others: Could you provide some help on how to keep the list of layers that is = checked "set to on" by the TREE to be set everytime the html page is = loaded? Is there a javascript INIT() finction that can be processed = automatically everytime the html page id loaded? I could use the [layers_esc] variable for further processing. I have included my html file. thanks, Stephen ----- Original Message -----=20 From: Brian Fischer=20 To: Stephen Clark ; Calin D. NITU (office)=20 Sent: Monday, October 27, 2003 7:09 AM Subject: RE: [Mapserver-users] Multiple Layers using a dynamically = generated drop down list : tree like interface Here is the code I got from the USACE. It also includes an example. Enjoy, Brian Brian Fischer Houston Engineering, Inc. Maple Grove, MN (763) 493-4522 -----Original Message----- From: Stephen Clark [mailto:stephen.clark at focus.ca]=20 Sent: Friday, October 24, 2003 6:44 PM To: Brian Fischer Subject: Re: [Mapserver-users] Multiple Layers using a dynamically = generated drop down list : tree like interface Brian, That would be great. Please send the javascript code. Thanks, Stephen ----- Original Message -----=20 From: Brian Fischer=20 To: Stephen Clark ; mapserver-users at lists.gis.umn.edu=20 Sent: Wednesday, October 22, 2003 12:18 PM Subject: RE: [Mapserver-users] Multiple Layers using a dynamically = generated drop down list : tree like interface Stephen, Take a look at: = http://www.rrbdin.org/tools/mapviewer/basinviewer.htm. I got the = original code from the U.S. Army Corps of Engineers. I can give you the javascript code if you like. Brian Brian Fischer Houston Engineering, Inc. Maple Grove, MN (763) 493-4522 -----Original Message----- From: Stephen Clark [mailto:stephen.clark at focus.ca]=20 Sent: Wednesday, October 22, 2003 1:44 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Multiple Layers using a dynamically = generated drop down list : tree like interface hi all, Has anyone setup a mapping site where the list of layers is grouped = by category and expandable / collapsable via a (possible javascript) = tree like interface. Something like the way folders are expanded in = Windows Explorer. thanks, Stephen ------=_NextPart_001_0322_01C3AAB1.C356BA00 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Brian and others:
 
Could you provide some help on how to = keep the list=20 of layers that is checked "set to on" by the TREE to be set everytime = the html=20 page is loaded?
 
Is there a javascript INIT() finction = that can be=20 processed automatically everytime the html page id loaded?
I could use the [layers_esc] variable = for further=20 processing.
 
I have included my html = file.
 
thanks,
Stephen
 
 
 
----- Original Message -----
From:=20 Brian Fischer =
To: Stephen Clark ; Calin D. NITU=20 (office)
Sent: Monday, October 27, 2003 = 7:09=20 AM
Subject: RE: [Mapserver-users] = Multiple=20 Layers using a dynamically generated drop down list : tree like=20 interface

Here is the = code I=20 got from the USACE.  It also includes an = example.

 

Enjoy,

Brian

 

Brian=20 Fischer

Houston = Engineering,=20 Inc.

Maple = Grove,=20 MN

(763)=20 493-4522

-----Original=20 Message-----
From:=20
Stephen = Clark=20 [mailto:stephen.clark at focus.ca]
Sent:
Friday, October 24, 2003 = 6:44=20 PM
To: =
Brian=20 Fischer
Subject: Re: [Mapserver-users] = Multiple=20 Layers using a dynamically generated drop down list : tree like=20 interface

 

Brian,

 

That would be = great.  Please=20 send the javascript code.

 

Thanks,

Stephen

----- Original Message = -----=20

From: Brian Fischer =

To: Stephen=20 Clark ; mapserver-users at lists.g= is.umn.edu=20

Sent:=20 Wednesday, October 22, 2003 12:18 PM

Subject: RE:=20 [Mapserver-users] Multiple Layers using a dynamically generated drop = down=20 list : tree like interface

 

Stephen,

 

Take a=20 look at: http://www= .rrbdin.org/tools/mapviewer/basinviewer.htm.=20  I got the original code from the U.S. Army Corps of=20 Engineers.

 

I can=20 give you the javascript code if you like.

 

Brian

 

Brian=20 Fischer

Houston=20 Engineering, Inc.

Maple=20 Grove, MN

(763)=20 493-4522

-----Original=20 Message-----
From: Stephen=20 Clark [mailto:stephen.clark at focus.ca]
Sent: Wednesday, October 22, = 2003 1:44=20 PM
To: mapserver-users at lists.g= is.umn.edu
Subject: [Mapserver-users] = Multiple=20 Layers using a dynamically generated drop down list : tree like=20 interface

 

hi = all,

 

Has anyone setup a = mapping site=20 where the list of layers is grouped by category and expandable / = collapsable=20 via a (possible javascript) tree like interface.  Something = like the=20 way folders are expanded in Windows = Explorer.

 

thanks,

Stephen

 

------=_NextPart_001_0322_01C3AAB1.C356BA00-- ------=_NextPart_000_0321_01C3AAB1.C356BA00 Content-Type: text/html; name="menudisplayfsj.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="menudisplayfsj.html"
=09

=20 ------=_NextPart_000_0321_01C3AAB1.C356BA00-- From bartvde at xs4all.nl Fri Nov 14 12:17:01 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Fri, 14 Nov 2003 21:17:01 +0100 Subject: [Mapserver-users] Graphics card recommendation for ArcIMS? In-Reply-To: References: Message-ID: Hi Stuart, don't know why you send this to mapserver user list, but anyway. As far as I know ArcIMS does not use the graphics card to write map images. So it does not matter what kind of card you put in. >From the ArcIMS installation manual: ArcIMS Spatial Servers run on a Windows NT? Server, Windows NT Workstation, Windows 2000, Windows XP, or UNIX. A graphics card is not required. Best regards, Bart On Fri, 14 Nov 2003 11:50:53 -0800, Stuart Green wrote: > I am in the process of ordering hardware for a new ArcIMS server we're > installing. It will be running on Windows 2000. My question is, what > graphics card should I order? We don't expect a huge amount of traffic -- > maybe 100,000 maps a day (but that is just a guess). If anyone has any > suggestions I would really appreciate it. > > Thanks-Stuart > > -- From ed at topozone.com Fri Nov 14 12:33:07 2003 From: ed at topozone.com (Ed McNierney) Date: Fri, 14 Nov 2003 15:33:07 -0500 Subject: [Mapserver-users] Graphics card recommendation for ArcIMS? Message-ID: <13858AA1A74F30419F319ACB66A9D1222C0644@mercator.topozone.com> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AAEE.834478EF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Stuart - =20 There are mailing lists for ArcIMS discussions; I don't think the = MapServer group is the most helpful place to ask about ArcIMS = configuration. =20 Quite a while back ESRI UK issued a press release when the AA = (Automobile Association) launched an ArcIMS site making 72,000 maps per = day, calling it "one of the largest [ArcIMS sites] in the world". The = ArcIMS 4.0.1 installation guide says "A high-volume Web site, with = 100,000 to 1,000,000 maps per day, should be distributed to multiple = ArcIMS Spatial Server computers." I think there are a number of issues = other than graphics card you should be worrying about - in fact, I'd put = the graphics card as probably the least important piece of hardware in = that system. You should try to find someone who is actually running an = ArcIMS server at that volume level and get some serious design review = advice. =20 Or you could decide to use MapServer and ask us instead . =20 - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed at topozone.com (978) 251-4242=20 -----Original Message----- From: Stuart Green [mailto:arcims at stuartgreen.net] Sent: Friday, November 14, 2003 2:51 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Graphics card recommendation for ArcIMS? I am in the process of ordering hardware for a new ArcIMS server we're = installing. It will be running on Windows 2000. My question is, what = graphics card should I order? We don't expect a huge amount of traffic = -- maybe 100,000 maps a day (but that is just a guess). If anyone has = any suggestions I would really appreciate it. Thanks- Stuart ------_=_NextPart_001_01C3AAEE.834478EF Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Graphics card recommendation for ArcIMS?
Stuart=20 -
 
There=20 are mailing lists for ArcIMS discussions; I don't think the MapServer = group is=20 the most helpful place to ask about ArcIMS = configuration.
 
Quite=20 a while back ESRI UK issued a press release when the AA (Automobile = Association)=20 launched an ArcIMS site making 72,000 maps per day, calling it "one of = the=20 largest [ArcIMS sites] in the world".  The ArcIMS 4.0.1 = installation guide=20 says "A high-volume Web site, with 100,000 to 1,000,000 maps per day, = should be=20 distributed to multiple ArcIMS Spatial Server computers."  I think = there=20 are a number of issues other than graphics card you should be worrying = about -=20 in fact, I'd put the graphics card as probably the least important piece = of=20 hardware in that system.  You should try to find someone who is = actually=20 running an ArcIMS server at that volume level and get some serious = design review=20 advice.
 
Or you=20 could decide to use MapServer and ask us instead = <g>.
 
    - Ed

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

-----Original Message-----
From: Stuart Green=20 [mailto:arcims at stuartgreen.net]
Sent: Friday, November 14, = 2003 2:51=20 PM
To: mapserver-users at lists.gis.umn.edu
Subject:=20 [Mapserver-users] Graphics card recommendation for=20 ArcIMS?

I am in the process = of ordering=20 hardware for a new ArcIMS server we're installing. It will be running = on=20 Windows 2000. My question is, what graphics card should I order? We = don't=20 expect a huge amount of traffic -- maybe 100,000 maps a day (but that = is just=20 a guess). If anyone has any suggestions I would really appreciate=20 it.

Thanks- Stuart
------_=_NextPart_001_01C3AAEE.834478EF-- From doug at moximedia.com Fri Nov 14 13:32:25 2003 From: doug at moximedia.com (Doug Cates) Date: 14 Nov 2003 13:32:25 -0800 Subject: [Mapserver-users] new look for MapServer User Map Message-ID: <1068845545.4094.404.camel@moxi-rh9> I've modified the MapServer User Map application to have the same look and feel as the UMN MapServer site. See: http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users Doug From vinko at cprsig.cl Fri Nov 14 14:58:52 2003 From: vinko at cprsig.cl (Vinko Vrsalovic) Date: Fri, 14 Nov 2003 19:58:52 -0300 Subject: [Mapserver-users] Reference map in PHP Mapscript / HTML In-Reply-To: <130342973089.20031112110555@justapi.de> References: <130342973089.20031112110555@justapi.de> Message-ID: <20031114225852.GA11266@landsat.cprsig.cl> On Wed, Nov 12, 2003 at 11:05:55AM +0100, Sebastian Albrecht wrote: > Hello, > > I have a big problem I try to solve since a few days. I've already > searched the whole archive but did not found anything. > > So far I developed a web interface using PHP Mapscript. It should act > and work as the Mapserver cgi-bin interface. > > The only problem I have is the reference map. It displays the red box > correct but I do not right know what to do with the xyinput of the box > if a user clicks on it. > Does anybody have an example of how to implement the reference map and > how to zoom to the correct point in mapscript (language doesn't > matter)? you have to define an extent for the reference map, then you can convert your pixel coords to georreferenced ones and then set the main map extent accordingly, for instance: (improvised code) $x_ref = $reference_map['x']; $y_ref = $reference_map['y']; //assuming the form variable for the //reference map is reference_map $reference_click = pix2geo($x_ref,$y_ref,$mapobj->reference->extent, $mapobj->reference->width,$mapobj->reference->height); $mapobj->setextent($reference_click->x - 100, $reference_click->y - 100, $reference_click->x + 100, $reference_click->y + 100); //Assuming you'll want to center the map on the point //clicked on the reference map with 200 units radius where pix2geo would be: function pix2geo($pix_x,$pix_y,&$extent,$width,$height) { $pix_x_geo_x = ($extent->maxx - $extent->minx) / ($width - 1); $pix_x_geo_y = ($extent->maxy - $extent->miny) / ($height - 1); $geo_x = $extent->minx + $pix_x_geo_x*$pix_x; $geo_y = $extent->maxy - $pix_x_geo_y*$pix_y; $my_point = ms_newPointObj(); $my_point->setXY($geo_x,$geo_y); return $my_point; } -- Vinko Vrsalovic http://www.cprsig.cl From api at justapi.de Fri Nov 14 15:12:33 2003 From: api at justapi.de (Sebastian Albrecht) Date: Sat, 15 Nov 2003 00:12:33 +0100 Subject: [Mapserver-users] Reference map in PHP Mapscript / HTML In-Reply-To: <20031114225852.GA11266@landsat.cprsig.cl> References: <130342973089.20031112110555@justapi.de> <20031114225852.GA11266@landsat.cprsig.cl> Message-ID: <972802379.20031115001233@justapi.de> Hi Vinko, I've just tried a very similar solution that uses the pix2geo method, too. But the output xy still differs from my input xy click on the reference map. The further away from the center of the map (lat=0, lon=0) the input xy is the more different is the output xy. Is it actually possible to calculate these geo coordinates from the pixels without having an eye on the projection stuff? Thanks so far for your help and best regards, Sebastian Albrecht > you have to define an extent for the reference map, then you can convert > your pixel coords to georreferenced ones and then set the main map > extent accordingly, for instance: (improvised code) > $x_ref = $reference_map['x']; > $y_ref = $reference_map['y']; //assuming the form variable for the > //reference map is reference_map > $reference_click = pix2geo($x_ref,$y_ref,$mapobj->reference->extent, > $mapobj->reference->width,$mapobj->reference->height); $mapobj->>setextent($reference_click->x - 100, $reference_click->y - 100, > $reference_click->x + 100, $reference_click->y + 100); > //Assuming you'll want to center the map on the point > //clicked on the reference map with 200 units radius > where pix2geo would be: > function pix2geo($pix_x,$pix_y,&$extent,$width,$height) { > $pix_x_geo_x = ($extent->maxx - $extent->minx) > / ($width - 1); > $pix_x_geo_y = ($extent->maxy - $extent->miny) > / ($height - 1); > $geo_x = $extent->minx + $pix_x_geo_x*$pix_x; > $geo_y = $extent->maxy - $pix_x_geo_y*$pix_y; > $my_point = ms_newPointObj(); > $my_point->setXY($geo_x,$geo_y); > return $my_point; > } From joe at otsys.com Fri Nov 14 16:39:56 2003 From: joe at otsys.com (Joe Bussell) Date: Fri, 14 Nov 2003 16:39:56 -0800 Subject: [Mapserver-users] point in polygon Message-ID: <3FB575DC.7010902@otsys.com> Greetings listers, Could someone please explain to me the theory behind the pointInPolygon routine used in Mapserver? The code is reproduced here to facilitate discussion: I am specifically attempting to understand how I can determine if a point lies inside an irregular polygon which straddles the international date line. from mapsearch.c: int msPointInPolygon(pointObj *p, lineObj *c) { int i, j, status = MS_FALSE; for (i = 0, j = c->numpoints-1; i < c->numpoints; j = i++) { if ( ( ( ( c->point[i].y <= p->y ) && ( p->y < c->point[j].y ) ) || ( ( c->point[j].y <= p->y ) && (p->y < c->point[i].y ) ) ) && ( p->x < ( c->point[j].x - c->point[i].x ) * ( p->y - c->point[i].y ) / ( c->point[j].y - c->point[i].y ) + c->point[i].x ) ) status = !status; } return status; } This is distincly different from other published PointInPolygon routines which require that you draw a ray from an internal point to the point being tested. The number of crossing being even suggests that you are inside, where an odd number of crossings indicates that you are outside. My current algorithm ( based on "Computational Geometry in C" by Joseph O'Rourke http://cs.smith.edu/~orourke/books/ftp.html) is breaking down at the date line . My fear is that when it gets to testing a given vertex that crosses the -180,180 transition that it is assuming the segment that wraps around the entire globe instead. btw, Mapserver still will not properly render polygons which straddle the dateline. This seems to be a common source of errors. Cordially, Joe Bussell From woodbri at swoodbridge.com Fri Nov 14 17:58:04 2003 From: woodbri at swoodbridge.com (woodbri at swoodbridge.com) Date: Fri, 14 Nov 2003 20:58:04 -0500 Subject: [Mapserver-users] point in polygon In-Reply-To: <3FB575DC.7010902@otsys.com> Message-ID: <3FB541DC.30202.4EA862CB@localhost> Joe, The typical way this is done is run a horizontal or vertical line from the point to another point beyond the extents of the polygon. Then to count the number of intersection of the line with the edges of the polygon and if the count is even then the point is outside the polygon and even is inside the polygon. You don't need to compute the actual intersection point you just need to determine if it does intersect. You also need to deal with some degenerate cases, like the line intersect a vertex of the polygon or the line intersects an edge of the polygon, or the point in question lies on the polygon edge. In the code you see status = !status; this is counting the even/oddness of the intersection. Much of if is determining if the polygon edge is outside the extents of the line then you can skip it and the final part is checking for an intersection. Hope that makes more sense, -Steve W. On 14 Nov 2003 at 16:39, Joe Bussell wrote: > Greetings listers, > Could someone please explain to me the theory behind the pointInPolygon routine used in Mapserver? > The code is reproduced here to facilitate discussion: > > I am specifically attempting to understand how I can determine if a point lies inside an irregular polygon which straddles the international date line. > > from mapsearch.c: > > int msPointInPolygon(pointObj *p, lineObj *c) > { > int i, j, status = MS_FALSE; > > for (i = 0, j = c->numpoints-1; i < c->numpoints; j = i++) > { > if ( ( ( ( c->point[i].y <= p->y ) && ( p->y < c->point[j].y ) ) > || ( ( c->point[j].y <= p->y ) && (p->y < c->point[i].y ) ) ) > && ( p->x < ( c->point[j].x - c->point[i].x ) * ( p->y - c->point[i].y ) / > ( c->point[j].y - c->point[i].y ) + c->point[i].x ) ) > status = !status; > } > return status; > } > > > This is distincly different from other published PointInPolygon routines which require that you draw a ray from an internal point to the point being tested. The number of crossing being even suggests that you are inside, where an odd number of crossings indicates that you are outside. My current algorithm ( based on "Computational Geometry in C" by Joseph O'Rourke http://cs.smith.edu/~orourke/books/ftp.html) is breaking down at the date line . My fear is that when it gets to testing a given vertex that crosses the -180,180 transition that it is assuming the segment that wraps around the entire globe instead. > > btw, Mapserver still will not properly render polygons which straddle the dateline. This seems to be a common source of errors. > > Cordially, > > Joe Bussell > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From cstorozuk at shaw.ca Fri Nov 14 19:18:28 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Fri, 14 Nov 2003 21:18:28 -0600 Subject: [Mapserver-users] Tiled rasters cause map to show source of HTML template Message-ID: <001b01c3ab27$23a86aa0$e60c4f18@duke> This is a multi-part message in MIME format. ------=_NextPart_000_0018_01C3AAF4.D8B3CCB0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear all, I've just started working to display my images (TIF topo maps) using a = tiled index. When I try to load the map with one of the tiles in my view = extents, I see the following in place of the webpage, as plain text: Content-type: text/html ... the rest of the source... My map file defines the layer as: LAYER NAME topo TILEINDEX topo_250k_index TILEITEM SHEET_NAME STATUS DEFAULT TYPE RASTER CLASSITEM "[pixel]" CLASS EXPRESSION ([pixel] > 0) END PROJECTION "proj=3Dlatlong" END END If I move to an area for which no TIF file exists in the directory, I = get the following text just above the text shown above: ERROR 4: `c:\inetpub\wwwroot\maps\../data/ab/82P.tif' does not exist in = the file system, and is not recognised as a supported dataset name. This leads me to believe the tile process is working correctly, having = recognized which files are available and which are not, but something in = the way the webpage is being processed. Any suggestions? Chris ------=_NextPart_000_0018_01C3AAF4.D8B3CCB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear all,
 
I've just started working to display my = images (TIF=20 topo maps) using a tiled index. When I try to load the map with one of = the tiles=20 in my view extents, I see the following in place of the webpage, as = plain=20 text:
 
Content-type: text/html

<!-- MapServer version 4.0 = OUTPUT=3DGIF=20 OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWBMP OUTPUT=3DPDF OUTPUT=3DSWF = SUPPORTS=3DPROJ=20 SUPPORTS=3DFREETYPE SUPPORTS=3DWMS_SERVER SUPPORTS=3DWMS_CLIENT = SUPPORTS=3DWFS_SERVER=20 SUPPORTS=3DWFS_CLIENT INPUT=3DEPPL7 INPUT=3DPOSTGIS INPUT=3DOGR = INPUT=3DGDAL=20 INPUT=3DSHAPEFILE -->
... the rest of = the=20 source...
 
My map file defines the layer = as:
LAYER
  NAME topo
  TILEINDEX=20 topo_250k_index
  TILEITEM SHEET_NAME
  STATUS = DEFAULT
  TYPE RASTER
  CLASSITEM=20 "[pixel]"
  CLASS
     EXPRESSION = ([pixel]=20 >=20 0)
  END
  PROJECTION
   "pro= j=3Dlatlong"
  END
 END
 
If I move to an area for which no TIF = file exists=20 in the directory, I get the following text just above the text shown=20 above:
ERROR 4:=20 `c:\inetpub\wwwroot\maps\../data/ab/82P.tif' does not exist in the file=20 system,
and is not recognised as a supported dataset=20 name.
This leads me to believe the tile = process is=20 working correctly, having recognized which files are available and which = are=20 not, but something in the way the webpage is being processed. Any=20 suggestions?
 
Chris
------=_NextPart_000_0018_01C3AAF4.D8B3CCB0-- From morissette at dmsolutions.ca Fri Nov 14 19:49:46 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 14 Nov 2003 22:49:46 -0500 Subject: [Mapserver-users] Tiled rasters cause map to show source of HTML template In-Reply-To: <001b01c3ab27$23a86aa0$e60c4f18@duke> References: <001b01c3ab27$23a86aa0$e60c4f18@duke> Message-ID: <3FB5A25A.4090303@dmsolutions.ca> Chris Storozuk wrote: > > If I move to an area for which no TIF file exists in the directory, I > get the following text just above the text shown above: > ERROR 4: `c:\inetpub\wwwroot\maps\../data/ab/82P.tif' does not exist in > the file system, > and is not recognised as a supported dataset name. > This leads me to believe the tile process is working correctly, having > recognized which files are available and which are not, but something in > the way the webpage is being processed. Any suggestions? > Chris, We've seen this problem before but it's very hard to reproduce and we were never able to reproduce and track it down. Is there any chance you could submit a bug or send us your whole mapfile + data to reproduce this? We would really like to fix this one. BTW, I assume you're using the 4.0 build from our (DM Solutions) download site? Can you confirm that? Thanks Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From gerry.creager at tamu.edu Fri Nov 14 22:48:25 2003 From: gerry.creager at tamu.edu (Gerry Creager N5JXS) Date: Sat, 15 Nov 2003 00:48:25 -0600 Subject: [Mapserver-users] references to look in the archives... Message-ID: <3FB5CC39.8070904@tamu.edu> Can someone suggest keys to search on in the archives for mouse-over data? I've gotta get started on a new site Real Soon Now, and I'll be needing this... Thanks in advance, Gerry -- Gerry Creager -- gerry.creager at tamu.edu Texas Mesonet -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From nicolas at mail.maich.gr Sat Nov 15 07:04:09 2003 From: nicolas at mail.maich.gr (Nicolas Boretos) Date: Sat, 15 Nov 2003 17:04:09 +0200 Subject: [Mapserver-users] application opinions Message-ID: <200311151704.AA109642044@mail.maich.gr> Hi, I wanted to bounce some ideas off you guys wrt an application using ms. In this app, a user: *submits some input parameters via a web form *an econometric model is run utilizing these params *the output file is parsed and a dbf file is updated *user is re-directed to ms for querying/zooming etc.The dbf file that is updated is the attribute file of the shape file use for mapping While this scenario seems ok for a single user, I think that things would getconfusing for multiple users; meaning how to separate userA's updated dbf from userN's dbf...Keeping multiple copies of the shape/dbf is kind of costly as the dbf is 25Mb, and the shape is ~10Mb... AFAIK, ms-cgi works with a shape/dbf pair of the same name. Can you have ms work with additional dbf and the same shape file? In the app, I need to update only 4, out of 57 fields, by ~39000 records, so the thinking would be to use the original dbf and create an additional user[pid].dbf for the duration of the user sesion... i am sure that there other things I did not think about, so feedback would be welcome..... regards, nicolas boretos From woodbri at swoodbridge.com Sat Nov 15 08:01:59 2003 From: woodbri at swoodbridge.com (woodbri at swoodbridge.com) Date: Sat, 15 Nov 2003 11:01:59 -0500 Subject: [Mapserver-users] application opinions In-Reply-To: <200311151704.AA109642044@mail.maich.gr> Message-ID: <3FB607A7.27666.51AD0402@localhost> I haven't done it, but this sounds like a good case to use a table join. If you create a unique dbf with a key and the 4 fields you want to change, then you should be able to join that with the standard shape/dbf pair and use the added fields as attributes. Each user could have it's unique dbf. I will defer to other on how to actually implement this :) -Steve W. On 15 Nov 2003 at 17:04, Nicolas Boretos wrote: > Hi, > > I wanted to bounce some ideas off you guys wrt an application using ms. > In this app, a user: > > *submits some input parameters via a web form > *an econometric model is run utilizing these params > *the output file is parsed and a dbf file is updated > *user is re-directed to ms for querying/zooming etc.The dbf file that is updated is the attribute file of the shape file use for mapping > > While this scenario seems ok for a single user, I think that things would getconfusing for multiple users; meaning how to separate userA's updated dbf from userN's dbf...Keeping multiple copies of the shape/dbf is kind of costly as the dbf is 25Mb, and the shape is ~10Mb... > > AFAIK, ms-cgi works with a shape/dbf pair of the same name. Can you have ms work with additional dbf and the same shape file? > In the app, I need to update only 4, out of 57 fields, by ~39000 records, so the thinking would be to use the original dbf and create an additional user[pid].dbf for the duration of the user sesion... > > i am sure that there other things I did not think about, so feedback would be welcome..... > > > regards, > > nicolas boretos > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From remi.baud at eivd.ch Sat Nov 15 09:10:07 2003 From: remi.baud at eivd.ch (BAUD remi) Date: Sat, 15 Nov 2003 18:10:07 +0100 Subject: [Mapserver-users] gmap with chameleon widgets Message-ID: hi, I wanted to know if it's possible to add some chameleon simple widgets (like tools for navigation, distance mes. ) in a gmap application without too many changes? Do someone already tried? cheers From johan at antonsson.com Sun Nov 16 05:04:53 2003 From: johan at antonsson.com (Johan Antonsson) Date: Sun, 16 Nov 2003 14:04:53 +0100 Subject: [Mapserver-users] How to link maps with different scales Message-ID: <000001c3ac42$3a2a1000$6400a8c0@ATOM> Hi all, Newbie question: I have three sets of maps, all showing the same area but with different scales, 50 000, 100 000 and 250 000. I want MapServer to automatically switch between those map sets when the user zooms in or out to a certain extent. Right now I have one mapfile per map set. Does MapServer support this or do I have to keep track of the current scale and map sets myself? Does anyone have an example of how to solve this problem? TIA /Johan ------------------------------------------------------------ Johan Antonsson johan at antonsson.com ------------------------------------------------------------ From bartvde at xs4all.nl Sun Nov 16 05:21:16 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Sun, 16 Nov 2003 14:21:16 +0100 Subject: [Mapserver-users] How to link maps with different scales In-Reply-To: <000001c3ac42$3a2a1000$6400a8c0@ATOM> References: <000001c3ac42$3a2a1000$6400a8c0@ATOM> Message-ID: Hi Johan, you should make your layers scale dependent in the map file and then GROUP them. Put them all in one mapfile. For scale dependency you use MINSCALE and MAXSCALE. To group layers together use GROUP "group_name". See for more elaborate info: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html Best regards, Bart On Sun, 16 Nov 2003 14:04:53 +0100, Johan Antonsson wrote: > Hi all, > > Newbie question: I have three sets of maps, all showing the same area > but with different scales, 50 000, 100 000 and 250 000. I want MapServer > to automatically switch between those map sets when the user zooms in or > out to a certain extent. Right now I have one mapfile per map set. Does > MapServer support this or do I have to keep track of the current scale > and map sets myself? Does anyone have an example of how to solve this > problem? > > TIA > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- From johan at antonsson.com Sun Nov 16 05:52:18 2003 From: johan at antonsson.com (Johan Antonsson) Date: Sun, 16 Nov 2003 14:52:18 +0100 Subject: [Mapserver-users] Positioning of labels Message-ID: <000101c3ac48$d982da00$6400a8c0@ATOM> Hi all, In my map sets there is information about label positions in the annotation layer attribute table. The positioning system is about the same as in the POSITION CLASS object parameter except that it uses numbers instead of named positions: POSITION parameter ul uc ur cl cc cr ll lc lr Position information in my .dbf file 7 8 9 4 5 6 1 2 3 I don't like to use the POSITION parameter since every label has its own position relative to its point. What I'm looking for is a parameter in the LAYER object e.g. called LABELPOSITIONITEM that would refer to the position attribute table column. Is there such a feature in MapServer or do I have to be content with POSITION=auto in the CLASS object? TIA /Johan ------------------------------------------------------------ Johan Antonsson johan at antonsson.com ------------------------------------------------------------ From gerry.creager at tamu.edu Sun Nov 16 07:05:14 2003 From: gerry.creager at tamu.edu (Gerry Creager N5JXS) Date: Sun, 16 Nov 2003 09:05:14 -0600 Subject: [Mapserver-users] Positioning of labels In-Reply-To: <000101c3ac48$d982da00$6400a8c0@ATOM> References: <000101c3ac48$d982da00$6400a8c0@ATOM> Message-ID: <3FB7922A.1010806@tamu.edu> I'll have to go back and play with it, but at least with a perlscript, you can do a quick table lookup. Or it'd be trivial to add a database column that corresponds to what Mapserver uses, and is updated once from the existing dbf. I've got labels that have to go in specific positions. It's not that hard to do it once in the mapfile and go on. gerry Johan Antonsson wrote: > Hi all, > > In my map sets there is information about label positions in the > annotation layer attribute table. The positioning system is about the > same as in the POSITION CLASS object parameter except that it uses > numbers instead of named positions: > > POSITION parameter > ul uc ur > cl cc cr > ll lc lr > > Position information in my .dbf file > 7 8 9 > 4 5 6 > 1 2 3 > > I don't like to use the POSITION parameter since every label has its own > position relative to its point. What I'm looking for is a parameter in > the LAYER object e.g. called LABELPOSITIONITEM that would refer to the > position attribute table column. Is there such a feature in MapServer or > do I have to be content with POSITION=auto in the CLASS object? > > TIA > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager at tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From johan at antonsson.com Sun Nov 16 08:30:22 2003 From: johan at antonsson.com (Johan Antonsson) Date: Sun, 16 Nov 2003 17:30:22 +0100 Subject: [Mapserver-users] Positioning of labels In-Reply-To: <3FB7922A.1010806@tamu.edu> Message-ID: <000201c3ac5e$ee7f4f90$6400a8c0@ATOM> Thanks Gerry, The thing is that MapServer doesn't seem to do any table lookup for the POSITION parameter (which also is in the CLASS object). I use the precompiled Windows version of MapServer. My map set is huge with an individual position for virtually every label, independent of class. It seems to me that such a lookup (but in the LAYER object) would be very useful feature. A problem might be different positioning standards. Regards /Johan ------------------------------------------------------------ Johan Antonsson johan at antonsson.com ------------------------------------------------------------ -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Gerry Creager N5JXS Sent: den 16 november 2003 16:05 To: Johan Antonsson Cc: MapServer Users Subject: Re: [Mapserver-users] Positioning of labels I'll have to go back and play with it, but at least with a perlscript, you can do a quick table lookup. Or it'd be trivial to add a database column that corresponds to what Mapserver uses, and is updated once from the existing dbf. I've got labels that have to go in specific positions. It's not that hard to do it once in the mapfile and go on. gerry Johan Antonsson wrote: > Hi all, > > In my map sets there is information about label positions in the > annotation layer attribute table. The positioning system is about the > same as in the POSITION CLASS object parameter except that it uses > numbers instead of named positions: > > POSITION parameter > ul uc ur > cl cc cr > ll lc lr > > Position information in my .dbf file > 7 8 9 > 4 5 6 > 1 2 3 > > I don't like to use the POSITION parameter since every label has its own > position relative to its point. What I'm looking for is a parameter in > the LAYER object e.g. called LABELPOSITIONITEM that would refer to the > position attribute table column. Is there such a feature in MapServer or > do I have to be content with POSITION=auto in the CLASS object? > > TIA > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Gerry Creager -- gerry.creager at tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From johan at antonsson.com Sun Nov 16 08:44:21 2003 From: johan at antonsson.com (Johan Antonsson) Date: Sun, 16 Nov 2003 17:44:21 +0100 Subject: [Mapserver-users] How to link maps with different scales In-Reply-To: Message-ID: <000301c3ac60$e259f510$6400a8c0@ATOM> Thanks Bart, So every layer in my mapfile should have a MINSCALE and MAXSCALE set and each map set should have the same values? The reason for grouping my layers is readability I guess? Any other reason? Regards /Johan ------------------------------------------------------------ Johan Antonsson johan at antonsson.com ------------------------------------------------------------ -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Bart van den Eijnden Sent: den 16 november 2003 14:21 To: Johan Antonsson; MapServer Users Subject: Re: [Mapserver-users] How to link maps with different scales Hi Johan, you should make your layers scale dependent in the map file and then GROUP them. Put them all in one mapfile. For scale dependency you use MINSCALE and MAXSCALE. To group layers together use GROUP "group_name". See for more elaborate info: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html Best regards, Bart On Sun, 16 Nov 2003 14:04:53 +0100, Johan Antonsson wrote: > Hi all, > > Newbie question: I have three sets of maps, all showing the same area > but with different scales, 50 000, 100 000 and 250 000. I want MapServer > to automatically switch between those map sets when the user zooms in or > out to a certain extent. Right now I have one mapfile per map set. Does > MapServer support this or do I have to keep track of the current scale > and map sets myself? Does anyone have an example of how to solve this > problem? > > TIA > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From gerry.creager at tamu.edu Sun Nov 16 08:46:02 2003 From: gerry.creager at tamu.edu (Gerry Creager N5JXS) Date: Sun, 16 Nov 2003 10:46:02 -0600 Subject: [Mapserver-users] Positioning of labels In-Reply-To: <000201c3ac5e$ee7f4f90$6400a8c0@ATOM> References: <000201c3ac5e$ee7f4f90$6400a8c0@ATOM> Message-ID: <3FB7A9CA.3090303@tamu.edu> Sounds like you need to query the database, look up the pertinent pieces, and rewrite the mapfile on the fly. Not too bad with perl or php. THEN you'd call the cgi or mapscript. gerry Johan Antonsson wrote: > Thanks Gerry, > > The thing is that MapServer doesn't seem to do any table lookup for the > POSITION parameter (which also is in the CLASS object). I use the > precompiled Windows version of MapServer. My map set is huge with an > individual position for virtually every label, independent of class. It > seems to me that such a lookup (but in the LAYER object) would be very > useful feature. A problem might be different positioning standards. > > Regards > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > -----Original Message----- > From: mapserver-users-admin at lists.gis.umn.edu > [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Gerry > Creager N5JXS > Sent: den 16 november 2003 16:05 > To: Johan Antonsson > Cc: MapServer Users > Subject: Re: [Mapserver-users] Positioning of labels > > I'll have to go back and play with it, but at least with a perlscript, > you can do a quick table lookup. > > Or it'd be trivial to add a database column that corresponds to what > Mapserver uses, and is updated once from the existing dbf. > > I've got labels that have to go in specific positions. It's not that > hard to do it once in the mapfile and go on. > > gerry > > Johan Antonsson wrote: > >>Hi all, >> >>In my map sets there is information about label positions in the >>annotation layer attribute table. The positioning system is about the >>same as in the POSITION CLASS object parameter except that it uses >>numbers instead of named positions: >> >>POSITION parameter >>ul uc ur >>cl cc cr >>ll lc lr >> >>Position information in my .dbf file >>7 8 9 >>4 5 6 >>1 2 3 >> >>I don't like to use the POSITION parameter since every label has its > > own > >>position relative to its point. What I'm looking for is a parameter in >>the LAYER object e.g. called LABELPOSITIONITEM that would refer to the >>position attribute table column. Is there such a feature in MapServer > > or > >>do I have to be content with POSITION=auto in the CLASS object? >> >>TIA >> >>/Johan >> >>------------------------------------------------------------ >>Johan Antonsson >>johan at antonsson.com >>------------------------------------------------------------ >> >> >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > -- Gerry Creager -- gerry.creager at tamu.edu Network Engineering -- AATLT, Texas A&M University Cell: 979.229.5301 Office: 979.458.4020 FAX: 979.847.8578 Page: 979.228.0173 Office: 903A Eller Bldg, TAMU, College Station, TX 77843 From bartvde at xs4all.nl Sun Nov 16 09:15:50 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Sun, 16 Nov 2003 18:15:50 +0100 Subject: [Mapserver-users] How to link maps with different scales In-Reply-To: <000301c3ac60$e259f510$6400a8c0@ATOM> References: <000301c3ac60$e259f510$6400a8c0@ATOM> Message-ID: Hi Johann, MINSCALE and MAXSCALE determine the range in which your map layer will be visible. The grouping is only useful when you don't want to bother your client application with all the different reference map layers, but just provide one single pseudo name (alias) for it. Best regards, Bart On Sun, 16 Nov 2003 17:44:21 +0100, Johan Antonsson wrote: > Thanks Bart, > > So every layer in my mapfile should have a MINSCALE and MAXSCALE set and > each map set should have the same values? > > The reason for grouping my layers is readability I guess? Any other > reason? > > Regards > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > -----Original Message----- > From: mapserver-users-admin at lists.gis.umn.edu > [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Bart van > den Eijnden > Sent: den 16 november 2003 14:21 > To: Johan Antonsson; MapServer Users > Subject: Re: [Mapserver-users] How to link maps with different scales > > Hi Johan, > > you should make your layers scale dependent in the map file and then > GROUP > them. Put them all in one mapfile. > > For scale dependency you use MINSCALE and MAXSCALE. > > To group layers together use GROUP "group_name". > > See for more elaborate info: > http://mapserver.gis.umn.edu/doc40/mapfile-reference.html > > Best regards, > Bart > > On Sun, 16 Nov 2003 14:04:53 +0100, Johan Antonsson > > wrote: > >> Hi all, >> >> Newbie question: I have three sets of maps, all showing the same area >> but with different scales, 50 000, 100 000 and 250 000. I want > MapServer >> to automatically switch between those map sets when the user zooms in > or >> out to a certain extent. Right now I have one mapfile per map set. > Does >> MapServer support this or do I have to keep track of the current scale >> and map sets myself? Does anyone have an example of how to solve this >> problem? >> >> TIA >> >> /Johan >> >> ------------------------------------------------------------ >> Johan Antonsson >> johan at antonsson.com >> ------------------------------------------------------------ >> >> >> >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users at lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> > > > -- From mhaines94108 at hotmail.com Sun Nov 16 06:39:53 2003 From: mhaines94108 at hotmail.com (Matthew Haines) Date: Sun, 16 Nov 2003 09:39:53 -0500 Subject: [Mapserver-users] PostGIS fails with mapscript but not shp2img Message-ID: I am just starting to experiment with PostGIS and have run into a problem I can't solve. I started with a non-PostGIS map file that renders fine whether called from mapscript or by shp2img. Then I modified it to take its date from a database through PostGIS. It still renders with shp2img but doesn't return an image when called from mapscript. My system is as follows: MapServer 4.0 PostGIS & PostgreSQL -- latest versions (downloaded yesterday) Mandrake Linux 9.1 Apace web server My perl/mapscript program is being invoked from Apache, and here is the code that draws the maps: my $map = new mapscript::mapObj($mapfile); print "Map: $map
\n"; ... [ set extent, height width] my $img = $map->draw (); print "Image: $img
\n"; my $return = mapscript::msSaveImage($map, $img, $imgfile); print "Return: $return
\n"; Comparing the old map file to the new, I can see that the $map->draw() method is returning NULL with the new map file. I have checked the PostgreSQL log and get nothing there. The mapserver log doesn't seem to capture mapscript errors. The apache logs aren't relevant here. How can I debug something like this? I can't find an angle from which to get diagnostic information. Works fine from shp2img, and works fine when drawing from a .shp file directly, but I get nothing when I switch to PostGIS. Thanks, Matthew Here is the layer that I changed in the .map file: WEB ... [snip] LOG "/var/www/html/tmp/mapserver_access.log" END ... [snip] LAYER CONNECTIONTYPE postgis CONNECTION "user=matthew dbname=maps host=localhost" DATA "the_geom from brooklyn_taxlots" TYPE POLYGON NAME "bk_taxlots" MAXSCALE 25000 STATUS DEFAULT CLASSITEM "bldgclass" CLASS NAME "Residential, 1-2 Fam" EXPRESSION /A|B/ COLOR 192 192 255 # Blue OUTLINECOLOR 32 32 32 END ... [etc, lot more classes] _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From cstorozuk at shaw.ca Sun Nov 16 12:54:41 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Sun, 16 Nov 2003 14:54:41 -0600 Subject: [Mapserver-users] Zoom to projected coordinates? Message-ID: <000f01c3ac83$dbc61170$e60c4f18@duke> This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C3AC51.90D17380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am using a bunch of datasets projecting them to 10TM using MAP = parameters. I want a feature search to load a detail map showing the selected = feature, zoomed to its extents In the past, when all my data was in UTM, = this was easy, as I could just load the map applying the shpext value to = the imgext parameter. However, now the shpext returned from the query is in lat/long (due to = the nature of that dataset), but my map is in 10TM, so the shpext value = is not valid in this case. Does anyone know if I can use the shpext in this way? (eg. can I = "project" the coordinates the way I project individual layers?) Thanks, Chris ------=_NextPart_000_000C_01C3AC51.90D17380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am using a bunch of datasets = projecting them to=20 10TM using MAP parameters.
I want a feature search to load a = detail map=20 showing the selected feature, zoomed to its extents In the past, when = all my=20 data was in UTM, this was easy, as I could just load the map applying = the shpext=20 value to the imgext parameter.
However, now the shpext returned from = the query is=20 in lat/long (due to the nature of that dataset), but my map is in 10TM, = so the=20 shpext value is not valid in this case.
 
Does anyone know if I can use the = shpext in this=20 way? (eg. can I "project" the coordinates the way I project individual=20 layers?)
 
Thanks,
Chris
------=_NextPart_000_000C_01C3AC51.90D17380-- From mhaines94108 at hotmail.com Sun Nov 16 17:59:25 2003 From: mhaines94108 at hotmail.com (Matthew Haines) Date: Sun, 16 Nov 2003 20:59:25 -0500 Subject: [Mapserver-users] Further postgis mapserv vs shp2img Message-ID: Further to my previous two messages # /var/www/cgi-bin/mapserv -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE And yet when I try to draw a map with perl/mapscript, I get this error: Sun Nov 16 17:57:40 2003 - msPOSTGISLayerOpen(): Query error. msPOSTGISLayerOpen called but unimplemented! (mapserver not compiled with postgis support) Sun Nov 16 17:57:40 2003 - msDrawMap(): Image handling error. Failed to draw layer named 'bk_taxlots'. Sun Nov 16 17:57:40 2003 - msPOSTGISLayerClose(): Query error. msPOSTGISLayerClose called but unimplemented!(mapserver not compiled with postgis support) Thanks, Matthew _________________________________________________________________ Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free! http://join.msn.com/?page=offers/premiumradio From ASeifert at schwerin.de Sun Nov 16 21:58:05 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Mon, 17 Nov 2003 06:58:05 +0100 Subject: [Mapserver-users] cc problem Message-ID: Hi folks, why don't anybody answer? What's my laps? Mapserver 4.0 IRIX 6.5 If I try to make, then the following error message appears: cc-1005 cc: ERROR File = map.h, Line = 9 The source file "stdio.h" is unavailable. #include ^ 1 catastrophic error detected in the compilation of "maptemplate.c". Compilation terminated. I don't know where I can found the cause. What must I do? Andre from germany (I apologize for my lousy English.) Mail scanned by virusscanner, Patternfile from 13 Nov 2003 From trantu at vnu.edu.vn Sun Nov 16 22:40:28 2003 From: trantu at vnu.edu.vn (Tran Anh Tu) Date: Mon, 17 Nov 2003 13:40:28 +0700 Subject: [Mapserver-users] Help me! Message-ID: Hi all! My system is mandrake 8.0, when I install MapServer 4.0 on it, there is some following errors: checking for gdImageSetAntiAliased in -lgd... no checking for gdImageSetAntiAliased in -lgd... (cached) no configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local. Make sure GD 2.0.12 or higher is compiled before calling configure. I had tried to install gd-2.0.12-1.3.0.i386.rpm but it didn't work. Please show me how I can do to install it on my system. Thanks! ******************************************************* Tran Anh Tu Vien CNTT - DHQG Ha Noi Phone: 047680417-25 Email trantu at vnu.edu.vn ******************************************************* From burntmage at yahoo.com Sun Nov 16 23:54:34 2003 From: burntmage at yahoo.com (Michael Roach) Date: Sun, 16 Nov 2003 23:54:34 -0800 (PST) Subject: [Mapserver-users] PostGIS fails with mapscript but not shp2img In-Reply-To: Message-ID: <20031117075434.40914.qmail@web14812.mail.yahoo.com> --0-1404347193-1069055674=:40365 Content-Type: text/plain; charset=us-ascii Check to make sure you can open a standard connection to the PostGIS DB from Perl (Just a general select from any table) when running as a CGI not as a user. Matthew Haines wrote:I am just starting to experiment with PostGIS and have run into a problem I can't solve. I started with a non-PostGIS map file that renders fine whether called from mapscript or by shp2img. Then I modified it to take its date from a database through PostGIS. It still renders with shp2img but doesn't return an image when called from mapscript. My system is as follows: MapServer 4.0 PostGIS & PostgreSQL -- latest versions (downloaded yesterday) Mandrake Linux 9.1 Apace web server My perl/mapscript program is being invoked from Apache, and here is the code that draws the maps: my $map = new mapscript::mapObj($mapfile); print "Map: $map \n"; ... [ set extent, height width] my $img = $map->draw (); print "Image: $img \n"; my $return = mapscript::msSaveImage($map, $img, $imgfile); print "Return: $return \n"; Comparing the old map file to the new, I can see that the $map->draw() method is returning NULL with the new map file. I have checked the PostgreSQL log and get nothing there. The mapserver log doesn't seem to capture mapscript errors. The apache logs aren't relevant here. How can I debug something like this? I can't find an angle from which to get diagnostic information. Works fine from shp2img, and works fine when drawing from a .shp file directly, but I get nothing when I switch to PostGIS. Thanks, Matthew Here is the layer that I changed in the .map file: WEB ... [snip] LOG "/var/www/html/tmp/mapserver_access.log" END ... [snip] LAYER CONNECTIONTYPE postgis CONNECTION "user=matthew dbname=maps host=localhost" DATA "the_geom from brooklyn_taxlots" TYPE POLYGON NAME "bk_taxlots" MAXSCALE 25000 STATUS DEFAULT CLASSITEM "bldgclass" CLASS NAME "Residential, 1-2 Fam" EXPRESSION /A|B/ COLOR 192 192 255 # Blue OUTLINECOLOR 32 32 32 END ... [etc, lot more classes] _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard --0-1404347193-1069055674=:40365 Content-Type: text/html; charset=us-ascii
Check to make sure you can open a standard connection to the PostGIS DB from Perl (Just a general select from any table) when running as a CGI not as a user.

Matthew Haines <mhaines94108 at hotmail.com> wrote:
I am just starting to experiment with PostGIS and have run into a problem I
can't solve. I started with a non-PostGIS map file that renders fine
whether called from mapscript or by shp2img. Then I modified it to take its
date from a database through PostGIS. It still renders with shp2img but
doesn't return an image when called from mapscript.

My system is as follows:
MapServer 4.0
PostGIS & PostgreSQL -- latest versions (downloaded yesterday)
Mandrake Linux 9.1
Apace web server

My perl/mapscript program is being invoked from Apache, and here is the code
that draws the maps:

my $map = new mapscript::mapObj($mapfile);
print "Map: $map
\n";
... [ set extent, height width]
my $img = $map->draw ();
print "Image: $img
\n";
my $return = mapscript::msSaveImage($map, $img, $imgfile);
print "Return: $return
\n";

Comparing the old map file to the new, I can see that the $map->draw()
method is returning NULL with the new map file.

I have checked the PostgreSQL log and get nothing there. The mapserver log
doesn't seem to capture mapscript errors. The apache logs aren't relevant
here. How can I debug something like this? I can't find an angle from
which to get diagnostic information. Works fine from shp2img, and works
fine when drawing from a .shp file directly, but I get nothing when I switch
to PostGIS.

Thanks,

Matthew


Here is the layer that I changed in the .map file:

WEB
... [snip]
LOG "/var/www/html/tmp/mapserver_access.log"
END

... [snip]

LAYER
CONNECTIONTYPE postgis
CONNECTION "user=matthew dbname=maps host=localhost"
DATA "the_geom from brooklyn_taxlots"
TYPE POLYGON
NAME "bk_taxlots"
MAXSCALE 25000
STATUS DEFAULT

CLASSITEM "bldgclass"
CLASS
NAME "Residential, 1-2 Fam"
EXPRESSION /A|B/
COLOR 192 192 255 # Blue
OUTLINECOLOR 32 32 32
END
... [etc, lot more classes]

_________________________________________________________________
Concerned that messages may bounce because your Hotmail account is over
limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es

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


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard --0-1404347193-1069055674=:40365-- From H.Spalting at lippe.de Mon Nov 17 00:03:28 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Mon, 17 Nov 2003 09:03:28 +0100 Subject: [Mapserver-users] CCGIS WMS-Demo-Map Germany Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3ACE1.48D34410 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, who uses the WMSservice 'map=3DGermany' on www.ccgis.de = and how has the CONNECTION part in my mapfile to look. GetCapabilities works, but not the call from my mapfile. =20 thanks in advance Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: << mailto:h.spalting at lippe.de >> Tel: 05231/62-625 (oder -7827) =20 ------_=_NextPart_001_01C3ACE1.48D34410 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,
who = uses the=20 WMSservice 'map=3DGermany' on www.ccgis.de and how has the = CONNECTION part=20 in my mapfile to look. GetCapabilities works, but not the call from my=20 mapfile.
 
thanks in=20 advance

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email: <<mailto:h.spalting at lippe.de>&g= t;
Tel: 05231/62-625 (oder -7827)

 
------_=_NextPart_001_01C3ACE1.48D34410-- From noti at ciaoweb.it Mon Nov 17 00:47:43 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Mon, 17 Nov 2003 09:47:43 +0100 Subject: [Mapserver-users] Grayscale ECW Message-ID: <001a01c3ace7$82968030$0301a8c0@valerion> This is a multi-part message in MIME format. ------=_NextPart_000_0015_01C3ACEF.D8D11C50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I have a grayscale ecw file in a mapserver application (mapscript 401, = win2000). The output format is GIF. ECW looks fine but all the other layers become grayscale colored. This = happens only when ECW layer is on. When it's off, the other layers have their own color set in mapfile. Thanks in advance Valerio Noti ------=_NextPart_000_0015_01C3ACEF.D8D11C50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I have a grayscale ecw file in a = mapserver=20 application (mapscript 401, win2000). The output format is = GIF.
ECW looks fine but all the other layers = become=20 grayscale colored. This happens only when ECW layer is on.
When it's off, the other layers have = their own=20 color set in mapfile.
 
Thanks in advance
 
Valerio Noti
------=_NextPart_000_0015_01C3ACEF.D8D11C50-- From H.Spalting at lippe.de Mon Nov 17 01:20:46 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Mon, 17 Nov 2003 10:20:46 +0100 Subject: [Mapserver-users] CCGIS WMS-Demo-Map Germany Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3ACEC.1504C7C0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, =20 next thing i found out, a GetMap in the Explorer works =20 http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map &WMTVER=3D1.0.0&REQUEST=3Dgetmap&LAYERS=3DPostleitzahlbereiche,Staedte,B= undeslaend er&FORMAT=3Dimage/png=20 =20 but from a mapfile it still doesn't work. =20 Here's my mapfile: =20 # # Start of map file - created Wed Jun 25 11:19:18 2003 # MAP NAME test STATUS ON #SIZE 450 300 SIZE 650 433 EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 UNITS meters SYMBOLSET 'symbols/symbset' FONTSET 'fonts/fonts.fnt' IMAGECOLOR 255 255 255 PROJECTION "init=3Depsg:31467" END =20 # # Start of web interface definition # WEB LOG test.log TEMPLATE templ.html IMAGEPATH 'C:\Programme\Apache = Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\' IMAGEURL 'http://10.10.26.17/schutzgebiete/tmp/' EMPTY 'http://10.10.26.17/Schutzgebiete/nothing.html' METADATA wms_title 'WMS' WMS_ONLINERESOURCE 'http://10.10.26.17/cgi-bin/mapserv.exe?' WMS_SRS 'EPSG:26915' END #WEB =20 END #HEADER =20 # # Properties for the querymap # QUERYMAP SIZE 200 200 STATUS ON #OFF STYLE HILITE COLOR 255 0 0 END =20 # # Start of reference map # REFERENCE STATUS ON IMAGE graphics/lip_ref.gif SIZE 120 120 # EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 COLOR -1 -1 -1 OUTLINECOLOR 0 0 0 END #REFERENCE =20 # # Start of legend # LEGEND STATUS ON KEYSIZE 16 8 TEMPLATE 'legende2.html' LABEL COLOR 120 120 120 END # ENDE LABEL END #LEGEND =20 # # Start of scalebar # SCALEBAR STATUS ON STYLE 0 INTERVALS 4 IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END #ENDE LABEL SIZE 300 3 COLOR 155 155 155 BACKGROUNDCOLOR 55 55 55 OUTLINECOLOR 100 100 100 UNITS KILOMETERS END #SCALEBAR =20 # # Start of layer definitions # =20 LAYER NAME 'WMS_Test' GROUP 'WMS_Test' METADATA "wms_srs" "EPSG:31467" END TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION=20 " http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgermany.map &WMTVER=3D1.0.0&LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORM= AT=3Dimage /png" =20 END END # MAPFILE Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: << mailto:h.spalting at lippe.de >> Tel: 05231/62-625 (oder -7827) =20 ------_=_NextPart_001_01C3ACEC.1504C7C0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
Hi=20 all,
 
next = thing i found=20 out, a GetMap in the Explorer works
 
http://wms.ccgis.de/umn/bin/ma= pserv.exe?map=3Dgermany.map&WMTVER=3D1.0.0&REQUEST=3Dgetmap&= LAYERS=3DPostleitzahlbereiche,Staedte,Bundeslaender&FORMAT=3Dimage/p= ng 
 
but = from a mapfile=20 it still doesn't work.
 
Here's my=20 mapfile:
 
#
# Start of map=20 file - created Wed Jun 25 11:19:18 2003
#
MAP
NAME = test
STATUS=20 ON
#SIZE 450 300
SIZE 650 433
EXTENT 3468458.495 5736672.103=20 3529699.575 5787314.022
UNITS meters
SYMBOLSET=20 'symbols/symbset'
FONTSET 'fonts/fonts.fnt'
IMAGECOLOR 255 255=20 255
  PROJECTION
  "init=3Depsg:31467"
 =20 END
 
#
# Start of web=20 interface definition
#
WEB
 LOG = test.log
 TEMPLATE=20 templ.html
 IMAGEPATH 'C:\Programme\Apache=20 Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\'
 IMAGEURL=20 'http://10.10.26.17/schutzgebiete/tmp/'
 EMPTY=20 'http://10.10.26.17/Schutzgebiete/nothing.html'
 METADATA
&nb= sp;=20 wms_title 'WMS'
  WMS_ONLINERESOURCE=20 'http://10.10.26.17/cgi-bin/mapserv.exe?'
  WMS_SRS=20 'EPSG:26915'
 END  #WEB
 
END =20 #HEADER
 
#
# Properties=20 for the querymap
#
QUERYMAP
  SIZE 200 200
  = STATUS ON=20 #OFF
  STYLE HILITE
  COLOR 255 0 = 0
END
 
#
# Start of=20 reference map
#
REFERENCE
  STATUS ON
  IMAGE=20 graphics/lip_ref.gif
  SIZE 120 120
#  EXTENT = 3468458.495=20 5736672.103 3529699.575 5787314.022
   EXTENT 3468458.495=20 5736672.103 3529699.575 5787314.022
  COLOR -1 -1 -1
 =20 OUTLINECOLOR 0 0 0
END  #REFERENCE
 
#
# Start of=20 legend
#
LEGEND
  STATUS ON
  KEYSIZE 16 = 8
 =20 TEMPLATE 'legende2.html'
  LABEL
    COLOR = 120 120=20 120
  END # ENDE LABEL
END   = #LEGEND
 
#
# Start of=20 scalebar
#
SCALEBAR
 STATUS ON
 STYLE = 0
 INTERVALS=20 4
 IMAGECOLOR 255 255 255
 LABEL
  COLOR 0 0 = 0
 =20 SIZE SMALL
 END  #ENDE LABEL
 SIZE 300 = 3
 COLOR 155=20 155 155
 BACKGROUNDCOLOR 55 55 55
 OUTLINECOLOR 100 100 = 100
 UNITS KILOMETERS
END   = #SCALEBAR
 
#
# Start of=20 layer definitions
#
 

 LAYER
     NAME=20 'WMS_Test'
     GROUP=20 'WMS_Test'
    =20 METADATA
       "wms_srs"  =20 "EPSG:31467"
     = END
     TYPE=20 RASTER
     STATUS = ON
    =20 CONNECTIONTYPE WMS
     CONNECTION=20
       "http://wms.ccgis.de/umn/bin/mapserv.exe?map=3Dgerma= ny.map&WMTVER=3D1.0.0&LAYERS=3DPostleitzahlbereiche,Staedte,Bund= eslaender&FORMAT=3Dimage/png"
 
   END
END  # MAPFILE

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email: <<mailto:h.spalting at lippe.de>&g= t;
Tel: 05231/62-625 (oder -7827)

 
------_=_NextPart_001_01C3ACEC.1504C7C0-- From palle at mail-online.dk Mon Nov 17 06:33:36 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Mon, 17 Nov 2003 15:33:36 +0100 Subject: [Mapserver-users] Grayscale ECW In-Reply-To: <001a01c3ace7$82968030$0301a8c0@valerion> References: <001a01c3ace7$82968030$0301a8c0@valerion> Message-ID: That's a property of the GIF format. You only have 256 colors to work with. The gray scale is probably using it all. Change to a multicolor format like JPG or PNG. Best Regards Palle Due larsen Carl Bro GIS&IT -----Original Message----- From: "Valerio Noti" To: Date: Mon, 17 Nov 2003 09:47:43 +0100 Subject: [Mapserver-users] Grayscale ECW > Hello, > I have a grayscale ecw file in a mapserver application (mapscript > 401, win2000). The output format is GIF. > ECW looks fine but all the other layers become grayscale colored. > This happens only when ECW layer is on. > When it's off, the other layers have their own color set in mapfile. > > Thanks in advance > > Valerio Noti F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From fraserm at terravistaltd.com Mon Nov 17 07:49:59 2003 From: fraserm at terravistaltd.com (Fraser MacLeod) Date: Mon, 17 Nov 2003 15:49:59 +0000 Subject: [Mapserver-users] PHP Mapscript Installation Message-ID: <1069084199.2447.6.camel@localhost> Hi; I have installed Mapserver 4.0.1 from RPM (Mandrake 9.2), and PHP 4.3.4. As a result I expected to find that I had PHP Mapscript 4.0.1 (released October 2003). Using phpinfo() I get the following information: MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=SHAPEFILE PHP MapScript Version ($Revision: 1.177 $ $Date: 2003/07/30 19:01:31 $) However when running a small test file (taken from PHP Mapscript 3.5 By Example HOWTO), I get the following error: Fatal error: Due to thread-safety problems, php_mapscript cannot be used as a 'apache2handler' module. You will have to reconfigure your PHP as a CGI to run this version of MapScript. See http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in /var/www/html/terraVX/pda/test.phtml on line 4 I have tried compiling PHP Mapscript from the latest php and mapserver source trees, but no change. Any suggestions on how I can get or build php_mapscript.so to get around these problems. Fraser From Daniel.A.Martin at erac.com Mon Nov 17 07:57:16 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Mon, 17 Nov 2003 09:57:16 -0600 Subject: [Mapserver-users] How to link maps with different scales Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A01C2E511@STL-EXBE-I03.corp.erac.com> I do this often myself. The trick is to set the scale, and name both layers the same exact thing. As long as you have non-overlapping scales it will work seamlessly. So, the MINSCALE for one layer would be the MAXSCALE for your more detailed layer. Using the same name means turning the layer on will turn the other layer on when you cross that scale boundary. A good example where I use this is for roads. I have TIGER line files showing at a close scale, but then drop to a simple highway layer when the user zooms farther out. -Dan -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Johan Antonsson Sent: Sunday, November 16, 2003 10:44 AM To: MapServer Users Subject: RE: [Mapserver-users] How to link maps with different scales Thanks Bart, So every layer in my mapfile should have a MINSCALE and MAXSCALE set and each map set should have the same values? The reason for grouping my layers is readability I guess? Any other reason? Regards /Johan ------------------------------------------------------------ Johan Antonsson johan at antonsson.com ------------------------------------------------------------ -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Bart van den Eijnden Sent: den 16 november 2003 14:21 To: Johan Antonsson; MapServer Users Subject: Re: [Mapserver-users] How to link maps with different scales Hi Johan, you should make your layers scale dependent in the map file and then GROUP them. Put them all in one mapfile. For scale dependency you use MINSCALE and MAXSCALE. To group layers together use GROUP "group_name". See for more elaborate info: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html Best regards, Bart On Sun, 16 Nov 2003 14:04:53 +0100, Johan Antonsson wrote: > Hi all, > > Newbie question: I have three sets of maps, all showing the same area > but with different scales, 50 000, 100 000 and 250 000. I want MapServer > to automatically switch between those map sets when the user zooms in or > out to a certain extent. Right now I have one mapfile per map set. Does > MapServer support this or do I have to keep track of the current scale > and map sets myself? Does anyone have an example of how to solve this > problem? > > TIA > > /Johan > > ------------------------------------------------------------ > Johan Antonsson > johan at antonsson.com > ------------------------------------------------------------ > > > > _______________________________________________ > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From noti at ciaoweb.it Mon Nov 17 08:15:18 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Mon, 17 Nov 2003 17:15:18 +0100 Subject: [Mapserver-users] Grayscale ECW References: <001a01c3ace7$82968030$0301a8c0@valerion> Message-ID: <001001c3ad26$17a18650$0301a8c0@valerion> I just tried with JPEG output format. ECW looks fine but shapefile colors and text labels are pretty ugly. Maybe this is normal due to JPG decreased quality for single colors images. Tried also with PNG and noticed that the application is much slower than the others (JPG or GIF). Where am I wrong? Thank you very much Valerio Noti ----- Original Message ----- From: "Palle Due Larsen" To: ; "Valerio Noti" ; Sent: Monday, November 17, 2003 3:33 PM Subject: Re: [Mapserver-users] Grayscale ECW > That's a property of the GIF format. You only have 256 colors to work > with. The gray scale is probably using it all. Change to a multicolor > format like JPG or PNG. > > Best Regards > > Palle Due larsen > Carl Bro GIS&IT > > -----Original Message----- > From: "Valerio Noti" > To: > Date: Mon, 17 Nov 2003 09:47:43 +0100 > Subject: [Mapserver-users] Grayscale ECW > > > Hello, > > I have a grayscale ecw file in a mapserver application (mapscript > > 401, win2000). The output format is GIF. > > ECW looks fine but all the other layers become grayscale colored. > > This happens only when ECW layer is on. > > When it's off, the other layers have their own color set in mapfile. > > > > Thanks in advance > > > > Valerio Noti > > F? en gratis emailkonto her: www.mail-online.dk > ----------------------------------------------- > Deltag i en lille konkurrence p? nettet, og > vind et gavekort p? 50.000 kroner... > KLIK HER: www.nyhedsbasen.dk/konkurrence > > > From TMitchell at lignum.com Mon Nov 17 08:25:11 2003 From: TMitchell at lignum.com (Tyler Mitchell) Date: Mon, 17 Nov 2003 08:25:11 -0800 Subject: [Mapserver-users] application opinions In-Reply-To: <200311151704.AA109642044@mail.maich.gr> Message-ID: I'd suggest using a single dbf for it all, but add in a filter to only show that user's info. When they enter their data, you could track their logged in username (or IP?) and store it as an attribute in the table. Wouldn't that work? Tyler mapserver-users-admin at lists.gis.umn.edu wrote on 11/15/2003 07:04:09 AM: > Hi, > > I wanted to bounce some ideas off you guys wrt an application using ms. > In this app, a user: > > *submits some input parameters via a web form > *an econometric model is run utilizing these params > *the output file is parsed and a dbf file is updated > *user is re-directed to ms for querying/zooming etc.The dbf file > that is updated is the attribute file of the shape file use for mapping > > While this scenario seems ok for a single user, I think that things > would getconfusing for multiple users; meaning how to separate > userA's updated dbf from userN's dbf...Keeping multiple copies of > the shape/dbf is kind of costly as the dbf is 25Mb, and the shape is ~10Mb... > > AFAIK, ms-cgi works with a shape/dbf pair of the same name. Can you > have ms work with additional dbf and the same shape file? > In the app, I need to update only 4, out of 57 fields, by ~39000 > records, so the thinking would be to use the original dbf and create > an additional user[pid].dbf for the duration of the user sesion... > > i am sure that there other things I did not think about, so feedback > would be welcome..... > > > regards, > > nicolas boretos > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ARyan at co.linn.or.us Mon Nov 17 08:56:06 2003 From: ARyan at co.linn.or.us (Ryan, Adam) Date: Mon, 17 Nov 2003 08:56:06 -0800 Subject: [Mapserver-users] advanced query functionality Message-ID: <614FCE5F14A6D41180C200010240D6A201A463A5@LINNMS> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AD2B.B106AEB0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" Hi, I'd like to gauge the feasibility of combining feature and attribute queries as well as adding to / selecting from / xoring a selection before I get knee deep in PHP code and get stuck. Using mapscript, I'd like to take a saved query and a new query (from queryByAttributes, queryByRect, queryByPoint, etc.) and compare the two to produce a third query result depending on the user's selection type (NEW, AND, OR, XOR). Then I'd save this query and return it to the user who would be able to refine it again using a box or point or submitting attributes. This would go on indefinitely. Is this possible? Could I, would I have to compare results index by index, or is there some way to compare result sets on a whole. Could I use array_intersect and array_diff to do this? I've done a lot of Avenue code in ArcView and use the bitmap class quite a bit to do this, such as Bitmap1.And(Bitmap2). Any suggestions and/or links to sites already employing this type of interface would be appreciated. Thanks, Adam Ryan GIS Analyst Linn County GIS Department County Courthouse / Room 25 300 SW Fourth Ave. Albany, OR 97321 541.812.8760 aryan at co.linn.or.us ------_=_NextPart_001_01C3AD2B.B106AEB0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable advanced query functionality

Hi,

I'd like to gauge the feasibility of combining feature = and attribute queries as well as adding to / selecting from / xoring a = selection before I get knee deep in PHP code and get stuck.

Using mapscript, I'd like to take a saved query and a = new query (from queryByAttributes, queryByRect, queryByPoint, etc.) and = compare the two to produce a third query result depending on the user's = selection type (NEW, AND, OR, XOR).  Then I'd save this query and = return it to the user who would be able to refine it again using a box = or point or submitting attributes.  This would go on = indefinitely.

Is this possible?  Could I, would I have to = compare results index by index, or is there some way to compare result = sets on a whole.  Could I use array_intersect and array_diff to do = this?  I've done a lot of Avenue code in ArcView and use the bitmap = class quite a bit to do this, such as Bitmap1.And(Bitmap2).

Any suggestions and/or links to sites already = employing this type of interface would be appreciated.

Thanks,

Adam Ryan
GIS Analyst
Linn County GIS Department
County Courthouse / Room 25
300 SW Fourth Ave.
Albany, OR 97321
541.812.8760
aryan at co.linn.or.us
 

------_=_NextPart_001_01C3AD2B.B106AEB0-- From cstorozuk at shaw.ca Mon Nov 17 10:28:42 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Mon, 17 Nov 2003 12:28:42 -0600 Subject: [Mapserver-users] Rasters cause map to display in greyscale Message-ID: <002a01c3ad38$a173f1d0$e60c4f18@duke> This is a multi-part message in MIME format. ------=_NextPart_000_0027_01C3AD06.56578090 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have been displaying some raster images in my map, and started = noticing that some datasets cause the rest of my features to display in = greyscale, ignoring the colors set. This includes point symbols, labels = and outlines. Does anyone know why this might happen? This seems to happen using JPGs = or TIFs of the same area. As well, I've processed down the raster images = from 8-bit color down to greyscale (according to = http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0211/msg00594.ht= ml), but this didn't work. Thanks, Chris ------=_NextPart_000_0027_01C3AD06.56578090 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have been displaying some raster = images in my=20 map, and started noticing that some datasets cause the rest of my = features to=20 display in greyscale, ignoring the colors set. This includes point = symbols,=20 labels and outlines.
 
Does anyone know why this might happen? = This seems=20 to happen using JPGs or TIFs of the same area. As well, I've processed = down the=20 raster images from 8-bit color down to greyscale (according to http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0211= /msg00594.html),=20 but this didn't work.
 
Thanks,
Chris
------=_NextPart_000_0027_01C3AD06.56578090-- From mhaines94108 at hotmail.com Sun Nov 16 12:50:52 2003 From: mhaines94108 at hotmail.com (Matthew Haines) Date: Sun, 16 Nov 2003 15:50:52 -0500 Subject: [Mapserver-users] postgis: shp2img working, mapserv not Message-ID: I have a situation where shp2img works with a postgis connection and mapserv does not. It appears that postgis support is being properly compiled into shp2img, but not into mapserv. I execute the following from the mapserv-4.0 distribution directory rm -f /var/www/cgi-bin/mapserv make clean ./configure --with-postgis=/usr/local/pgsql/bin/pg_config --with-ogr --with-gdal --with-tiff --with-gd --with-png --enable-debug make cp mapserv /var/www/cgi-bin/ I put in my .map file a layer with a postgis connection, I execute shp2img, and I get a properly drawn map. But in perl/mapscript $ENV{MS_ERRORFILE} = "/var/log/mapserver.log"; my $img = $map->draw (); I get this: Sun Nov 16 15:56:52 2003 - msPOSTGISLayerOpen(): Query error. msPOSTGISLayerOpen called but unimplemented! (mapserver not compiled with postgis support) Sun Nov 16 15:56:52 2003 - msDrawMap(): Image handling error. Failed to draw layer named 'bk_taxlots'. Sun Nov 16 15:56:52 2003 - msPOSTGISLayerClose(): Query error. msPOSTGISLayerClose called but unimplemented!(mapserver not compiled with postgis support) _________________________________________________________________ Crave some Miles Davis or Grateful Dead? Your old favorites are always playing on MSN Radio Plus. Trial month free! http://join.msn.com/?page=offers/premiumradio From stephen.clark at focus.ca Mon Nov 17 14:11:07 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Mon, 17 Nov 2003 14:11:07 -0800 Subject: [Mapserver-users] Request some help with Frames and Tree interface for legend items -- Template References: Message-ID: <009d01c3ad57$b32210a0$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_009A_01C3AD14.A4BC2250 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit hi all, I am working on designing a template that uses a tree interface structure for the legend items that is encomapssed inside a frame. For example the left frame is the legend and the right frame is the map window with the possibility of a top frame for the company name. I have attached the tree interface structure I got from the list a while back as well as my sample frame structure. Questions: 1. After I select the layer(s) I want to display from the tree structure I do not get a map layer displayed. Is there a way to send the map [img] file creatred with the refresh button to the mapwindow-02.html ? thanks, Stephen ------=_NextPart_000_009A_01C3AD14.A4BC2250 Content-Type: text/html; name="mapwindow-02.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mapwindow-02.html" MapServer =20
=20
=20
 Powered by MapServer

Legend


------=_NextPart_000_009A_01C3AD14.A4BC2250 Content-Type: text/html; name="mapviewer.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mapviewer.html" Mapserver <body> <p>This page uses frames, but your browser doesn't support them. = Please contact the <a = href=3D"mailto:stephen.clark at focus.ca">webmaster</a> for more = information.</p> </body> ------=_NextPart_000_009A_01C3AD14.A4BC2250 Content-Type: text/html; name="menudisplay.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="menudisplay.html"

<-- specify location of tree javascript file -->



------=_NextPart_000_009A_01C3AD14.A4BC2250 Content-Type: application/x-zip-compressed; name="mds_tree.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="mds_tree.zip" UEsDBAoAAAAAANNSZC0AAAAAAAAAAAAAAAANAAAAbWRzX3RyZWUvaW1nL1BLAwQUAAAACAAtflAr +Klr2o0AAACXAAAAFQAAAG1kc190cmVlL2ltZy9iYXNlLmdpZnP3dLOwTBRmEGDYzAAC////ZzjH wNDCcO/evWvXrh07dmzr1q1z5syZMmVKcXExSBYJKP5kYWRg4GbQAXFAZjCwuBSc9Fy91+L12d2h CRptU4vmZFRpHVjCUqBzmOO1mNs66XYDGc7ZLo4WbypWJmR7SPQ2HGpdZDDbcXrQc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dpZlBLAQIUABQAAAAIABh09yyAzVcBfAMAAGEHAAAZAAAAAAAAAAEAAAC2gUAHAABtZHNfdHJl ZS9tZW51ZGlzcGxheS5odG1sUEsBAhQAFAAAAAgAF0P3LK3Sus5HBQAAiAsAABcAAAAAAAAAAQAA ALaB8woAAG1kc190cmVlL21lbnVzcmNfbmF0LmpzUEsBAhQACgAAAAAA0lJkLQAAAAAAAAAAAAAA AA4AAAAAAAAAAAAQAP9BbxAAAG1kc190cmVlL3RyZWUvUEsBAhQAFAAAAAgA4nSoLLGC1+qeAAAA 2QAAABYAAAAAAAAAAQAAALaBmxAAAG1kc190cmVlL3RyZWUvdHJlZS5jc3NQSwECFAAUAAAACABv Q/csBcIfrCQIAAAAHQAAFgAAAAAAAAABAAAAtoFtEQAAbWRzX3RyZWUvdHJlZS90cmVlMy5qc1BL AQIUAAoAAAAAANJSZC0AAAAAAAAAAAAAAAAJAAAAAAAAAAAAEAD/QcUZAABtZHNfdHJlZS9QSwUG AAAAABMAEwADBQAA7BkAAAAA ------=_NextPart_000_009A_01C3AD14.A4BC2250-- From lfilak at medinaco.org Mon Nov 17 13:07:15 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Mon, 17 Nov 2003 16:07:15 -0500 Subject: [Mapserver-users] Help me! Message-ID: <20031117210712.8CBF31A6599@mail.medinaco.org> Did the failed 'rpm -i' command for gd-2.0.12-1.3.0.i386.rpm produce an error message with information that could help diagnose why the install failed? Lowell The following message was sent by "Tran Anh Tu" on Mon, 17 Nov 2003 13:40:28 +0700. > Hi all! > My system is mandrake 8.0, when I install MapServer 4.0 on it, there is > some following errors: > > checking for gdImageSetAntiAliased in -lgd... no > checking for gdImageSetAntiAliased in -lgd... (cached) no > configure: error: Could not find gd.h or libgd.a/libgd.so in /usr/local. Make > sure GD 2.0.12 or higher is compiled before calling configure. > > I had tried to install gd-2.0.12-1.3.0.i386.rpm but it didn't work. Please > show me how I can do to install it on my system. Thanks! > ******************************************************* > Tran Anh Tu > Vien CNTT - DHQG Ha Noi > Phone: 047680417-25 Email trantu at vnu.edu.vn > ******************************************************* > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak at medinaco.org Mon Nov 17 13:11:24 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Mon, 17 Nov 2003 16:11:24 -0500 Subject: [Mapserver-users] cc problem Message-ID: <20031117211121.B82631A6599@mail.medinaco.org> Can you verify if your system has the stdio.h library available? 'find /usr -name stdio.h' Lowell The following message was sent by "Andre Seifert" on Mon, 17 Nov 2003 06:58:05 +0100. > Hi folks, > why don't anybody answer? > What's my laps? > > Mapserver 4.0 > IRIX 6.5 > > If I try to make, then the following error message appears: > cc-1005 cc: ERROR File = map.h, Line = 9 > The source file "stdio.h" is unavailable. > #include > ^ > 1 catastrophic error detected in the compilation of "maptemplate.c". > Compilation terminated. > > I don't know where I can found the cause. > What must I do? > > Andre from germany > (I apologize for my lousy English.) > > > > > > Mail scanned by virusscanner, Patternfile from 13 Nov 2003 > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From lfilak at medinaco.org Mon Nov 17 13:13:54 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Mon, 17 Nov 2003 16:13:54 -0500 Subject: [Mapserver-users] Further postgis mapserv vs shp2img Message-ID: <20031117211351.350EF1A6599@mail.medinaco.org> Do you know if there is more than one mapserv executable on your system? Is it possible that the /var/www/cgi-bin/mapserv executable is not the same executable that mapscript was compiled with? Lowell The following message was sent by "Matthew Haines" on Sun, 16 Nov 2003 20:59:25 -0500. > > Further to my previous two messages > > # /var/www/cgi-bin/mapserv -v > MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL > INPUT=SHAPEFILE > > And yet when I try to draw a map with perl/mapscript, I get this error: > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerOpen(): Query error. > msPOSTGISLayerOpen called but unimplemented! (mapserver not compiled with > postgis support) > Sun Nov 16 17:57:40 2003 - msDrawMap(): Image handling error. Failed to draw > layer named 'bk_taxlots'. > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerClose(): Query error. > msPOSTGISLayerClose called but unimplemented!(mapserver not compiled with > postgis support) > > Thanks, > > Matthew > > _________________________________________________________________ > Crave some Miles Davis or Grateful Dead? Your old favorites are always > playing on MSN Radio Plus. Trial month free! > http://join.msn.com/?page=offers/premiumradio > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From tomas at unm.edu Mon Nov 17 13:28:12 2003 From: tomas at unm.edu (J. Tomasz Giermakowski) Date: Mon, 17 Nov 2003 14:28:12 -0700 (MST) Subject: [Mapserver-users] How to select layer to display from a pop-up list? In-Reply-To: Message-ID: Hello, I have a newbie question: i need to be able to select one to five layers to display from a list of over 120. They are polygons of distribution maps. Do I have to setup a template .map file with 124 shapefiles and layer definitions or a shapefile with 124 features (they are polygons)? the first solution would not be hard, but the colors have to be dynamically created so that if someone wants to look at 5 layers at the same time, they are shown in different colors. Would PHP solve that problem? Can you pass PHP variables to the .map file? thanks ahead. _______________________________________________________________________________ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ J. Tom Giermakowski Division of Amphibians and Reptiles Museum of Southwestern Biology tel: 505.277.5130 MSC03 2020, Castetter Hall fax: 505.277.0304 University of New Mexico email: tomas at unm.edu ALBUQUERQUE, NM 87131-0001, USA web: http://www.unm.edu/~msbherp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------------------------------------------------------- From rjames57 at yahoo.com Mon Nov 17 14:01:32 2003 From: rjames57 at yahoo.com (Randy James) Date: Mon, 17 Nov 2003 17:01:32 -0500 (EST) Subject: [Mapserver-users] Further postgis mapserv vs shp2img In-Reply-To: <20031117211351.350EF1A6599@mail.medinaco.org> Message-ID: <20031117220132.33079.qmail@web12502.mail.yahoo.com> Hi For some reason i always thought that you can compile the cgi or the mapscript libary independant of each other. You can compile your cgi without postgis and than your mapscript with postgis. Am i wrong? Cheers Randy --- Lowell Filak wrote: > Do you know if there is more than one mapserv executable > on your system? > Is it possible that the /var/www/cgi-bin/mapserv > executable is not the > same executable that mapscript was compiled with? > > Lowell > > The following message was sent by "Matthew Haines" > on Sun, 16 Nov 2003 20:59:25 > -0500. > > > > > Further to my previous two messages > > > > # /var/www/cgi-bin/mapserv -v > > MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > OUTPUT=WBMP > > SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS > INPUT=OGR > INPUT=GDAL > > INPUT=SHAPEFILE > > > > And yet when I try to draw a map with perl/mapscript, I > get this > error: > > > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerOpen(): Query > error. > > msPOSTGISLayerOpen called but unimplemented! > (mapserver not compiled > with > > postgis support) > > Sun Nov 16 17:57:40 2003 - msDrawMap(): Image handling > error. Failed > to draw > > layer named 'bk_taxlots'. > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerClose(): Query > error. > > msPOSTGISLayerClose called but unimplemented!(mapserver > not compiled > with > > postgis support) > > > > Thanks, > > > > Matthew > > > > > _________________________________________________________________ > > Crave some Miles Davis or Grateful Dead? Your old > favorites are > always > > playing on MSN Radio Plus. Trial month free! > > http://join.msn.com/?page=offers/premiumradio > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From btill at terrapages.com Mon Nov 17 14:39:08 2003 From: btill at terrapages.com (btill at terrapages.com) Date: Tue, 18 Nov 2003 09:09:08 +1030 Subject: [Mapserver-users] gd install problems Message-ID: <3FB94E0C.3030601@terrapages.com> I`ve always had a lot of problems with rpms, so now (if my sys admins allow) I build and install libraries from source. I recommend you try the same. Ben Till SDI Manager TerraPages Pty. Ltd. Adelaide, Australia From scoota at supanet.com Mon Nov 17 15:45:01 2003 From: scoota at supanet.com (Keith Campbell) Date: Mon, 17 Nov 2003 23:45:01 +0000 Subject: [Mapserver-users] SVG Output Message-ID: <3FB95D7D.5070606@supanet.com> Just trying to find out what MapServer will do:- In addition to rendering images to the client, it will output GML (through the WFS support) and also SWF (MING) but not SVG - is this correct? Any likelihood of SVG in future? Thanks, Keith From sgillies at frii.com Mon Nov 17 15:46:25 2003 From: sgillies at frii.com (Sean Gillies) Date: Mon, 17 Nov 2003 16:46:25 -0700 Subject: [Mapserver-users] How to select layer to display from a pop-up list? In-Reply-To: Message-ID: <417337D0-1958-11D8-94BE-000393B98B56@frii.com> On Monday, November 17, 2003, at 02:28 PM, J. Tomasz Giermakowski wrote: > Hello, > > I have a newbie question: i need to be able to select one to five > layers > to display from a list of over 120. They are polygons of distribution > maps. Do I have to setup a template .map file with 124 shapefiles and > layer definitions or a shapefile with 124 features (they are polygons)? > the first solution would not be hard, but the colors have to be > dynamically created so that if someone wants to look at 5 layers at the > same time, they are shown in different colors. Would PHP solve that > problem? Can you pass PHP variables to the .map file? > > thanks ahead. > _______________________________________________________________________ > ________ > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ^^^^^^^^ > J. Tom Giermakowski > Division of Amphibians and Reptiles > Museum of Southwestern Biology tel: 505.277.5130 > MSC03 2020, Castetter Hall fax: 505.277.0304 > University of New Mexico email: tomas at unm.edu > ALBUQUERQUE, NM 87131-0001, USA web: > http://www.unm.edu/~msbherp > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ^^^^^^^^ > ----------------------------------------------------------------------- > -------- Either of your solutions can be implemented with MapServer. I like the second one better if all your 120+ species (I assume from your affiliation with the Museum?) are similarly attributed. MapServer allows you to to "rewrite" some map file parameters, and this is explained here: http://mapserver.gis.umn.edu/doc40/cgi-reference.html#mapfileURL So, if your layer is named 'LAYER' and features have an attribute named 'ATTR' and you wanted to map the features for which ATTR is 'A', 'B', or 'C', you would use a URL like http://.../ mapserv?map_LAYER_classitem=ATTR1&map_LAYER_class_0_expression="A"&map_L AYER_class_1_expression="B"&map_LAYER_class_2_expression="C" In your map file you'd have styles already set for up to 5 different classes. The URL above dynamically assigns features into the existing classes. You should also be able to alter the styles of existing classes in a similiar way by appending something like this: &map_LAYER_class_0_styles_color_red=RED&map_LAYER_class_0_styles_color_g reen=GREEN&map_LAYER_class_0_styles_color_blue=BLUE... to the URL. In the MapServer tutorial there are some better examples of this. Hope this helps, Sean -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From mhaines94108 at hotmail.com Mon Nov 17 15:51:31 2003 From: mhaines94108 at hotmail.com (Matthew Haines) Date: Mon, 17 Nov 2003 18:51:31 -0500 Subject: [Mapserver-users] Further postgis mapserv vs shp2img Message-ID: Yep! That was the problem. It never occurred to me that mapserv was compiled into mapscript, but that does make sense. Matthew >From: "Lowell Filak" >To: "Matthew Haines" , >mapserver-users at lists.gis.umn.edu >Subject: Re: [Mapserver-users] Further postgis mapserv vs shp2img >Date: Mon, 17 Nov 2003 16:13:54 -0500 > >Do you know if there is more than one mapserv executable on your system? >Is it possible that the /var/www/cgi-bin/mapserv executable is not the >same executable that mapscript was compiled with? > >Lowell > >The following message was sent by "Matthew Haines" > on Sun, 16 Nov 2003 20:59:25 -0500. > > > > > Further to my previous two messages > > > > # /var/www/cgi-bin/mapserv -v > > MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > > SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=OGR >INPUT=GDAL > > INPUT=SHAPEFILE > > > > And yet when I try to draw a map with perl/mapscript, I get this >error: > > > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerOpen(): Query error. > > msPOSTGISLayerOpen called but unimplemented! (mapserver not compiled >with > > postgis support) > > Sun Nov 16 17:57:40 2003 - msDrawMap(): Image handling error. Failed >to draw > > layer named 'bk_taxlots'. > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerClose(): Query error. > > msPOSTGISLayerClose called but unimplemented!(mapserver not compiled >with > > postgis support) > > > > Thanks, > > > > Matthew > > > > _________________________________________________________________ > > Crave some Miles Davis or Grateful Dead? Your old favorites are >always > > playing on MSN Radio Plus. Trial month free! > > http://join.msn.com/?page=offers/premiumradio > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _________________________________________________________________ Concerned that messages may bounce because your Hotmail account is over limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From doug at moximedia.com Mon Nov 17 16:47:57 2003 From: doug at moximedia.com (Doug Cates) Date: 17 Nov 2003 16:47:57 -0800 Subject: [Mapserver-users] Updated MapServer User Map In-Reply-To: References: <1068698702.4094.194.camel@moxi-rh9> <1068746022.4094.223.camel@moxi-rh9> Message-ID: <1069116476.4082.52.camel@moxi-rh9> Bart, I've added the Netherlands layers that you sent information about to the MapServer users map at: http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users You have to go to the layers list to turn them on though. I'll set some scale limits and maybe set them to automatically show later. I'll also add the Europe layers soon. I've also added a button to show a summary of the users. Thanks, Doug On Fri, 2003-11-14 at 08:45, Bart van den Eijnden wrote: > Nice application! > > Is it a possibility that somebody from the University of Minnesota links > this site to the main Mapserver site (http://mapserver.gis.umn.edu) ? > > Doug, I assume all the base map data for other countries would have to be > in EPSG:4326 or not? > > Best regards, > Bart From doug at moximedia.com Mon Nov 17 17:11:44 2003 From: doug at moximedia.com (Doug Cates) Date: 17 Nov 2003 17:11:44 -0800 Subject: [Mapserver-users] question about symbols Message-ID: <1069117904.4082.70.camel@moxi-rh9> Hi, I have a question after reading the SYMBOL page at: http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#symbology I'm wondering about the hot-spot of the symbol. Are the symbols centered on the point, or is the 0,0 position of the symbol placed at the point? For example, I would think that the following would make a symbol that was centered on its point: SYMBOL NAME "triangle" TYPE vector FILLED true POINTS 2 2 0 -2 -2 2 2 2 END END .... and this symbol would be be offset with its lower left triangle point at the position of the geometry: SYMBOL NAME "triangle" TYPE vector FILLED true POINTS 4 4 2 0 0 4 4 4 END END If so, it appears that negative points have special meaning and can't be used to describe a symbol, or to position it properly. Am I misunderstanding how this works? Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug at moximedia.com Web: www.moximedia.com From bplatzen at sosnetz.de Tue Nov 18 00:45:38 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Tue, 18 Nov 2003 09:45:38 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript Message-ID: <200311180945.38522.bplatzen@sosnetz.de> Hi Folks, I have some point-data in a MySQL database. Just showing them was not a problem. But now I also want to make them queryable. As far as I found out in the ML-archive, in that case, I'll have to create a new (temporary) shapefile and a corresponding dbf, right? So I tried to write a funtion for my class to produce these shapefiles: def _makeDynamicLayer(self, layer, queryfile): shpName = 'dds_data/'+layer #define a new shapefile object myShape = mapscript.shapefileObj(shpName, mapscript.MS_SHAPE_POINT) myLayer = self.mymap.getLayerByName(layer) #open the sql-file query = open('sql/'+queryfile+'.sql', 'r').read() #querying the database r = self.Conn.get_result(query) if r[0]>0:#r=(numrecords,[[k1,k2],[k3,k4],[k5,k6],...] #define a new shape object newShape = mapscript.shapeObj(mapscript.MS_SHAPE_POINT) for l in r[1]: #define a lineobject part = mapscript.lineObj() #make the pointobject newPoint = mapscript.pointObj() newPoint.x = l[0] newPoint.y = l[1] #add the point to the line part.add(newPoint) #add the line to the shapeobject newShape.add(part) #print myShape #add the shapeobject to the shapefileobject myShape.add(newShape) myLayer.status = mapscript.MS_ON myShape=None Now I get the following Error: Traceback (innermost last): File "/usr/local/httpd/htdocs/bauinfo/mapwindow.py", line 32, in ? theMap = map.Map(mapfile, 'png', webargs=dct, Conn=dbConn, dynamic=dynamic_layer) File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 150, in __init__ self.processMap() File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 237, in processMap self._makeDynamicLayer(lay[0], lay[1]) File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 400, in _makeDynamicLayer myShape.add(newShape) File "/usr/lib/python2.2/site-packages/mapscript.py", line 336, in add def add(*args): return apply(_mapscript.shapefileObj_add,args) TypeError: Type error. Expected _p_shapefileObj print myShape returns What am I missing?? What goes wrong here?? Any help would be great! Bye, Bjoern -- small office solutions info at sosnetz.de - http://www.sosnetz.de From mschulz at webgis.de Tue Nov 18 03:49:40 2003 From: mschulz at webgis.de (Michael Schulz) Date: Tue, 18 Nov 2003 12:49:40 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <200311180945.38522.bplatzen@sosnetz.de> References: <200311180945.38522.bplatzen@sosnetz.de> Message-ID: <3FBA0754.5040004@webgis.de> Hi Bjoern, if you only want to create a point data shapefile, you don't need to create a shapeObj/lineObj. You could just do: newshpfile = mapscript.shapefileObj(shpName,mapscript.MS_SHAPEFILE_POINT) # iterate over your result set for l in r[1]: p = mapscript.pointObj() p.x = l[0] p.y = l[1] newshpfile.addPoint(p) ... If you want to create a line shapefile: newlshpfile = mapscript.shapefileObj(shpName,mapscript.MS_SHAPEFILE_ARC) lineobjekt = mapscript.lineObj() shpobjekt = mapscript.shapeObj(mapscript.MS_SHAPE_LINE) for l in r[1]: p = mapscript.pointObj() p.x = l[0] p.y = l[1] lineobjekt.add(p) shpobjekt.add(lineobjekt) newlshpfile.add(shpobjekt) For a queryable shapefile you still need the corresponding dbf-file. I suggest using the python binding for dbflib. Don't go for the mapscript dbf functions. HTH, Michael ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de Bjoern Platzen schrieb: > myShape = mapscript.shapefileObj(shpName, >mapscript.MS_SHAPEFILE_POINT) > > myLayer = self.mymap.getLayerByName(layer) > #open the sql-file > query = open('sql/'+queryfile+'.sql', 'r').read() > #querying the database > r = self.Conn.get_result(query) > if r[0]>0:#r=(numrecords,[[k1,k2],[k3,k4],[k5,k6],...] > #define a new shape object > newShape = mapscript.shapeObj(mapscript.MS_SHAPE_POINT) > for l in r[1]: > #define a lineobject > part = mapscript.lineObj() > #make the pointobject > newPoint = mapscript.pointObj() > newPoint.x = l[0] > newPoint.y = l[1] > #add the point to the line > part.add(newPoint) > #add the line to the shapeobject > newShape.add(part) > #print myShape > #add the shapeobject to the shapefileobject > myShape.add(newShape) > myLayer.status = mapscript.MS_ON > myShape=None > >Now I get the following Error: >Traceback (innermost last): > File "/usr/local/httpd/htdocs/bauinfo/mapwindow.py", line 32, in ? >theMap = map.Map(mapfile, 'png', webargs=dct, Conn=dbConn, >dynamic=dynamic_layer) >File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 150, in __init__ >self.processMap() >File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 237, in >processMap self._makeDynamicLayer(lay[0], lay[1]) >File "/usr/local/httpd/htdocs/bauinfo/ms/map.py", line 400, in >_makeDynamicLayer myShape.add(newShape) >File "/usr/lib/python2.2/site-packages/mapscript.py", line 336, in add >def add(*args): return apply(_mapscript.shapefileObj_add,args) >TypeError: Type error. Expected _p_shapefileObj > >print myShape returns > >What am I missing?? What goes wrong here?? > >Any help would be great! > >Bye, > >Bjoern > From yvain.ballini at seat.it Tue Nov 18 04:06:33 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Tue, 18 Nov 2003 13:06:33 +0100 Subject: [Mapserver-users] initialisation Proj Message-ID: <006801c3adcc$68a1be70$a559af0a@seat.it> This is a multi-part message in MIME format. ------=_NextPart_000_0065_01C3ADD4.CA499DC0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi List, I'm using the proj.lib under Mapserver and would like to know how to = initialze the parameters of the projection I want to use. For the test I = use a mapfile where I define the projection like that (see under). The = problem is that when I change the parameter proj, it changes nothing on = my map (which isn't good). It's as if there would an initialization by = default...does someone know how to change these parameters? I'm using the proj.lib from proj-4.4.7, compiled with VC7. NAME DEV STATUS ON SIZE 430 380 EXTENT 7.680 45.06 7.685 45.06 DEBUG TRUE SHAPEPATH "data" IMAGECOLOR 189 198 206 PROJECTION proj=3Dutm ellps=3DWGS84 zone=3D15 north =20 END OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END Thnk you very much. Yvain. ------=_NextPart_000_0065_01C3ADD4.CA499DC0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Hi List,
 
I'm using the proj.lib under Mapserver = and would=20 like to know how to initialze the parameters of the projection I want to = use.=20 For the test I use a mapfile where I define the projection like that = (see=20 under). The problem is that when I change the parameter proj, it changes = nothing=20 on my map (which isn't good). It's as if there would an initialization = by=20 default...does someone know how to change these parameters?
I'm using the proj.lib from proj-4.4.7, = compiled=20 with VC7.

NAME DEV

STATUS ON

SIZE 430 380

EXTENT 7.680 45.06 7.685 45.06

DEBUG TRUE

SHAPEPATH "data"

IMAGECOLOR 189 198 206

PROJECTION

proj=3Dutm

ellps=3DWGS84

zone=3D15

north

 

END

OUTPUTFORMAT

NAME png

DRIVER "GD/PNG"

MIMETYPE "image/png"

IMAGEMODE RGB

EXTENSION "png"

END

 

Thnk you very much.

Yvain.

------=_NextPart_000_0065_01C3ADD4.CA499DC0-- From warmerdam at pobox.com Tue Nov 18 05:24:22 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 18 Nov 2003 08:24:22 -0500 Subject: [Mapserver-users] initialisation Proj In-Reply-To: <006801c3adcc$68a1be70$a559af0a@seat.it> References: <006801c3adcc$68a1be70$a559af0a@seat.it> Message-ID: <3FBA1D86.6040602@pobox.com> Yvain Ballini wrote: > Hi List, > > I'm using the proj.lib under Mapserver and would like to know how to > initialze the parameters of the projection I want to use. For the test I > use a mapfile where I define the projection like that (see under). The > problem is that when I change the parameter proj, it changes nothing on > my map (which isn't good). It's as if there would an initialization by > default...does someone know how to change these parameters? > I'm using the proj.lib from proj-4.4.7, compiled with VC7. Yvain, You will also need to show the projection definition you use for your layer(s) as well for us to diagnose what may be the problem. The reprojection is only done by MapServer when it knows the layer data is in a different projection than the map projection definition. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From ter-haseborg at sf-datentechnik.de Tue Nov 18 05:35:34 2003 From: ter-haseborg at sf-datentechnik.de (Frieso ter Haseborg) Date: Tue, 18 Nov 2003 14:35:34 +0100 Subject: [Mapserver-users] Rasters cause map to display in greyscale Message-ID: <0DF955F15A102E4F81B948D44A45015A06925D@nt-sf-exchange.Windows2000> Hi, sounds like the greyscale-rasters consume the whole color palette. If you use MS 4.0 you could try the COLOR_MATCH_THRESHOLD-option on the responsible greyscale-raster (I don't know if this option also exists in MS 3.x). LAYER NAME "xyz" TYPE RASTER PROCESSING "COLOR_MATCH_THRESHOLD=3" # <= insert this [...] END HTH, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany -----Original Message----- From: Chris Storozuk [mailto:cstorozuk at shaw.ca] Sent: Monday, November 17, 2003 7:29 PM To: MapServer Mailing List Subject: [Mapserver-users] Rasters cause map to display in greyscale I have been displaying some raster images in my map, and started noticing that some datasets cause the rest of my features to display in greyscale, ignoring the colors set. This includes point symbols, labels and outlines. Does anyone know why this might happen? This seems to happen using JPGs or TIFs of the same area. As well, I've processed down the raster images from 8-bit color down to greyscale (according to http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0211/msg00594.h tml ), but this didn't work. Thanks, Chris From morissette at dmsolutions.ca Tue Nov 18 05:37:02 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 18 Nov 2003 08:37:02 -0500 Subject: [Mapserver-users] Re: PHP MapScript In-Reply-To: <1069147281.10862.3.camel@localhost> References: <1069147281.10862.3.camel@localhost> Message-ID: <3FBA207E.9020508@dmsolutions.ca> Fraser MacLeod wrote: > Hi; > > I have been browsing your website and note that you have a download > version of the latest PHP MapScript dll. Do you have a version of > php_mapscript.so available for download? > > The reason I ask is that I have tried everything to get my version > running, (MapServer 4.0.1 and MapScript Revision 1.177) but just get > errors that say it cannot run as an apache2module. I have edited > httpd.conf as suggested in the wiki, but nothing changes. MapServer runs > fine and I have tested it, but I cannot get MapScript to run. My system > is based on Mandrake 9.2 > Your php_mapscript.so is likely correct, the error tells you that php_mapscript can't work with your PHP config (this will be resolved in the next 4.1 release). What you need to do is compile PHP as a CGI, install the php binary in the cgi-bin directory and then adding the following changes to the httpd.conf should enable it: AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml Action application/x-httpd-php-cgi /cgi-bin/php Also make sure that you comment out any other line that may already be present in your httpd.conf for application/x-httpd-php Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From lfilak at medinaco.org Tue Nov 18 05:57:47 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Tue, 18 Nov 2003 08:57:47 -0500 Subject: [Mapserver-users] Help me! Message-ID: <20031118135743.D263A1A6599@mail.medinaco.org> The first thing is to make sure the rpm you have for gd is for mandrake. I believe gd-2.0.12-1.3.0.i386.rpm is a redhat rpm and although it could work it will be looking for dependencies that may exist in pakages by different names under mandrake. I think the rpm for libpgn for mandrake is: libpng-devel-1.0.9-1.2mdk.i586.rpm And the gd2 rpm is: libgd2-devel-2.0.15-3mdk.i586.rpm You should be able to locate them at either: http://rpm.pbone.net http://rpmfind.net HTH Lowell The following message was sent by "Tran Anh Tu" on Tue, 18 Nov 2003 15:03:10 +0700. > Tran Anh Tu: > > when I install gd-2.0.12-1.3.0.i386.rpm, the screen displayed errors: > > error: failed dependencies: > libpng10.so.0 is needed by gd-2.0.12-1.3.0 > > and I had typed the command: > rpm -qa | grep libpng > > the screen displayed: > > libpng2-1.0.9-1mdk > libpng2-devel-1.0.9-1mdk > > what I have to do next. Please show me! Thank you. > > > > Did the failed 'rpm -i' command for gd-2.0.12-1.3.0.i386.rpm produce an > > error message with information that could help diagnose why the install > > failed? > > > > Lowell > > > > The following message was sent by "Tran Anh Tu" > on > > Mon, 17 Nov 2003 13:40:28 +0700. > > > > > Hi all! > > > My system is mandrake 8.0, when I install MapServer 4.0 on it, there > > is > > > some following errors: > > > > > > checking for gdImageSetAntiAliased in -lgd... no > > > checking for gdImageSetAntiAliased in -lgd... (cached) no > > > configure: error: Could not find gd.h or libgd.a/libgd.so in > > /usr/local. Make > > > sure GD 2.0.12 or higher is compiled before calling configure. > > > > > > I had tried to install gd-2.0.12-1.3.0.i386.rpm but it didn't work. > > Please > > > show me how I can do to install it on my system. Thanks! > > > ******************************************************* > > > Tran Anh Tu > > > Vien CNTT - DHQG Ha Noi > > > Phone: 047680417-25 Email trantu at vnu.edu.vn > > > ******************************************************* > > > > > > _______________________________________________ > > > Mapserver-users mailing list > > > Mapserver-users at lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From yvain.ballini at seat.it Tue Nov 18 05:56:03 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Tue, 18 Nov 2003 14:56:03 +0100 Subject: Fw: [Mapserver-users] initialisation Proj Message-ID: <008401c3addb$b473b1f0$a559af0a@seat.it> ----- Original Message ----- From: "Yvain Ballini" To: "Frank Warmerdam" Sent: Tuesday, November 18, 2003 2:55 PM Subject: Re: [Mapserver-users] initialisation Proj > ok, > > for the layer "vie_navtech" which I want to see the projection, I've put the > following projection definition: > LAYER > > NAME vie_navtech > > PROJECTION > > "proj=aeqd" > > "zone=15" > > "ellps=WGS60" > > "units=m" > > "no_defs" > > END > > > If I put this definition, I don't see the projection of my layer. If I > doesn't put it (That meens I've only the projection definition at the start > of the mapfile), I see the layer but with a bad projection. What I want to > do is obtaining the right projection for my layers, but when I change the > projection definition at the start of the mapfile, it changes nothing. Do > you know where I'm wrong with the use of proj? > Thanks. > > Yvain. > > > ----- Original Message ----- > From: "Frank Warmerdam" > To: "Yvain Ballini" > Cc: > Sent: Tuesday, November 18, 2003 2:24 PM > Subject: Re: [Mapserver-users] initialisation Proj > > > > Yvain Ballini wrote: > > > Hi List, > > > > > > I'm using the proj.lib under Mapserver and would like to know how to > > > initialze the parameters of the projection I want to use. For the test I > > > use a mapfile where I define the projection like that (see under). The > > > problem is that when I change the parameter proj, it changes nothing on > > > my map (which isn't good). It's as if there would an initialization by > > > default...does someone know how to change these parameters? > > > I'm using the proj.lib from proj-4.4.7, compiled with VC7. > > > > Yvain, > > > > You will also need to show the projection definition you use for your > > layer(s) as well for us to diagnose what may be the problem. The > reprojection > > is only done by MapServer when it knows the layer data is in a different > > projection than the map projection definition. > > > > Best regards, > > > > -- > > ---------------------------------------+---------------------------------- > ---- > > I set the clouds in motion - turn up | Frank Warmerdam, > warmerdam at pobox.com > > light and sound - activate the windows | http://pobox.com/~warmerdam > > and watch the world go round - Rush | Geospatial Programmer for Rent > > > > > From bplatzen at sosnetz.de Tue Nov 18 06:01:09 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Tue, 18 Nov 2003 15:01:09 +0100 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <3FBA0754.5040004@webgis.de> References: <200311180945.38522.bplatzen@sosnetz.de> <3FBA0754.5040004@webgis.de> Message-ID: <200311181501.09187.bplatzen@sosnetz.de> Hi Michael. Thanks a lot! Now it works... ... but the Error was caused by this: myShape=mapscript.shapefileObj(shpName, mapscript.MS_SHAPE_POINT) ^^^^^ It took me a minute to recognize the difference between your suggestion on how to create the shapefileObj and my function... 8~) > if you only want to create a point data shapefile, you don't need to > create a shapeObj/lineObj. > You could just do: > > newshpfile = > mapscript.shapefileObj(shpName,mapscript.MS_SHAPEFILE_POINT) # > iterate over your result set > for l in r[1]: > p = mapscript.pointObj() > p.x = l[0] > p.y = l[1] > newshpfile.addPoint(p) > ... But I think, I've got to build the lineObj and the shapeObj as well, to add them to the layer. If I only build the shapefile, my Features won't be visible on the map. Or is there a way to add the shapefileObject to the layer? (myLayer.data = myShapefileName didn't work). Bye, Bjoern. -- small office solutions info at sosnetz.de - http://www.sosnetz.de From Cedric.Moeri at bd.so.ch Tue Nov 18 06:09:53 2003 From: Cedric.Moeri at bd.so.ch (=?ISO-8859-1?Q?M=F6ri_C=E9dric?=) Date: Tue, 18 Nov 2003 15:09:53 +0100 Subject: [Mapserver-users] (no subject) Message-ID: <5B025B1F39D6D4119F5700508BEEEC660142324E@srsofaioi4546.ktso.ch> 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_01C3ADDD.A33A23E0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Dear list! we are running Mapserver as cgi with postgis as db. While in = browse-mode everything is ok, but when changing in query-mode, the following error = shows up: msPOSTGISLayerGetShape(): Query error. Error executing POSTGIS SQL statement (in FETCH ALL): EXPLAIN VERBOSE SELECT * FROM geo_gemeinden I found a discussion in the archive about this topic between Ignacio Laplagne and David Blasby, but no answer (http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/msg00766.= html ) we are using MapServer 3.6.6, postgreSQL 7.3.4, PostGIS CVS(7th nov = 03). So I looks we are running in this postgresql handling problem with = "explain verbose". David Blasby states that this problem shoud be fixed. But in = which "version" of the mappostgis.c? Our version dates from 15. November = 2002. Should it be fixed in this version or are there more recent ones? Or is = this "bug" still travelling around? thanks for any hint in advance regards C=E9dric ------_=_NextPart_000_01C3ADDD.A33A23E0 Content-Type: application/octet-stream; name="=?ISO-8859-1?Q?M=F6ri_C=E9dric=2Evcf?=" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="=?ISO-8859-1?Q?M=F6ri_C=E9dric=2Evcf?=" BEGIN:VCARD VERSION:2.1 N:M=F6ri;C=E9dric FN:M=F6ri C=E9dric ORG:Bau- Departement;Amt f=FCr Raumplanung ADR;WORK:;;;Solothurn LABEL;WORK:Solothurn EMAIL;PREF;INTERNET:Cedric.Moeri at bd.so.ch REV:20020605T094013Z END:VCARD ------_=_NextPart_000_01C3ADDD.A33A23E0-- From lfilak at medinaco.org Tue Nov 18 06:14:58 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Tue, 18 Nov 2003 09:14:58 -0500 Subject: Fwd: Antw: Re: [Mapserver-users] cc problem Message-ID: <20031118141455.22D791A6599@mail.medinaco.org> It would appear to me that it is just a path problem during the make then. I will forward it back to the list to see if someone can shed more light on the subject. However, it also appears that the compiler your using is not GNU C and there are some hits on google that seem to indicate problems compiling with the supplied CC. http://freeware.sgi.com reportedly has the GNU C available. HTH Lowell The following message was sent by "Andre Seifert" on Tue, 18 Nov 2003 10:47:42 +0100. > Hi Lowell, yes I'm sure, stdio.h exists in /usr/include. > I have already compiled the following software: > curl-7.10.7 > freetype-1.3.1 > freetype-2.1.5 > gd-2.0.15 > gdal-1.1.9 > jpeg-6b > libgeotiff-1.2.1 > libpng-1.2.5 > postgresql-7.3.4 > proj-4.4.7 > tiff-v3.6.0 > zlib-1.1.3 > There was no problem during make. Only mapserver is a problem. Here is > what I do: > > I use a script: > #!/bin/ksh > dirname=mapserver-4.0.1 > cd /usr/people/intranet/mapserver > if [[ -d $dirname ]] ; then > rm -r $dirname > fi > tar xf packages/mapserver-4_0_1_tar > cd $dirname > if [[ $? -eq 0 ]] ; then > PATH=${PATH}:/usr/local/bin; export PATH > echo "# configure #######################################################> ####" > ./configure --with-curl-config=/usr/local/bin/curl-config --with-proj> =/usr/local --with-gdal=/usr/local/bin/gdal-config --with-ogr > --with-wmsclient --with-wfsclient --with-postgis=/usr/local --with-tiff> =/usr/local --with-freetype=/usr/local --with-png=/usr/local > --with-jpeg=/usr/local --with-libiconv=/usr/local --with-zlib=/usr/lo> cal --with-gd=/usr/local > echo "# make ############################################################> ####" > make > else > echo "$dirname does not exist" > fi > > and the output is: > > # configure ########################################################### > creating cache ./config.cache > checking for gcc... no > checking for cc... cc > checking whether the C compiler (cc ) works... yes > checking whether the C compiler (cc ) is a cross-compiler... no > checking whether we are using GNU C... no > checking whether cc accepts -g... no > checking for c++... no > checking for g++... no > checking for gcc... no > checking for CC... CC > checking whether the C++ compiler (CC ) works... yes > checking whether the C++ compiler (CC ) is a cross-compiler... no > checking whether we are using GNU C++... no > checking whether CC accepts -g... no > checking for ranlib... : > checking for flex... flex > checking for yywrap in -lfl... no > checking for bison... bison -y > checking if compiler supports -R... no > checking if compiler supports -Wl,-rpath,... yes > checking for exp in -lm... yes > checking for __gxx_personality_v0 in -lstdc++... no > checking how to run the C preprocessor... /lib/cpp > checking for ANSI C header files... no > checking for strcasecmp... yes > checking for strncasecmp... yes > checking for strdup... yes > checking whether we should include JPEG support... > using libjpeg from system -L/usr/local/lib -ljpeg > checking where FreeType 2.x is installed... > using libfreetype from -L/usr/local/lib -lfreetype > checking for FT_Init_FreeType in -lfreetype... no > using libfreetype -L/usr/local/lib -lfreetype from system libs. > checking where Zlib is installed... > using libz from -L/usr/local/lib -lz > checking where PNG is installed... > using libpng from -L/usr/local/lib -lpng > checking where libXpm is installed... > checking for XpmFreeXpmImage in -lXpm... yes > using libXpm from system libs. > checking where libiconv is installed... > checking for libiconv_open in -liconv... no > libiconv library cannot be found, possibly needed for GD > checking for GD 2.0.12 or higher... > checking for gdImageSetAntiAliased in -lgd... yes > using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd > -L/usr/local/lib -ljpeg -L/usr/local/lib -lfreetype -L/usr/local/lib -lpng > -L/usr/local/lib -lz -lXpm -lX11 > checking for gdImageGif in -lc... no > checking for gdImagePng in -lc... yes > checking for gdImageJpeg in -lc... yes > checking for gdImageWBMP in -lc... yes > checking for gdImageStringFT in -lc... yes > checking for gdImageGifPtr in -lc... no > using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) > from /usr/local. > checking whether we should include PDF support... > checking for PDF_setlinewidth in -lpdf... no > checking for PDF_setrgbcolor in -lpdf... no > checking for PDF_moveto in -lpdf... no > checking for PDF_curveto in -lpdf... no > checking for PDF_show_xy in -lpdf... no > libpdf not found... PDF support not included. > checking whether we should include TIFF support... > using libtiff from -L/usr/local/lib -ltiff. > checking whether we should include EPPL7 support... > including EPPL7 support. > checking whether we should include PROJ.4 support... > checking for pj_transform in -lproj... yes > checking for pj_latlong_from_proj in -lproj... yes > using PROJ.4 from /usr/local. > checking whether we should include thread safe support... > thread safe support disabled. > checking whether we should include ESRI SDE support... > ESRI SDE support not requested. > checking whether we should compile in MPATROL support... > MPATROL support not requested. > checking whether we should include OGR support... > checking for gdal-config... /usr/local/bin/gdal-config > checking for OGRRegisterAll in -lgdal.1.1... no > configure: warning: OGR not found in system libs... use --with-ogr> =DIR. > checking if GDAL support requested... yes, user supplied gdal-config > (/usr/local/bin/gdal-config) > checking if PostGIS support requested... yes, user supplied pg_config > ./configure[5016]: /usr/local: kann nicht ausf?hren > ./configure[5017]: /usr/local: kann nicht ausf?hren > checking if MyGIS support requested... no > checking if OracleSpatial support requested... no > checking if MING/Flash support requested... no > checking whether we should include WMS Server support... > OGC WMS compatibility enabled (-DUSE_WMS_SVR). > checking whether we should include WFS Server support... > OGC WFS Server support not requested. > checking whether we should include WMS Client Connections support... > checking whether we should include WFS Client Connections support... > OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR > required). > checking for curl-config > found libcurl version 7.10.7 > OGC WMS Client Connections enabled (-DUSE_WMS_LYR). > checking HTTPD server (Apache) version > checking for httpd... no > 'httpd' not found, skipping Apache version detection. You may want > to use --with-httpd=/path/to/httpd > Compiling with -DIGNORE_MISSING_DATA. > checking whether we should enable debug features... > checking for PHP/MapScript module options... > PHP/MapScript module not configured. > updating cache ./config.cache > creating ./config.status > creating Makefile > # make ################################################################ > cc -c -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H> -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG > -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -DUSE_POSTGIS > -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/loca> l/include -I/usr/local/include -I -I/usr/local/include maptemplat> e.c -o maptemplate.o > cc-1005 cc: ERROR File = map.h, Line = 9 > The source file "stdio.h" is unavailable. > > #include > ^ > > 1 catastrophic error detected in the compilation of "maptemplate.c". > Compilation terminated. > *** Fehlercode 2 (bu21) > > > > > Mail scanned by virusscanner, Patternfile from 17 Nov 2003 From eric at gomoos.org Tue Nov 18 01:20:18 2003 From: eric at gomoos.org (Eric Bridger) Date: 18 Nov 2003 09:20:18 +0000 Subject: [Mapserver-users] Creating dynamic shapefiles with Python Mapscript In-Reply-To: <200311180945.38522.bplatzen@sosnetz.de> References: <200311180945.38522.bplatzen@sosnetz.de> Message-ID: <1069147223.1767.8.camel@ubet.gomoos.org> On Tue, 2003-11-18 at 08:45, Bjoern Platzen wrote: > Hi Folks, > > I have some point-data in a MySQL database. Just showing them was not a > problem. But now I also want to make them queryable. As far as I found > out in the ML-archive, in that case, I'll have to create a new > (temporary) shapefile and a corresponding dbf, right? > This is not strictly true. If you not only draw your points, $point->draw(), but also add them as Features to your layer (addFeature($shape)) you can query them as if a DBF file exists and get the shape index returned. You can use this index to lookup your MySQL keys values in a lookup table. If your MySQL key values are numeric you can use them as the shape index and have them returned by queryByPoint() and look up the record in MySQL. No lookup table required.' This is the method I always use when drawing point data. There is a Perl example here: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PerlMapScriptExamples35ex19 From morissette at dmsolutions.ca Tue Nov 18 06:21:30 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 18 Nov 2003 09:21:30 -0500 Subject: [Mapserver-users] Re: PHP MapScript In-Reply-To: <1069163731.10860.11.camel@localhost> References: <1069147281.10862.3.camel@localhost> <3FBA207E.9020508@dmsolutions.ca> <1069163731.10860.11.camel@localhost> Message-ID: <3FBA2AEA.50807@dmsolutions.ca> Please reply via the list since other Mandrake users may have run into that and know the solution.... or could also benefit from the solution. Fraser MacLeod wrote: > Daniel; > > Thanks for the suggestions. I have installed php-cgi (standalone CGI > version of PHP) and copied the executable into the cgi-bin directory on > the web server. In addition I have modified the httpd.conf as you > suggested. When I try and run the sample php script (PHP MapScript 3.5 > By Example HowTo) all I get is the following error message: > > Fatal error: Due to thread-safety problems, php_mapscript cannot be used > as a 'apache2handler' module. You will have to reconfigure your PHP as a > CGI to run this version of MapScript. See > http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapScriptCGI. in > /var/www/html/terraVX/pda/test.php on line 5 > Did you restart the Apache server for the changes to take effect? If you did then the there are 2 possibilities: - It could be that the php-cgi is not being used for some reason. Possibly the AddHandler/Action lines that you added to httpd.conf don't get used, or there is already another handler for the .php and .phtml extensions that you need to comment out. Make sure the AddType and Action lines really use type application/x-httpd-php-cgi and *not* application/x-httpd-php. This is important in order to bypass the builtin PHP module: AddType application/x-httpd-php-cgi .php .php3 .php4 .phtml Action application/x-httpd-php-cgi /cgi-bin/php433 - It could be that the php-cgi is not really compiled as a CGI... I doubt that's really the case but you could run '/path/to/cgi-bin/php -i | grep "Server API"' and confirm that the Server API is "CGI". If not then the problem is the way the PHP is compiled and you'll need to compile a new one. HTH Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From lfilak at medinaco.org Tue Nov 18 06:34:21 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Tue, 18 Nov 2003 09:34:21 -0500 Subject: [Mapserver-users] Further postgis mapserv vs shp2img Message-ID: <20031118143418.14E601A6599@mail.medinaco.org> I'm not sure if I understand the question correctly. Yes, you could compile one mapserv executable with certain options and then a different mapscript compilation with different options - there lies the problem, no? Lowell The following message was sent by Randy James on Mon, 17 Nov 2003 17:01:32 -0500 (EST). > Hi > > For some reason i always thought that you can compile the > cgi or the mapscript libary independant of each other. You > can compile your cgi without postgis and than your > mapscript with postgis. Am i wrong? > > Cheers > Randy > --- Lowell Filak wrote: > Do you > know if there is more than one mapserv executable > > on your system? > > Is it possible that the /var/www/cgi-bin/mapserv > > executable is not the > > same executable that mapscript was compiled with? > > > > Lowell > > > > The following message was sent by "Matthew Haines" > > on Sun, 16 Nov 2003 20:59:25 > > -0500. > > > > > > > > Further to my previous two messages > > > > > > # /var/www/cgi-bin/mapserv -v > > > MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > > OUTPUT=WBMP > > > SUPPORTS=FREETYPE INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS > > INPUT=OGR > > INPUT=GDAL > > > INPUT=SHAPEFILE > > > > > > And yet when I try to draw a map with perl/mapscript, I > > get this > > error: > > > > > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerOpen(): Query > > error. > > > msPOSTGISLayerOpen called but unimplemented! > > (mapserver not compiled > > with > > > postgis support) > > > Sun Nov 16 17:57:40 2003 - msDrawMap(): Image handling > > error. Failed > > to draw > > > layer named 'bk_taxlots'. > > > Sun Nov 16 17:57:40 2003 - msPOSTGISLayerClose(): Query > > error. > > > msPOSTGISLayerClose called but unimplemented!(mapserver > > not compiled > > with > > > postgis support) > > > > > > Thanks, > > > > > > Matthew > > > > > > > > > _________________________________________________________________ > > > Crave some Miles Davis or Grateful Dead? Your old > > favorites are > > always > > > playing on MSN Radio Plus. Trial month free! > > > http://join.msn.com/?page=offers/premiumradio > > > > > > _______________________________________________ > > > Mapserver-users mailing list > > > Mapserver-users at lists.gis.umn.edu > > > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > ______________________________________________________________________ > Post your free ad now! http://personals.yahoo.ca From bartvde at xs4all.nl Tue Nov 18 06:35:35 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Tue, 18 Nov 2003 15:35:35 +0100 (CET) Subject: [Mapserver-users] using one classification for multiple layers Message-ID: <21700.212.238.227.182.1069166135.squirrel@webmail.xs4all.nl> Hi list, is it possible to define a classification once and then re-use it for more than one layer? I have 20 layers which all use the same classification, but now I am redefining all the CLASS objects all the time in every LAYER. I could not find anything about this in the Mapfile reference. Best regards, Bart From cstorozuk at shaw.ca Tue Nov 18 06:54:03 2003 From: cstorozuk at shaw.ca (Chris Storozuk) Date: Tue, 18 Nov 2003 08:54:03 -0600 Subject: [Mapserver-users] Rasters cause map to display in greyscale References: <0DF955F15A102E4F81B948D44A45015A06925D@nt-sf-exchange.Windows2000> Message-ID: <001601c3ade3$cfdaa4a0$e60c4f18@duke> Thanks Frieso, That did the trick. An I am using 4.0. Chris ----- Original Message ----- From: "Frieso ter Haseborg" To: "Chris Storozuk" Cc: Sent: Tuesday, November 18, 2003 7:35 AM Subject: RE: [Mapserver-users] Rasters cause map to display in greyscale Hi, sounds like the greyscale-rasters consume the whole color palette. If you use MS 4.0 you could try the COLOR_MATCH_THRESHOLD-option on the responsible greyscale-raster (I don't know if this option also exists in MS 3.x). LAYER NAME "xyz" TYPE RASTER PROCESSING "COLOR_MATCH_THRESHOLD=3" # <= insert this [...] END HTH, Frieso ter Haseborg - Software Development - -- -------------------------------------------------- S&F Datentechnik GmbH&Co.KG Reimersstr. 41b 26789 Leer, Germany -----Original Message----- From: Chris Storozuk [mailto:cstorozuk at shaw.ca] Sent: Monday, November 17, 2003 7:29 PM To: MapServer Mailing List Subject: [Mapserver-users] Rasters cause map to display in greyscale I have been displaying some raster images in my map, and started noticing that some datasets cause the rest of my features to display in greyscale, ignoring the colors set. This includes point symbols, labels and outlines. Does anyone know why this might happen? This seems to happen using JPGs or TIFs of the same area. As well, I've processed down the raster images from 8-bit color down to greyscale (according to http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0211/msg00594.h tml ), but this didn't work. Thanks, Chris From sp_ml at sourcepole.com Tue Nov 18 07:13:03 2003 From: sp_ml at sourcepole.com (Pirmin Kalberer) Date: Tue, 18 Nov 2003 16:13:03 +0100 Subject: [Mapserver-users] Delphi/Kylix components released Message-ID: <200311181613.03117.sp_ml@sourcepole.com> We have just released the first public version of our Delphi/Kylix components. Included are connectors for the UMN Mapserver und WMS servers. The map viewer component has all the basic functionality for viewing, navigating and querying maps. These components are written as portable CLX components and tested with Kylix 3 and Delphi 7. More information and the fully functional demo version is available at http://sourcepole.com/sources/software/giscomp/ Markus Schnider Sourcepole - Linux & Open Source Solutions http://sourcepole.com From fraserm at terravistaltd.com Tue Nov 18 07:09:44 2003 From: fraserm at terravistaltd.com (Fraser MacLeod) Date: Tue, 18 Nov 2003 15:09:44 +0000 Subject: [Mapserver-users] Re: PHP MapScript In-Reply-To: <3FBA2AEA.50807@dmsolutions.ca> References: <1069147281.10862.3.camel@localhost> <3FBA207E.9020508@dmsolutions.ca> <1069163731.10860.11.camel@localhost> <3FBA2AEA.50807@dmsolutions.ca> Message-ID: <1069168183.25699.7.camel@localhost> Daniel; Have followed the suggestions that you make. I have checked the httpd.conf: AddType application/x-httpd-php .php .php4 .php3 AddType application/x-httpd-php-cgi .phtml AddType application/x-httpd-php-source .phps AddHandler phtml-script .phtml Action phtml-script /cgi-bin/php-cgi Action application/x-httpd-php-cgi /cgi-bin/php-cgi These are the only entries (some of them come from the wiki on PHPMapscript) I have checked the the php-cgi and get the following:
Server API CGI

Description
(DundasTC) in=20 = /maplab/common/wrapper/drawmap.php
=
 
The answer to=20 the error relates to MapLab. Using the the MapEdit module = when a=20 raster file is added using the Data combo box, the raster extension has = to be=20 typed in after the image has been selected.
The parsing = problem must be=20 related to the fact that  when I first added the raster no = extension was on=20 the file.
 
Thanks for the=20 help.
 
 
 
 

 

 
Stephen = Wallace
 
Email gis at gisrs.com
 
= ------=_NextPart_000_0040_01C3ADFF.2F936380-- From bplatzen at sosnetz.de Tue Nov 18 15:36:55 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Wed, 19 Nov 2003 00:36:55 +0100 Subject: [Mapserver-users] Setting the classindex of a shapeObj() has no effect Message-ID: <200311190036.55877.bplatzen@sosnetz.de> Hi folks, I'm still messing around with PythonMapScript... With a lot of help from the list, I am now able to create queryable Features for a layer. Now I want to show my points with different symbols. In my database-table, Ive got a field for a category. If the category-field contains '1', the point should be drawn with the CLASS 0, otherwise with CLASS 1. Here's the layer-definition in the mapfile: LAYER NAME 'baustellen' TYPE POINT STATUS on CLASS Symbol 'bau' END#class CLASS Symbol 'db' END#class TEMPLATE 'rahmen2.html' TOLERANCE 50 END#LAYER END # Map File Here's the code-snippet, that produces the points: for l in r[1]: #r[1] is the resultset[[pointx,pointy,date1,date2,category],[..],..] newPoint = mapscript.pointObj() newPoint.x = l[0] newPoint.y = l[1] newLine = mapscript.lineObj() newLine.add(newPoint) newShape = mapscript.shapeObj(mapscript.MS_SHAPE_POINT) newShape.add(newLine) newShape.index=l[6] if l[4]=='1':#l[4] contains the category newShape.classindex = 0 else: newShape.classindex = 1 myLayer.addFeature(newShape) All features are displayed with the symbol defined in CLASS 0. I thought classindex would be an attribute of the shapeObj() that is read- and writeable. What will I have to do to display my Points with different symbols/classes?? Thanks in advance for any help! Bye, Bjoern -- small office solutions info at sosnetz.de - http://www.sosnetz.de From mdoggett at coas.oregonstate.edu Tue Nov 18 16:35:40 2003 From: mdoggett at coas.oregonstate.edu (Matt Doggett) Date: Tue, 18 Nov 2003 16:35:40 -0800 Subject: [Mapserver-users] PROJECTION and no_defs Message-ID: <002701c3ae35$0ef91350$2441c180@nino> Can anyone tell me what the "no_defs" option of the PROJECTION object means? -Matt PS. Is it just me, or is the documentation (or lack thereof) of the PROJECTION options grossly inadequate? Matt Doggett Spatial Climate Analysis Service Oregon State University 316 Strand Ag Hall Corvallis, OR 97331 (541)737-9153 mdoggett at coas.oregonstate.edu From warmerdam at pobox.com Tue Nov 18 17:52:10 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 18 Nov 2003 20:52:10 -0500 Subject: [Mapserver-users] PROJECTION and no_defs In-Reply-To: <002701c3ae35$0ef91350$2441c180@nino> References: <002701c3ae35$0ef91350$2441c180@nino> Message-ID: <3FBACCCA.5090809@pobox.com> Matt Doggett wrote: > Can anyone tell me what the "no_defs" option of the PROJECTION object > means? Matt, The "no_defs" item ensures that no defaults are read from the defaults files. Sometimes they cause suprising problems. > -Matt > > PS. Is it just me, or is the documentation (or lack thereof) of the > PROJECTION options grossly inadequate? There is some pretty good documentation in the two or three PostScript report documents on PROJ.4, but they aren't organized for easy reference - thats for sure. Even I have a devil of a time finding information. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From palle at mail-online.dk Wed Nov 19 00:22:20 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Wed, 19 Nov 2003 09:22:20 +0100 Subject: [Mapserver-users] how to set a busyimage in JBox? In-Reply-To: <0290E9A99BE89B4CB17908E29890A7063067A8@EXCHANGE.ornl.gov> References: <0290E9A99BE89B4CB17908E29890A7063067A8@EXCHANGE.ornl.gov> Message-ID: What do you need a busyimage for? You a working with the fastest mapserver on the net ;-) I don't know jBox, but an applet is only allowed to communicate with its home server, so if your image isn't on there, it won't work. Best regrads Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: "Palanisamy, Giri" To: mapserver-users at lists.gis.umn.edu Date: Tue, 18 Nov 2003 12:38:49 -0500 Subject: [Mapserver-users] how to set a busyimage in JBox? > Hi, > > I am trying to display a busy image ("your map is loading..") while > the > JBox is working. > > I have added "busyimage" param inside the applet script. > > height="600" > name="jBox" MAYSCRIPT> > > value="http://giri/mapserv/fluxnet/graphics/loadMap.gif"> > > > But it is not displaying the busy image. > > Any idea? > > Thanks > > Giri > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From palle at mail-online.dk Wed Nov 19 00:25:08 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Wed, 19 Nov 2003 09:25:08 +0100 Subject: [Mapserver-users] application opinions In-Reply-To: References: <200311151704.AA109642044@mail.maich.gr> Message-ID: I'm not quite sure of this, since I haven't used joins, but couldn't you join the map-specific dbf with a user-specific one? Best regards Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: Tyler Mitchell To: Cc: mapserver-users at lists.gis.umn.edu Date: Mon, 17 Nov 2003 08:25:11 -0800 Subject: Re: [Mapserver-users] application opinions > > > > > > I'd suggest using a single dbf for it all, but add in a filter to > only show > that user's info. When they enter their data, you could track their > logged > in username (or IP?) and store it as an attribute in the table. > Wouldn't > that work? > > Tyler > > mapserver-users-admin at lists.gis.umn.edu wrote on 11/15/2003 07:04:09 > AM: > > > Hi, > > > > I wanted to bounce some ideas off you guys wrt an application using > ms. > > In this app, a user: > > > > *submits some input parameters via a web form > > *an econometric model is run utilizing these params > > *the output file is parsed and a dbf file is updated > > *user is re-directed to ms for querying/zooming etc.The dbf file > > that is updated is the attribute file of the shape file use for > mapping > > > > While this scenario seems ok for a single user, I think that things > > would getconfusing for multiple users; meaning how to separate > > userA's updated dbf from userN's dbf...Keeping multiple copies of > > the shape/dbf is kind of costly as the dbf is 25Mb, and the shape > is > ~10Mb... > > > > AFAIK, ms-cgi works with a shape/dbf pair of the same name. Can you > > have ms work with additional dbf and the same shape file? > > In the app, I need to update only 4, out of 57 fields, by ~39000 > > records, so the thinking would be to use the original dbf and > create > > an additional user[pid].dbf for the duration of the user sesion... > > > > i am sure that there other things I did not think about, so > feedback > > would be welcome..... > > > > > > regards, > > > > nicolas boretos > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From youssefchamoun at hotmail.com Wed Nov 19 03:29:55 2003 From: youssefchamoun at hotmail.com (youssef chamoun) Date: Wed, 19 Nov 2003 12:29:55 +0100 Subject: [Mapserver-users] Arabic UNICODE Labels Message-ID: Hello, We are trying to write labels in Arabic. Can any one help? Thank you, Youssef Chamoun IT Consultant Carl Bro EU _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From Mike.Elstermann at itc-halle.de Wed Nov 19 04:45:07 2003 From: Mike.Elstermann at itc-halle.de (Elstermann, Mike) Date: Wed, 19 Nov 2003 13:45:07 +0100 Subject: [Mapserver-users] wanted! opensource-software for routing? Message-ID: <8BC0EAF5B383D711B69E0006293896C7B183BD@evhnt6s.evh.de> Sorry, how nows a cheap commerce or an oss-solution for routing. ::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/RIS, e-Solutions ::: IT-Consult Halle GmbH, Bornknechtstra?e 5, 06108 Halle (Saale) ::: Sitz: Gro?e Nikolaistra?e 8 ::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 02 ::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de ::: GeoDaten Online? -> http://www.itcgis.de From eric at gomoos.org Wed Nov 19 05:09:55 2003 From: eric at gomoos.org (Eric Bridger) Date: Wed, 19 Nov 2003 08:09:55 -0500 Subject: [Mapserver-users] Setting the classindex of a shapeObj() has no effect In-Reply-To: <200311190036.55877.bplatzen@sosnetz.de> Message-ID: <4.3.2.7.2.20031119075855.00ad7ee0@mail.gomoos.org> Bjoern, Since I use the same method for drawing points I've run into the same issue. I think the comments in my Wiki example mention this. I never figured out exactly why this is so. Perhaps a layers features are drawn without respect to any Class attributes. The solution I use is to call $class = $layer->getClass($class_index); # class_index is based on some category Then set the attrbutes, e.g. $class->{symbol} = $symbol_index; $class->{size} = 20; $class->{color} = .... etc. Finally $pointDraw($map, $layer, $point ...) in ADDITION to calling $layer->addFeature($shape) which makes the points queryable. This seems like something of a hack, i.e. drawing all the points twice. I don't call $layer->draw() In your case you may not need to set the class attributes. Perhaps just calling $layer->getClass(0) or getClass(1) prior to $point->draw() will be enough. Eric At 12:36 AM 11/19/2003 +0100, Bjoern Platzen wrote: >Hi folks, > >I'm still messing around with PythonMapScript... >With a lot of help from the list, I am now able to create queryable >Features for a layer. Now I want to show my points with different >symbols. In my database-table, Ive got a field for a category. If the >category-field contains '1', the point should be drawn with the CLASS >0, otherwise with CLASS 1. > >Here's the layer-definition in the mapfile: >LAYER > NAME 'baustellen' > TYPE POINT > STATUS on > CLASS > Symbol 'bau' > END#class > CLASS > Symbol 'db' > END#class > TEMPLATE 'rahmen2.html' > TOLERANCE 50 >END#LAYER >END # Map File > >Here's the code-snippet, that produces the points: >for l in r[1]: > #r[1] is the resultset[[pointx,pointy,date1,date2,category],[..],..] > newPoint = mapscript.pointObj() > newPoint.x = l[0] > newPoint.y = l[1] > newLine = mapscript.lineObj() > newLine.add(newPoint) > newShape = mapscript.shapeObj(mapscript.MS_SHAPE_POINT) > newShape.add(newLine) > newShape.index=l[6] > if l[4]=='1':#l[4] contains the category > newShape.classindex = 0 > else: > newShape.classindex = 1 > myLayer.addFeature(newShape) > >All features are displayed with the symbol defined in CLASS 0. > >I thought classindex would be an attribute of the shapeObj() that is >read- and writeable. > >What will I have to do to display my Points with different >symbols/classes?? > >Thanks in advance for any help! > >Bye, > >Bjoern >-- >small office solutions >info at sosnetz.de - http://www.sosnetz.de > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bartvde at xs4all.nl Wed Nov 19 05:28:41 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Wed, 19 Nov 2003 14:28:41 +0100 (CET) Subject: [Mapserver-users] wanted! opensource-software for routing? In-Reply-To: <8BC0EAF5B383D711B69E0006293896C7B183BD@evhnt6s.evh.de> References: <8BC0EAF5B383D711B69E0006293896C7B183BD@evhnt6s.evh.de> Message-ID: <24122.212.238.227.182.1069248521.squirrel@webmail.xs4all.nl> Hi, you could take a look at: http://www.routeware.dk/ Best regards, Bart > Sorry, > how nows a cheap commerce or an oss-solution for routing. > > ::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/RIS, e-Solutions > ::: IT-Consult Halle GmbH, Bornknechtstra?e 5, 06108 Halle (Saale) > ::: Sitz: Gro?e Nikolaistra?e 8 > ::: Tel.: +49 345 221 4237, Fax: +49 345 221 4236, mobil: +49 160 71 545 > 02 > ::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de > ::: GeoDaten Online? -> http://www.itcgis.de > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From palanisamyg at ornl.gov Wed Nov 19 06:54:31 2003 From: palanisamyg at ornl.gov (Palanisamy, Giri) Date: Wed, 19 Nov 2003 09:54:31 -0500 Subject: [Mapserver-users] setting busyimage in JBox? Message-ID: <0290E9A99BE89B4CB17908E29890A7063067AD@EXCHANGE.ornl.gov> HI, I am trying to show an intermediate image while the JBox applet working, something very similar to http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users when you click any zoom option, you will notice a Loading... image on the map area. I would like to do the same function. Here is another example http://www.dnr.state.mn.us/maps/landview.html You will notice a 'Making your map...' image in this page. Does anyone know how to do this? Thanks Giri -----Original Message----- From: Palle Due Larsen [mailto:palle at mail-online.dk] Sent: Wednesday, November 19, 2003 3:22 AM To: mapserver-users-admin at lists.gis.umn.edu; Palanisamy, Giri; mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] how to set a busyimage in JBox? What do you need a busyimage for? You a working with the fastest mapserver on the net ;-) I don't know jBox, but an applet is only allowed to communicate with its home server, so if your image isn't on there, it won't work. Best regrads Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: "Palanisamy, Giri" To: mapserver-users at lists.gis.umn.edu Date: Tue, 18 Nov 2003 12:38:49 -0500 Subject: [Mapserver-users] how to set a busyimage in JBox? > Hi, > > I am trying to display a busy image ("your map is loading..") while > the > JBox is working. > > I have added "busyimage" param inside the applet script. > > height="600" > name="jBox" MAYSCRIPT> > > value="http://giri/mapserv/fluxnet/graphics/loadMap.gif"> > > > But it is not displaying the busy image. > > Any idea? > > Thanks > > Giri > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From msmith at sanangelompo.org Wed Nov 19 07:01:06 2003 From: msmith at sanangelompo.org (Michael Smith) Date: Wed, 19 Nov 2003 09:01:06 -0600 Subject: [Mapserver-users] label angles Message-ID: I am running IIS 5.0, windows 2000, and Mapserver 4. Is there a way to get my street labels to follow the curvature of the streets? Thanks in advance. Michael Smith, Planner II City of San Angelo Planning & Development 325.657.4210 Fax: 325.481.2648 Email: msmith at sanangelompo.org From nicolas at mail.maich.gr Wed Nov 19 01:46:20 2003 From: nicolas at mail.maich.gr (Nicolas Boretos) Date: Wed, 19 Nov 2003 11:46:20 +0200 Subject: [Mapserver-users] application opinions Message-ID: <200311191146.AA230359356@mail.maich.gr> ---------- Original Message ---------------------------------- From: "Palle Due Larsen" Date: Wed, 19 Nov 2003 09:25:08 +0100 Hi, Thanx for the feedback. Both suggestions seem like a good idea. I would tend at this time to go with a separate user dbf and join with the main. AFAIK, you can only add fields to a dbf when it is empty, thus you could not add user specific stuff to the same dbf. Sooo, does some one have an example of a join that uses two dbf's; the "main" one from the shape file and a "second" dbf. The numbder of records (corresponding to the shp inexes are the same in both). Could this be added on the fly, just as we change mapfile parameters, eg color, by appending to the cgi url? help would be appreciated... regards, nicolas >I'm not quite sure of this, since I haven't used joins, but couldn't you >join the map-specific dbf with a user-specific one? > >Best regards > >Palle Due Larsen >Carl Bro GIS&IT > >-----Original Message----- >From: Tyler Mitchell >To: >Cc: mapserver-users at lists.gis.umn.edu >Date: Mon, 17 Nov 2003 08:25:11 -0800 >Subject: Re: [Mapserver-users] application opinions > >> >> >> >> >> >> I'd suggest using a single dbf for it all, but add in a filter to >> only show >> that user's info. When they enter their data, you could track their >> logged >> in username (or IP?) and store it as an attribute in the table. >> Wouldn't >> that work? >> >> Tyler >> >> mapserver-users-admin at lists.gis.umn.edu wrote on 11/15/2003 07:04:09 >> AM: >> >> > Hi, >> > >> From api at justapi.de Wed Nov 19 08:32:17 2003 From: api at justapi.de (Sebastian Albrecht) Date: Wed, 19 Nov 2003 17:32:17 +0100 Subject: [Mapserver-users] label angles In-Reply-To: References: Message-ID: <186259732655.20031119173217@justapi.de> Hi Michael, > I am running IIS 5.0, windows 2000, and Mapserver 4. Is there a way to get > my street labels to follow the curvature of the streets? Thanks in advance. Have a look at the Mapserver documentation. There is the ANGLE feature within the LABEL object. Set it to ANGLE AUTO and your labels will follow the curvature of your streets. I think you need to have mapserver compiled with truetype support and your layer has to be of type LINE. Regards, Sebastian Albrecht From lfilak at medinaco.org Wed Nov 19 08:42:22 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Wed, 19 Nov 2003 11:42:22 -0500 Subject: Fwd: Re: [Mapserver-users] Help me! Message-ID: <20031119164217.124311A6599@mail.medinaco.org> At this point I think your best off to download the source for at least gd and compile it because you probably don't want to remove or go through upgrading all the conflicting packages to satisfy the RPM dependencies. You will probably also need to compile libpng3 as I'm not even sure if the libpng3 rpm is good for Mandrake 8 - that may be a 9 thing. There is also the option of upgrading from 8->9 and allow all the upgrades to happen. HTH Lowell The following message was sent by "Tran Anh Tu" on Wed, 19 Nov 2003 14:41:27 +0700. > Hi! > I already tried to install libgd2-2.0.15-3mdk.i586.rpm. The errors of my > screen are as follows: > > libpng.so.3 is needed by libgd2-2.0.15-3mdk > > Next step, I installed: > > rpm -ivh libpng3-1.2.4-3.2mdk.i586.rpm > > but had some errors: > > error: failed dependencies: > gdk-pixbuf < 0.11.0-6mdk conflicts with libpng3-1.2.4-3.2mdk > gdk-pixbuf-loaders < 0.16.0-1mdk conflicts with libpng3-1.2.4-3.2mdk > gnome-core < 1.4.0.6-1mdk conflicts with libpng3-1.2.4-3.2mdk > kdebase < 2.2.2-37mdk conflicts with libpng3-1.2.4-3.2mdk > kdegraphics < 2.2.2-4mdk conflicts with libpng3-1.2.4-3.2mdk > kdelibs < 2.2.2-29mdk conflicts with libpng3-1.2.4-3.2mdk > kdelibs-sound < 2.2.2-29mdk conflicts with libpng3-1.2.4-3.2mdk > kdemultimedia < 2.2.2-3mdk conflicts with libpng3-1.2.4-3.2mdk > kdenetwork < 2.2.2-11mdk conflicts with libpng3-1.2.4-3.2mdk > kdepim < 2.2.2-2mdk conflicts with libpng3-1.2.4-3.2mdk > kdetoys < 2.2.2-6mdk conflicts with libpng3-1.2.4-3.2mdk > kdeutils < 2.2.2-6mdk conflicts with libpng3-1.2.4-3.2mdk > kvirc < 2.1.1-5mdk conflicts with libpng3-1.2.4-3.2mdk > libcups1 < 1.1.12-3mdk conflicts with libpng3-1.2.4-3.2mdk > libgd1 < 1.8.4-4mdk conflicts with libpng3-1.2.4-3.2mdk > libgtkxmhtml1 < 1.4.1.4-1mdk conflicts with libpng3-1.2.4-3.2mdk > libimlib1 < 1.9.11-8mdk conflicts with libpng3-1.2.4-3.2mdk > libqt2 < 2.3.1-24mdk conflicts with libpng3-1.2.4-3.2mdk > linuxconf < 1.26r5-2mdk conflicts with libpng3-1.2.4-3.2mdk > nautilus < 1.0.6-8mdk conflicts with libpng3-1.2.4-3.2mdk > sawfish < 1.0-7mdk conflicts with libpng3-1.2.4-3.2mdk > > can you help me? Thanks! > > > -----Original Message----- > From: "Lowell Filak" > To: "Tran Anh Tu" , Mapserver- > users at lists.gis.umn.edu > Date: Tue, 18 Nov 2003 08:57:47 -0500 > Subject: Re: [Mapserver-users] Help me! > > > The first thing is to make sure the rpm you have for gd is for > > mandrake. > > I believe gd-2.0.12-1.3.0.i386.rpm is a redhat rpm and although it > > could > > work it will be looking for dependencies that may exist in pakages by > > different names under mandrake. > > > > I think the rpm for libpgn for mandrake is: > > libpng-devel-1.0.9-1.2mdk.i586.rpm > > > > And the gd2 rpm is: > > libgd2-devel-2.0.15-3mdk.i586.rpm > > > > You should be able to locate them at either: > > http://rpm.pbone.net > > http://rpmfind.net > > > > HTH > > > > Lowell > > > > The following message was sent by "Tran Anh Tu" > on > > Tue, 18 Nov 2003 15:03:10 +0700. > > > > > Tran Anh Tu: > > > > > > when I install gd-2.0.12-1.3.0.i386.rpm, the screen displayed errors: > > > > > > error: failed dependencies: > > > libpng10.so.0 is needed by gd-2.0.12-1.3.0 > > > > > > and I had typed the command: > > > rpm -qa | grep libpng > > > > > > the screen displayed: > > > > > > libpng2-1.0.9-1mdk > > > libpng2-devel-1.0.9-1mdk > > > > > > what I have to do next. Please show me! Thank you. > > > > > > > > > > Did the failed 'rpm -i' command for gd-2.0.12-1.3.0.i386.rpm > > produce an > > > > error message with information that could help diagnose why the > > install > > > > failed? > > > > > > > > Lowell > > > > > > > > The following message was sent by "Tran Anh Tu" > > > on > > > > Mon, 17 Nov 2003 13:40:28 +0700. > > > > > > > > > Hi all! > > > > > My system is mandrake 8.0, when I install MapServer 4.0 on it, > > there > > > > is > > > > > some following errors: > > > > > > > > > > checking for gdImageSetAntiAliased in -lgd... no > > > > > checking for gdImageSetAntiAliased in -lgd... (cached) no > > > > > configure: error: Could not find gd.h or libgd.a/libgd.so in > > > > /usr/local. Make > > > > > sure GD 2.0.12 or higher is compiled before calling configure. > > > > > > > > > > I had tried to install gd-2.0.12-1.3.0.i386.rpm but it didn't > > work. > > > > Please > > > > > show me how I can do to install it on my system. Thanks! > > > > > ******************************************************* > > > > > Tran Anh Tu > > > > > Vien CNTT - DHQG Ha Noi > > > > > Phone: 047680417-25 Email trantu at vnu.edu.vn > > > > > ******************************************************* > > > > > > > > > > _______________________________________________ > > > > > Mapserver-users mailing list > > > > > Mapserver-users at lists.gis.umn.edu > > > > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mdoggett at coas.oregonstate.edu Wed Nov 19 08:59:00 2003 From: mdoggett at coas.oregonstate.edu (Matt Doggett) Date: Wed, 19 Nov 2003 08:59:00 -0800 Subject: [Mapserver-users] PROJECTION and no_defs In-Reply-To: <3FBACCCA.5090809@pobox.com> Message-ID: <000801c3aebe$6dce9420$2441c180@nino> What defaults file are you referring to? >-----Original Message----- >From: Frank Warmerdam [mailto:warmerdam at pobox.com] >Matt, > >The "no_defs" item ensures that no defaults are read from the defaults >files. >Sometimes they cause suprising problems. > From bartvde at xs4all.nl Wed Nov 19 09:09:09 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Wed, 19 Nov 2003 18:09:09 +0100 (CET) Subject: [Mapserver-users] potential problem with layer names containing spaces Message-ID: <10760.212.238.227.182.1069261749.squirrel@webmail.xs4all.nl> Hi list, I have encountered a potential problem with layer names containing spaces. This will lead to invalid GML responses when requesting GetFeatureInfo in the GML format. What would be a good solution to overcome this? a. when parsing the mapfile make sure no spaces are contained in layer names (or is this too rigorous for applications not using GML?) b. when generating the GML for GetFeatureInfo check the layer names or check if the generated GML is valid and well-formed? If the GML is not valid or not well-formed it is better to generate a WMS Exception I guess than generating invalid GML. Any thoughts on this? Best regards, Bart excerpt: 51785.891 1290.295 2 2 0 etc. From warmerdam at pobox.com Wed Nov 19 09:33:35 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Wed, 19 Nov 2003 12:33:35 -0500 Subject: [Mapserver-users] PROJECTION and no_defs In-Reply-To: <000801c3aebe$6dce9420$2441c180@nino> References: <000801c3aebe$6dce9420$2441c180@nino> Message-ID: <3FBBA96F.6060300@pobox.com> Matt Doggett wrote: > What defaults file are you referring to? /usr/local/share/proj/proj_def.dat Mine looks like this: warmerda at gdal2200[131]% more /usr/local/share/proj/proj_def.dat # Projection library defaults file # SCCSID--- @(#)proj_def.dat 4.3 94/02/23 GIE REL" # very preliminary version ellps=WGS84 <> # Conterminous U.S. map lat_1=29.5 lat_2=45.5 <> # Conterminous U.S. map lat_1=33 lat_2=45 <> W=2 <> Best regards, ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From Tom.Kralidis at ec.gc.ca Wed Nov 19 09:50:14 2003 From: Tom.Kralidis at ec.gc.ca (Tom Kralidis [Burlington]) Date: Wed, 19 Nov 2003 12:50:14 -0500 Subject: [Mapserver-users] potential problem with layer names containi ng spaces Message-ID: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> > -----Original Message----- > From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl] > Sent: Wednesday, November 19, 2003 12:09 PM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] potential problem with layer names containing spaces > > > Hi list, > > I have encountered a potential problem with layer names > containing spaces. This will lead to invalid GML responses > when requesting GetFeatureInfo in the GML format. > > What would be a good solution to overcome this? > This can also be painful to parse for some who wish to process GetFeatureInfo responses. Suggest to abstract the GetFeatureInfo reponse construct to not include data as element names and / or attributes, yet values of said. i.e. ... ..Tom > > a. when parsing the mapfile make sure no spaces are contained > > in layer names (or is this too rigorous for applications not > > using GML?) > > > > b. when generating the GML for GetFeatureInfo check the layer > > names or check if the generated GML is valid and well-formed? > > If the GML is not valid or not well-formed it is better to > > generate a WMS Exception I guess than generating invalid GML. > > > > Any thoughts on this? > > > > Best regards, > > Bart > > > > excerpt: > > > > > > > xmlns:gml="http://www.opengis.net/gml" > > xmlns:xlink="http://www.w3.org/1999/xlink" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > > 51785.891 > > 1290.295 > > 2 > > 2 > > 0 > > etc. > > > > _______________________________________________ > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > > > From steve.lime at dnr.state.mn.us Wed Nov 19 10:38:41 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Wed, 19 Nov 2003 12:38:41 -0600 Subject: [Mapserver-users] point in polygon Message-ID: Joe: The code comes comes from the comp.graphics.algotrithms FAQ. It's basically the ray intersection test you mention. Steve BTW Frank and Gerald Evden (Proj.4 author) were working on the problem you mention in terms of rendering features. That was a few months ago and I'm not sure where they got to. I know progress was made though. >>> Joe Bussell 11/14/2003 6:39:56 PM >>> Greetings listers, Could someone please explain to me the theory behind the pointInPolygon routine used in Mapserver? The code is reproduced here to facilitate discussion: I am specifically attempting to understand how I can determine if a point lies inside an irregular polygon which straddles the international date line. from mapsearch.c: int msPointInPolygon(pointObj *p, lineObj *c) { int i, j, status = MS_FALSE; for (i = 0, j = c->numpoints-1; i < c->numpoints; j = i++) { if ( ( ( ( c->point[i].y <= p->y ) && ( p->y < c->point[j].y ) ) || ( ( c->point[j].y <= p->y ) && (p->y < c->point[i].y ) ) ) && ( p->x < ( c->point[j].x - c->point[i].x ) * ( p->y - c->point[i].y ) / ( c->point[j].y - c->point[i].y ) + c->point[i].x ) ) status = !status; } return status; } This is distincly different from other published PointInPolygon routines which require that you draw a ray from an internal point to the point being tested. The number of crossing being even suggests that you are inside, where an odd number of crossings indicates that you are outside. My current algorithm ( based on "Computational Geometry in C" by Joseph O'Rourke http://cs.smith.edu/~orourke/books/ftp.html) is breaking down at the date line . My fear is that when it gets to testing a given vertex that crosses the -180,180 transition that it is assuming the segment that wraps around the entire globe instead. btw, Mapserver still will not properly render polygons which straddle the dateline. This seems to be a common source of errors. Cordially, Joe Bussell _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From steve.lime at dnr.state.mn.us Wed Nov 19 10:41:40 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Wed, 19 Nov 2003 12:41:40 -0600 Subject: [Mapserver-users] SVG Output Message-ID: The 4.1 version has a few new features that should allow the creation of SVG using traditional query templates. There are new capabilities to change output MIME types and to extract feature coordinates into templates. Because SVG is text-based this may work quite well. Steve Stephen Lime Data & Applications Manager Minnesota DNR 500 Lafayette Road St. Paul, MN 55155 651-297-2937 >>> Keith Campbell 11/17/2003 5:45:01 PM >>> Just trying to find out what MapServer will do:- In addition to rendering images to the client, it will output GML (through the WFS support) and also SWF (MING) but not SVG - is this correct? Any likelihood of SVG in future? Thanks, Keith _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From morissette at dmsolutions.ca Wed Nov 19 10:49:00 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Wed, 19 Nov 2003 13:49:00 -0500 Subject: [Mapserver-users] potential problem with layer names containi ng spaces In-Reply-To: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> References: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> Message-ID: <3FBBBB1C.9070206@dmsolutions.ca> Tom Kralidis [Burlington] wrote: > bartvde at xs4all.nl wrote: >> >>I have encountered a potential problem with layer names >>containing spaces. This will lead to invalid GML responses >>when requesting GetFeatureInfo in the GML format. >> >>What would be a good solution to overcome this? >> > > > This can also be painful to parse for some who wish to process > GetFeatureInfo responses. > > Suggest to abstract the GetFeatureInfo reponse construct to not include data > as element names and / or attributes, yet values of said. > > i.e. > > > > ... > > > > ..Tom > > But this is not valid GML, is it? We are talking about the GML response format. Does GML (or WFS) provide a way to support spaces in feature type names? > > >>>a. when parsing the mapfile make sure no spaces are contained >>>in layer names (or is this too rigorous for applications not >>>using GML?) >>> >>>b. when generating the GML for GetFeatureInfo check the layer >>>names or check if the generated GML is valid and well-formed? >>>If the GML is not valid or not well-formed it is better to >>>generate a WMS Exception I guess than generating invalid GML. >>> Replacing spaces with underscores in the layer names as we start processing a WMS request might work but could cause confusion too. Another important note is that this change would have to apply to the GetCapabilities and GetMap requests as well. Perhaps we should just add a test and a comment in the Capabilities if any layer contains spaces (the same way we produce warnings for other potential problems). Then it's up to the person setting up the server to make sure their layer names don't contain spaces. I think the WARNING would be the best route. If you agree then please file a bug and I can easily add this in version 4.1 Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From doug at moximedia.com Wed Nov 19 10:56:50 2003 From: doug at moximedia.com (Doug Cates) Date: 19 Nov 2003 10:56:50 -0800 Subject: [Mapserver-users] potential problem with layer names containi ng spaces In-Reply-To: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> References: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> Message-ID: <1069268209.4082.239.camel@moxi-rh9> Tom, Agreed, but the issue will come up again when outputting GML2 which is the default for WFS. Doug On Wed, 2003-11-19 at 09:50, Tom Kralidis [Burlington] wrote: > > -----Original Message----- > > From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl] > > Sent: Wednesday, November 19, 2003 12:09 PM > > To: mapserver-users at lists.gis.umn.edu > > Subject: [Mapserver-users] potential problem with layer names containing > spaces > > > > > > Hi list, > > > > I have encountered a potential problem with layer names > > containing spaces. This will lead to invalid GML responses > > when requesting GetFeatureInfo in the GML format. > > > > What would be a good solution to overcome this? > > > > This can also be painful to parse for some who wish to process > GetFeatureInfo responses. > > Suggest to abstract the GetFeatureInfo reponse construct to not include data > as element names and / or attributes, yet values of said. > > i.e. > > > > ... > > > > ..Tom > > > > > > a. when parsing the mapfile make sure no spaces are contained > > > in layer names (or is this too rigorous for applications not > > > using GML?) > > > > > > b. when generating the GML for GetFeatureInfo check the layer > > > names or check if the generated GML is valid and well-formed? > > > If the GML is not valid or not well-formed it is better to > > > generate a WMS Exception I guess than generating invalid GML. > > > > > > Any thoughts on this? > > > > > > Best regards, > > > Bart > > > > > > excerpt: > > > > > > > > > > > xmlns:gml="http://www.opengis.net/gml" > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > > > > > 51785.891 > > > 1290.295 > > > 2 > > > 2 > > > 0 > > > etc. > > > > > > _______________________________________________ > > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From mac at mbirch.com Wed Nov 19 10:51:39 2003 From: mac at mbirch.com (Mac Birch) Date: Wed, 19 Nov 2003 18:51:39 -0000 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: Has anyone had any success using itemquery with MS 4.0 with IIS on XP-Professional? My map file extents have been carefully defined to include a box that is much, much larger than the theme coverage I'm searching. All other aspects of the system work, but I still am getting the dreaded "Search returned no results. No matching record(s) found, layer and area of interest do not overlap." message. Here's the .map file I'm using: # # Start of map file # NAME TESTQuery STATUS ON SIZE 480 520 EXTENT 1300000 1443024 4126986 -682424 SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END # # Start of web interface definition # WEB #EMPTY ../../buckscounty/gis/RecNotFound.htm TEMPLATE queryResult.htm IMAGEPATH "e:\myimagepath\buckscounty\tmp\" # LOG "testQuery.log" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME boundaries DATA townBoundaries STATUS DEFAULT TYPE polygon TEMPLATE queryResult.htm CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END # Map File Here's the essence of the form I'm submitting:
I have tried submitting just about every possible combination of qstring options I can think of. for example, ([Name] EQ 'Doylestown') ([Name] EQ "Doylestown") ('[Name]' IN 'Doylestown') ([Name] = 'Doylestown') ([Name] = "Doylestown") ('[Name]' EQ "Doylestown") ('[Name]' EQ 'Doylestown') ('[Name]' EQ Doylestown) -- Yikes!! etc. (I think you get the picture) Upper/lower cases of the "Name" variable and "Doylestown" are identical to those that appear in the shapefile.dbf table It appears that MS is simply not finding the requested variable in the qstring, so I even tried submitting strings that would always evaluate to TRUE, such as (1 EQ 1) (1 = 1) (2 GE 1) (2 <= 1) ([Name] EQ [Name] etc. Still, the same result. Where have I gone wrong? Please share your success stories. Much Appreciated --Mac-- From sdteffen at web.de Wed Nov 19 14:09:29 2003 From: sdteffen at web.de (Steffen Macke) Date: Wed, 19 Nov 2003 21:09:29 -0100 Subject: [Mapserver-users] Re: Arabic UNICODE Labels In-Reply-To: <20031119180029.16254.77364.Mailman@lists.gis.umn.edu> References: <20031119180029.16254.77364.Mailman@lists.gis.umn.edu> Message-ID: <200311192109.29957.sdteffen@web.de> Youssef, > We are trying to write labels in Arabic. Can any one help? Please have a look at http://dcmms.sourceforge.net/doc/development/index.html#arabic_map_labels If the instructions are not sufficient, let me know. Best Regards, Steffen Macke From Tom.Kralidis at ec.gc.ca Wed Nov 19 11:31:44 2003 From: Tom.Kralidis at ec.gc.ca (Tom Kralidis [Burlington]) Date: Wed, 19 Nov 2003 14:31:44 -0500 Subject: [Mapserver-users] potential problem with layer names containi ng spaces Message-ID: <2576812186CDD411BF1500508B6DCE950583D20E@ECNWRI1.ontario.int.ec.gc.ca> > -----Original Message----- > From: Doug Cates [mailto:doug at moximedia.com] > Sent: Wednesday, November 19, 2003 1:57 PM > To: Tom "Kralidis [Burlington] > Cc: 'bartvde at xs4all.nl'; mapserver-users at lists.gis.umn.edu > Subject: RE: [Mapserver-users] potential problem with layer > names containi ng spaces > > > Tom, > > Agreed, but the issue will come up again when outputting GML2 > which is the default for WFS. > I'm not sure I understand -- how so? ..Tom > Doug > > > On Wed, 2003-11-19 at 09:50, Tom Kralidis [Burlington] wrote: > > > -----Original Message----- > > > From: bartvde at xs4all.nl [mailto:bartvde at xs4all.nl] > > > Sent: Wednesday, November 19, 2003 12:09 PM > > > To: mapserver-users at lists.gis.umn.edu > > > Subject: [Mapserver-users] potential problem with layer names > > > containing > > spaces > > > > > > > > > Hi list, > > > > > > I have encountered a potential problem with layer names > containing > > > spaces. This will lead to invalid GML responses when requesting > > > GetFeatureInfo in the GML format. > > > > > > What would be a good solution to overcome this? > > > > > > > This can also be painful to parse for some who wish to process > > GetFeatureInfo responses. > > > > Suggest to abstract the GetFeatureInfo reponse construct to not > > include data as element names and / or attributes, yet > values of said. > > > > i.e. > > > > > > > > ... > > > > > > > > ..Tom > > > > > > > > > > a. when parsing the mapfile make sure no spaces are > contained in > > > > layer names (or is this too rigorous for applications not using > > > > GML?) > > > > > > > > b. when generating the GML for GetFeatureInfo check the layer > > > > names or check if the generated GML is valid and > well-formed? If > > > > the GML is not valid or not well-formed it is better to > generate a > > > > WMS Exception I guess than generating invalid GML. > > > > > > > > Any thoughts on this? > > > > > > > > Best regards, > > > > Bart > > > > > > > > excerpt: > > > > > > > > > > > > > > > xmlns:gml="http://www.opengis.net/gml" > > > > xmlns:xlink="http://www.w3.org/1999/xlink" > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > > > > > > > > 51785.891 > > > > 1290.295 > > > > 2 > > > > 2 > > > > 0 > > > > etc. > > > > > > > > _______________________________________________ > > > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > > > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > > > > > > > > > _______________________________________________ > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From bartvde at xs4all.nl Wed Nov 19 11:36:09 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Wed, 19 Nov 2003 20:36:09 +0100 Subject: [Mapserver-users] potential problem with layer names containi ng spaces In-Reply-To: <3FBBBB1C.9070206@dmsolutions.ca> References: <2576812186CDD411BF1500508B6DCE950583D206@ECNWRI1.ontario.int.ec.gc.ca> <3FBBBB1C.9070206@dmsolutions.ca> Message-ID: Hi Daniel, I agree with you that a WARNING would solve most of the potential problems. I have filed a bug for this. http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=486 On the other hand I do not like the thought that Mapserver can produce GML/XML which is not even well-formed XML. There should be some kind of mechanism in my opinion that prevents a server from outputting invalid/not well-formed XML. But perhaps this is a result of the way in which the XML is written (as strings I suppose, without validation). Best regards, Bart On Wed, 19 Nov 2003 13:49:00 -0500, Daniel Morissette wrote: > Tom Kralidis [Burlington] wrote: >> bartvde at xs4all.nl wrote: >>> >>> I have encountered a potential problem with layer names >>> containing spaces. This will lead to invalid GML responses when >>> requesting GetFeatureInfo in the GML format. >>> >>> What would be a good solution to overcome this? >>> >> >> >> This can also be painful to parse for some who wish to process >> GetFeatureInfo responses. Suggest to abstract the GetFeatureInfo >> reponse construct to not include data >> as element names and / or attributes, yet values of said. >> >> i.e. >> >> >> >> ... >> >> >> >> ..Tom >> >> > > > But this is not valid GML, is it? We are talking about the GML response > format. Does GML (or WFS) provide a way to support spaces in feature > type names? > >> >> >>>> a. when parsing the mapfile make sure no spaces are contained >>>> in layer names (or is this too rigorous for applications not using >>>> GML?) >>>> >>>> b. when generating the GML for GetFeatureInfo check the layer >>>> names or check if the generated GML is valid and well-formed? If the >>>> GML is not valid or not well-formed it is better to generate a WMS >>>> Exception I guess than generating invalid GML. >>>> > > > Replacing spaces with underscores in the layer names as we start > processing a WMS request might work but could cause confusion too. > Another important note is that this change would have to apply to the > GetCapabilities and GetMap requests as well. > > Perhaps we should just add a test and a comment in the > Capabilities if any layer contains spaces (the same way we produce > warnings for other potential problems). Then it's up to the person > setting up the server to make sure their layer names don't contain > spaces. > > I think the WARNING would be the best route. If you agree then please > file a bug and I can easily add this in version 4.1 > > Daniel -- From doug at moximedia.com Wed Nov 19 11:46:46 2003 From: doug at moximedia.com (Doug Cates) Date: 19 Nov 2003 11:46:46 -0800 Subject: [Mapserver-users] potential problem with layer names containi ng spaces In-Reply-To: <2576812186CDD411BF1500508B6DCE950583D20E@ECNWRI1.ontario.int.ec.gc.ca> References: <2576812186CDD411BF1500508B6DCE950583D20E@ECNWRI1.ontario.int.ec.gc.ca> Message-ID: <1069271205.4082.259.camel@moxi-rh9> On Wed, 2003-11-19 at 11:31, Tom Kralidis [Burlington] wrote: > > I'm not sure I understand -- how so? Well, we can do whatever we want with the GetFeatureInfo response because it is undefined by OGC, so your suggestion would work, but the WFS specification says that a WFS _MUST_ support GML2 responses for the GetFeature response, so the layer name must be returned as an element, not an attribute of an element. From David.Fawcett at state.mn.us Wed Nov 19 11:57:30 2003 From: David.Fawcett at state.mn.us (David Fawcett) Date: Wed, 19 Nov 2003 13:57:30 -0600 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: Mac, This is really low hanging fruit, and your problem may lie much higher in the tree....but, try stating your qitem in all uppercase e.g. [NAME]. I have found this to be necessary for all shapefile based queries. David. David J. Fawcett MN Office of Environmental Assistance >>> "Mac Birch" 11/19/2003 12:51:39 PM >>> Has anyone had any success using itemquery with MS 4.0 with IIS on XP-Professional? My map file extents have been carefully defined to include a box that is much, much larger than the theme coverage I'm searching. All other aspects of the system work, but I still am getting the dreaded "Search returned no results. No matching record(s) found, layer and area of interest do not overlap." message. Here's the .map file I'm using: # # Start of map file # NAME TESTQuery STATUS ON SIZE 480 520 EXTENT 1300000 1443024 4126986 -682424 SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END # # Start of web interface definition # WEB #EMPTY ../../buckscounty/gis/RecNotFound.htm TEMPLATE queryResult.htm IMAGEPATH "e:\myimagepath\buckscounty\tmp\" # LOG "testQuery.log" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME boundaries DATA townBoundaries STATUS DEFAULT TYPE polygon TEMPLATE queryResult.htm CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END # Map File Here's the essence of the form I'm submitting:
I have tried submitting just about every possible combination of qstring options I can think of. for example, ([Name] EQ 'Doylestown') ([Name] EQ "Doylestown") ('[Name]' IN 'Doylestown') ([Name] = 'Doylestown') ([Name] = "Doylestown") ('[Name]' EQ "Doylestown") ('[Name]' EQ 'Doylestown') ('[Name]' EQ Doylestown) -- Yikes!! etc. (I think you get the picture) Upper/lower cases of the "Name" variable and "Doylestown" are identical to those that appear in the shapefile.dbf table It appears that MS is simply not finding the requested variable in the qstring, so I even tried submitting strings that would always evaluate to TRUE, such as (1 EQ 1) (1 = 1) (2 GE 1) (2 <= 1) ([Name] EQ [Name] etc. Still, the same result. Where have I gone wrong? Please share your success stories. Much Appreciated --Mac-- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From snelson at refractions.net Wed Nov 19 12:01:54 2003 From: snelson at refractions.net (Shane Nelson) Date: Wed, 19 Nov 2003 12:01:54 -0800 Subject: [Mapserver-users] getfeatureinfo In-Reply-To: <1069271205.4082.259.camel@moxi-rh9> References: <2576812186CDD411BF1500508B6DCE950583D20E@ECNWRI1.ontario.int.ec.gc.ca> <1069271205.4082.259.camel@moxi-rh9> Message-ID: <1069272114.3fbbcc32752fc@hydra> Quoting Doug Cates : > > Well, we can do whatever we want with the GetFeatureInfo response > because it is undefined by OGC, so your suggestion would work, but the > WFS specification says that a WFS _MUST_ support GML2 responses for the > GetFeature response, so the layer name must be returned as an element, > not an attribute of an element. > > The issue of the GetFeatureInfo response recently came up on the wms-dev mailing list. For those who missed it: ------------------------------ --- Dirk-Willem van Gulik wrote: > > > However, we can't properly cascade GetFeatureInfo requests (with some > > simple exceptions), but that's mostly because there hasn't been one single > > good standard simple GML format in common between the different clients > > and servers. All the WMS specification has to do to rectify this is to > > recommend that clients and servers support, for example, the GML 3 level 0 > > (OGC document #03-003R10) format for GetFeatureInfo requests. > > Aye - now we are talking :-) > > Dw I have been working on adding GetFeatureInfo into the arc3wms client (http://www.refractions.net/arc3wms). I have also found the results to be less than useful. I'd like to be able to put the results into a table much like the arcview Identify tool works. When all I have to work with is text/html or any other random result this is impossible - I am forced to launch an external web browser to view the results. A computer parse-able format would be very helpful. From ARyan at co.linn.or.us Wed Nov 19 13:02:19 2003 From: ARyan at co.linn.or.us (Ryan, Adam) Date: Wed, 19 Nov 2003 13:02:19 -0800 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: <614FCE5F14A6D41180C200010240D6A201A7339E@LINNMS> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AEE0.6B7605B0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" It looks like your miny is greater than you minx in you map file extent. Adam Ryan GIS Analyst Linn County GIS Department County Courthouse / Room 25 300 SW Fourth Ave. Albany, OR 97321 541.812.8760 aryan at co.linn.or.us -----Original Message----- From: Mac Birch [mailto:mac at mbirch.com] Sent: Wednesday, November 19, 2003 10:52 AM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Has anyone had any success using itemquery with MS 4.0 with IIS on XP-Professional? My map file extents have been carefully defined to include a box that is much, much larger than the theme coverage I'm searching. All other aspects of the system work, but I still am getting the dreaded "Search returned no results. No matching record(s) found, layer and area of interest do not overlap." message. Here's the .map file I'm using: # # Start of map file # NAME TESTQuery STATUS ON SIZE 480 520 EXTENT 1300000 1443024 4126986 -682424 SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END # # Start of web interface definition # WEB #EMPTY ../../buckscounty/gis/RecNotFound.htm TEMPLATE queryResult.htm IMAGEPATH "e:\myimagepath\buckscounty\tmp\" # LOG "testQuery.log" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME boundaries DATA townBoundaries STATUS DEFAULT TYPE polygon TEMPLATE queryResult.htm CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END # Map File Here's the essence of the form I'm submitting:
I have tried submitting just about every possible combination of qstring options I can think of. for example, ([Name] EQ 'Doylestown') ([Name] EQ "Doylestown") ('[Name]' IN 'Doylestown') ([Name] = 'Doylestown') ([Name] = "Doylestown") ('[Name]' EQ "Doylestown") ('[Name]' EQ 'Doylestown') ('[Name]' EQ Doylestown) -- Yikes!! etc. (I think you get the picture) Upper/lower cases of the "Name" variable and "Doylestown" are identical to those that appear in the shapefile.dbf table It appears that MS is simply not finding the requested variable in the qstring, so I even tried submitting strings that would always evaluate to TRUE, such as (1 EQ 1) (1 = 1) (2 GE 1) (2 <= 1) ([Name] EQ [Name] etc. Still, the same result. Where have I gone wrong? Please share your success stories. Much Appreciated --Mac-- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users ------_=_NextPart_001_01C3AEE0.6B7605B0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1" RE: [Mapserver-users] itemquery problem -- I'm pulling my hair = out.

It looks like your miny is greater than you minx in = you map file extent. 

Adam Ryan
GIS Analyst
Linn County GIS Department
County Courthouse / Room 25
300 SW Fourth Ave.
Albany, OR 97321
541.812.8760
aryan at co.linn.or.us
 

-----Original Message-----
From: Mac Birch [mailto:mac at mbirch.com]
Sent: Wednesday, November 19, 2003 10:52 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] itemquery problem -- I'm = pulling my hair out.

Has anyone had any success using itemquery with MS 4.0 = with IIS on
XP-Professional?

My map file extents have been carefully defined to = include a box
that is much, much larger than the theme coverage I'm = searching.

All other aspects of the system work, but I still am = getting the
dreaded "Search returned no results. No matching = record(s) found,
layer and area of interest do not overlap." = message.

Here's the .map file I'm using:

#
# Start of map file
#
NAME TESTQuery
STATUS ON
SIZE 480 520
EXTENT 1300000 1443024 4126986 -682424
SHAPEPATH = "c:\myApplicationPath\buckscounty\GIS\data"

OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  IMAGEMODE RGBA
  EXTENSION "png"
END

#
# Start of web interface definition
#
       =20
WEB
  #EMPTY = ./../buckscounty/gis/RecNotFound.htm
  TEMPLATE queryResult.htm
  IMAGEPATH = "e:\myimagepath\buckscounty\tmp\"
  # LOG "testQuery.log"
END

QUERYMAP
  STATUS ON
  STYLE HILITE
  COLOR 255 255 0
END

LAYER
  NAME boundaries
  DATA townBoundaries
  STATUS DEFAULT
  TYPE  polygon
  TEMPLATE queryResult.htm
  CLASS
    COLOR 212 212 212
    OUTLINECOLOR 0 0 0
  END
END

END # Map File

Here's the essence of the form I'm submitting:

<form action=3D"http://www.mydomain.com/gis/mapserver40-
png/mapserv.exe" = method=3D"get">
<input type=3D"hidden" = name=3D"map"
value=3D"../../mapPath/buckscounty/gis/testQuery.map"&= gt;
<input type=3D"hidden" = name=3D"mode" value=3D"itemquery">
<input type=3D"hidden" = name=3D"savequery" value=3D"true">
<input type=3D"hidden" = name=3D"qlayer" value=3D"boundaries">
<input type=3D"hidden" = name=3D"qitem" value=3D"Name">
<input type=3D"hidden" = name=3D"mapext" value=3D"shapes">
<input type=3D"submit" = value=3D"Submit Query">
<input name=3D"qstring" = size=3D"45">
</form>

I have tried submitting just about every possible = combination of
qstring options I can think of. for example,

([Name] EQ 'Doylestown')
([Name] EQ "Doylestown")
('[Name]' IN 'Doylestown')
([Name] =3D 'Doylestown')
([Name] =3D "Doylestown")
('[Name]' EQ "Doylestown")
('[Name]' EQ 'Doylestown')
('[Name]' EQ Doylestown)  -- Yikes!!

etc. (I think you get the picture)

Upper/lower cases of the "Name" variable and = "Doylestown" are
identical to those that appear in the shapefile.dbf = table

It appears that MS is simply not finding the requested = variable in
the qstring, so I even tried submitting strings that = would always
evaluate to TRUE, such as

(1 EQ 1)
(1 =3D 1)
(2 GE 1)
(2 <=3D 1)
([Name] EQ [Name]  etc.

Still, the same result.

Where have I gone wrong? Please share your success = stories.

Much Appreciated

--Mac--


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-use= rs

------_=_NextPart_001_01C3AEE0.6B7605B0-- From mac at mbirch.com Wed Nov 19 13:06:30 2003 From: mac at mbirch.com (Mac Birch) Date: Wed, 19 Nov 2003 21:06:30 -0000 Subject: [Mapserver-users] Re: itemquery problem -- I'm pulling my hair out. In-Reply-To: Message-ID: --- In mapserver-users at yahoogroups.com, "David Fawcett" wrote: > Mac, > > This is really low hanging fruit, and your problem may lie much higher > in the tree....but, try stating your qitem in all uppercase e.g. > [NAME]. > > I have found this to be necessary for all shapefile based queries. > > David. > > David J. Fawcett > MN Office of Environmental Assistance > > >>> "Mac Birch" 11/19/2003 12:51:39 PM >>> > Has anyone had any success using itemquery with MS 4.0 with IIS on > XP-Professional? > > My map file extents have been carefully defined to include a box > that is much, much larger than the theme coverage I'm searching. > > All other aspects of the system work, but I still am getting the > dreaded "Search returned no results. No matching record(s) found, > layer and area of interest do not overlap." message. > > Here's the .map file I'm using: > > # > # Start of map file > # > NAME TESTQuery > STATUS ON > SIZE 480 520 > EXTENT 1300000 1443024 4126986 -682424 > SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > > OUTPUTFORMAT > NAME png > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" > END > > # > # Start of web interface definition > # > > WEB > #EMPTY ../../buckscounty/gis/RecNotFound.htm > TEMPLATE queryResult.htm > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > # LOG "testQuery.log" > END > > QUERYMAP > STATUS ON > STYLE HILITE > COLOR 255 255 0 > END > > LAYER > NAME boundaries > DATA townBoundaries > STATUS DEFAULT > TYPE polygon > TEMPLATE queryResult.htm > CLASS > COLOR 212 212 212 > OUTLINECOLOR 0 0 0 > END > END > > END # Map File > > Here's the essence of the form I'm submitting: > >
> value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > >
> > I have tried submitting just about every possible combination of > qstring options I can think of. for example, > > ([Name] EQ 'Doylestown') > ([Name] EQ "Doylestown") > ('[Name]' IN 'Doylestown') > ([Name] = 'Doylestown') > ([Name] = "Doylestown") > ('[Name]' EQ "Doylestown") > ('[Name]' EQ 'Doylestown') > ('[Name]' EQ Doylestown) -- Yikes!! > > etc. (I think you get the picture) > > Upper/lower cases of the "Name" variable and "Doylestown" are > identical to those that appear in the shapefile.dbf table > > It appears that MS is simply not finding the requested variable in > the qstring, so I even tried submitting strings that would always > evaluate to TRUE, such as > > (1 EQ 1) > (1 = 1) > (2 GE 1) > (2 <= 1) > ([Name] EQ [Name] etc. > > Still, the same result. > > Where have I gone wrong? Please share your success stories. > > Much Appreciated > > --Mac-- > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Daniel.A.Martin at erac.com Wed Nov 19 13:50:31 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Wed, 19 Nov 2003 15:50:31 -0600 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A192C95@STL-EXBE-I03.corp.erac.com> I'm having the same problems with the 4.0 UMN Windows binaries. The itemquery never, ever, ever works - no matter what you do. These same queries worked fine on 3.6. I, like you, have tried an incredible variety of expressions, and never does MS find an item. I'm extremely frustrated. I asked the list similar questions about a month ago. I was told to read regex documentation, but no matter what I try the result is the same. I even asked the list if anyone had been able to get itemquery working on these specific UMN 4.0 Windows binaries, but got no responses. I am beginning to think itemqueries just do not work with the 4.0 Windows UMN binaries. -Dan -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Mac Birch Sent: Wednesday, November 19, 2003 12:52 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Has anyone had any success using itemquery with MS 4.0 with IIS on XP-Professional? My map file extents have been carefully defined to include a box that is much, much larger than the theme coverage I'm searching. All other aspects of the system work, but I still am getting the dreaded "Search returned no results. No matching record(s) found, layer and area of interest do not overlap." message. Here's the .map file I'm using: # # Start of map file # NAME TESTQuery STATUS ON SIZE 480 520 EXTENT 1300000 1443024 4126986 -682424 SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGBA EXTENSION "png" END # # Start of web interface definition # WEB #EMPTY ../../buckscounty/gis/RecNotFound.htm TEMPLATE queryResult.htm IMAGEPATH "e:\myimagepath\buckscounty\tmp\" # LOG "testQuery.log" END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END LAYER NAME boundaries DATA townBoundaries STATUS DEFAULT TYPE polygon TEMPLATE queryResult.htm CLASS COLOR 212 212 212 OUTLINECOLOR 0 0 0 END END END # Map File Here's the essence of the form I'm submitting:
I have tried submitting just about every possible combination of qstring options I can think of. for example, ([Name] EQ 'Doylestown') ([Name] EQ "Doylestown") ('[Name]' IN 'Doylestown') ([Name] = 'Doylestown') ([Name] = "Doylestown") ('[Name]' EQ "Doylestown") ('[Name]' EQ 'Doylestown') ('[Name]' EQ Doylestown) -- Yikes!! etc. (I think you get the picture) Upper/lower cases of the "Name" variable and "Doylestown" are identical to those that appear in the shapefile.dbf table It appears that MS is simply not finding the requested variable in the qstring, so I even tried submitting strings that would always evaluate to TRUE, such as (1 EQ 1) (1 = 1) (2 GE 1) (2 <= 1) ([Name] EQ [Name] etc. Still, the same result. Where have I gone wrong? Please share your success stories. Much Appreciated --Mac-- _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From pshevlin at cityftmyers.com Wed Nov 19 14:03:51 2003 From: pshevlin at cityftmyers.com (Phil Shevlin) Date: Wed, 19 Nov 2003 17:03:51 -0500 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Message-ID: <000c01c3aee9$049f7d40$2a670761@PD3042> I have a map with a number of layers working. I am trying to include a raster layer (.tif). When I include the layer: LAYER NAME "Test" STATUS ON DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" TYPE RASTER TEMPLATE "template_hi.html" END The map shows but the layer does not appear. I am assuming that it is a projection problem. My extent is in degrees: EXTENT -81.917574 26.569844 -81.755026 26.691756 But the .tfw file appears otherwise: 4.00000000000000 0.00000000000000 0.00000000000000 -4.00000000000000 669000.00000000000000 855000.00000000000000 How do I go about including this layer? Or, can someone point me to some tutorials (I have found one that helps me). Thanks Phil Shevlin I am using: Win2K server Mapserver 4.0 OGR => MapInfo .tab's E:\Inetpub\wwwroot\cgi-bin>mapserv40 -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE From doug at moximedia.com Wed Nov 19 14:14:04 2003 From: doug at moximedia.com (Doug Cates) Date: 19 Nov 2003 14:14:04 -0800 Subject: [Mapserver-users] getfeatureinfo In-Reply-To: <1069272114.3fbbcc32752fc@hydra> References: <2576812186CDD411BF1500508B6DCE950583D20E@ECNWRI1.ontario.int.ec.gc.ca> <1069271205.4082.259.camel@moxi-rh9> <1069272114.3fbbcc32752fc@hydra> Message-ID: <1069280043.4082.343.camel@moxi-rh9> On Wed, 2003-11-19 at 12:01, Shane Nelson wrote: > > A computer parse-able format would be very helpful. The GetFeatureInfo WMS response from MapServer is definitely computer parse-able if you set DUMP TRUE, make your GetFeatureInfo request with INFO_FORMAT=application/vnd.ogc.gml and refrain from using spaces or colons in your layer names, which would create an XML GetFeatureInfo response that was not well formed. Doug From mac at mbirch.com Wed Nov 19 14:16:34 2003 From: mac at mbirch.com (Mac Birch) Date: Wed, 19 Nov 2003 22:16:34 -0000 Subject: [Mapserver-users] Re: itemquery problem -- I'm pulling my hair out. In-Reply-To: Message-ID: David, I found the page you're referring to several days ago in an earlier run at this problem, but to no avail then. (Are you using a Windows server?) Still, I took another shot at it. Here's what I did: 1) I removed the qitem reference from the submitted form. It's optional anyway. 2) I switched around the minY and maxY values in the EXTENT reference of the map file. Another email responder (thanks, Adam from Albany OR) suggested that these were in the wrong order. This didn't fix the query, but I've changed it anyway. 3) I submitted the form with the following values, using the syntax specified in your referenced page. Note that I switched fields to avoid any possible conflict with MS reserved words (ie, "NAME"). ('[AREA_ID]' IN 4,5,6) #(AREA_ID is a dbase integer field) ('[AREA_ID]' IN '4,5,6') # let's try strings anyway ('[AREA_ID]' IN 4) # maybe it only works with one value ('[AREA_ID]' IN '4') # maybe using a string will do the trick ('[AREA_ID]'+IN+4,5,6) # repeat using plusses-- just in case it's ('[AREA_ID]'+IN+'4,5,6') # a browser/querystring issue ('[AREA_ID]'+IN+4) ('[AREA_ID]'+IN+'4') 4) After trying the above, I reinserted the qitem parameter and repeated #3 above. 5. No go on any of these attempts. I've worked with MS for three years, and I've never hit the wall like this before. Have other Windows users experienced this problem? Note: I have noticed, however, that MS is totally unresponsive to any MAPEXT values I'm submitting from the form. I've tried "SHAPE", "SHAPES", "shape", "shapes", the actual extents of the desired polygon, basic gibberish, and null. I've also tried removing the parameter entirely. In all cases MS continued to return the "Search returned no results. No matching record(s) found, layer and area of interest do not overlap." message. This seems to be an extent issue. Thanks for pitching in. --Mac-- -----Original Message----- From: David Fawcett [mailto:David.Fawcett at state.mn.us] Sent: Wednesday, November 19, 2003 3:28 PM To: mac at mbirch.com Subject: [Mapserver-users] Re: itemquery problem -- I'm pulling my hairout. Mac, Take a look at what worked for me. http://mapserver.gis.umn.edu/data2/wilma/mapserver- users/0308/msg00130.html David. David J. Fawcett MN Office of Environmental Assistance --- In mapserver-users at yahoogroups.com, "David Fawcett" wrote: > Mac, > > This is really low hanging fruit, and your problem may lie much higher > in the tree....but, try stating your qitem in all uppercase e.g. > [NAME]. > > I have found this to be necessary for all shapefile based queries. > > David. > > David J. Fawcett > MN Office of Environmental Assistance > > >>> "Mac Birch" 11/19/2003 12:51:39 PM >>> > Has anyone had any success using itemquery with MS 4.0 with IIS on > XP-Professional? > > My map file extents have been carefully defined to include a box > that is much, much larger than the theme coverage I'm searching. > > All other aspects of the system work, but I still am getting the > dreaded "Search returned no results. No matching record(s) found, > layer and area of interest do not overlap." message. > > Here's the .map file I'm using: > > # > # Start of map file > # > NAME TESTQuery > STATUS ON > SIZE 480 520 > EXTENT 1300000 1443024 4126986 -682424 > SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > > OUTPUTFORMAT > NAME png > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" > END > > # > # Start of web interface definition > # > > WEB > #EMPTY ../../buckscounty/gis/RecNotFound.htm > TEMPLATE queryResult.htm > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > # LOG "testQuery.log" > END > > QUERYMAP > STATUS ON > STYLE HILITE > COLOR 255 255 0 > END > > LAYER > NAME boundaries > DATA townBoundaries > STATUS DEFAULT > TYPE polygon > TEMPLATE queryResult.htm > CLASS > COLOR 212 212 212 > OUTLINECOLOR 0 0 0 > END > END > > END # Map File > > Here's the essence of the form I'm submitting: > >
> value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > >
> > I have tried submitting just about every possible combination of > qstring options I can think of. for example, > > ([Name] EQ 'Doylestown') > ([Name] EQ "Doylestown") > ('[Name]' IN 'Doylestown') > ([Name] = 'Doylestown') > ([Name] = "Doylestown") > ('[Name]' EQ "Doylestown") > ('[Name]' EQ 'Doylestown') > ('[Name]' EQ Doylestown) -- Yikes!! > > etc. (I think you get the picture) > > Upper/lower cases of the "Name" variable and "Doylestown" are > identical to those that appear in the shapefile.dbf table > > It appears that MS is simply not finding the requested variable in > the qstring, so I even tried submitting strings that would always > evaluate to TRUE, such as > > (1 EQ 1) > (1 = 1) > (2 GE 1) > (2 <= 1) > ([Name] EQ [Name] etc. > > Still, the same result. > > Where have I gone wrong? Please share your success stories. > > Much Appreciated > > --Mac-- > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From David.Fawcett at state.mn.us Wed Nov 19 14:32:09 2003 From: David.Fawcett at state.mn.us (David Fawcett) Date: Wed, 19 Nov 2003 16:32:09 -0600 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: I am running Mapserver 4.0-beta2 and I have made Itemquery and Itemnquery work. I believe that I downloaded the binary from UMN, but I may have gotten it from DM Solutions. The zip file was named ms40-beta2_gif_pg.zip and was downloaded on 8/1/2003 (11,159KB). It looks like mapserv.exe was compiled on 7/11/2003. The readme doesn't explicitly state who compiled this one. The URL that worked for me is explained here: http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0308/msg00130.html David. David J. Fawcett MN Office of Environmental Assistance >>> "Martin, Daniel A" 11/19/2003 3:50:31 PM >>> I'm having the same problems with the 4.0 UMN Windows binaries. The itemquery never, ever, ever works - no matter what you do. These same queries worked fine on 3.6. I, like you, have tried an incredible variety of expressions, and never does MS find an item. I'm extremely frustrated. From Andrew.Koebrick at state.mn.us Wed Nov 19 14:30:13 2003 From: Andrew.Koebrick at state.mn.us (Andrew Koebrick) Date: Wed, 19 Nov 2003 16:30:13 -0600 Subject: [Mapserver-users] CGI / expression assistance Message-ID: <26B96243D0F5D51191A10008C7B129A403209EB5@admin-itg-exch3.state.mn.us> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3AEEC.B2CE1130 Content-Type: text/plain Can anyone tell me if what I am attempting is possible, and perhaps share with me the required syntax? I am attempting to use the CGI version of mapserver to create a map highlighting one or more counties (or townships, cities...) based upon a dynamically generated URL. I am able to highlight single counties with this syntax: http://www.mba.state.mn.us/cgi-bin/mapserv?map=/home/httpd/html-MBA/maps/cou nty.map &map_county_class_expression(NAME_LOWER=Hennepin)&mode=map Changing the county name changes what is mapped. How, however, do I make it do multiple counties? I have tried lots of variants of the syntax suggested in the documentation (http://mapserver.gis.umn.edu/doc36/mapfile-reference.html#class ) such as: http://www.mba.state.mn.us/cgi-bin/mapserv?map=/home/httpd/html-MBA/maps/cou nty.map&map_county_class_expression(NAME_LOWER='Lake' or[NAME_LOWER]='hennepin')&mode=map Many thanks for any assistance. Cheers, Andrew Koebrick Web Coordinator / Librarian Dept. of Administration State of Minnesota 658 Cedar St. St. Paul, MN 55102 651-296-4156 http://server.admin.state.mn.us ------_=_NextPart_001_01C3AEEC.B2CE1130 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Can anyone tell me if what I am attempting is = possible, and perhaps share with me the required syntax?

 

I am attempting to use the CGI version of mapserver to create a map highlighting one or = more counties (or townships, cities...) based upon a dynamically generated URL.  I am able to highlight single = counties with this syntax:

 

http://www.mba.state.mn.us/cgi-bin/mapserv?map=3D/h= ome/httpd/html-MBA/maps/county.map&map_county_class_expression(NAME_= LOWER=3DHennepin)&mode=3Dmap

 

Changing the county name changes what is = mapped.  How, however, do I make it do = multiple counties?  I have tried = lots of variants of the syntax suggested in the documentation (http://mapserver.gis.umn.edu/doc36/mapfile-reference.html#class) such as:

 

http://www.mba.state.mn.us/cgi-bin/mapserv?map=3D/hom= e/httpd/html-MBA/maps/county.map&map_county_class_expression(NAME_LOWER=3D'<= font size=3D2 face=3DArial>Lake' or[NAME_LOWER]=3D'hennepin')&mode=3Dmap=

 

Many thanks for any = assistance.


Cheers,

 

Andrew Koebrick

Web Coordinator / = Librarian

Dept. of Administration

State of Minnesota
658 Cedar = St.
St. = Paul, = MN = 55102

 

651-296-4156

http://server.admin.state.mn.us

------_=_NextPart_001_01C3AEEC.B2CE1130-- From Rich at GreenwoodMap.com Wed Nov 19 15:16:33 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Wed, 19 Nov 2003 16:16:33 -0700 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. In-Reply-To: <4ACBA1414DD9EE418CC250E4AAA9035A192C95@STL-EXBE-I03.corp.e rac.com> References: <4ACBA1414DD9EE418CC250E4AAA9035A192C95@STL-EXBE-I03.corp.erac.com> Message-ID: <6.0.0.22.0.20031119160958.02880828@mail.GreenwoodMap.com> At 02:50 PM 11/19/2003, you wrote: >I'm having the same problems with the 4.0 UMN Windows binaries. The >itemquery never, ever, ever works - no matter what you do. These same >queries worked fine on 3.6. I, like you, have tried an incredible >variety of expressions, and never does MS find an item. I'm extremely >frustrated. > >I asked the list similar questions about a month ago. I was told to >read regex documentation, but no matter what I try the result is the >same. I even asked the list if anyone had been able to get itemquery >working on these specific UMN 4.0 Windows binaries, but got no >responses. > >I am beginning to think itemqueries just do not work with the 4.0 >Windows UMN binaries. Sorry, I'm coming into this thread a little late, but for the record itemquery on 4.0 Windows UMN binaries works fine for me. Remember that the syntax for defining your query has changed from 3.6 to 4.0. You need to define the qitem and qstring in 4.0 (and the qlayer, same as 3.6). The looks suspicious to me. In the URI are you seeing qstring=XXX, where XXX is the desired value? I would expect it to look more like Rich >Has anyone had any success using itemquery with MS 4.0 with IIS on >XP-Professional? > >My map file extents have been carefully defined to include a box >that is much, much larger than the theme coverage I'm searching. > >All other aspects of the system work, but I still am getting the >dreaded "Search returned no results. No matching record(s) found, >layer and area of interest do not overlap." message. > >Here's the .map file I'm using: > ># ># Start of map file ># >NAME TESTQuery >STATUS ON >SIZE 480 520 >EXTENT 1300000 1443024 4126986 -682424 >SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > >OUTPUTFORMAT > NAME png > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" >END > ># ># Start of web interface definition ># > >WEB > #EMPTY ../../buckscounty/gis/RecNotFound.htm > TEMPLATE queryResult.htm > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > # LOG "testQuery.log" >END > >QUERYMAP > STATUS ON > STYLE HILITE > COLOR 255 255 0 >END > >LAYER > NAME boundaries > DATA townBoundaries > STATUS DEFAULT > TYPE polygon > TEMPLATE queryResult.htm > CLASS > COLOR 212 212 212 > OUTLINECOLOR 0 0 0 > END >END > >END # Map File > >Here's the essence of the form I'm submitting: > >
>value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > >
> >I have tried submitting just about every possible combination of >qstring options I can think of. for example, > >([Name] EQ 'Doylestown') >([Name] EQ "Doylestown") >('[Name]' IN 'Doylestown') >([Name] = 'Doylestown') >([Name] = "Doylestown") >('[Name]' EQ "Doylestown") >('[Name]' EQ 'Doylestown') >('[Name]' EQ Doylestown) -- Yikes!! > >etc. (I think you get the picture) > >Upper/lower cases of the "Name" variable and "Doylestown" are >identical to those that appear in the shapefile.dbf table > >It appears that MS is simply not finding the requested variable in >the qstring, so I even tried submitting strings that would always >evaluate to TRUE, such as > >(1 EQ 1) >(1 = 1) >(2 GE 1) >(2 <= 1) >([Name] EQ [Name] etc. > >Still, the same result. > >Where have I gone wrong? Please share your success stories. > >Much Appreciated > >--Mac-- > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From ed at topozone.com Wed Nov 19 15:32:38 2003 From: ed at topozone.com (Ed McNierney) Date: Wed, 19 Nov 2003 18:32:38 -0500 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Message-ID: <13858AA1A74F30419F319ACB66A9D1222EA4F4@mercator.topozone.com> Phil - If you can tell us what part of the Earth this raster file represents, it will help us interpret the proper projection for it. It is clearly NOT in degrees, and the 4.0 and -4.0 lines *probably* refer to meters. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Phil Shevlin [mailto:pshevlin at cityftmyers.com] Sent: Wednesday, November 19, 2003 5:04 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed I have a map with a number of layers working. I am trying to include a raster layer (.tif). When I include the layer: LAYER NAME "Test" STATUS ON DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" TYPE RASTER TEMPLATE "template_hi.html" END The map shows but the layer does not appear. I am assuming that it is a projection problem. My extent is in degrees: EXTENT -81.917574 26.569844 -81.755026 26.691756 But the .tfw file appears otherwise: 4.00000000000000 0.00000000000000 0.00000000000000 -4.00000000000000 669000.00000000000000 855000.00000000000000 How do I go about including this layer? Or, can someone point me to some tutorials (I have found one that helps me). Thanks Phil Shevlin I am using: Win2K server Mapserver 4.0 OGR => MapInfo .tab's E:\Inetpub\wwwroot\cgi-bin>mapserv40 -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From LHurst at digmap.com Wed Nov 19 15:45:01 2003 From: LHurst at digmap.com (Larry Hurst) Date: Wed, 19 Nov 2003 15:45:01 -0800 Subject: [Mapserver-users] Problems with rotating a tiff/tfw image Message-ID: <31284D87E5C7D411984300E0296E654143CE1B@DMPSERVER> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3AEF7.264AFE70 Content-Type: text/plain; charset="iso-8859-1" I have a tiff image with a tfw world (State Plane) file that displays fine in the map display (UTM). I am testing whether I can rotate the image in the map display using world file transformations. Once the world file changes have been made, the image no longer shows up in the map display. To test, I am using ArcView to rotate the image and create an updated world file. Does anybody have any ideas what may be causing the image display to fail? Thanks, Larry Hurst GIS Specialist Digital Map Products 575 Anton Bl., Suite 750 Costa Mesa, CA 92626 (714) 432-7637 ext. 2360 Original world file: 0.375 0.000000000000000 0.000000000000000 -0.375 2268717.6022336157 1577437.7101164211 Rotated world file (approximately 15 degree rotation): 0.364225240241517870 0.0892467050988920430 0.0892467050988920430 -0.364225240241517920 2268270.7646746919 1576690.2144912090 Here's an excerpt from the map file showing relevant projection parameters, etc... NAME DEMO STATUS ON SIZE 600 600 #UTM16N EXTENT 752241.546315 3771563.745476 783343.963763 3803358.020598 UNITS METERS SHAPEPATH "data" IMAGECOLOR 255 255 255 PROJECTION "proj=utm" "zone=16" "north" "units=m" "ellps=GRS80" "datum=NAD83" "no_defs" # OR: # "init=epsg:26916" END LAYER NAME "TEST001_CIB" DATA "TEST001.tif" TYPE RASTER STATUS ON PROJECTION "proj=tmerc" "lat_0=30.000000000" "lon_0=-84.166666667" "k=0.999900" "x_0=700000.000" "y_0=0.000" "ellps=GRS80" "datum=NAD83" "units=ft" "no_defs" # OR: # "init=epsg:26967" END END ------_=_NextPart_001_01C3AEF7.264AFE70 Content-Type: text/html; charset="iso-8859-1" Problems with rotating a tiff/tfw image

I have a tiff image with a tfw world (State Plane) file that displays fine in the map display (UTM).
I am testing whether I can rotate the image in the map display using world file transformations.
Once the world file changes have been made, the image no longer shows up in the map display.
To test, I am using ArcView to rotate the image and create an updated world file.
Does anybody have any ideas what may be causing the image display to fail?

Thanks,
Larry Hurst
GIS Specialist
Digital Map Products
575 Anton Bl., Suite 750
Costa Mesa, CA 92626
(714) 432-7637 ext. 2360


Original world file:
0.375
0.000000000000000
0.000000000000000
-0.375
2268717.6022336157
1577437.7101164211

Rotated world file (approximately 15 degree rotation):
0.364225240241517870
0.0892467050988920430
0.0892467050988920430
-0.364225240241517920
2268270.7646746919
1576690.2144912090

Here's an excerpt from the map file showing relevant projection parameters, etc...
NAME DEMO
STATUS ON
SIZE 600 600
#UTM16N
EXTENT 752241.546315 3771563.745476 783343.963763 3803358.020598
UNITS METERS
SHAPEPATH "data"
IMAGECOLOR 255 255 255
PROJECTION
  "proj=utm"
  "zone=16"
  "north"
  "units=m"
  "ellps=GRS80"
  "datum=NAD83"
  "no_defs"
#  OR:
#  "init=epsg:26916"
END

LAYER
  NAME "TEST001_CIB"
  DATA "TEST001.tif"
  TYPE RASTER
  STATUS ON
PROJECTION
  "proj=tmerc"
  "lat_0=30.000000000"
  "lon_0=-84.166666667"
  "k=0.999900"
  "x_0=700000.000"
  "y_0=0.000"
  "ellps=GRS80"
  "datum=NAD83"
  "units=ft"
  "no_defs"
#  OR:
#  "init=epsg:26967"
END
END




------_=_NextPart_001_01C3AEF7.264AFE70-- From thelen at ccgis.de Wed Nov 19 15:48:59 2003 From: thelen at ccgis.de (Benjamin Thelen) Date: Thu, 20 Nov 2003 00:48:59 +0100 (CET) Subject: [Mapserver-users] Error: msLoadMap():...Undefined symbol Message-ID: <3898.192.168.2.109.1069285739.squirrel@vogon.ccgis.de> ------=_20031120004859_83559 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hello list, I moved a map-file from a FreeBSD-machine to a SuSE-Linux machine and suddenly I receive the following error message: http://192.168.2.116/cgi-bin/mapserv?map=/usr/home/umn/symbols.map&request=capabilities&wmtver=1.0.0 msLoadMap(): General error message. Undefined symbol "????????" in class of layer Symbole. I changed the image-type and converted some from png to jpg. I removed some from the map-file, but all that is the error. On the FreeBSD-machine it is running well. I attached the map-file. Hopefully, somebody has an idea!? Thanks, Benjamin ------=_20031120004859_83559 Content-Type: application/octet-stream; name="symbols.map" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="symbols.map" IyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMj IyMjIyMjIyMjDQojIE1hcCBmaWxlIGdlbmVyYXRlZCBieSBDQ0dJUyBTUFggY29udmVydGVyDQoj IERhdGU6IDIyLjA4LjIwMDMNCiMgVGltZTogMTc6MjM6MTMNCiMgQ3JlYXRlZCBvbiBob3N0OiBJ RE9SVQ0KIyMjIy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mciDQogICAgICBTWU1C T0wgIi91c3IvaG9tZS91bW4vc3ltYm9scy9GZXVlcndhY2hlLnBuZyINCiAgICAgIE1JTlNJWkUg MTANCgkJCU1BWFNJWkUgMzYNCgkJCVNJWkUgMjQNCiAgICAgIEVORA0KCSANCgkgIENMQVNTDQog ICAgICBOQU1FICJGaXJtZW5sb2dvX1JXRS5wbmciDQogICAgICBFWFBSRVNTSU9OICJGaXJtZW5s b2dvX1JXRS5wbmciDQogICAgICBTWU1CT0wgIi91c3IvaG9tZS91bW4vc3ltYm9scy9GaXJtZW5s b2dvX1JXRS5wbmciDQogICAgTUlOU0laRSAxMA0KCQkJTUFYU0laRSA3MA0KCQkJU0laRSA0MA0K ICAgRU5EDQoNCiAgIENMQVNTDQogICAgICBOQU1FICJGcmllZGhvZi5wbmciDQogICAgICBFWFBS RVNTSU9OICJGcmllZGhvZi5wbmciDQogICAgICBTWU1CT0wgIi91c3IvaG9tZS91bW4vc3ltYm9s cy9GcmllZGhvZi5wbmciDQogICAgICBNSU5TSVpFIDEwDQoJCQlNQVhTSVpFIDM2DQoJCQlTSVpF IDI0DQogICBFTkQNCg0KICAgQ0xBU1MNCiAgICAgIE5BTUUgIkdld2VyYmVfQmVyemRvZi5wbmci DQogICAgICBFWFBSRVNTSU9OICJHZXdlcmJlX0Jlcnpkb2YucG5nIg0KICAgICAgU1lNQk9MICIv dXNyL2hvbWUvdW1uL3N5bWJvbHMvR2V3ZXJiZV9CZXJ6ZG9mLnBuZyINCiAgICAgTUlOU0laRSAx MA0KCQkJTUFYU0laRSA3MA0KCQkJU0laRSA0MA0KICAgRU5EDQogICBDTEFTUw0KICAgICAgTkFN RSAiR2V3ZXJiZV9FaWNoaG9sei5wbmciDQogICAgICBFWFBSRVNTSU9OICJHZXdlcmJlX0VpY2ho b2x6LnBuZyINCiAgICAgIFNZTUJPTCAiL3Vzci9ob21lL3Vtbi9zeW1ib2xzL0dld2VyYmVfRWlj aGhvbHoucG5nIg0KICAgICBNSU5TSVp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ZyINCiAgICAgIEVYUFJFU1NJT04gInN0YWR0bG9nby5wbmci DQogICAgICBTWU1CT0wgIi91c3IvaG9tZS91bW4vc3ltYm9scy9TdGFkdExvZ28ucG5nIg0KICAg ICBNSU5TSVpFIDEwDQoJCQlNQVhTSVpFIDQwMA0KCQkJU0laRSA0MDANCiAgIEVORA0KICAgQ0xB U1MNCiAgICAgIE5BTUUgInZlcnN1Y2hzZ3V0X2RpY2tvcHNob2YucG5nIg0KICAgICAgRVhQUkVT U0lPTiAidmVyc3VjaHNndXRfZGlja29wc2hvZi5wbmciDQogICAgICBTWU1CT0wgIi91c3IvaG9t ZS91bW4vc3ltYm9scy9WZXJzdWNoc2d1dF9EaWNrb3BzaG9mLnBuZyINCiAgICBNSU5TSVpFIDEw DQoJCQlNQVhTSVpFIDcwDQoJCQlTSVpFIDQwDQogICBFTkQNCiAgIENMQVNTDQogICAgICBOQU1F ICJ2ZXJzdWNoc2d1dF9tYWFyaG9mLnBuZyINCiAgICAgIEVYUFJFU1NJT04gInZlcnN1Y2hzZ3V0 X21hYXJob2YucG5nIg0KICAgICAgU1lNQk9MICIvdXNyL2hvbWUvdW1uL3N5bWJvbHMvVmVyc3Vj aHNndXRfTWFhcmhvZi5wbmciDQogICAgICBNSU5TSVpFIDEwDQoJCQlNQVhTSVpFIDcwDQoJCQlT SVpFIDQwDQogICBFTkQNCgkNCiAgICBDTEFTUw0KICAgICAgTkFNRSAiU3BpZWxwbGF0ei5wbmci DQogICAgICBFWFBSRVNTSU9OICJTcGllbHBsYXR6LnBuZyINCiAgICAgIFNZTUJPTCAiL3Vzci9o b21lL3Vtbi9zeW1ib2xzL1NwaWVscGxhdHoucG5nIg0KICAgICAgTUlOU0laRSAxMA0KCQkJTUFY U0laRSAzNg0KCQkJU0laRSAyNA0KICAgRU5EDQoJDQpFTkQNCg0KRU5EDQo= ------=_20031120004859_83559-- From eduardo at consultoria.eti.br Wed Nov 19 20:19:49 2003 From: eduardo at consultoria.eti.br (Eduardo P. Kanegae) Date: Thu, 20 Nov 2003 02:19:49 -0200 Subject: [Mapserver-users] MapServer vacancy In-Reply-To: <0290E9A99BE89B4CB17908E29890A7063067AD@EXCHANGE.ornl.gov> References: <0290E9A99BE89B4CB17908E29890A7063067AD@EXCHANGE.ornl.gov> Message-ID: <20031120041949.21955.qmail@hm47.locaweb.com.br> Hi all. Does anybody had done( or know) any kind of world-search engine for current open jobs on MapServer activities? thanks. Eduardo P. Kanegae http://www.consultoria.eti.br - BRASIL F?rum ptMapServer - http://www.consultoria.eti.br/mapserverptforum/ ClickBrasil - http://www.consultoria.eti.br/clickbrasil/ *************************************** ***Fim da Mensagem / End of Message *** *************************************** From s.wiegand at kdvz.de Thu Nov 20 02:40:47 2003 From: s.wiegand at kdvz.de (Stefan Wiegand) Date: Thu, 20 Nov 2003 11:40:47 +0100 Subject: [Mapserver-users] Problems with tiff Message-ID: This is a multipart message in MIME format. --=_alternative 003ADAA1C1256DE4_= Content-Type: text/plain; charset="us-ascii" Hello, I am very confused about using mapserver under debian linux. A few weeks ago I posted a problem about compiling mapserver with input=tiff. After some very hard days I reached this result: MapServer version 3.6.6 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=SHAPEFILE TIFF prompts at all errors (make install) but a seperate libtiff 'make' was ok. (First ./configure in tiff 3.5.7, then ./make in tiff 3.5.7 and then cd libtiff and ./make. Mapservers configure --with-tiff=../libtiff) But now, the mapserver does not display the tiffs. When I use a single TIFF with TFW or an imgtile, the map prompts: readWorldFile(): Unable to access file. Unable to open world file for reading. The tfw and tiff files are in the same directory and there are no difference in typing the filenames and I have the same mapservice under cygwin running without any problems with the same datas. If you have a hint for me (all the same whether large or small ;-)), please answer Stefan --=_alternative 003ADAA1C1256DE4_= Content-Type: text/html; charset="us-ascii"
Hello,

I am very confused about using mapserver under debian linux. A few weeks ago I posted a problem about compiling mapserver with input=tiff. After some very hard days I reached this result:

MapServer version 3.6.6 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF INPUT=TIFF INPUT=EPPL7 INPUT=SHAPEFILE

TIFF prompts at all errors (make install) but a seperate libtiff 'make' was ok.
(First ./configure in tiff 3.5.7, then ./make in tiff 3.5.7 and then cd libtiff and ./make. Mapservers configure --with-tiff=../libtiff)

But now, the mapserver does not display the tiffs. When I use a single TIFF with TFW or an imgtile, the map prompts:

readWorldFile(): Unable to access file. Unable to open world file for reading.

The tfw and tiff files are in the same directory and there are no difference in typing the filenames and I have the same mapservice under cygwin running without any problems with the same datas.

If you have a hint for me (all the same whether large or small ;-)), please answer

Stefan

--=_alternative 003ADAA1C1256DE4_=-- From ASeifert at schwerin.de Thu Nov 20 03:50:18 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Thu, 20 Nov 2003 12:50:18 +0100 Subject: [Mapserver-users] ld32: ERROR 33 Message-ID: Hi folks, what means ld32: ERROR 33 Mapserver 4.0.1 IRIX 6.5 gcc 3.3 echo "# configure ###########################################################" ./configure \ --with-tiff=/usr/local\ --with-png=/usr/local\ --with-jpeg=/usr/local\ --with-gdal=/usr/local/bin/gdal-config\ --with-gd=/usr/local echo "# make ################################################################" make # configure ########################################################### creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... : checking for flex... flex checking for yywrap in -lfl... no checking for bison... bison -y checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for exp in -lm... yes checking for __gxx_personality_v0 in -lstdc++... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking whether we should include JPEG support... using libjpeg from system -L/usr/local/lib -ljpeg checking where FreeType 2.x is installed... checking for FT_Init_FreeType in -lfreetype... no freetype-config or libfreetype cannot be found, possibly needed for GD checking where Zlib is installed... checking for zlibVersion in -lz... yes using libz from system libs. checking where PNG is installed... using libpng from -L/usr/local/lib -lpng checking where libXpm is installed... checking for XpmFreeXpmImage in -lXpm... yes using libXpm from system libs. checking where libiconv is installed... checking for libiconv_open in -liconv... no libiconv library cannot be found, possibly needed for GD checking for GD 2.0.12 or higher... checking for gdImageSetAntiAliased in -lgd... yes using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 checking for gdImageGif in -lc... no checking for gdImagePng in -lc... yes checking for gdImageJpeg in -lc... yes checking for gdImageWBMP in -lc... yes checking for gdImageStringFT in -lc... yes checking for gdImageGifPtr in -lc... no using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) from /usr/local. checking whether we should include PDF support... checking for PDF_setlinewidth in -lpdf... no checking for PDF_setrgbcolor in -lpdf... no checking for PDF_moveto in -lpdf... no checking for PDF_curveto in -lpdf... no checking for PDF_show_xy in -lpdf... no libpdf not found... PDF support not included. checking whether we should include TIFF support... using libtiff from -L/usr/local/lib -ltiff. checking whether we should include EPPL7 support... including EPPL7 support. checking whether we should include PROJ.4 support... PROJ.4 support not requested. checking whether we should include thread safe support... thread safe support disabled. checking whether we should include ESRI SDE support... ESRI SDE support not requested. checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... OGR support not requested. checking if GDAL support requested... yes, user supplied gdal-config (/usr/local/bin/gdal-config) checking if PostGIS support requested... no checking if MyGIS support requested... no checking if OracleSpatial support requested... no checking if MING/Flash support requested... no checking whether we should include WMS Server support... OGC WMS Compatibility not enabled (PROJ.4 is required for WMS). checking whether we should include WFS Server support... OGC WFS Server support not requested. checking whether we should include WMS Client Connections support... OGC WMS Client Connections not enabled (PROJ.4 and libcurl required). checking whether we should include WFS Client Connections support... OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR required). checking for curl-config checking HTTPD server (Apache) version checking for httpd... no 'httpd' not found, skipping Apache version detection. You may want to use --with-httpd=/path/to/httpd Compiling with -DIGNORE_MISSING_DATA. checking whether we should enable debug features... checking for PHP/MapScript module options... PHP/MapScript module not configured. updating cache ./config.cache creating ./config.status creating Makefile # make ################################################################ gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maptemplate.c -o maptemplate.o maptemplate.c: In function `generateLegendTemplate': maptemplate.c:1350: Warnung: long int format, different type arg (arg 3) gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapbits.c -o mapbits.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maphash.c -o maphash.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapshape.c -o mapshape.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapxbase.c -o mapxbase.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapparser.c -o mapparser.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplexer.c -o maplexer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maptree.c -o maptree.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsearch.c -o mapsearch.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapstring.c -o mapstring.o mapstring.c: In function `msEncodeUrl': mapstring.c:408: Warnung: subscript has type `char' mapstring.c:419: Warnung: subscript has type `char' gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsymbol.c -o mapsymbol.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapfile.c -o mapfile.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplegend.c -o maplegend.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maputil.c -o maputil.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapscale.c -o mapscale.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapquery.c -o mapquery.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplabel.c -o maplabel.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maperror.c -o maperror.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapprimitive.c -o mapprimitive.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapproject.c -o mapproject.o mapproject.c: In function `msGetEPSGProj': mapproject.c:429: Warnung: return makes pointer from integer without a cast gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapraster.c -o mapraster.o mapraster.c: In function `readGEOTiff': mapraster.c:304: Warnung: dereferencing type-punned pointer will break strict-aliasing rules mapraster.c:308: Warnung: dereferencing type-punned pointer will break strict-aliasing rules gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsde.c -o mapsde.o c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapogr.cpp -o mapogr.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mappostgis.c -o mappostgis.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapmygis.c -o mapmygis.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplayer.c -o maplayer.o maplayer.c: In function `msLayerWhichItemsNew': maplayer.c:629: Warnung: unused variable `i' gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapresample.c -o mapresample.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwms.c -o mapwms.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwmslayer.c -o mapwmslayer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maporaclespatial.c -o maporaclespatial.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgml.c -o mapgml.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapprojhack.c -o mapprojhack.o mapprojhack.c:71: Warnung: `ConvertProjUnitStringToMS' defined but not used gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapthread.c -o mapthread.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapdraw.c -o mapdraw.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgd.c -o mapgd.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapoutput.c -o mapoutput.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgdal.c -o mapgdal.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapswf.c -o mapswf.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapimagemap.c -o mapimagemap.o mapimagemap.c:59: Warnung: `searchImageCache' defined but not used mapimagemap.c:89: Warnung: `addImageCache' defined but not used mapimagemap.c:333: Warnung: `imageOffsetPolyline' defined but not used mapimagemap.c:364: Warnung: `imagePolyline' defined but not used mapimagemap.c:1392: Warnung: `billboardIM' defined but not used gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapows.c -o mapows.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwfs.c -o mapwfs.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwfslayer.c -o mapwfslayer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapcontext.c -o mapcontext.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maphttp.c -o maphttp.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapdrawgdal.c -o mapdrawgdal.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mappdf.c -o mappdf.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapjoin.c -o mapjoin.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgraticule.c -o mapgraticule.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapcopy.c -o mapcopy.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include epplib.c -o epplib.o ar rc libmap.a 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 mapmygis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o mapdraw.o mapgd.o mapoutput.o mapgdal.o mapswf.o mapimagemap.o mapows.o mapwfs.o mapwfslayer.o mapcontext.o maphttp.o mapdrawgdal.o mappdf.o mapjoin.o mapgraticule.o mapcopy.o epplib.o : libmap.a gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include 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 -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include shp2img.o -L. -lmap -L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ltiff -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ljpeg /usr/local/lib/ogrsf_frmts.a /usr/local/lib/gdal.a /usr/local/lib/ogr.a /usr/local/lib/gdal.a /usr/local/lib/cpl.a -L/usr/local -L/usr/local/lib -ljpeg -L/usr/local/lib -ltiff -L/usr/local -L/usr/local/lib -lpng -L/usr/local -L/usr/local -lz -lm -ldl -lm -lm -lstdc++ -o shp2img ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/ogrsf_frmts.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/gdal.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/cpl.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::OGRSpatialReference[in-charge](char const*)" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::importFromWkt(char**)" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::~OGRSpatialReference [in-charge]()" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "operator delete(void *)" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "operator new(unsigned int)" -- 1st referenced by /usr/local/lib/gdal.a(gdalrasterband.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__vec_new_eh2" -- 1st referenced by /usr/local/lib/gdal.a(ddfmodule.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__vec_delete2" -- 1st referenced by /usr/local/lib/gdal.a(ddfmodule.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__nwa(unsigned int)" -- 1st referenced by /usr/local/lib/gdal.a(ddfrecord.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__dla(void *)" -- 1st referenced by /usr/local/lib/gdal.a(ddfrecord.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__pure_virtual_called" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved data symbol "type_info::__vtbl(void)" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: INFO 152: Output file removed because of error. collect2: ld returned 2 exit status *** Fehlercode 1 (bu21) best regards, Andre Mail scanned by virusscanner, Patternfile from 19 Nov 2003 From c.haase at raumstruktur.de Thu Nov 20 05:27:22 2003 From: c.haase at raumstruktur.de (Christian Haase) Date: Thu, 20 Nov 2003 14:27:22 +0100 (CET) Subject: [Mapserver-users] configure & compile question Message-ID: <1917.217.80.153.222.1069334842.squirrel@webmail.webmotive.net> hello, iam new to this list and to mapserver, too. i allready found out that i still have to use php as cgi if i want to use php/mapscript. a basic ./configure with no options followed by a make turns into this error: /local/include shp2img.o -L. -lmap -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng -lz -ljpeg -lm -o shp2img ./libmap.a(mapogr.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status make: *** [shp2img] Error 1 any idea? tX! in advance christian From Rich at GreenwoodMap.com Thu Nov 20 05:46:12 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Thu, 20 Nov 2003 06:46:12 -0700 Subject: [Mapserver-users] itemquery problem -- I'm pulling my hair out. Message-ID: <6.0.0.22.0.20031120064556.026bdf58@mail.GreenwoodMap.com> At 02:50 PM 11/19/2003, you wrote: >I'm having the same problems with the 4.0 UMN Windows binaries. The >itemquery never, ever, ever works - no matter what you do. These same >queries worked fine on 3.6. I, like you, have tried an incredible >variety of expressions, and never does MS find an item. I'm extremely >frustrated. > >I asked the list similar questions about a month ago. I was told to >read regex documentation, but no matter what I try the result is the >same. I even asked the list if anyone had been able to get itemquery >working on these specific UMN 4.0 Windows binaries, but got no >responses. > >I am beginning to think itemqueries just do not work with the 4.0 >Windows UMN binaries. Sorry, I'm coming into this thread a little late, but for the record itemquery on 4.0 Windows UMN binaries works fine for me. Remember that the syntax for defining your query has changed from 3.6 to 4.0. You need to define the qitem and qstring in 4.0 (and the qlayer, same as 3.6). The looks suspicious to me. In the URI are you seeing qstring=XXX, where XXX is the desired value? I would expect it to look more like Rich >Has anyone had any success using itemquery with MS 4.0 with IIS on >XP-Professional? > >My map file extents have been carefully defined to include a box >that is much, much larger than the theme coverage I'm searching. > >All other aspects of the system work, but I still am getting the >dreaded "Search returned no results. No matching record(s) found, >layer and area of interest do not overlap." message. > >Here's the .map file I'm using: > ># ># Start of map file ># >NAME TESTQuery >STATUS ON >SIZE 480 520 >EXTENT 1300000 1443024 4126986 -682424 >SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > >OUTPUTFORMAT > NAME png > DRIVER "GD/PNG" > MIMETYPE "image/png" > IMAGEMODE RGBA > EXTENSION "png" >END > ># ># Start of web interface definition ># > >WEB > #EMPTY ../../buckscounty/gis/RecNotFound.htm > TEMPLATE queryResult.htm > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > # LOG "testQuery.log" >END > >QUERYMAP > STATUS ON > STYLE HILITE > COLOR 255 255 0 >END > >LAYER > NAME boundaries > DATA townBoundaries > STATUS DEFAULT > TYPE polygon > TEMPLATE queryResult.htm > CLASS > COLOR 212 212 212 > OUTLINECOLOR 0 0 0 > END >END > >END # Map File > >Here's the essence of the form I'm submitting: > >
>value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > >
> >I have tried submitting just about every possible combination of >qstring options I can think of. for example, > >([Name] EQ 'Doylestown') >([Name] EQ "Doylestown") >('[Name]' IN 'Doylestown') >([Name] = 'Doylestown') >([Name] = "Doylestown") >('[Name]' EQ "Doylestown") >('[Name]' EQ 'Doylestown') >('[Name]' EQ Doylestown) -- Yikes!! > >etc. (I think you get the picture) > >Upper/lower cases of the "Name" variable and "Doylestown" are >identical to those that appear in the shapefile.dbf table > >It appears that MS is simply not finding the requested variable in >the qstring, so I even tried submitting strings that would always >evaluate to TRUE, such as > >(1 EQ 1) >(1 = 1) >(2 GE 1) >(2 <= 1) >([Name] EQ [Name] etc. > >Still, the same result. > >Where have I gone wrong? Please share your success stories. > >Much Appreciated > >--Mac-- > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com From woodbri at swoodbridge.com Thu Nov 20 06:04:45 2003 From: woodbri at swoodbridge.com (woodbri at swoodbridge.com) Date: Thu, 20 Nov 2003 09:04:45 -0500 Subject: [Mapserver-users] Problems with tiff In-Reply-To: Message-ID: <3FBC83AD.6209.6AFF9E93@localhost> Mapserver expects tiff world files to have the extension *.wld so rename your *.tfw to *.wld and you should be all set. -Steve W On 20 Nov 2003 at 11:40, Stefan Wiegand wrote: > Hello, > > I am very confused about using mapserver under debian linux. A few weeks > ago I posted a problem about compiling mapserver with input=tiff. After > some very hard days I reached this result: > > MapServer version 3.6.6 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=TTF > INPUT=TIFF INPUT=EPPL7 INPUT=SHAPEFILE > > TIFF prompts at all errors (make install) but a seperate libtiff 'make' > was ok. > (First ./configure in tiff 3.5.7, then ./make in tiff 3.5.7 and then cd > libtiff and ./make. Mapservers configure --with-tiff=../libtiff) > > But now, the mapserver does not display the tiffs. When I use a single > TIFF with TFW or an imgtile, the map prompts: > > readWorldFile(): Unable to access file. Unable to open world file for > reading. > > The tfw and tiff files are in the same directory and there are no > difference in typing the filenames and I have the same mapservice under > cygwin running without any problems with the same datas. > > If you have a hint for me (all the same whether large or small ;-)), > please answer > > Stefan > > From adams at terrestris.de Thu Nov 20 06:52:33 2003 From: adams at terrestris.de (Till Adams) Date: Thu, 20 Nov 2003 15:52:33 +0100 Subject: [Mapserver-users] WMS and Querymap: Show several layers in querymap References: <3FB4FF7E.4070000@terrestris.de> <3FB51447.7060201@dmsolutions.ca> Message-ID: <3FBCD531.6050501@terrestris.de> Dear Daniel, and to all who don't need more growing grey hair... thanks - your workaround did it! We added hard-wired layer names to the query_layers list and the (hard-wired) layers are drawn in the query-map. If one of the hard-wired layer does not exist in the mapfile, the querymap with the other layers is drawn anyway, without any error mesage -- that's comfortable. Greetings, Till ;-) > Till Adams wrote: > >> >> we have a problem using querymap through a WMS GetFeature-Info-request. >> >> We only get a querymap where the queried layer is displayed, all other >> layers, which are set to "on" in the map are not displayed in the >> querymap. >> >> We use Info_Mime_type 'text/html' >> >> the querymap style is set to "HILITE" >> > > It's quite likely that the QUERY_LAYERS parameter takes precedence over > LAYERS value in the WMS GetFeatureInfo request and the non-queryable > layers end up being turned off. Um... perhaps one thing you could do to > work around the problem is to pass the same list of layer names in > QUERY_LAYERS that you pass in LAYERS. The layers that don't have a > template won't be queried anyway but they will show up in the query map. > If that doesn't work for you then please file a bug in bugzilla. > > Daniel From s.wiegand at kdvz.de Thu Nov 20 06:47:44 2003 From: s.wiegand at kdvz.de (Stefan Wiegand) Date: Thu, 20 Nov 2003 15:47:44 +0100 Subject: [Mapserver-users] Problems with tiff Message-ID: This is a multipart message in MIME format. --=_alternative 005176C7C1256DE4_= Content-Type: text/plain; charset="us-ascii" Thank you Steve for this hint, I renamed the *tfw to *.wld, but the mapserver also stops with the error message readWorldFile(): Unable to access file. Unable to open world file for reading. The cygwin mapserver accepts the *.tfw files for *.tiff without any problems. Mmmh >Mapserver expects tiff world files to have the extension *.wld so >rename your *.tfw to *.wld and you should be all set. > >-Steve W --=_alternative 005176C7C1256DE4_= Content-Type: text/html; charset="us-ascii"
Thank you Steve for this hint,

I renamed the *tfw to *.wld, but the mapserver also stops with the error message

readWorldFile(): Unable to access file. Unable to open world file for reading.

The cygwin mapserver accepts the *.tfw files for *.tiff without any problems.

Mmmh

>Mapserver expects tiff world files to have the extension *.wld so
>rename your *.tfw to *.wld and you should be all set.
>
>-Steve W
--=_alternative 005176C7C1256DE4_=-- From warmerdam at pobox.com Thu Nov 20 06:53:13 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu, 20 Nov 2003 09:53:13 -0500 Subject: [Mapserver-users] Problems with rotating a tiff/tfw image In-Reply-To: <31284D87E5C7D411984300E0296E654143CE1B@DMPSERVER> References: <31284D87E5C7D411984300E0296E654143CE1B@DMPSERVER> Message-ID: <3FBCD559.9030004@pobox.com> Larry Hurst wrote: > I have a tiff image with a tfw world (State Plane) file that displays > fine in the map display (UTM). > I am testing whether I can rotate the image in the map display using > world file transformations. > Once the world file changes have been made, the image no longer shows up > in the map display. > To test, I am using ArcView to rotate the image and create an updated > world file. > Does anybody have any ideas what may be causing the image display to fail? Larry, What you are trying should work. I have successfully used images with rotation via world file. However, it is critical that the file be processed via the GDAL code path in MapServer, not the basic MapServer built-in TIFF support. To be maximally sure configure mapserver "--without-tiff". I would add that for problem reports like this it is helpful to report the mapserver version (via mapserv -v output). You should use at least mapserv 4 to do the rotated thing. Finally, if you have a working unrotated image, try just editing the .tfw by hand and slighly altering the rotational coefficients a bit to see if you get an effect through mapserver before moving over to the properly rotated image. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From warmerdam at pobox.com Thu Nov 20 07:05:24 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Thu, 20 Nov 2003 10:05:24 -0500 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed In-Reply-To: <000c01c3aee9$049f7d40$2a670761@PD3042> References: <000c01c3aee9$049f7d40$2a670761@PD3042> Message-ID: <3FBCD834.7080708@pobox.com> Phil Shevlin wrote: > I have a map with a number of layers working. I am trying to include a > raster layer (.tif). When I include the layer: > > LAYER > NAME "Test" > STATUS ON > DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" > TYPE RASTER > TEMPLATE "template_hi.html" > END > > The map shows but the layer does not appear. I am assuming that it is a > projection problem. My extent is in degrees: > > EXTENT -81.917574 26.569844 -81.755026 26.691756 > > But the .tfw file appears otherwise: > > 4.00000000000000 > 0.00000000000000 > 0.00000000000000 > -4.00000000000000 > 669000.00000000000000 > 855000.00000000000000 > > How do I go about including this layer? Or, can someone point me to some > tutorials (I have found one that helps me). > Phil, The raster is clearly in a different projection. You will need to establish what coordinate system it is, and properly describe it with a PROJECTION block in the layer. You will also need an appropriate lat/long projectio block for the map level if your generated map is currently in lat/long. To know the coordinate system you will have to look at your dataset and talk to whoever you got it from. Good luck, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From mac at mbirch.com Thu Nov 20 06:54:42 2003 From: mac at mbirch.com (Mac Birch) Date: Thu, 20 Nov 2003 14:54:42 -0000 Subject: [Mapserver-users] Re: itemquery problem -- I'm pulling my hair out. In-Reply-To: <6.0.0.22.0.20031120064556.026bdf58@mail.GreenwoodMap.com> Message-ID: Problem solved! It was in my map file EXTENTS line. Rich, David, and others... I got itemquery/itemnquery working with 4.0 on my Windows machines. The error was due to a malformed EXTENT statement in the map file. Yes, the Windows binaries are alive and well! Here is what I've learned. 1. When [mode] is set for browse or other operations, MS seems to be tolerant of the formation of the EXTENT parameters. I was able to generate perfectly good areawide coverages with a set of faulty extents. Using these same extents for itemquery, however, generated the "does not overlap" error. After succeeding with the Minnesota "lakespy" test data and updated map file, I knew itemqurey worked with 4.0. 2. To get a "good" set of extent points for an MS itemquery, set up a regular MS browse that return an area-wide image based on coordinates obtained from Arcview (or whatever). Then insert a [mapext] CGI tag in the template. This will yield a set of "corrected" extents, which you can paste into the EXTENT statement of the map file. 3. Formation of the qstring has no effect on the "does not overlap" issue. Once I solved the extents problems, it was fairly easy to write correct regex statements. Here were some that executed successfully: ('[NAME]' EQ 'Doylestown') ("[NAME]" EQ "Doylestown") ('[NAME]'EQ'Doylestown') ('[NAME]' eq 'Doylestown') ('[Name]' EQ 'Doylestown') ('[NAME]' = 'Doylestown') ('[name]' in 'Doylestown, New Hope') ([Area_id]=1) The parser is tolerant of case-sensitivity of the database field and regex comparison operator, presence of spaces within the expression, and use of single vs. double quotes. Note, however, that field names containing string values *must* be in quoted square brackets. ([NAME] EQ 'Doylestown') and ('NAME' EQ 'Doylestown') failed. Also note, that with the simple comparison operators I've used above, case-sensitivity is considered for actual values of the fields. ('[NAME]' EQ 'DOYLESTOWN') will not find anything So, now I'm ready to move on... without too much loss of hair. I hope these observations are helpful to others facing this challenge. Thanks to all of you for pitching in. --Mac-- --- In mapserver-users at yahoogroups.com, Richard Greenwood wrote: > At 02:50 PM 11/19/2003, you wrote: > >I'm having the same problems with the 4.0 UMN Windows binaries. The > >itemquery never, ever, ever works - no matter what you do. These same > >queries worked fine on 3.6. I, like you, have tried an incredible > >variety of expressions, and never does MS find an item. I'm extremely > >frustrated. > > > >I asked the list similar questions about a month ago. I was told to > >read regex documentation, but no matter what I try the result is the > >same. I even asked the list if anyone had been able to get itemquery > >working on these specific UMN 4.0 Windows binaries, but got no > >responses. > > > >I am beginning to think itemqueries just do not work with the 4.0 > >Windows UMN binaries. > > Sorry, I'm coming into this thread a little late, but for the record > itemquery on 4.0 > Windows UMN binaries works fine for me. Remember that the syntax for > defining your query has changed from 3.6 to 4.0. You need to define the > qitem and qstring in 4.0 (and the qlayer, same as 3.6). > > The looks suspicious to me. In the URI are > you seeing qstring=XXX, where XXX is the desired value? I would expect it > to look more like > > Rich > > > >Has anyone had any success using itemquery with MS 4.0 with IIS on > >XP-Professional? > > > >My map file extents have been carefully defined to include a box > >that is much, much larger than the theme coverage I'm searching. > > > >All other aspects of the system work, but I still am getting the > >dreaded "Search returned no results. No matching record(s) found, > >layer and area of interest do not overlap." message. > > > >Here's the .map file I'm using: > > > ># > ># Start of map file > ># > >NAME TESTQuery > >STATUS ON > >SIZE 480 520 > >EXTENT 1300000 1443024 4126986 -682424 > >SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > > > >OUTPUTFORMAT > > NAME png > > DRIVER "GD/PNG" > > MIMETYPE "image/png" > > IMAGEMODE RGBA > > EXTENSION "png" > >END > > > ># > ># Start of web interface definition > ># > > > >WEB > > #EMPTY ../../buckscounty/gis/RecNotFound.htm > > TEMPLATE queryResult.htm > > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > > # LOG "testQuery.log" > >END > > > >QUERYMAP > > STATUS ON > > STYLE HILITE > > COLOR 255 255 0 > >END > > > >LAYER > > NAME boundaries > > DATA townBoundaries > > STATUS DEFAULT > > TYPE polygon > > TEMPLATE queryResult.htm > > CLASS > > COLOR 212 212 212 > > OUTLINECOLOR 0 0 0 > > END > >END > > > >END # Map File > > > >Here's the essence of the form I'm submitting: > > > >
> > >value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > > > > > > > > > >
> > > >I have tried submitting just about every possible combination of > >qstring options I can think of. for example, > > > >([Name] EQ 'Doylestown') > >([Name] EQ "Doylestown") > >('[Name]' IN 'Doylestown') > >([Name] = 'Doylestown') > >([Name] = "Doylestown") > >('[Name]' EQ "Doylestown") > >('[Name]' EQ 'Doylestown') > >('[Name]' EQ Doylestown) -- Yikes!! > > > >etc. (I think you get the picture) > > > >Upper/lower cases of the "Name" variable and "Doylestown" are > >identical to those that appear in the shapefile.dbf table > > > >It appears that MS is simply not finding the requested variable in > >the qstring, so I even tried submitting strings that would always > >evaluate to TRUE, such as > > > >(1 EQ 1) > >(1 = 1) > >(2 GE 1) > >(2 <= 1) > >([Name] EQ [Name] etc. > > > >Still, the same result. > > > >Where have I gone wrong? Please share your success stories. > > > >Much Appreciated > > > >--Mac-- > > > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users at l... > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users at l... > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich GreenwoodMap com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bplatzen at sosnetz.de Thu Nov 20 07:13:01 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Thu, 20 Nov 2003 16:13:01 +0100 Subject: [Mapserver-users] Setting the classindex of a shapeObj() has no effect In-Reply-To: <4.3.2.7.2.20031119075855.00ad7ee0@mail.gomoos.org> References: <4.3.2.7.2.20031119075855.00ad7ee0@mail.gomoos.org> Message-ID: <200311201613.01632.bplatzen@sosnetz.de> Hi Eric, thanks! That works perfectly! Bye, Bjoern. Am Mittwoch, 19. November 2003 14:09 schrieb Eric Bridger: > Bjoern, > Since I use the same method for drawing points I've run into the same > issue. I think the comments in my Wiki example mention this. I > never figured out exactly why this is so. Perhaps a layers features > are drawn without respect to any Class attributes. > > The solution I use is to call $class = > $layer->getClass($class_index); # class_index is based on some > category Then set the attrbutes, e.g. $class->{symbol} = > $symbol_index; $class->{size} = 20; > $class->{color} = .... etc. > > Finally $pointDraw($map, $layer, $point ...) > > in ADDITION to calling $layer->addFeature($shape) which makes the > points queryable. This seems like something of a hack, i.e. drawing > all the points twice. > > I don't call $layer->draw() > > In your case you may not need to set the class attributes. Perhaps > just calling $layer->getClass(0) or getClass(1) prior to > $point->draw() will be enough. > > Eric > > At 12:36 AM 11/19/2003 +0100, Bjoern Platzen wrote: > >Hi folks, > > > >I'm still messing around with PythonMapScript... > >With a lot of help from the list, I am now able to create queryable > >Features for a layer. Now I want to show my points with different > >symbols. In my database-table, Ive got a field for a category. If > > the category-field contains '1', the point should be drawn with the > > CLASS 0, otherwise with CLASS 1. > > > >Here's the layer-definition in the mapfile: > >LAYER > > NAME 'baustellen' > > TYPE POINT > > STATUS on > > CLASS > > Symbol 'bau' > > END#class > > CLASS > > Symbol 'db' > > END#class > > TEMPLATE 'rahmen2.html' > > TOLERANCE 50 > >END#LAYER > >END # Map File > > > >Here's the code-snippet, that produces the points: > >for l in r[1]: > > #r[1] is the > > resultset[[pointx,pointy,date1,date2,category],[..],..] newPoint = > > mapscript.pointObj() > > newPoint.x = l[0] > > newPoint.y = l[1] > > newLine = mapscript.lineObj() > > newLine.add(newPoint) > > newShape = mapscript.shapeObj(mapscript.MS_SHAPE_POINT) > > newShape.add(newLine) > > newShape.index=l[6] > > if l[4]=='1':#l[4] contains the category > > newShape.classindex = 0 > > else: > > newShape.classindex = 1 > > myLayer.addFeature(newShape) > > > >All features are displayed with the symbol defined in CLASS 0. > > > >I thought classindex would be an attribute of the shapeObj() that is > >read- and writeable. > > > >What will I have to do to display my Points with different > >symbols/classes?? > > > >Thanks in advance for any help! > > > >Bye, > > > >Bjoern > >-- > >small office solutions > >info at sosnetz.de - http://www.sosnetz.de > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users at lists.gis.umn.edu > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- small office solutions info at sosnetz.de - http://www.sosnetz.de From mac at mbirch.com Thu Nov 20 07:01:23 2003 From: mac at mbirch.com (Mac Birch) Date: Thu, 20 Nov 2003 15:01:23 -0000 Subject: [Mapserver-users] Re: itemquery problem -- I'm pulling my hair out. In-Reply-To: <6.0.0.22.0.20031120064556.026bdf58@mail.GreenwoodMap.com> Message-ID: Problem solved! It was in my map file EXTENTS line. Rich, David, and others... I got itemquery/itemnquery working with 4.0 on my Windows machines. The error was due to a malformed EXTENT statement in the map file. Yes, the Windows binaries are alive and well! Here is what I've learned. 1. When [mode] is set for browse or other operations, MS seems to be tolerant of the formation of the EXTENT parameters. I was able to generate perfectly good areawide coverages with a set of faulty extents. Using these same extents for itemquery, however, generated the "does not overlap" error. After succeeding with the Minnesota "lakespy" test data and updated map file, I knew itemqurey worked with 4.0. 2. To get a "good" set of extent points for an MS itemquery, set up a regular MS browse that return an area-wide image based on coordinates obtained from Arcview (or whatever). Then insert a [mapext] CGI tag in the template. This will yield a set of "corrected" extents, which you can paste into the EXTENT statement of the map file. 3. Formation of the qstring has no effect on the "does not overlap" issue. Once I solved the extents problems, it was fairly easy to write correct regex statements. Here were some that executed successfully: ('[NAME]' EQ 'Doylestown') ("[NAME]" EQ "Doylestown") ('[NAME]'EQ'Doylestown') ('[NAME]' eq 'Doylestown') ('[Name]' EQ 'Doylestown') ('[NAME]' = 'Doylestown') ('[name]' in 'Doylestown, New Hope') ([Area_id]=1) The parser is tolerant of case-sensitivity of the database field and regex comparison operator, presence of spaces within the expression, and use of single vs. double quotes. Note, however, that field names containing string values *must* be in quoted square brackets. ([NAME] EQ 'Doylestown') and ('NAME' EQ 'Doylestown') failed. Also note, that with the simple comparison operators I've used above, case-sensitivity is considered for actual values of the fields. ('[NAME]' EQ 'DOYLESTOWN') will not find anything So, now I'm ready to move on... without too much loss of hair. I hope these observations are helpful to others facing this challenge. Thanks to all of you for pitching in. --Mac-- --- In mapserver-users at yahoogroups.com, Richard Greenwood wrote: > At 02:50 PM 11/19/2003, you wrote: > >I'm having the same problems with the 4.0 UMN Windows binaries. The > >itemquery never, ever, ever works - no matter what you do. These same > >queries worked fine on 3.6. I, like you, have tried an incredible > >variety of expressions, and never does MS find an item. I'm extremely > >frustrated. > > > >I asked the list similar questions about a month ago. I was told to > >read regex documentation, but no matter what I try the result is the > >same. I even asked the list if anyone had been able to get itemquery > >working on these specific UMN 4.0 Windows binaries, but got no > >responses. > > > >I am beginning to think itemqueries just do not work with the 4.0 > >Windows UMN binaries. > > Sorry, I'm coming into this thread a little late, but for the record > itemquery on 4.0 > Windows UMN binaries works fine for me. Remember that the syntax for > defining your query has changed from 3.6 to 4.0. You need to define the > qitem and qstring in 4.0 (and the qlayer, same as 3.6). > > The looks suspicious to me. In the URI are > you seeing qstring=XXX, where XXX is the desired value? I would expect it > to look more like > > Rich > > > >Has anyone had any success using itemquery with MS 4.0 with IIS on > >XP-Professional? > > > >My map file extents have been carefully defined to include a box > >that is much, much larger than the theme coverage I'm searching. > > > >All other aspects of the system work, but I still am getting the > >dreaded "Search returned no results. No matching record(s) found, > >layer and area of interest do not overlap." message. > > > >Here's the .map file I'm using: > > > ># > ># Start of map file > ># > >NAME TESTQuery > >STATUS ON > >SIZE 480 520 > >EXTENT 1300000 1443024 4126986 -682424 > >SHAPEPATH "c:\myApplicationPath\buckscounty\GIS\data" > > > >OUTPUTFORMAT > > NAME png > > DRIVER "GD/PNG" > > MIMETYPE "image/png" > > IMAGEMODE RGBA > > EXTENSION "png" > >END > > > ># > ># Start of web interface definition > ># > > > >WEB > > #EMPTY ../../buckscounty/gis/RecNotFound.htm > > TEMPLATE queryResult.htm > > IMAGEPATH "e:\myimagepath\buckscounty\tmp\" > > # LOG "testQuery.log" > >END > > > >QUERYMAP > > STATUS ON > > STYLE HILITE > > COLOR 255 255 0 > >END > > > >LAYER > > NAME boundaries > > DATA townBoundaries > > STATUS DEFAULT > > TYPE polygon > > TEMPLATE queryResult.htm > > CLASS > > COLOR 212 212 212 > > OUTLINECOLOR 0 0 0 > > END > >END > > > >END # Map File > > > >Here's the essence of the form I'm submitting: > > > >
> > >value="../../mapPath/buckscounty/gis/testQuery.map"> > > > > > > > > > > > > > > > >
> > > >I have tried submitting just about every possible combination of > >qstring options I can think of. for example, > > > >([Name] EQ 'Doylestown') > >([Name] EQ "Doylestown") > >('[Name]' IN 'Doylestown') > >([Name] = 'Doylestown') > >([Name] = "Doylestown") > >('[Name]' EQ "Doylestown") > >('[Name]' EQ 'Doylestown') > >('[Name]' EQ Doylestown) -- Yikes!! > > > >etc. (I think you get the picture) > > > >Upper/lower cases of the "Name" variable and "Doylestown" are > >identical to those that appear in the shapefile.dbf table > > > >It appears that MS is simply not finding the requested variable in > >the qstring, so I even tried submitting strings that would always > >evaluate to TRUE, such as > > > >(1 EQ 1) > >(1 = 1) > >(2 GE 1) > >(2 <= 1) > >([Name] EQ [Name] etc. > > > >Still, the same result. > > > >Where have I gone wrong? Please share your success stories. > > > >Much Appreciated > > > >--Mac-- > > > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users at l... > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > >_______________________________________________ > >Mapserver-users mailing list > >Mapserver-users at l... > >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > Richard W. Greenwood, PLS > Greenwood Mapping, Inc. > Rich GreenwoodMap com > (307) 733-0203 > http://www.GreenwoodMap.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at l... > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From bplatzen at sosnetz.de Thu Nov 20 06:50:12 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Thu, 20 Nov 2003 15:50:12 +0100 Subject: [Mapserver-users] TypeError-Problem with Python Mapscript Message-ID: <200311201550.13026.bplatzen@sosnetz.de> Hi List, I just loaded my PyMapScript application onto the webserver. But now I get Errors, that I didn't get on my machine (They're both SuSE Linux 8.0, Mapserver 3.6.5 & Mapscript compiled with the same options). This is what I get on the shell: >>> import mapscript >>> mymap = mapscript.mapObj('/usr/local/httpd/htdocs/bauinfo/bauinfo.map') >>> mymap >>> ip=mymap.web.imagepath Traceback (most recent call last): File "", line 1, in ? TypeError: Type error. Expected _p_mapObj >>> mymap.__dict__ {'this': None, 'thisown': 1} >>> mymap.extent.minx Traceback (most recent call last): File "", line 1, in ? TypeError: Type error. Expected _p_mapObj It seems as if the mapObj() isn't built properly -> ^^^^^^ I think there should be something like -> ^^^^^^^^^^^^^^^^^^ Has anyone an idea, of what could cause that the mapObj() isn't build right? Any help would be great! Thanks, Bjoern. -- small office solutions info at sosnetz.de - http://www.sosnetz.de From mschulz at webgis.de Thu Nov 20 08:22:53 2003 From: mschulz at webgis.de (Michael Schulz) Date: Thu, 20 Nov 2003 17:22:53 +0100 Subject: [Mapserver-users] TypeError-Problem with Python Mapscript In-Reply-To: <200311201550.13026.bplatzen@sosnetz.de> References: <200311201550.13026.bplatzen@sosnetz.de> Message-ID: <3FBCEA5D.70901@webgis.de> Hi Bjoern, Just some thoughts...: Are all paths to your data, etc. the same on both machines? What about the permissions of the mapfile and or data and related files? Hmm, what is the output of dir(mapscript)? Cheers, Michael Bjoern Platzen schrieb: > Hi List, > > I just loaded my PyMapScript application onto the webserver. > > But now I get Errors, that I didn't get on my machine (They're both SuSE > Linux 8.0, Mapserver 3.6.5 & Mapscript compiled with the same options). > > This is what I get on the shell: > >>>>import mapscript >>>>mymap = > > mapscript.mapObj('/usr/local/httpd/htdocs/bauinfo/bauinfo.map') > >>>>mymap > > > >>>>ip=mymap.web.imagepath > > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj > >>>>mymap.__dict__ > > {'this': None, 'thisown': 1} > >>>>mymap.extent.minx > > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj > > It seems as if the mapObj() isn't built properly > -> > ^^^^^^ > I think there should be something like > -> > ^^^^^^^^^^^^^^^^^^ > > Has anyone an idea, of what could cause that the mapObj() isn't build > right? > > Any help would be great! > > Thanks, > > Bjoern. > -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de From thelen at ccgis.de Thu Nov 20 08:29:23 2003 From: thelen at ccgis.de (Benjamin Thelen) Date: Thu, 20 Nov 2003 17:29:23 +0100 (CET) Subject: [Mapserver-users] Error: msLoadMap():...Undefined symbol (Solution) In-Reply-To: <3898.192.168.2.109.1069285739.squirrel@vogon.ccgis.de> References: <3898.192.168.2.109.1069285739.squirrel@vogon.ccgis.de> Message-ID: <1117.192.168.2.109.1069345763.squirrel@vogon.ccgis.de> Hello again, it seems the problem came from the fact, that I use (what I forgot to tell), mapserver 3.6.6, which is compiled with 50 classes as a default. I changed that and everthing worked fine. Indeed the error message was not very helpful. :-) Benjamin > Hello list, > > I moved a map-file from a FreeBSD-machine to a SuSE-Linux machine and > suddenly I receive the following error message: > > http://192.168.2.116/cgi-bin/mapserv?map=/usr/home/umn/symbols.map&request=capabilities&wmtver=1.0.0 > > msLoadMap(): General error message. Undefined symbol "????????" in class > of layer Symbole. > > I changed the image-type and converted some from png to jpg. I removed > some from the map-file, but all that is the error. On the FreeBSD-machine > it is running well. > > I attached the map-file. Hopefully, somebody has an idea!? > > Thanks, > Benjamin From sgillies at frii.com Thu Nov 20 08:41:21 2003 From: sgillies at frii.com (Sean Gillies) Date: Thu, 20 Nov 2003 09:41:21 -0700 Subject: [Mapserver-users] TypeError-Problem with Python Mapscript In-Reply-To: <200311201550.13026.bplatzen@sosnetz.de> Message-ID: <5F0887C4-1B78-11D8-8423-000393B98B56@frii.com> On Thursday, November 20, 2003, at 07:50 AM, Bjoern Platzen wrote: > Hi List, > > I just loaded my PyMapScript application onto the webserver. > > But now I get Errors, that I didn't get on my machine (They're both > SuSE > Linux 8.0, Mapserver 3.6.5 & Mapscript compiled with the same options). > > This is what I get on the shell: >>>> import mapscript >>>> mymap = > mapscript.mapObj('/usr/local/httpd/htdocs/bauinfo/bauinfo.map') >>>> mymap > >>>> ip=mymap.web.imagepath > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj >>>> mymap.__dict__ > {'this': None, 'thisown': 1} >>>> mymap.extent.minx > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj > > It seems as if the mapObj() isn't built properly > -> > ^^^^^^ > I think there should be something like > -> > ^^^^^^^^^^^^^^^^^^ > > Has anyone an idea, of what could cause that the mapObj() isn't build > right? > > Any help would be great! > > Thanks, > > Bjoern. > -- > small office solutions > info at sosnetz.de - http://www.sosnetz.de > Bjoern, Here's what I do to troubleshoot using the Python interpreter. Rather than look through the file permissions and all, I go straight to the Python interpreter and see what sort of errors are raised. First, start an interpreter as your httpd user. For me, this is 'nobody'. bash-2.05a$ sudo -u nobody python2.3 Python 2.3 (#6, Sep 14 2003, 15:46:16) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> Next, see if you can stat the mapfile. This will let you know that your path is correct. >>> import os >>> mapfile = '/usr/local/apache2/htdocs/rg/or.map' >>> os.stat(mapfile) (33188, 1712073L, 234881029L, 1, 501, 0, 12530L, 1069298287, 1069298267, 1069298287) >>> Now see if you can open the mapfile. If your permissions are OK, you should see this: >>> fh = open(mapfile, 'r') >>> If your permissions are wrong, you'd get >>> fh = open(mapfile, 'r') Traceback (most recent call last): File "", line 1, in ? IOError: [Errno 13] Permission denied: '/usr/local/apache2/htdocs/rg/or.map' I suspect that if permissions aren't the problem with your mapfile, you are experiencing problems with other paths defined in your mapfile that are now invalid after switching hosts. fontset, symbolset, shapepath, etc. Are these OK? Sean P.S., if you respond to this, please follow my lead and post at the bottom. thanks! -- Sean Gillies sgillies at frii dot com http://www.frii.com/~sgillies From bplatzen at sosnetz.de Thu Nov 20 08:48:18 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Thu, 20 Nov 2003 17:48:18 +0100 Subject: [Mapserver-users] TypeError-Problem with Python Mapscript In-Reply-To: <200311201550.13026.bplatzen@sosnetz.de> References: <200311201550.13026.bplatzen@sosnetz.de> Message-ID: <200311201748.18620.bplatzen@sosnetz.de> OK, I've got it... On the webserver a symbol image that was part of a symbol defined in my symbols.sym has gone lost... I found out by calling my mapfile with the mapserver-cgi wich generated an error message. Maybe it would be a good idea to throw an Exception in Mapscript as well if something like this happens. Thanks to you, Sean and Michael! Bye, Bjoern Am Donnerstag, 20. November 2003 15:50 schrieb Bjoern Platzen: > Hi List, > > I just loaded my PyMapScript application onto the webserver. > > But now I get Errors, that I didn't get on my machine (They're both > SuSE Linux 8.0, Mapserver 3.6.5 & Mapscript compiled with the same > options). > > This is what I get on the shell: > >>> import mapscript > >>> mymap = > > mapscript.mapObj('/usr/local/httpd/htdocs/bauinfo/bauinfo.map') > > >>> mymap > > > > >>> ip=mymap.web.imagepath > > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj > > >>> mymap.__dict__ > > {'this': None, 'thisown': 1} > > >>> mymap.extent.minx > > Traceback (most recent call last): > File "", line 1, in ? > TypeError: Type error. Expected _p_mapObj > > It seems as if the mapObj() isn't built properly > -> > ^^^^^^ > I think there should be something like > -> > ^^^^^^^^^^^^^^^^^^ > > Has anyone an idea, of what could cause that the mapObj() isn't build > right? > > Any help would be great! > > Thanks, > > Bjoern. -- small office solutions info at sosnetz.de - http://www.sosnetz.de From m_anderson14 at hotmail.com Thu Nov 20 08:54:35 2003 From: m_anderson14 at hotmail.com (Michael Anderson) Date: Thu, 20 Nov 2003 16:54:35 +0000 Subject: [Mapserver-users] Sharing mapfiles between apps and shapefiles between layers Message-ID: Hello, I am setting up three web sites that get most of their layers from one shapefile. To make it easier to maintain, I'd like to create one map file defining all the layers, and in it create approximately ten layers that all use the same shapefile. I would create the different layers from the shapefile using either a filter, or by using an expression in the classes I want to display for each layer. I'm wondering about any performance penalty I might encounter doing it this way. Would it be more efficient to create separate shapefiles for each layer? Does it matter if I use a filter on the layer or an expression in the classes? Thanks for any advice you can give me. Mike _________________________________________________________________ Is there a gadget-lover on your gift list? MSN Shopping has lined up some good bets! http://shopping.msn.com From msmith at sanangelompo.org Thu Nov 20 09:25:38 2003 From: msmith at sanangelompo.org (Michael Smith) Date: Thu, 20 Nov 2003 11:25:38 -0600 Subject: [Mapserver-users] label angles In-Reply-To: <186259732655.20031119173217@justapi.de> Message-ID: That does not seem to work, I must be doing something wrong. Here is a portion of my map file can you or anyone tell me if this looks correct? LAYER NAME "Roads" GROUP "roads" STATUS ON DATA "tgrds" TYPE LINE LABELITEM "street" CLASS NAME "Streets & Roads" #this title appears in legend #SYMBOL 'symbols/ctyhwy.gif' TEMPLATE "tgrds.html" COLOR 0 0 0 #212 208 200 LABEL SIZE TINY #tinysmallmediumlargegiant POSITION UC ANGLE AUTO BUFFER 2 #40 how close label are to each other MINDISTANCE 150 MINFEATURESIZE 30 #FONT arial-bold #SIZE 12 COLOR 0 0 0 SHADOWCOLOR 218 218 218 SHADOWSIZE 2 2 END #label END # Class HEADER "tgrds_header.html" FOOTER "tgrds_footer.html" TOLERANCE 5 DUMP TRUE # allow GML export END # Layer -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Sebastian Albrecht Sent: Wednesday, November 19, 2003 10:32 AM To: Michael Smith Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] label angles Hi Michael, > I am running IIS 5.0, windows 2000, and Mapserver 4. Is there a way to get > my street labels to follow the curvature of the streets? Thanks in advance. Have a look at the Mapserver documentation. There is the ANGLE feature within the LABEL object. Set it to ANGLE AUTO and your labels will follow the curvature of your streets. I think you need to have mapserver compiled with truetype support and your layer has to be of type LINE. Regards, Sebastian Albrecht _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From humberto at pastoraldacrianca.org.br Thu Nov 20 09:38:04 2003 From: humberto at pastoraldacrianca.org.br (humberto at pastoraldacrianca.org.br) Date: Thu, 20 Nov 2003 15:38:04 -0200 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed In-Reply-To: <3FBCD834.7080708@pobox.com> References: <000c01c3aee9$049f7d40$2a670761@PD3042> <3FBCD834.7080708@pobox.com> Message-ID: <1069349884.3fbcfbfc65c5b@www.rebidia.org.br> Phil, if you have gdal instaled, try to run gdalinfo: gdalinfo name.tif here is a example from Markus Neteler A good idea is always to use 'gdalinfo' to get information about Projection, coordinate system, datum etc.: gdalinfo shdrlfi020l.tif Driver: GTiff/GeoTIFF Size is 10366, 7273 Coordinate System is: PROJCS["unnamed", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.2572235629972, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4326"]], PROJECTION["Lambert_Azimuthal_Equal_Area"], PARAMETER["latitude_of_center",45], PARAMETER["longitude_of_center",-100], PARAMETER["false_easting",0], PARAMETER["false_northing",0], UNIT["metre",1, AUTHORITY["EPSG","9001"]]] Origin = (-6086629.000000,4488761.000000) Pixel Size = (1000.000000,-1000.000000) Metadata: TIFFTAG_IMAGEDESCRIPTION=Color shaded relief of North America TIFFTAG_SOFTWARE=USGS DRG production software TIFFTAG_DATETIME=2003:02:06 13:19:34 TIFFTAG_XRESOLUTION=254 TIFFTAG_YRESOLUTION=254 TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch) Corner Coordinates: Upper Left (-6086629.000, 4488761.000) (156d 3'31.10"E, 37d45'55.65"N) Lower Left (-6086629.000,-2784239.000) (154d27'44.36"W, 3d 2'12.16"N) Upper Right ( 4279371.000, 4488761.000) ( 4d 0'23.08"W, 53d59'22.66"N) Lower Right ( 4279371.000,-2784239.000) ( 61d 9'32.19"W, 11d18'12.56"N) Center ( -903629.000, 852261.000) (113d12'19.80"W, 51d59'8.84"N) Band 1 Block=10366x1 Type=Byte, ColorInterp=Red Band 2 Block=10366x1 Type=Byte, ColorInterp=Green Band 3 Block=10366x1 Type=Byte, ColorInterp=Blue -> This is "Lambert_Azimuthal_Equal_Area". Cheers Markus Humberto Cereser Ibanez Pastoral da Crian?a - Brazil Citando Frank Warmerdam : > Phil Shevlin wrote: > > I have a map with a number of layers working. I am trying to include a > > raster layer (.tif). When I include the layer: > > > > LAYER > > NAME "Test" > > STATUS ON > > DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" > > TYPE RASTER > > TEMPLATE "template_hi.html" > > END > > > > The map shows but the layer does not appear. I am assuming that it is a > > projection problem. My extent is in degrees: > > > > EXTENT -81.917574 26.569844 -81.755026 26.691756 > > > > But the .tfw file appears otherwise: > > > > 4.00000000000000 > > 0.00000000000000 > > 0.00000000000000 > > -4.00000000000000 > > 669000.00000000000000 > > 855000.00000000000000 > > > > How do I go about including this layer? Or, can someone point me to some > > tutorials (I have found one that helps me). > > > > Phil, > > The raster is clearly in a different projection. You will need to establish > what coordinate system it is, and properly describe it with a PROJECTION > block > in the layer. You will also need an appropriate lat/long projectio block > for > the map level if your generated map is currently in lat/long. > > To know the coordinate system you will have to look at your dataset and > talk to whoever you got it from. > > Good luck, > > -- > ---------------------------------------+-------------------------------------- > I set the clouds in motion - turn up | Frank Warmerdam, > warmerdam at pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > ------------------------------------------------- E-Mail enviado pelo Webmail Pastoral da Crian?a usando IMP: http://horde.org/imp/ From sgillies at frii.com Thu Nov 20 09:43:44 2003 From: sgillies at frii.com (Sean Gillies) Date: Thu, 20 Nov 2003 10:43:44 -0700 Subject: [Mapserver-users] TypeError-Problem with Python Mapscript In-Reply-To: <200311201748.18620.bplatzen@sosnetz.de> Message-ID: <163075FC-1B81-11D8-8423-000393B98B56@frii.com> Bjoern, I think you said you are using MapServer 3.6? You should consider upgrading to 4.0.1. MapServer now will raise Python exceptions. Here's an example of trying to create a mapObj from an improper map file: Python 2.3 (#6, Sep 14 2003, 15:46:16) [GCC 3.1 20020420 (prerelease)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from mapscript import * >>> mapobj = mapObj('or.map') Traceback (most recent call last): File "", line 1, in ? File "/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- packages/mapscript.py", line 1819, in __init__ _swig_setattr(self, mapObj, 'this', apply(_mapscript.new_mapObj,args)) _mapscript.MapServerError: loadLayer(): General error message. Layer type not set. >>> It's explained it more detail here: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PythonMapScriptExceptions cheers, Sean On Thursday, November 20, 2003, at 09:48 AM, Bjoern Platzen wrote: > OK, I've got it... > > On the webserver a symbol image that was part of a symbol defined in my > symbols.sym has gone lost... > I found out by calling my mapfile with the mapserver-cgi wich generated > an error message. > > Maybe it would be a good idea to throw an Exception in Mapscript as > well > if something like this happens. > > Thanks to you, Sean and Michael! > > Bye, > > Bjoern > > Am Donnerstag, 20. November 2003 15:50 schrieb Bjoern Platzen: >> Hi List, >> >> I just loaded my PyMapScript application onto the webserver. >> >> But now I get Errors, that I didn't get on my machine (They're both >> SuSE Linux 8.0, Mapserver 3.6.5 & Mapscript compiled with the same >> options). >> >> This is what I get on the shell: >>>>> import mapscript >>>>> mymap = >> >> mapscript.mapObj('/usr/local/httpd/htdocs/bauinfo/bauinfo.map') >> >>>>> mymap >> >> >> >>>>> ip=mymap.web.imagepath >> >> Traceback (most recent call last): >> File "", line 1, in ? >> TypeError: Type error. Expected _p_mapObj >> >>>>> mymap.__dict__ >> >> {'this': None, 'thisown': 1} >> >>>>> mymap.extent.minx >> >> Traceback (most recent call last): >> File "", line 1, in ? >> TypeError: Type error. Expected _p_mapObj >> >> It seems as if the mapObj() isn't built properly >> -> >> ^^^^^^ >> I think there should be something like >> -> >> ^^^^^^^^^^^^^^^^^^ >> >> Has anyone an idea, of what could cause that the mapObj() isn't build >> right? >> >> Any help would be great! >> >> Thanks, >> >> Bjoern. > > -- > small office solutions > info at sosnetz.de - http://www.sosnetz.de > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From palle at mail-online.dk Thu Nov 20 12:29:57 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Thu, 20 Nov 2003 21:29:57 +0100 Subject: [Mapserver-users] label angles In-Reply-To: References: <186259732655.20031119173217@justapi.de> Message-ID: I think it needs to be truetype to do this. Try this: Add TYPE TRUETYPE FONT "arial-bold" (if you have a font of that name) SIZE 12 to your LABEL, then remove SIZE TINY (that's only for non-truetype fonts). Best Regards Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: "Michael Smith" To: , "Sebastian Albrecht" Date: Thu, 20 Nov 2003 11:25:38 -0600 Subject: RE: [Mapserver-users] label angles > That does not seem to work, I must be doing something wrong. Here is > a > portion of my map file can you or anyone tell me if this looks > correct? > > > LAYER > NAME "Roads" > GROUP "roads" > STATUS ON > DATA "tgrds" > TYPE LINE > LABELITEM "street" > CLASS > NAME "Streets & Roads" #this title appears in legend > #SYMBOL 'symbols/ctyhwy.gif' > TEMPLATE "tgrds.html" > COLOR 0 0 0 #212 208 200 > LABEL > SIZE TINY #tinysmallmediumlargegiant > POSITION UC > ANGLE AUTO > BUFFER 2 #40 how close label are to each other > MINDISTANCE 150 > MINFEATURESIZE 30 > #FONT arial-bold > #SIZE 12 > COLOR 0 0 0 > SHADOWCOLOR 218 218 218 > SHADOWSIZE 2 2 > END #label > END # Class > HEADER "tgrds_header.html" > FOOTER "tgrds_footer.html" > TOLERANCE 5 > DUMP TRUE # allow GML export > END # Layer > > -----Original Message----- > From: mapserver-users-admin at lists.gis.umn.edu > [mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of > Sebastian > Albrecht > Sent: Wednesday, November 19, 2003 10:32 AM > To: Michael Smith > Cc: mapserver-users at lists.gis.umn.edu > Subject: Re: [Mapserver-users] label angles > > > Hi Michael, > > > I am running IIS 5.0, windows 2000, and Mapserver 4. Is there a > way to > get > > my street labels to follow the curvature of the streets? Thanks in > advance. > > Have a look at the Mapserver documentation. > There is the ANGLE feature within the LABEL object. > Set it to ANGLE AUTO and your labels will follow the curvature of > your > streets. I think you need to have mapserver compiled with truetype > support and your layer has to be of type LINE. > > Regards, > Sebastian Albrecht > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From stephen.clark at focus.ca Thu Nov 20 13:51:33 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Thu, 20 Nov 2003 13:51:33 -0800 Subject: [Mapserver-users] Frames References: Message-ID: <008b01c3afb0$78c64330$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0087_01C3AF6D.686DFAC0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0088_01C3AF6D.686DFAC0" ------=_NextPart_001_0088_01C3AF6D.686DFAC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MessageDavid, Would you be willing to put together a sample or how-to on the setup of = a frame interface with a tree structure. I have ssome sample files I have attached. I would be willing to write a doc page for the mapserver site for the = rest of the list community. thanks Stephen ----- Original Message -----=20 From: Lowther, David W=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Tuesday, September 09, 2003 4:37 AM Subject: RE: [Mapserver-users] Frames Steve, We use frames for our mapserver apps (www.geo.ou.edu click interactive = mapper). There needs to be a form (say MAPSERV form) in a frame that is = not the map frame that targets the map frame. When the map frame loads, = it needs to push relevant values to the MAPSERV form: parent.framename.MAPSERV.imgext.value =3D "[mapext]"; parent.framename.MAPSERV.centerx.value =3D "[center_x]"; parent.framename.MAPSERV.centery.value =3D "[center_y]"; You may need to push something else, but these are the basics. We = chose to put our MAPSERV form in the frame that held the legend / active = layer / layer visible controls because that was the majority of the = form. In other words, it was easier to write imgext, centerx, and = centery to the MAPSERV form then to write each layer's status. Here's a general outline of our setup: toolFrame: zoom in, zoom out, zoom full, pan, identify, etc... each tool fires javascript that sets some status in the MAPSERV form = (mode, zoomsize, etc...) in preparation for that tool's map click or = drag. legendFrame: holds MAPSERV form containing everything from layerstatus to mapsize. this form is submitted anytime anything happens involving mapserver, = but it NEVER is targeted to itself so it can maintain state. mapFrame: targeted from MAPSERV form for map status changes (extent, layers, = mapsize, etc..) onload pushes values from the map to legendFrame, toolFrame , whatever = necessary. idFrame: targeted from MAPSERV form for itemquery / identify results or any = results that are not a map and are small enough not to need their own = window. I'd love to be able to tell you that it was easy to get all these = frames talking with each other, but if you persevere I think it (the = interface that results) is worth it. And my 2 cents on javascript is: if you can write more than one line = per hour per supported browser, you are doing well... Good luck! David Lowther=20 Software Engineer=20 GEO Information Systems=20 University of Oklahoma=20 dlowther at ou.edu=20 (405) 325-3131=20 http://www.geo.ou.edu=20 -----Original Message----- From: Steve McCrone [mailto:ms57 at streamyx.com]=20 Sent: Monday, September 08, 2003 8:57 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Frames Hi All, I've tried (with no luck) to implement a simple mapserver app. using = frames, but since I am a novice in Javascript, I need your help. I have a launching app called demo_init.html that contains -=20
And I have the file Demo.html -=20 and a few other mapserver lines like -=20
----- Original Message -----
From:=20 Lowther, = David W=20
To: mapserver-users at lists.g= is.umn.edu=20
Sent: Tuesday, September 09, = 2003 4:37=20 AM
Subject: RE: [Mapserver-users]=20 Frames

Steve,
 
We=20 use frames for our mapserver apps (www.geo.ou.edu click interactive = mapper).=20 There needs to be a form (say MAPSERV form) in a frame that is = not the=20 map frame that targets the map frame. When the map frame loads, it = needs to=20 push relevant values to the MAPSERV form:
 
  parent.framename.MAPSERV.imgext.va= lue =3D=20 "[mapext]";
  parent.framename.MAPSERV.centerx.value =3D=20 "[center_x]";
  parent.framename.MAPSERV.centery.value = =3D=20 "[center_y]";
You=20 may need to push something else, but these are the basics. We chose to = put our=20 MAPSERV form in the frame that held the legend / active layer / layer = visible=20 controls because that was the majority of the form. In other words, it = was=20 easier to write imgext, centerx, and centery to the MAPSERV form then = to write=20 each layer's status.
 
Here's a general outline of our = setup:
 
toolFrame:
zoom=20 in, zoom out, zoom full, pan, identify, etc...
each=20 tool fires javascript that sets some status in the MAPSERV form (mode, = zoomsize, etc...)  in preparation for that tool's map click or=20 drag.
 
legendFrame:
holds MAPSERV form containing everything from layerstatus to=20 mapsize.
this=20 form is submitted anytime anything happens involving mapserver, but it = NEVER=20 is targeted to itself so it can maintain state.
 
mapFrame:
targeted from MAPSERV form for map status changes (extent, = layers,=20 mapsize, etc..)
onload pushes values from the map to legendFrame, toolFrame , = whatever=20 necessary.
 
idFrame:
targeted from MAPSERV form for itemquery / identify = results or any=20 results that are not a map and are small enough not to need their own=20 window.
 
I'd=20 love to be able to tell you that it was easy to get all these frames = talking=20 with each other, but if you persevere I think it (the interface that = results)=20 is worth it.
 
And=20 my 2 cents on javascript is: if you can write more than one line per = hour per=20 supported browser, you are doing well...
 
Good=20 luck!

David Lowther
Software Engineer
GEO = Information=20 Systems
University of = Oklahoma=20
dlowther at ou.edu
(405) 325-3131
http://www.geo.ou.edu=20


-----Original Message-----
From: = Steve McCrone=20 [mailto:ms57 at streamyx.com]
Sent: Monday, September 08, = 2003 8:57=20 PM
To: = mapserver-users at lists.gis.umn.edu
Subject:=20 [Mapserver-users] Frames

Hi All,
 
I've tried (with no luck) to = implement a simple=20 mapserver app. using frames, but since I am a novice in Javascript, = I need=20 your help.
 
I have a launching app called = demo_init.html=20 that contains -
 
<form method=3DGET name =3D = "mapserv"=20 action=3D"/cgi-bin/mapserv.exe">
<input type=3D"hidden" = name=3D"map"=20 value=3D"C:\Inetpub\wwwroot\demo.map">
<input = type=3D"hidden"=20 name=3D"layer" value=3D"roads">
<input type=3D"hidden" = name=3D"zoomsize"=20 value=3D2>
<input type=3D"hidden" name=3D"program"=20 value=3D"/cgi-bin/mapserv.exe">
<input type=3D"hidden"=20 name=3D"map_web_imagepath" = value=3D"C:\inetpub\wwwroot\tmp\">
<input=20 type=3D"hidden" name=3D"map_web_imageurl" value=3D"/tmp/">
<center><input type=3D"submit"=20 value=3D"Initialize"></center>
 
And I have the file Demo.html -
 
<form method=3DGET action=3D"[program]">
<INPUT = NAME=3D"img"=20 TYPE=3D"image" SRC=3D"[img]" width=3D600 height=3D600 = border=3D0>
 
and a few other mapserver lines like -
 
<option value=3D"roads" [roads_select]> = Roads
<INPUT=20 NAME=3D"ref" TYPE=3D"image" SRC=3D"[ref]" border=3D"0">
 
etc.
 
In my map file, I have -
 
TEMPLATE = Demo.html
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Now, I created a Main.html that has two frames (Left and = Right)
 
<FRAMESET cols=3D"230,*">
  <FRAME src=3D"http://localhost/LeftFrame.html<= /A>"=20 name=3D"Left" >
  <FRAME src=3D"http://localhost/Demo.html"=20 name=3D"Demo">
</FRAMESET>
 
And changed the map file to -
TEMPLATE Main.html
=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 
But this does not work. any help would be welcomed!
 
Thanks

=

 
------=_NextPart_001_0088_01C3AF6D.686DFAC0-- ------=_NextPart_000_0087_01C3AF6D.686DFAC0 Content-Type: text/html; name="menudisplay.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="menudisplay.html"

<-- specify location of tree javascript file -->



------=_NextPart_000_0087_01C3AF6D.686DFAC0 Content-Type: text/html; name="mapwindow-02.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mapwindow-02.html" MapServer =20
 Powered by MapServer

Legend


------=_NextPart_000_0087_01C3AF6D.686DFAC0 Content-Type: application/x-zip-compressed; name="mds_tree.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment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KKP1kYGRiYGXRAoiB5BibxOflNp9+unTdH55K27j3vnx8z73hMe+YpxmANAFBLAwQU AAAACACFfVAr7j6XNkUAAABJAAAAGwAAAG1kc190cmVlL2ltZy9qb2luYm90dG9tLmdpZnP3dLOw TBRmEGCYyAAC////b2hoAJKKP1kYGRiYGXRAoiB5BiapOflNp9+unTdH55K27j3vnx8zZUymdUZ2 aQQxMFgDAFBLAwQUAAAACAC6fVAr2AKvh0EAAABGAAAAFQAAAG1kc190cmVlL2ltZy9saW5lLmdp ZnP3dLOwTBRmEGCYyAAC////b2hoAJKKP1kYGRiYGXRAoiB5BibxOflNp9+unTdH55K27j3vz+9r ozXiUipFGKwBUEsDBBQAAAAIALF9UCvLGL1kUQAAAFUAAAAWAAAAbWRzX3RyZWUvaW1nL21pbnVz LmdpZnP3dLOwTBRmEGCYyAAC////b2hoAJKKP1kYGRiYGXRAoiB5Bia1OflNp9+unTfH80Z2aoz0 r+uyiuYMyyw1srp6dH5YrtNOkmg9/TOOgcEaAFBLAwQUAAAACACqfVAri38ZoVEAAABVAAAAHAAA AG1kc190cmVlL2ltZy9taW51c2JvdHRvbS5naWZz93SzsEwUZhBgmMgAAv///29oaACSij9ZGBkY mBl0QKIgeQYmtTn5Taffrp03x/NGdmqM9K/rsormDMssNbK6enR+WK7TTpJoff4rmIHBGgBQSwME FAAAAAgAdAdRK80YDdShAAAAqQAAABUAAABtZHNfdHJlZS9pbWcvcGFnZS5naWZz93SzsEwUZhBg 2MwAAv///3/+/Nr//9+B4P379+fOnZszZ05LS0txcXFQUJChoSFQAQMMKP5kYWRg4GHQAXFAZjCw hE046antapFe3fz/4MICISGejCoW5fRlKzed0Zsj5X4prMOXh/XOO6bfglxMhwsuSf9pYFqyaZqW w+TTQaJaZ41mhakIveYSOZa8iTUxY/f9uJYkv/XVnhWeLAzWAFBLAwQUAAAACACdfVArzH5ayFYA AABaAAAAFQAAAG1kc190cmVlL2ltZy9wbHVzLmdpZnP3dLOwTBRmEGCYyAAC////b2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3RyZWUvaW1nL21pbnVzYm90dG9tLmdpZlBLAQIUABQAAAAIAHQHUSvNGA3UoQAAAKkAAAAVAAAA AAAAAAAAAAC2gVQFAABtZHNfdHJlZS9pbWcvcGFnZS5naWZQSwECFAAUAAAACACdfVArzH5ayFYA AABaAAAAFQAAAAAAAAAAAAAAtoEoBgAAbWRzX3RyZWUvaW1nL3BsdXMuZ2lmUEsBAhQAFAAAAAgA pX1QK4zxXRpWAAAAWQAAABsAAAAAAAAAAAAAALaBsQYAAG1kc190cmVlL2ltZy9wbHVzYm90dG9t LmdpZlBLAQIUABQAAAAIABh09yyAzVcBfAMAAGEHAAAZAAAAAAAAAAEAAAC2gUAHAABtZHNfdHJl ZS9tZW51ZGlzcGxheS5odG1sUEsBAhQAFAAAAAgAF0P3LK3Sus5HBQAAiAsAABcAAAAAAAAAAQAA ALaB8woAAG1kc190cmVlL21lbnVzcmNfbmF0LmpzUEsBAhQACgAAAAAA0lJkLQAAAAAAAAAAAAAA AA4AAAAAAAAAAAAQAP9BbxAAAG1kc190cmVlL3RyZWUvUEsBAhQAFAAAAAgA4nSoLLGC1+qeAAAA 2QAAABYAAAAAAAAAAQAAALaBmxAAAG1kc190cmVlL3RyZWUvdHJlZS5jc3NQSwECFAAUAAAACABv Q/csBcIfrCQIAAAAHQAAFgAAAAAAAAABAAAAtoFtEQAAbWRzX3RyZWUvdHJlZS90cmVlMy5qc1BL AQIUAAoAAAAAANJSZC0AAAAAAAAAAAAAAAAJAAAAAAAAAAAAEAD/QcUZAABtZHNfdHJlZS9QSwUG AAAAABMAEwADBQAA7BkAAAAA ------=_NextPart_000_0087_01C3AF6D.686DFAC0 Content-Type: text/html; name="mapviewer.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="mapviewer.html" Mapserver <body> <p>This page uses frames, but your browser doesn't support them. = Please contact the <a = href=3D"mailto:stephen.clark at focus.ca">webmaster</a> for more = information.</p> </body> ------=_NextPart_000_0087_01C3AF6D.686DFAC0-- From gsw at globexplorer.com Thu Nov 20 13:03:57 2003 From: gsw at globexplorer.com (Gregory S. Williamson) Date: Thu, 20 Nov 2003 13:03:57 -0800 Subject: [Mapserver-users] label angles Message-ID: <71E37EF6B7DCC1499CEA0316A2568328010573D8@loki.wc.globexplorer.net> I think you need to use truetype and not bitmaps for auto angle to work. Here is an excerpt from a file that works for me (Windows OS, MS 3.x): NAME SSF STATUS ON SIZE 600 600 EXTENT 542724.08 4173551.37 557476.48 4187315.33 UNITS METERS SHAPEPATH "DATA" FONTSET "D:\Program Files\Apache Group\Apache2\htdocs\ssf\fonts\fonts.list" This is the literal path; the fonts.list file is a simple file: arial arial.ttf arial-bold arialbd.ttf garamond gara.ttf garamond-bold garabd.ttf The fonts (arial.ttf, etc. are all in that same directory). Then when I have a line layer: LAYER NAME streets_ano1 GROUP streets MINSCALE 5000 MAXSCALE 50000 STATUS OFF DATA roads TYPE ANNOTATION LABELCACHE ON CLASS COLOR 10 150 150 TEXT ([FENAME] [FETYPE]) LABEL ANGLE auto ANTIALIAS true MINFEATURESIZE 25 MINDISTANCE 100 POSITION CC TYPE TRUETYPE FONT arial-bold SIZE 9 BUFFER 5 COLOR 255 255 255 OUTLINECOLOR 0 0 0 END END PROJECTION "init=epsg:4269" END END # County streets upper Note the SIZE is a number (for trutype) and the font name is in the fonts.list file. This seems to behave as advertised. HTH, Greg Williamson DBA GlobeXplorer LLC -----Original Message----- From: Michael Smith [mailto:msmith at sanangelompo.org] Sent: Thu 11/20/2003 9:25 AM To: mapserver-users at lists.gis.umn.edu; Sebastian Albrecht Cc: Subject: RE: [Mapserver-users] label angles That does not seem to work, I must be doing something wrong. Here is a portion of my map file can you or anyone tell me if this looks correct? LAYER NAME "Roads" GROUP "roads" STATUS ON DATA "tgrds" TYPE LINE LABELITEM "street" CLASS NAME "Streets & Roads" #this title appears in legend #SYMBOL 'symbols/ctyhwy.gif' TEMPLATE "tgrds.html" COLOR 0 0 0 #212 208 200 LABEL SIZE TINY #tinysmallmediumlargegiant POSITION UC ANGLE AUTO BUFFER 2 #40 how close label are to each other MINDISTANCE 150 MINFEATURESIZE 30 #FONT arial-bold #SIZE 12 COLOR 0 0 0 SHADOWCOLOR 218 218 218 SHADOWSIZE 2 2 END #label END # Class HEADER "tgrds_header.html" FOOTER "tgrds_footer.html" TOLERANCE 5 DUMP TRUE # allow GML export END # Layer -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu]On Behalf Of Sebastian Albrecht Sent: Wednesday, November 19, 2003 10:32 AM To: Michael Smith Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] label angles Hi Michael, > I am running IIS 5.0, windows 2000, and Mapserver 4. Is there a way to get > my street labels to follow the curvature of the streets? Thanks in advance. Have a look at the Mapserver documentation. There is the ANGLE feature within the LABEL object. Set it to ANGLE AUTO and your labels will follow the curvature of your streets. I think you need to have mapserver compiled with truetype support and your layer has to be of type LINE. Regards, Sebastian Albrecht _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From blewis at atsincorp.com Thu Nov 20 13:51:21 2003 From: blewis at atsincorp.com (Ben Lewis) Date: Thu, 20 Nov 2003 16:51:21 -0500 Subject: [Mapserver-users] Mapserver and .NET Message-ID: <248491BE875FBE40B765CC47E419144BAADA@mosespa.ats.atsincorp.com> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3AFB0.6F53181C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable All -=20 Does anyone know whether a .NET wrapper for MapServer has been = developed? If not can anyone give me an idea of the level of difficulty = of developing such a thing? Thank you. =20 - Ben =20 ------_=_NextPart_001_01C3AFB0.6F53181C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message

All -=20
Does=20 anyone know whether a .NET wrapper for MapServer has been = developed?  If=20 not can anyone give me an idea of the level of difficulty of developing = such a=20 thing?
Thank=20 you.
 
 - Ben
 
------_=_NextPart_001_01C3AFB0.6F53181C-- From murilo.yoshida at agx.com.br Thu Nov 20 15:26:29 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Thu, 20 Nov 2003 21:26:29 -0200 Subject: [Mapserver-users] WMS and Query Question ... Message-ID: <000001c3afbd$b9b19a90$1364a8c0@parapente> This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C3AFAC.F628CA90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Greetings, I started using mapsever for about a month. After all the work to install the program, I started using it, first using the mapserv cgi, but now I am much more interested in the php/mapscript version. Now I am facing a problem. I downloaded that gmap demo to teste my installation. I tested it, it's ok. Then I started to use that as a model to build my own application. But I found that demo way too complicated, so I started from the demos in the mapserver installation (test_draw_legend_icon I guess). I was starting to build the query part of my application, so I searched in the web for a model, no success, so I tried to understand how the gmap query works. Now comes the question: The gmap query apparently works with the getWMSFeatureURL function (I'm not sure about this, correct me if I'm wrong, please!!). I searched in the web again, this time looking for "what is WMS?". No success again. So I ask you guys, can you explain this for me? Another question: I don't know if my shape, map or whatever is WMS, how do I know this? And another question: Is there a query model in the web? Like that legend model in the mapserver wiki? Thanks, Murilo ------=_NextPart_000_0001_01C3AFAC.F628CA90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

  Greetings,

 

  I started using mapsever for about a month. After all the work to install the program, I started = using it, first using the mapserv cgi, but now I am much more interested in the php/mapscript version.

  Now I am facing a = problem… I downloaded that gmap demo to teste my installation. I tested it, it’s ok. Then I started to use that = as a model to build my own application. But I found that demo way too = complicated, so I started from the demos in the mapserver installation (test_draw_legend_icon I = guess).

  I was starting to build the = query part of my application, so I searched in the web for a model, no success, so = I tried to understand how the gmap query = works.

  Now comes the question: The = gmap query apparently works with the getWMSFeatureURL function (I’m not sure about this, correct me if I’m wrong, please!!). I searched in the web again, this time looking for = “what is WMS?”. No success again… So I ask = you guys, can you explain this for me?

  Another question: I don’t = know if my shape, map or whatever is WMS, how do I know = this?

  And another question: Is there = a query model in the web? Like that legend model in the mapserver wiki?

  = Thanks,

    = Murilo

------=_NextPart_000_0001_01C3AFAC.F628CA90-- From ASeifert at schwerin.de Thu Nov 20 21:42:10 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Fri, 21 Nov 2003 06:42:10 +0100 Subject: [Mapserver-users] ld32: ERROR 33 Message-ID: Hi folks, what means ld32: ERROR 33 Do you need more info? Mapserver 4.0.1 IRIX 6.5 gcc 3.3 echo "# configure ###########################################################" ./configure \ --with-tiff=/usr/local\ --with-png=/usr/local\ --with-jpeg=/usr/local\ --with-gdal=/usr/local/bin/gdal-config\ --with-gd=/usr/local echo "# make ################################################################" make # configure ########################################################### creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... : checking for flex... flex checking for yywrap in -lfl... no checking for bison... bison -y checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for exp in -lm... yes checking for __gxx_personality_v0 in -lstdc++... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking whether we should include JPEG support... using libjpeg from system -L/usr/local/lib -ljpeg checking where FreeType 2.x is installed... checking for FT_Init_FreeType in -lfreetype... no freetype-config or libfreetype cannot be found, possibly needed for GD checking where Zlib is installed... checking for zlibVersion in -lz... yes using libz from system libs. checking where PNG is installed... using libpng from -L/usr/local/lib -lpng checking where libXpm is installed... checking for XpmFreeXpmImage in -lXpm... yes using libXpm from system libs. checking where libiconv is installed... checking for libiconv_open in -liconv... no libiconv library cannot be found, possibly needed for GD checking for GD 2.0.12 or higher... checking for gdImageSetAntiAliased in -lgd... yes using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 checking for gdImageGif in -lc... no checking for gdImagePng in -lc... yes checking for gdImageJpeg in -lc... yes checking for gdImageWBMP in -lc... yes checking for gdImageStringFT in -lc... yes checking for gdImageGifPtr in -lc... no using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT) from /usr/local. checking whether we should include PDF support... checking for PDF_setlinewidth in -lpdf... no checking for PDF_setrgbcolor in -lpdf... no checking for PDF_moveto in -lpdf... no checking for PDF_curveto in -lpdf... no checking for PDF_show_xy in -lpdf... no libpdf not found... PDF support not included. checking whether we should include TIFF support... using libtiff from -L/usr/local/lib -ltiff. checking whether we should include EPPL7 support... including EPPL7 support. checking whether we should include PROJ.4 support... PROJ.4 support not requested. checking whether we should include thread safe support... thread safe support disabled. checking whether we should include ESRI SDE support... ESRI SDE support not requested. checking whether we should compile in MPATROL support... MPATROL support not requested. checking whether we should include OGR support... OGR support not requested. checking if GDAL support requested... yes, user supplied gdal-config (/usr/local/bin/gdal-config) checking if PostGIS support requested... no checking if MyGIS support requested... no checking if OracleSpatial support requested... no checking if MING/Flash support requested... no checking whether we should include WMS Server support... OGC WMS Compatibility not enabled (PROJ.4 is required for WMS). checking whether we should include WFS Server support... OGC WFS Server support not requested. checking whether we should include WMS Client Connections support... OGC WMS Client Connections not enabled (PROJ.4 and libcurl required). checking whether we should include WFS Client Connections support... OGC WFS Client Connections not enabled (PROJ.4, libcurl and OGR required). checking for curl-config checking HTTPD server (Apache) version checking for httpd... no 'httpd' not found, skipping Apache version detection. You may want to use --with-httpd=/path/to/httpd Compiling with -DIGNORE_MISSING_DATA. checking whether we should enable debug features... checking for PHP/MapScript module options... PHP/MapScript module not configured. updating cache ./config.cache creating ./config.status creating Makefile # make ################################################################ gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maptemplate.c -o maptemplate.o maptemplate.c: In function `generateLegendTemplate': maptemplate.c:1350: Warnung: long int format, different type arg (arg 3) gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapbits.c -o mapbits.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maphash.c -o maphash.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapshape.c -o mapshape.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapxbase.c -o mapxbase.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapparser.c -o mapparser.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplexer.c -o maplexer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maptree.c -o maptree.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsearch.c -o mapsearch.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapstring.c -o mapstring.o mapstring.c: In function `msEncodeUrl': mapstring.c:408: Warnung: subscript has type `char' mapstring.c:419: Warnung: subscript has type `char' gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsymbol.c -o mapsymbol.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapfile.c -o mapfile.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplegend.c -o maplegend.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maputil.c -o maputil.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapscale.c -o mapscale.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapquery.c -o mapquery.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplabel.c -o maplabel.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maperror.c -o maperror.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapprimitive.c -o mapprimitive.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapproject.c -o mapproject.o mapproject.c: In function `msGetEPSGProj': mapproject.c:429: Warnung: return makes pointer from integer without a cast gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapraster.c -o mapraster.o mapraster.c: In function `readGEOTiff': mapraster.c:304: Warnung: dereferencing type-punned pointer will break strict-aliasing rules mapraster.c:308: Warnung: dereferencing type-punned pointer will break strict-aliasing rules gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapsde.c -o mapsde.o c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapogr.cpp -o mapogr.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mappostgis.c -o mappostgis.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapmygis.c -o mapmygis.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maplayer.c -o maplayer.o maplayer.c: In function `msLayerWhichItemsNew': maplayer.c:629: Warnung: unused variable `i' gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapresample.c -o mapresample.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwms.c -o mapwms.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwmslayer.c -o mapwmslayer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maporaclespatial.c -o maporaclespatial.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgml.c -o mapgml.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapprojhack.c -o mapprojhack.o mapprojhack.c:71: Warnung: `ConvertProjUnitStringToMS' defined but not used gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapthread.c -o mapthread.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapdraw.c -o mapdraw.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgd.c -o mapgd.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapoutput.c -o mapoutput.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgdal.c -o mapgdal.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapswf.c -o mapswf.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapimagemap.c -o mapimagemap.o mapimagemap.c:59: Warnung: `searchImageCache' defined but not used mapimagemap.c:89: Warnung: `addImageCache' defined but not used mapimagemap.c:333: Warnung: `imageOffsetPolyline' defined but not used mapimagemap.c:364: Warnung: `imagePolyline' defined but not used mapimagemap.c:1392: Warnung: `billboardIM' defined but not used gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapows.c -o mapows.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwfs.c -o mapwfs.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapwfslayer.c -o mapwfslayer.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapcontext.c -o mapcontext.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include maphttp.c -o maphttp.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapdrawgdal.c -o mapdrawgdal.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mappdf.c -o mappdf.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapjoin.c -o mapjoin.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapgraticule.c -o mapgraticule.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include mapcopy.c -o mapcopy.o gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include epplib.c -o epplib.o ar rc libmap.a 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 mapmygis.o maplayer.o mapresample.o mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o mapdraw.o mapgd.o mapoutput.o mapgdal.o mapswf.o mapimagemap.o mapows.o mapwfs.o mapwfslayer.o mapcontext.o maphttp.o mapdrawgdal.o mappdf.o mapjoin.o mapgraticule.o mapcopy.o epplib.o : libmap.a gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include 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 -DUSE_GDAL -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include shp2img.o -L. -lmap -L/usr/local/lib -lgd -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ltiff -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ljpeg /usr/local/lib/ogrsf_frmts.a /usr/local/lib/gdal.a /usr/local/lib/ogr.a /usr/local/lib/gdal.a /usr/local/lib/cpl.a -L/usr/local -L/usr/local/lib -ljpeg -L/usr/local/lib -ltiff -L/usr/local -L/usr/local/lib -lpng -L/usr/local -L/usr/local -lz -lm -ldl -lm -lm -lstdc++ -o shp2img ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/ogrsf_frmts.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/gdal.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/local/lib/cpl.a is not used for resolving any symbol. ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::OGRSpatialReference[in-charge](char const*)" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::importFromWkt(char**)" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "OGRSpatialReference::~OGRSpatialReference [in-charge]()" -- 1st referenced by ./libmap.a(mapogr.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "operator delete(void *)" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "operator new(unsigned int)" -- 1st referenced by /usr/local/lib/gdal.a(gdalrasterband.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__vec_new_eh2" -- 1st referenced by /usr/local/lib/gdal.a(ddfmodule.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__vec_delete2" -- 1st referenced by /usr/local/lib/gdal.a(ddfmodule.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__nwa(unsigned int)" -- 1st referenced by /usr/local/lib/gdal.a(ddfrecord.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__dla(void *)" -- 1st referenced by /usr/local/lib/gdal.a(ddfrecord.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol "__pure_virtual_called" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: ERROR 33 : Unresolved data symbol "type_info::__vtbl(void)" -- 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: INFO 152: Output file removed because of error. collect2: ld returned 2 exit status *** Fehlercode 1 (bu21) best regards, Andre Mail scanned by virusscanner, Patternfile from 19 Nov 2003 From christina.biakowski at ccgis.de Fri Nov 21 00:21:53 2003 From: christina.biakowski at ccgis.de (Christina Biakowski) Date: Fri, 21 Nov 2003 09:21:53 +0100 Subject: AW: [Mapserver-users] Problems with tiff In-Reply-To: Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C3B010.E701B540 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Stefan, just an idea, might be this is a problem of the assigned directory rights. Check if within the path to the raster data for every directory the rights are set to "x". Christina -----Ursprungliche Nachricht----- Von: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Stefan Wiegand Gesendet: Donnerstag, 20. November 2003 15:48 An: woodbri at swoodbridge.com Cc: mapserver-users at lists.gis.umn.edu Betreff: Re: [Mapserver-users] Problems with tiff Thank you Steve for this hint, I renamed the *tfw to *.wld, but the mapserver also stops with the error message readWorldFile(): Unable to access file. Unable to open world file for reading. The cygwin mapserver accepts the *.tfw files for *.tiff without any problems. Mmmh >Mapserver expects tiff world files to have the extension *.wld so >rename your *.tfw to *.wld and you should be all set. > >-Steve W ------=_NextPart_000_0011_01C3B010.E701B540 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello=20 Stefan,
just=20 an idea, might be this is a problem of the assigned directory rights. = Check if=20 within the path to the raster data for every directory the rights are = set to=20 "x".
Christina
 
 -----Ursprüngliche=20 Nachricht-----
Von: mapserver-users-admin at lists.gis.umn.edu=20 [mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von = Stefan=20 Wiegand
Gesendet: Donnerstag, 20. November 2003 = 15:48
An:=20 woodbri at swoodbridge.com
Cc:=20 mapserver-users at lists.gis.umn.edu
Betreff: Re: = [Mapserver-users]=20 Problems with tiff


Thank you Steve for = this hint,=20

I renamed the *tfw = to *.wld,=20 but the mapserver also stops with the error message =

readWorldFile(): Unable to access file. = Unable to=20 open world file for reading.

The cygwin mapserver accepts the *.tfw files for *.tiff = without any=20 problems.

Mmmh=20

>Mapserver expects tiff = world files=20 to have the extension *.wld so
>rename your *.tfw to *.wld and = you=20 should be all set.
>
>-Steve = W
------=_NextPart_000_0011_01C3B010.E701B540-- From albin.blaschka at sbg.ac.at Fri Nov 21 00:30:49 2003 From: albin.blaschka at sbg.ac.at (Albin Blaschka) Date: Fri, 21 Nov 2003 09:30:49 +0100 Subject: [Mapserver-users] Problems with tiff In-Reply-To: References: Message-ID: <3FBDCD39.3040402@sbg.ac.at> Stefan Wiegand schrieb: > readWorldFile(): Unable to access file. Unable to open world file for > reading. > Hello, Maybe there is something wrong with the file-permissions? Under which user runs the Web-Server, who owns the files... probably the worldfile has to be world-readable even maybe executable, and not to forget the directories... HTH, Albin From fx.gamoy at mapxplore.com Fri Nov 21 02:48:38 2003 From: fx.gamoy at mapxplore.com (fx gamoy) Date: Fri, 21 Nov 2003 10:48:38 -0000 Subject: [Mapserver-users] msdrawshape : amazing error Message-ID: <001001c3b01d$05857b80$0201a8c0@mapxplore.com> C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_000D_01C3B01D.05157BA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable hello everybody i am using a binary release of maserver3.6.6. I use tileindex method over 3 Go of shape datas. Everything works fine until i get : MapServer Error in msDrawShape(): Only polygon or line shapes can be = drawn using a line layer definition The shape files looks fine. I ve taken a look to the list in order to find the same case. i ve found = several threads http://mapserver.gis.umn.edu/cgi-bin/wilma_hiliter/mapserver-users/0204/m= sg00124.html i found the layer which occur the problem there is probably a null shape in it how can i clean this file? Any suggestion? thanks=20 fx=20 ------=_NextPart_000_000D_01C3B01D.05157BA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
hello everybody
i am using a binary release of=20 maserver3.6.6.
I use tileindex method over 3 Go of = shape=20 datas.
Everything works fine until i get = :
MapServer Error in msDrawShape(): Only polygon or line shapes can = be drawn=20 using a line layer definition
 
The shape files looks = fine.
I ve taken a look to the list in order = to find the=20 same case. i ve found several threads
http://mapserver.gis.umn.edu/cgi-bin/wilma_hiliter/= mapserver-users/0204/msg00124.html
i found the  layer which occur the = problem
there is probably a null shape in = it
how can i clean this = file?
Any suggestion?
thanks
fx 
------=_NextPart_000_000D_01C3B01D.05157BA0-- From s.wiegand at kdvz.de Fri Nov 21 02:33:30 2003 From: s.wiegand at kdvz.de (Stefan Wiegand) Date: Fri, 21 Nov 2003 11:33:30 +0100 Subject: [Mapserver-users] Problems with tiff Message-ID: This is a multipart message in MIME format. --=_alternative 003A3013C1256DE5_= Content-Type: text/plain; charset="us-ascii" Thank you Christina and Albin for your response, but the file permissons are the same as the other arcview themes which are displayed correct. I have also copied an arcview theme into the raster directory and this one was displayed. Is it possible, that the mapserver prompts input=tiff but there are problems with tiff on system side? I configured the maserver with --with-tiff=/root/tiff-v3.5.7/libtiff, where all mapserver sources are stored. Best regards and thanks in advance Stefan --=_alternative 003A3013C1256DE5_= Content-Type: text/html; charset="us-ascii"
Thank you Christina and Albin for your response,

but the file permissons are the same as the other arcview themes which are displayed correct. I have also copied an arcview theme into the raster directory and this one was displayed.

Is it possible, that the mapserver prompts input=tiff but there are problems with tiff on system  side? I configured the maserver with
--with-tiff=/root/tiff-v3.5.7/libtiff, where all mapserver sources are stored.

Best regards and thanks in advance

Stefan --=_alternative 003A3013C1256DE5_=-- From info at geo-it.com Fri Nov 21 03:12:19 2003 From: info at geo-it.com (GeoIT) Date: Fri, 21 Nov 2003 12:12:19 +0100 Subject: [Mapserver-users] Mapserver as WMS-client and authentication Message-ID: <9138808AB827D311B56800E018900A61177639@gdppdc.gdp.com> Hi list, I'm using Mapserver as WMS-client and I'm accessing several other WMS, e.g. from Esri and Intergraph. They use basic authentication to secure the data. The problem: How I can tell Mapserver (V.3.6, Maplab 2.01) to send user and password ? Sending it as http://user:pwd at ..... Via the browser works, but if I add it to CONNECTION-URL in the mapfile, a blank image is coming back. Is there any other possibility to access secured layers from other WMS ? Thanks in advance, Daniel ************************************************************************* Geo-IT GmbH - Geoinformatik, IT-Services Guggenberg 3, D-82380 Peissenberg Tel: 08803-498372, Fax: 08803-498373 eMail: info at geo-it.com - Homepage: http://www.geo-it.com ************************************************************************* From benvenuto.bertacco at seat.it Fri Nov 21 03:18:56 2003 From: benvenuto.bertacco at seat.it (Benvenuto Bertacco) Date: Fri, 21 Nov 2003 12:18:56 +0100 Subject: [Mapserver-users] Distorted maps Message-ID: Hello, I need to use Mapserver to display maps very far from America, and it seems that the projection settings are choosen to optimize display of USA maps. In fact I get very distorted maps with geographical data located in Italy. Changing the projection system in the map file doesn't sort any effect, also tried to change the proj_def.dat but either got no effect. Any help wuold be appreciated. Benvenuto From schut at sarvision.com Fri Nov 21 04:19:48 2003 From: schut at sarvision.com (Vincent Schut) Date: Fri, 21 Nov 2003 13:19:48 +0100 Subject: [Mapserver-users] ld32: ERROR 33 In-Reply-To: (from ASeifert@schwerin.de on Fri, Nov 21, 2003 at 06:42:10 +0100) References: Message-ID: <20031121121948.GK32546@lowresbox.lan> Andre, something seems wrong with your gdal lib or the linking of it. Some things you could try: First, try configuring without supplying the path to gdal-config (there should be only one gdal-config on your system normally, and usually the configure script should be able to find it). Then you could try upgrading your gdal (don't know what version you use?). It also seems strange to me that mapserver tries to link to gdal.a (the static library) instead of libgdal.so (the dynamic loadable library). You could check all files with gdal in the name that are in /usr/local/lib and /usr/lib. If there are gdal files in both, delete the ones in /usr/ lib (and in /usr/include delete the *gdal*.h files). You should only have them in /usr/local/[lib|include] usually. Then check if the date of the gdal files (.a and .so) in /usr/local/lib is the same for all. If not, delete the older files and eventually reinstall gdal to be sure to have only recent gdal library files on your system. Btw, usually it's better to compile mapserver --without-tiff because then tiff import will happen through gdal, which offers much better (geo)tiff support than the normal libtiff. I hope one of these steps helps. cheers, Vincent. On 2003.11.21 06:42, Andre Seifert wrote: > Hi folks, > what means > ld32: ERROR 33 > > Do you need more info? > > > Mapserver 4.0.1 > IRIX 6.5 > gcc 3.3 > > echo "# configure > ###########################################################" > ./configure \ > --with-tiff=/usr/local\ > --with-png=/usr/local\ > --with-jpeg=/usr/local\ > --with-gdal=/usr/local/bin/gdal-config\ > --with-gd=/usr/local > echo "# make > ################################################################" > make > > # configure > ########################################################### > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for c++... c++ > checking whether the C++ compiler (c++ ) works... yes > checking whether the C++ compiler (c++ ) is a cross-compiler... no > checking whether we are using GNU C++... yes > checking whether c++ accepts -g... yes > checking for ranlib... : > checking for flex... flex > checking for yywrap in -lfl... no > checking for bison... bison -y > checking if compiler supports -R... no > checking if compiler supports -Wl,-rpath,... yes > checking for exp in -lm... yes > checking for __gxx_personality_v0 in -lstdc++... yes > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for strcasecmp... yes > checking for strncasecmp... yes > checking for strdup... yes > checking whether we should include JPEG support... > using libjpeg from system -L/usr/local/lib -ljpeg > checking where FreeType 2.x is installed... > checking for FT_Init_FreeType in -lfreetype... no > freetype-config or libfreetype cannot be found, possibly > needed for GD > checking where Zlib is installed... > checking for zlibVersion in -lz... yes > using libz from system libs. > checking where PNG is installed... > using libpng from -L/usr/local/lib -lpng > checking where libXpm is installed... > checking for XpmFreeXpmImage in -lXpm... yes > using libXpm from system libs. > checking where libiconv is installed... > checking for libiconv_open in -liconv... no > libiconv library cannot be found, possibly needed for GD > checking for GD 2.0.12 or higher... > checking for gdImageSetAntiAliased in -lgd... yes > using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd > -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 > checking for gdImageGif in -lc... no > checking for gdImagePng in -lc... yes > checking for gdImageJpeg in -lc... yes > checking for gdImageWBMP in -lc... yes > checking for gdImageStringFT in -lc... yes > checking for gdImageGifPtr in -lc... no > using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT) from /usr/local. > checking whether we should include PDF support... > checking for PDF_setlinewidth in -lpdf... no > checking for PDF_setrgbcolor in -lpdf... no > checking for PDF_moveto in -lpdf... no > checking for PDF_curveto in -lpdf... no > checking for PDF_show_xy in -lpdf... no > libpdf not found... PDF support not included. > checking whether we should include TIFF support... > using libtiff from -L/usr/local/lib -ltiff. > checking whether we should include EPPL7 support... > including EPPL7 support. > checking whether we should include PROJ.4 support... > PROJ.4 support not requested. > checking whether we should include thread safe support... > thread safe support disabled. > checking whether we should include ESRI SDE support... > ESRI SDE support not requested. > checking whether we should compile in MPATROL support... > MPATROL support not requested. > checking whether we should include OGR support... > OGR support not requested. > checking if GDAL support requested... yes, user supplied gdal-config > (/usr/local/bin/gdal-config) > checking if PostGIS support requested... no > checking if MyGIS support requested... no > checking if OracleSpatial support requested... no > checking if MING/Flash support requested... no > checking whether we should include WMS Server support... > OGC WMS Compatibility not enabled (PROJ.4 is required for > WMS). > checking whether we should include WFS Server support... > OGC WFS Server support not requested. > checking whether we should include WMS Client Connections support... > OGC WMS Client Connections not enabled (PROJ.4 and libcurl > required). > checking whether we should include WFS Client Connections support... > OGC WFS Client Connections not enabled (PROJ.4, libcurl and > OGR required). > checking for curl-config > checking HTTPD server (Apache) version > checking for httpd... no > 'httpd' not found, skipping Apache version detection. You may > want to use --with-httpd=/path/to/httpd > Compiling with -DIGNORE_MISSING_DATA. > checking whether we should enable debug features... > checking for PHP/MapScript module options... > PHP/MapScript module not configured. > updating cache ./config.cache > creating ./config.status > creating Makefile > # make > ################################################################ > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maptemplate.c -o maptemplate.o > maptemplate.c: In function `generateLegendTemplate': > maptemplate.c:1350: Warnung: long int format, different type arg (arg > 3) > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapbits.c -o mapbits.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maphash.c -o maphash.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapshape.c -o mapshape.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapxbase.c -o mapxbase.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapparser.c -o mapparser.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplexer.c -o maplexer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maptree.c -o maptree.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsearch.c -o mapsearch.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapstring.c -o mapstring.o > mapstring.c: In function `msEncodeUrl': > mapstring.c:408: Warnung: subscript has type `char' > mapstring.c:419: Warnung: subscript has type `char' > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsymbol.c -o mapsymbol.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapfile.c -o mapfile.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplegend.c -o maplegend.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maputil.c -o maputil.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapscale.c -o mapscale.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapquery.c -o mapquery.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplabel.c -o maplabel.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maperror.c -o maperror.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapprimitive.c -o mapprimitive.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapproject.c -o mapproject.o > mapproject.c: In function `msGetEPSGProj': > mapproject.c:429: Warnung: return makes pointer from integer without > a > cast > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapraster.c -o mapraster.o > mapraster.c: In function `readGEOTiff': > mapraster.c:304: Warnung: dereferencing type-punned pointer will > break > strict-aliasing rules > mapraster.c:308: Warnung: dereferencing type-punned pointer will > break > strict-aliasing rules > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsde.c -o mapsde.o > c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapogr.cpp -o mapogr.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mappostgis.c -o mappostgis.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapmygis.c -o mapmygis.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplayer.c -o maplayer.o > maplayer.c: In function `msLayerWhichItemsNew': > maplayer.c:629: Warnung: unused variable `i' > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapresample.c -o mapresample.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwms.c -o mapwms.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwmslayer.c -o mapwmslayer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maporaclespatial.c -o maporaclespatial.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgml.c -o mapgml.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapprojhack.c -o mapprojhack.o > mapprojhack.c:71: Warnung: `ConvertProjUnitStringToMS' defined but > not > used > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapthread.c -o mapthread.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapdraw.c -o mapdraw.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgd.c -o mapgd.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapoutput.c -o mapoutput.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgdal.c -o mapgdal.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapswf.c -o mapswf.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapimagemap.c -o mapimagemap.o > mapimagemap.c:59: Warnung: `searchImageCache' defined but not used > mapimagemap.c:89: Warnung: `addImageCache' defined but not used > mapimagemap.c:333: Warnung: `imageOffsetPolyline' defined but not > used > mapimagemap.c:364: Warnung: `imagePolyline' defined but not used > mapimagemap.c:1392: Warnung: `billboardIM' defined but not used > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapows.c -o mapows.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwfs.c -o mapwfs.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwfslayer.c -o mapwfslayer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapcontext.c -o mapcontext.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maphttp.c -o maphttp.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapdrawgdal.c -o mapdrawgdal.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mappdf.c -o mappdf.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapjoin.c -o mapjoin.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgraticule.c -o mapgraticule.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapcopy.c -o mapcopy.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > epplib.c -o epplib.o > ar rc libmap.a 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 mapmygis.o maplayer.o mapresample.o mapwms.o > mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o > mapdraw.o mapgd.o mapoutput.o mapgdal.o mapswf.o mapimagemap.o > mapows.o mapwfs.o mapwfslayer.o mapcontext.o maphttp.o mapdrawgdal.o > mappdf.o mapjoin.o mapgraticule.o mapcopy.o epplib.o > : libmap.a > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > 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 -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > shp2img.o -L. -lmap -L/usr/local/lib -lgd -L/usr/local/lib - > ljpeg > -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ltiff > -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 > -L/usr/local/lib -ljpeg /usr/local/lib/ogrsf_frmts.a > /usr/local/lib/gdal.a /usr/local/lib/ogr.a /usr/local/lib/gdal.a > /usr/local/lib/cpl.a -L/usr/local -L/usr/local/lib -ljpeg > -L/usr/local/lib -ltiff -L/usr/local -L/usr/local/lib -lpng > -L/usr/local -L/usr/local -lz -lm -ldl -lm -lm -lstdc++ -o > shp2img > ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving > any symbol. > ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving > any symbol. > ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/ogrsf_frmts.a is not used for > resolving any symbol. > ld32: WARNING 84 : /usr/local/lib/gdal.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/cpl.a is not used for resolving any > symbol. > ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any > symbol. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::OGRSpatialReference[in-charge](char const*)" -- > 1st referenced by ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::importFromWkt(char**)" -- 1st referenced by > ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::~OGRSpatialReference [in-charge]()" -- 1st > referenced by ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "operator delete(void *)" > -- > 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "operator new(unsigned > int)" > -- 1st referenced by /usr/local/lib/gdal.a(gdalrasterband.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__vec_new_eh2" -- 1st > referenced by /usr/local/lib/gdal.a(ddfmodule.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__vec_delete2" -- 1st > referenced by /usr/local/lib/gdal.a(ddfmodule.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__nwa(unsigned int)" -- > 1st > referenced by /usr/local/lib/gdal.a(ddfrecord.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__dla(void *)" -- 1st > referenced by /usr/local/lib/gdal.a(ddfrecord.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol > "__pure_virtual_called" -- 1st referenced by > /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved data symbol "type_info::__vtbl(void)" > -- > 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: INFO 152: Output file removed because of error. > collect2: ld returned 2 exit status > *** Fehlercode 1 (bu21) > > best regards, Andre > > > > Mail scanned by virusscanner, Patternfile from 19 Nov 2003 > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > From palle at mail-online.dk Fri Nov 21 04:49:46 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Fri, 21 Nov 2003 13:49:46 +0100 Subject: [Mapserver-users] Mapserver and .NET In-Reply-To: <248491BE875FBE40B765CC47E419144BAADA@mosespa.ats.atsincorp.com> References: <248491BE875FBE40B765CC47E419144BAADA@mosespa.ats.atsincorp.com> Message-ID: The easiest way is to use an xml-file as your template, execute mapserver from within (ASP?).NET and read the output. Best Regards Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: "Ben Lewis" To: Date: Thu, 20 Nov 2003 16:51:21 -0500 Subject: [Mapserver-users] Mapserver and .NET > All - > Does anyone know whether a .NET wrapper for MapServer has been > developed? If not can anyone give me an idea of the level of > difficulty of developing such a thing? > Thank you. > > - Ben > > F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From christina.biakowski at ccgis.de Fri Nov 21 05:53:45 2003 From: christina.biakowski at ccgis.de (Christina Biakowski) Date: Fri, 21 Nov 2003 14:53:45 +0100 Subject: AW: [Mapserver-users] CCGIS WMS-Demo-Map Germany In-Reply-To: Message-ID: Hello Herrman, here is an example of a working WMS-Layer, connecting to the CCGIS-Germany-Project: LAYER NAME "Germany" TYPE RASTER STATUS ON #only show Layer "Grenze" #CONNECTION "http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&version=1.0. 0&LAYERS=Grenze" #show whole map CONNECTION "http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&version=1.0. 0 CONNECTIONTYPE WMS METADATA "wms_srs" "epsg:31467" "wms_title" "Germany" END PROJECTION "init=epsg:31467" END END Just yesterday we have done some restructuring on our server so the getcapabilities-request has sligthly changed (see path to map-file): http://wms.ccgis.de/umn/bin/mapserv.exe?map=d:/umn/germany.map&WMTVER=1.0.0& REQUEST=getcapabilities Regards, Christina -----Urspr?ngliche Nachricht----- Von: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu]Im Auftrag von Spalting, Hermann (Kreis Lippe) Gesendet: Montag, 17. November 2003 10:21 An: Mapserver-Users (E-Mail) Betreff: [Mapserver-users] CCGIS WMS-Demo-Map Germany Hi all, next thing i found out, a GetMap in the Explorer works http://wms.ccgis.de/umn/bin/mapserv.exe?map=germany.map&WMTVER=1.0.0&REQUEST =getmap&LAYERS=Postleitzahlbereiche,Staedte,Bundeslaender&FORMAT=image/png but from a mapfile it still doesn't work. Here's my mapfile: # # Start of map file - created Wed Jun 25 11:19:18 2003 # MAP NAME test STATUS ON #SIZE 450 300 SIZE 650 433 EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 UNITS meters SYMBOLSET 'symbols/symbset' FONTSET 'fonts/fonts.fnt' IMAGECOLOR 255 255 255 PROJECTION "init=epsg:31467" END # # Start of web interface definition # WEB LOG test.log TEMPLATE templ.html IMAGEPATH 'C:\Programme\Apache Group\Apache2\htdocs\Schutzgebiete\tmp\tmp\' IMAGEURL 'http://10.10.26.17/schutzgebiete/tmp/' EMPTY 'http://10.10.26.17/Schutzgebiete/nothing.html' METADATA wms_title 'WMS' WMS_ONLINERESOURCE 'http://10.10.26.17/cgi-bin/mapserv.exe?' WMS_SRS 'EPSG:26915' END #WEB END #HEADER # # Properties for the querymap # QUERYMAP SIZE 200 200 STATUS ON #OFF STYLE HILITE COLOR 255 0 0 END # # Start of reference map # REFERENCE STATUS ON IMAGE graphics/lip_ref.gif SIZE 120 120 # EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 EXTENT 3468458.495 5736672.103 3529699.575 5787314.022 COLOR -1 -1 -1 OUTLINECOLOR 0 0 0 END #REFERENCE # # Start of legend # LEGEND STATUS ON KEYSIZE 16 8 TEMPLATE 'legende2.html' LABEL COLOR 120 120 120 END # ENDE LABEL END #LEGEND # # Start of scalebar # SCALEBAR STATUS ON STYLE 0 INTERVALS 4 IMAGECOLOR 255 255 255 LABEL COLOR 0 0 0 SIZE SMALL END #ENDE LABEL SIZE 300 3 COLOR 155 155 155 BACKGROUNDCOLOR 55 55 55 OUTLINECOLOR 100 100 100 UNITS KILOMETERS END #SCALEBAR # # Start of layer definitions # LAYER NAME 'WMS_Test' GROUP 'WMS_Test' METADATA "wms_srs" "EPSG:31467" END TYPE RASTER STATUS ON CONNECTIONTYPE WMS CONNECTION "http://wms.ccgis.de/umn/bin/mapserv.exe?map=germany.map&WMTVER=1.0.0&LAYERS =Postleitzahlbereiche,Staedte,Bundeslaender&FORMAT=image/png" END END # MAPFILE Hermann Spalting Kreis Lippe FG 4.4 Felix-Fechenbach-Stra?e 5 32756 Detmold email: <> Tel: 05231/62-625 (oder -7827) From nelson at museum.tulane.edu Fri Nov 21 07:03:34 2003 From: nelson at museum.tulane.edu (Nelson Rios) Date: Fri, 21 Nov 2003 09:03:34 -0600 Subject: [Mapserver-users] Mapserver and .NET In-Reply-To: <248491BE875FBE40B765CC47E419144BAADA@mosespa.ats.atsincorp.com> Message-ID: <003401c3b040$a2a53f40$6601a8c0@internal.museum.tulane.edu> This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C3B00E.580ACF40 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ben, I have been using mapserver from .net. I have one demo app on the web and I am working on a second. I am not a mapserver guru so most of my techniques may not be the best, but it works. You can check it out at: http://www.museum.tulane.edu/geolocate/demo.aspx To try it out, type something like: Pushepatapa creek 3 mi n of bogalusa at hwy 21 in the locality string field Louisiana for state and Washington for county. and click the georeference button. I'd be happy to share how i did this with you. Nelson -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Ben Lewis Sent: Thursday, November 20, 2003 3:51 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapserver and .NET All - Does anyone know whether a .NET wrapper for MapServer has been developed? If not can anyone give me an idea of the level of difficulty of developing such a thing? Thank you. - Ben ------=_NextPart_000_0035_01C3B00E.580ACF40 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Ben,
 
I have=20 been using mapserver from .net.  I have one demo app on the web and = I am=20 working on a second.
I am=20 not a mapserver guru so most of my techniques may not be the best, but = it=20 works.
 
You=20 can check it out at:
http://www.muse= um.tulane.edu/geolocate/demo.aspx
 
To try=20 it out, type something like:
Pushepatapa creek 3 mi n of bogalusa at hwy 21  in the = locality=20 string field
Louisiana for state and
Washington  for=20 county.
and=20 click the georeference button.
 
I'd be=20 happy to share how i did this with you.
 
Nelson
-----Original Message-----
From:=20 mapserver-users-admin at lists.gis.umn.edu=20 [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of = Ben=20 Lewis
Sent: Thursday, November 20, 2003 3:51 = PM
To:=20 mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] = Mapserver and .NET

All=20 -
Does=20 anyone know whether a .NET wrapper for MapServer has been = developed?  If=20 not can anyone give me an idea of the level of difficulty of = developing such a=20 thing?
Thank you.
 
 - Ben
 
= ------=_NextPart_000_0035_01C3B00E.580ACF40-- From stephen.clark at focus.ca Fri Nov 21 08:42:33 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Fri, 21 Nov 2003 08:42:33 -0800 Subject: [Mapserver-users] Mapserver and .NET References: <003401c3b040$a2a53f40$6601a8c0@internal.museum.tulane.edu> Message-ID: <003a01c3b04e$7c9cbbd0$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0037_01C3B00B.67DA6280 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MessageIn your demo could you add a better search with trailing spaces. Other than that it looks good. ----- Original Message -----=20 From: Nelson Rios=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Friday, November 21, 2003 7:03 AM Subject: RE: [Mapserver-users] Mapserver and .NET Ben, I have been using mapserver from .net. I have one demo app on the web = and I am working on a second. I am not a mapserver guru so most of my techniques may not be the = best, but it works. You can check it out at: http://www.museum.tulane.edu/geolocate/demo.aspx To try it out, type something like: Pushepatapa creek 3 mi n of bogalusa at hwy 21 in the locality string = field Louisiana for state and Washington for county. and click the georeference button. I'd be happy to share how i did this with you. Nelson -----Original Message----- From: mapserver-users-admin at lists.gis.umn.edu = [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Ben Lewis Sent: Thursday, November 20, 2003 3:51 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] Mapserver and .NET All -=20 Does anyone know whether a .NET wrapper for MapServer has been = developed? If not can anyone give me an idea of the level of difficulty = of developing such a thing? Thank you. - Ben ------=_NextPart_000_0037_01C3B00B.67DA6280 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message
In your demo could you add a better = search with=20 trailing spaces.
 
Other than that it looks = good.
 
 
----- Original Message -----
From:=20 Nelson Rios
To: mapserver-users at lists.g= is.umn.edu=20
Sent: Friday, November 21, 2003 = 7:03=20 AM
Subject: RE: [Mapserver-users] = Mapserver=20 and .NET

Ben,
 
I=20 have been using mapserver from .net.  I have one demo app on the = web and=20 I am working on a second.
I am=20 not a mapserver guru so most of my techniques may not be the best, but = it=20 works.
 
You=20 can check it out at:
http://www.muse= um.tulane.edu/geolocate/demo.aspx
 
To=20 try it out, type something like:
Pushepatapa creek 3 mi n of bogalusa at hwy 21  in the = locality=20 string field
Louisiana for state and
Washington  for=20 county.
and=20 click the georeference button.
 
I'd=20 be happy to share how i did this with you.
 
Nelson
-----Original Message-----
From:=20 mapserver-users-admin at lists.gis.umn.edu=20 [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of = Ben=20 Lewis
Sent: Thursday, November 20, 2003 3:51 = PM
To:=20 mapserver-users at lists.gis.umn.edu
Subject: = [Mapserver-users]=20 Mapserver and .NET

All -
Does anyone know whether a .NET wrapper = for=20 MapServer has been developed?  If not can anyone give me an = idea of the=20 level of difficulty of developing such a thing?
Thank you.
 
 - Ben
 
------=_NextPart_000_0037_01C3B00B.67DA6280-- From TMitchell at lignum.com Fri Nov 21 07:58:48 2003 From: TMitchell at lignum.com (Tyler Mitchell) Date: Fri, 21 Nov 2003 07:58:48 -0800 Subject: [Mapserver-users] Distorted maps Message-ID:
You'll need to know the native projection that the data for tha= t layer is in and make sure you set that layer's projection info in the map= file.  Then you would select a projection for the overall map.  C= an you tell us the projection your data is registered to?  Can you pro= vide your map file for us to critique :)
 
Tyler

 
-----mapserver-users-admin at l= ists.gis.umn.edu wrote: -----

To: <mapserver-users at lists.g= is.umn.edu>
From: "Benvenuto Bertacco" <benvenuto.bertacco at seat.it= >
Sent by: mapserver-users-admin at lists.gis.umn.edu
Date: 11/21/200= 3 03:18AM
Subject: [Mapserver-users] Distorted maps

Hello,
I need to use Mapserver to display maps very= far from America, and it seems
that the projection settings are choosen= to optimize display of USA maps. In
fact I get very distorted maps with= geographical data located in Italy.
Changing the projection system in t= he map file doesn't sort any effect, also
tried to change the proj=5Fdef= .dat but either got no effect. Any help wuold be
appreciated.
Benvenu= to

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.eduhttp://lists.gis.umn.edu/mailman/listinfo/mapserver-users
= From benvenuto.bertacco at seat.it Fri Nov 21 08:24:56 2003 From: benvenuto.bertacco at seat.it (Benvenuto Bertacco) Date: Fri, 21 Nov 2003 17:24:56 +0100 Subject: R: [Mapserver-users] Distorted maps In-Reply-To: Message-ID: This is a multi-part message in MIME format. ------=_NextPart_000_002E_01C3B054.620FF420 Content-Type: multipart/alternative; boundary="----=_NextPart_001_002F_01C3B054.620FF420" ------=_NextPart_001_002F_01C3B054.620FF420 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Projection data is wgs84, navtech data. The mapfile requires more information than that, but I don't know how to retrive it, although I suppose that standard settings should work. Attached is the mapfile. Many thanks _____ =20 Da: Tyler Mitchell [mailto:TMitchell at lignum.com]=20 Inviato: venerd=EC 21 novembre 2003 16.59 A: Benvenuto Bertacco Cc: mapserver-users at lists.gis.umn.edu Oggetto: Re: [Mapserver-users] Distorted maps You'll need to know the native projection that the data for that layer = is in and make sure you set that layer's projection info in the mapfile. Then = you would select a projection for the overall map. Can you tell us the projection your data is registered to? Can you provide your map file = for us to critique :) =20 Tyler =20 -----mapserver-users-admin at lists.gis.umn.edu wrote: ----- To: From: "Benvenuto Bertacco" Sent by: mapserver-users-admin at lists.gis.umn.edu Date: 11/21/2003 03:18AM Subject: [Mapserver-users] Distorted maps Hello, I need to use Mapserver to display maps very far from America, and it = seems that the projection settings are choosen to optimize display of USA = maps. In fact I get very distorted maps with geographical data located in Italy. Changing the projection system in the map file doesn't sort any effect, = also tried to change the proj_def.dat but either got no effect. Any help = wuold be appreciated. Benvenuto _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users =3D ------=_NextPart_001_002F_01C3B054.620FF420 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Projection data is wgs84, navtech data. The = mapfile=20 requires more information than that, but I don't know how to retrive it, = although I suppose that standard settings should work. = Attached is=20 the mapfile.
Many thanks


Da: Tyler Mitchell = [mailto:TMitchell at lignum.com]=20
Inviato: venerd=EC 21 novembre 2003 16.59
A: = Benvenuto=20 Bertacco
Cc: = mapserver-users at lists.gis.umn.edu
Oggetto: Re:=20 [Mapserver-users] Distorted maps

You'll need to know the native projection that the data for that = layer is=20 in and make sure you set that layer's projection info in the = mapfile.  Then=20 you would select a projection for the overall map.  Can you tell us = the=20 projection your data is registered to?  Can you provide your map = file for=20 us to critique :)
 
Tyler

 
-----mapserver-users-admin at lists.gis.umn.edu wrote:=20 -----

To: = <mapserver-users at lists.gis.umn.edu>
From:=20 "Benvenuto Bertacco" <benvenuto.bertacco at seat.it>
Sent by:=20 mapserver-users-admin at lists.gis.umn.edu
Date: 11/21/2003 = 03:18AM
Subject:=20 [Mapserver-users] Distorted maps

Hello,
I=20 need to use Mapserver to display maps very far from America, and it=20 seems
that the projection settings are choosen to optimize display of = USA=20 maps. In
fact I get very distorted maps with geographical data = located in=20 Italy.
Changing the projection system in the map file doesn't sort = any=20 effect, also
tried to change the proj_def.dat but either got no = effect. Any=20 help wuold=20 be
appreciated.
Benvenuto

__________________________________= _____________
Mapserver-users=20 mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users<= /A>
=3D ------=_NextPart_001_002F_01C3B054.620FF420-- ------=_NextPart_000_002E_01C3B054.620FF420 Content-Transfer-Encoding: 7bit Content-Type: text/plain; name="demo.map" Content-Disposition: attachment; filename="demo.map" # # Start of map file # NAME DEV STATUS ON SIZE 430 380 #SIZE 150 150 EXTENT 7.680 45.06 7.685 45.06 #EXTENT 7.680 45.06 7.683 45.06 #SIZE 1000 1000 #EXTENT 7.60 45.03 7.75 45.09 #UNITS METERS DEBUG TRUE SHAPEPATH "data" IMAGECOLOR 189 198 206 PROJECTION "proj=utm" "ellps=WGS84" "zone=15" "towgs84=0,0,0" "north" "no_defs" END #OUTPUTFORMAT # NAME gif # DRIVER "GD/GIF" # MIMETYPE "image/gif" # IMAGEMODE PC256 # EXTENSION "gif" #END OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END #OUTPUTFORMAT # NAME jpeg # DRIVER "GD/JPEG" # MIMETYPE "image/jpeg" # IMAGEMODE RGB # EXTENSION "jpg" #END #OUTPUTFORMAT # NAME wbmp # DRIVER "GD/WBMP" # MIMETYPE "image/wbmp" # IMAGEMODE PC256 # EXTENSION "wbmp" #END #OUTPUTFORMAT # NAME swf # DRIVER "SWF" # MIMETYPE "application/x-shockwave-flash" # EXTENSION "swf" # IMAGEMODE PC256 # FORMATOPTION "OUTPUT_MOVIE=SINGLE" #END #IMAGETYPE SWF IMAGETYPE PNG #IMAGETYPE PDF #PROJECTION # proj=longlat # ellps=WGS84 # datum=WGS84 # zone=50 # no_defs # "zone=15" # "north" # "no_defs" # # OR: # # "init=epsg:26915" #END WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html #MINSCALE 1000 #MAXSCALE 1550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" END FONTSET "c:\windows\fonts\fonts.txt" #REFERENCE # IMAGE graphics/reference.gif # EXTENT 393234.393701263 5205405.16440722 495769.579718949 5307959.02579127 # SIZE 120 120 # STATUS ON # COLOR -1 -1 -1 # OUTLINECOLOR 255 0 0 #END SYMBOL NAME 'carto_line' TYPE CARTOLINE #Linecap - ROUND, SQUARE, TRIANGLE, BUTT - default BUTT LINECAP BUTT #Linejoin - ROUND, BEVEL, MITER - default NONE LINEJOIN BEVEL LINEJOINMAXSIZE 5 END SYMBOL NAME 'cline' TYPE ellipse POINTS 1 1 END END LAYER NAME parchi_navtech STATUS OFF DATA parkcity_region TYPE POLYGON LABELITEM "NAME" CLASS LABEL #ANGLE AUTO #BUFFER 1 #PARTIALS FALSE #FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION AUTO SIZE 5 TYPE TRUETYPE COLOR 255 255 255 END STYLE #COLOR 66 132 0 COLOR 77 199 63 ANTIALIAS TRUE END END END # parchi navtech LAYER NAME aree_navtech STATUS OFF DATA landuseA_region TYPE POLYGON LABELITEM "NAME" CLASS LABEL #ANGLE AUTO #BUFFER 1 #PARTIALS FALSE #FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION AUTO SIZE 5 TYPE TRUETYPE COLOR 255 255 255 END STYLE #COLOR 255 165 115 COLOR 179 181 81 ANTIALIAS TRUE END END END # corsi d'acqua navtech LAYER NAME acqua_navtech STATUS OFF DATA waterwys_region TYPE POLYGON #LABELITEM "StNm_Base" CLASS STYLE #COLOR 165 214 255 #COLOR 165 165 165 ANTIALIAS TRUE COLOR 64 154 253 END END END # corsi d'acqua navtech LAYER NAME acqua1_navtech STATUS OFF DATA waterwys_polyline TYPE LINE #LABELITEM "StNm_Base" CLASS STYLE SIZE 1 #COLOR 165 214 255 COLOR 64 154 253 ANTIALIAS TRUE END END END # parchi navtech LAYER NAME pedonali_navtech STATUS OFF DATA pedonali3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\pedonali1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 3 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # pedonali navtech #LAYER # NAME vie_navtech #MAXSCALE 600000 # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\vie_e_corsi.tab" #DATA vie3_polyline # END # TYPE LINE # CLASS # STYLE # SYMBOL 'carto_line' # SIZE 9 #COLOR 181 222 255 # COLOR 120 140 255 # ANTIALIAS TRUE # END # END #END # vie navtech LAYER NAME vie_navtech #PROJECTION # "proj=aeqd" # "ellps=WGS60" # "units=m" # "towgs84=0,0,0" # "no_defs" #END #MAXSCALE 600000 STATUS OFF DATA vie3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\vie1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 6 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # vie navtech LAYER NAME controviali_navtech STATUS OFF DATA controviali2_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\controviali1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 4 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # controviali navtech LAYER NAME controviali_navtech2 STATUS OFF DATA controviali2_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\controviali1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 2 COLOR 255 255 255 ANTIALIAS TRUE END END END # controviali navtech LAYER NAME corsi_navtech #MAXSCALE 600000 STATUS OFF DATA corsi5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\corsi1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 9 COLOR 120 140 255 ANTIALIAS TRUE END END END # corsi navtech LAYER NAME importanti_navtech STATUS OFF DATA importanti5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\importanti1.tab" TYPE LINE CLASS STYLE SYMBOL 'carto_line' SIZE 8 #COLOR 156 202 156 COLOR 88 174 51 ANTIALIAS TRUE END END END # importanti navtech #LAYER # NAME statali_navtech # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\statali1.tab" # TYPE LINE # CLASS # STYLE # SYMBOL 'carto_line' # SIZE 8 #COLOR 156 202 156 # COLOR 88 174 51 # ANTIALIAS TRUE # END # END #END # statali navtech LAYER NAME pedonali_navtech2 STATUS OFF DATA pedonali3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\pedonali1.tab" TYPE LINE LABELITEM "StNm_Base" LABELCACHE ON CLASS LABEL ANGLE AUTO FONT "verdana" #BUFFER 1 #PARTIALS FALSE ANTIALIAS TRUE POSITION CC SIZE 5 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' #SIZE 2 SIZE 3 #COLOR 217 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # pedonali navtech LAYER NAME vie_navtech2 #MAXSCALE 600000 STATUS OFF DATA vie3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\vie1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 PARTIALS FALSE FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' SIZE 4 COLOR 255 255 255 ANTIALIAS TRUE END END END # vie navtech LAYER NAME corsi_navtech2 STATUS OFF DATA corsi5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\corsi1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 #PARTIALS FALSE FONT "verdana" #FORCE TRUE ANTIALIAS TRUE MINDISTANCE 2 POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' SIZE 7 COLOR 255 255 255 ANTIALIAS TRUE END END END # corsi navtech LAYER NAME importanti_navtech2 STATUS OFF DATA importanti5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\importanti1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 #PARTIALS FALSE FONT "verdana" ANTIALIAS TRUE MINDISTANCE 2 #FORCE TRUE POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' SIZE 4 #COLOR 255 255 132 COLOR 255 255 159 #color 255 255 255 ANTIALIAS TRUE END END END # importanti navtech #LAYER # NAME statali_navtech2 # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\statali1.tab" # LABELITEM "StNm_Base" # LABELCACHE ON # TYPE LINE # CLASS # LABEL # ANGLE AUTO # BUFFER 1 # #PARTIALS FALSE # FONT "verdana" # ANTIALIAS TRUE # MINDISTANCE 2 #FORCE TRUE # POSITION CC # SIZE 7 # TYPE TRUETYPE # COLOR 0 0 0 # END # STYLE # SYMBOL 'carto_line' # SIZE 4 #COLOR 255 255 132 # COLOR 255 255 159 #color 255 255 255 # ANTIALIAS TRUE # END # END #END LAYER NAME freccie_navtech STATUS OFF #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\arrow.tab" DATA arrow_font_point TYPE POINT CLASS STYLE SYMBOL 'cline' size 2 COLOR 245 88 128 ANTIALIAS TRUE END END END END # Map File ------=_NextPart_000_002E_01C3B054.620FF420-- From doug at moximedia.com Fri Nov 21 10:00:25 2003 From: doug at moximedia.com (Doug Cates) Date: 21 Nov 2003 10:00:25 -0800 Subject: [Mapserver-users] Mapserver plug on GeoServer site Message-ID: <1069437624.4082.463.camel@moxi-rh9> FYI: On the GeoServer project page, there is an announcement written by Chris Holmes, a GeoServer developer, that refers to MapServer as "the leading Open Source Web Map Server". Read the full story at: http://geoserver.sourceforge.net/html/modules.php?op=modload&name=News&file=article&sid=14&mode=&order=0 Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug at moximedia.com Web: www.moximedia.com From morissette at dmsolutions.ca Fri Nov 21 10:40:48 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Fri, 21 Nov 2003 13:40:48 -0500 Subject: [Mapserver-users] Mapserver as WMS-client and authentication In-Reply-To: <9138808AB827D311B56800E018900A61177639@gdppdc.gdp.com> References: <9138808AB827D311B56800E018900A61177639@gdppdc.gdp.com> Message-ID: <3FBE5C30.1090409@dmsolutions.ca> GeoIT wrote: > > The problem: How I can tell Mapserver (V.3.6, Maplab 2.01) to send user and > password ? > > Sending it as http://user:pwd at ..... Via the browser works, but if I add it > to CONNECTION-URL in the mapfile, a blank image is coming back. > > Is there any other possibility to access secured layers from other WMS ? > I haven't tested this, but I would suggest that you try with MapServer 4.0. It uses libcurl instead of libwww for its HTTP requests and it may well be that curl will accept the user:password at hostname in the connection string. If it doesn't then please file an enhancement bug for this in bugzilla and we'll see what we can do to pass the user/password to curl. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Tom.Kralidis at ec.gc.ca Fri Nov 21 11:57:51 2003 From: Tom.Kralidis at ec.gc.ca (Kralidis,Tom [Burlington]) Date: Fri, 21 Nov 2003 14:57:51 -0500 Subject: [Mapserver-users] Mapserver as WMS-client and authentication Message-ID: <2576812186CDD411BF1500508B6DCE950583D242@ECNWRI1.ontario.int.ec.gc.ca> > -----Original Message----- > From: Daniel Morissette [mailto:morissette at dmsolutions.ca] > Sent: Friday, November 21, 2003 1:41 PM > To: GeoIT > Cc: 'mapserver-users at lists.gis.umn.edu' > Subject: Re: [Mapserver-users] Mapserver as WMS-client and > authentication > > > GeoIT wrote: > > > > The problem: How I can tell Mapserver (V.3.6, Maplab 2.01) to send > > user and password ? > > > > Sending it as http://user:pwd at ..... Via the browser works, but if I > > add it to CONNECTION-URL in the mapfile, a blank image is > coming back. > > > > Is there any other possibility to access secured layers > from other WMS > > ? > > > > I haven't tested this, but I would suggest that you try with > MapServer > 4.0. It uses libcurl instead of libwww for its HTTP requests > and it may > well be that curl will accept the user:password at hostname in the > connection string. If it doesn't then please file an enhancement bug > for this in bugzilla and we'll see what we can do to pass the > user/password to curl. > Careful this info in the mapfile is not in an HTTP area, as people can see it. Also, can MapServer provide support for making HTTP requests to servers which requires certs? ..Tom > Daniel > -- > ------------------------------------------------------------ > Daniel Morissette morissette at dmsolutions.ca > DM Solutions Group http://www.dmsolutions.ca/ > ------------------------------------------------------------ > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > From pshevlin at cityftmyers.com Fri Nov 21 12:15:12 2003 From: pshevlin at cityftmyers.com (Phil Shevlin) Date: Fri, 21 Nov 2003 15:15:12 -0500 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Message-ID: <003f01c3b06c$2becc680$2a670761@PD3042> Thanks for the reply. We use MapInfo here. And it is: US State Plane Coord System (1983, Feet) -- Florida 0902, Western Zone (1983, US Survey Feet) I'm just learning MS. And this is my first foray into projections... Right now I have the MAP projection at (for NAD83): PROJECTION "init=epsg:4269" END What would I set the project at for the raster? And wouldn't I need to convert the degrees to feet? TIA -Phil -----Original Message----- From: Frank Warmerdam [mailto:warmerdam at pobox.com] Sent: Thursday, November 20, 2003 10:05 AM To: Phil Shevlin Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Phil Shevlin wrote: > I have a map with a number of layers working. I am trying to include a > raster layer (.tif). When I include the layer: > > LAYER > NAME "Test" > STATUS ON > DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" > TYPE RASTER > TEMPLATE "template_hi.html" > END > > The map shows but the layer does not appear. I am assuming that it is a > projection problem. My extent is in degrees: > > EXTENT -81.917574 26.569844 -81.755026 26.691756 > > But the .tfw file appears otherwise: > > 4.00000000000000 > 0.00000000000000 > 0.00000000000000 > -4.00000000000000 > 669000.00000000000000 > 855000.00000000000000 > > How do I go about including this layer? Or, can someone point me to some > tutorials (I have found one that helps me). > Phil, The raster is clearly in a different projection. You will need to establish what coordinate system it is, and properly describe it with a PROJECTION block in the layer. You will also need an appropriate lat/long projectio block for the map level if your generated map is currently in lat/long. To know the coordinate system you will have to look at your dataset and talk to whoever you got it from. Good luck, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From pshevlin at cityftmyers.com Fri Nov 21 12:16:05 2003 From: pshevlin at cityftmyers.com (Phil Shevlin) Date: Fri, 21 Nov 2003 15:16:05 -0500 Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Message-ID: <004001c3b06c$4b8b1af0$2a670761@PD3042> Yes it does (mostly). We use MapInfo here. And it is: US State Plane Coord System (1983, Feet) -- Florida 0902, Western Zone (1983, US Survey Feet) I'm just learning MS. And this is my first foray into projections... -Phil -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Thursday, November 20, 2003 1:30 PM To: Phil Shevlin Subject: RE: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Phil - They would most likely, then, be in Florida State Plane (East Zone) coordinates, which may be either in feet or meters, but from the numbers I'm going to guess that they are feet. That would mean that the image is at a resolution of four feet per pixel - does that sound right? - Ed Ed McNierney President and Chief Mapmaker TopoZone.com / Maps a la carte, Inc. 73 Princeton Street, Suite 305 North Chelmsford, MA 01863 ed at topozone.com (978) 251-4242 -----Original Message----- From: Phil Shevlin [mailto:pshevlin at cityftmyers.com] Sent: Thursday, November 20, 2003 1:11 PM To: Ed McNierney Subject: RE: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Thanks for the reply. The raster is of a city in Florida (Ft. Myers). -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Wednesday, November 19, 2003 6:33 PM To: Phil Shevlin; mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed Phil - If you can tell us what part of the Earth this raster file represents, it will help us interpret the proper projection for it. It is clearly NOT in degrees, and the 4.0 and -4.0 lines *probably* refer to meters. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Phil Shevlin [mailto:pshevlin at cityftmyers.com] Sent: Wednesday, November 19, 2003 5:04 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] MS4.0 and Raster (GeoTiff) assistance needed I have a map with a number of layers working. I am trying to include a raster layer (.tif). When I include the layer: LAYER NAME "Test" STATUS ON DATA "E:/Inetpub/wwwroot/mapserver/raster/4424.tif" TYPE RASTER TEMPLATE "template_hi.html" END The map shows but the layer does not appear. I am assuming that it is a projection problem. My extent is in degrees: EXTENT -81.917574 26.569844 -81.755026 26.691756 But the .tfw file appears otherwise: 4.00000000000000 0.00000000000000 0.00000000000000 -4.00000000000000 669000.00000000000000 855000.00000000000000 How do I go about including this layer? Or, can someone point me to some tutorials (I have found one that helps me). Thanks Phil Shevlin I am using: Win2K server Mapserver 4.0 OGR => MapInfo .tab's E:\Inetpub\wwwroot\cgi-bin>mapserv40 -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From map_surfer at yahoo.com Fri Nov 21 13:27:55 2003 From: map_surfer at yahoo.com (Damian Schroder) Date: Fri, 21 Nov 2003 13:27:55 -0800 (PST) Subject: [Mapserver-users] drawQuery() Mapserver 4.0.1 postgis layers Message-ID: <20031121212755.49854.qmail@web80706.mail.yahoo.com> --0-1765435606-1069450075=:48222 Content-Type: text/plain; charset=us-ascii I have created a mapserver application that has apostgis layer. Everything works perfectly, with theexception of on mapsever method drawQuery() and itonly fails randomly (that is, it works partly). I'mnot sure if it is a problem with mapserver or someperformance issue with my table.I did receive some advice with this problem before:check the mapserver_ChangeLog.txt for updates. I did,and saw some changes I thought might be relevant. Idownloaded mapserver 4.0.1 (current stable version)compiled and tested only to get the same results.So, I started from scratch1. insured USE_STATS = 1 (in makefile)2. created new database ran postgis.sql3. loaded table4. CREATE INDEX x_index ON x_table USING GIST(the_geom GIST_GEOMETRY_OPS );5. VACUUM ANALYZE;6. CREATE INDEX x_table_oid_idx ON x_table (oid);7. VACUUM ANALYZE;8. SELECT UPDATE_GEOMETRY_STATS();9. VACUUM ANALYZE;the HISTOGRAM2D has what appears to be the extentsfollowed by lots of 0's and some integers mixed inhere and there (not really sure what I should beseeing).It is IMPORTANT to note. I ALWAYS get the results froma query, regardless of records queried. The onlyproblem exist when drawing the query map. I am using these versions: postgres 7.3.3 postgis 0.7.5Hope someone can point me in the right direction.Thanks, Damian --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --0-1765435606-1069450075=:48222 Content-Type: text/html; charset=us-ascii
I have created a mapserver application that has a
postgis layer. Everything works perfectly, with the
exception of on mapsever method drawQuery() and it
only fails randomly (that is, it works partly). I'm
not sure if it is a problem with mapserver or some
performance issue with my table.

I did receive some advice with this problem before:
check the mapserver_ChangeLog.txt for updates. I did,
and saw some changes I thought might be relevant. I
downloaded mapserver 4.0.1 (current stable version)
compiled and tested only to get the same results.

So, I started from scratch
1. insured USE_STATS = 1 (in makefile)
2. created new database ran postgis.sql
3. loaded table
4. CREATE INDEX x_index ON x_table USING GIST
(the_geom GIST_GEOMETRY_OPS );
5. VACUUM ANALYZE;
6. CREATE INDEX x_table_oid_idx ON x_table (oid);
7. VACUUM ANALYZE;
8. SELECT UPDATE_GEOMETRY_STATS();
9. VACUUM ANALYZE;

the HISTOGRAM2D has what appears to be the extents
followed by lots of 0's and some integers mixed in
here and there (not really sure what I should be
seeing).

It is IMPORTANT to note. I ALWAYS get the results from
a query, regardless of records queried. The only
problem exist when drawing the query map.
I am using these versions:
postgres 7.3.3
postgis 0.7.5

Hope someone can point me in the right direction.
Thanks, Damian


Do you Yahoo!?
Free Pop-Up Blocker - Get it now --0-1765435606-1069450075=:48222-- From ASeifert at schwerin.de Mon Nov 24 01:10:27 2003 From: ASeifert at schwerin.de (Andre Seifert) Date: Mon, 24 Nov 2003 10:10:27 +0100 Subject: Antw: Re: [Mapserver-users] ld32: ERROR 33 Message-ID: Hi Vincent, many thanks for your help. Thanks for the tiff-tip too. There is only 1 gdal and that happens in /usr/local/lib. But I got an idea. I compiled and built gdal again. At the time, when I built gdal, gcc was still not installed. But now I installed gcc for mapserver. The rebuild of gdal is the solution. Now I can build mapserver without erros. Your suggestion for gdal was the decisive tip. best regards, Andre. >>> Vincent Schut 21.11.2003 13.19 Uhr >>> Andre, something seems wrong with your gdal lib or the linking of it. Some things you could try: First, try configuring without supplying the path to gdal-config (there should be only one gdal-config on your system normally, and usually the configure script should be able to find it). Then you could try upgrading your gdal (don't know what version you use?). It also seems strange to me that mapserver tries to link to gdal.a (the static library) instead of libgdal.so (the dynamic loadable library). You could check all files with gdal in the name that are in /usr/local/lib and /usr/lib. If there are gdal files in both, delete the ones in /usr/ lib (and in /usr/include delete the *gdal*.h files). You should only have them in /usr/local/[lib|include] usually. Then check if the date of the gdal files (.a and .so) in /usr/local/lib is the same for all. If not, delete the older files and eventually reinstall gdal to be sure to have only recent gdal library files on your system. Btw, usually it's better to compile mapserver --without-tiff because then tiff import will happen through gdal, which offers much better (geo)tiff support than the normal libtiff. I hope one of these steps helps. cheers, Vincent. On 2003.11.21 06:42, Andre Seifert wrote: > Hi folks, > what means > ld32: ERROR 33 > > Do you need more info? > > > Mapserver 4.0.1 > IRIX 6.5 > gcc 3.3 > > echo "# configure > ###########################################################" > ./configure \ > --with-tiff=/usr/local\ > --with-png=/usr/local\ > --with-jpeg=/usr/local\ > --with-gdal=/usr/local/bin/gdal-config\ > --with-gd=/usr/local > echo "# make > ################################################################" > make > > # configure > ########################################################### > creating cache ./config.cache > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for c++... c++ > checking whether the C++ compiler (c++ ) works... yes > checking whether the C++ compiler (c++ ) is a cross-compiler... no > checking whether we are using GNU C++... yes > checking whether c++ accepts -g... yes > checking for ranlib... : > checking for flex... flex > checking for yywrap in -lfl... no > checking for bison... bison -y > checking if compiler supports -R... no > checking if compiler supports -Wl,-rpath,... yes > checking for exp in -lm... yes > checking for __gxx_personality_v0 in -lstdc++... yes > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for strcasecmp... yes > checking for strncasecmp... yes > checking for strdup... yes > checking whether we should include JPEG support... > using libjpeg from system -L/usr/local/lib -ljpeg > checking where FreeType 2.x is installed... > checking for FT_Init_FreeType in -lfreetype... no > freetype-config or libfreetype cannot be found, possibly > needed for GD > checking where Zlib is installed... > checking for zlibVersion in -lz... yes > using libz from system libs. > checking where PNG is installed... > using libpng from -L/usr/local/lib -lpng > checking where libXpm is installed... > checking for XpmFreeXpmImage in -lXpm... yes > using libXpm from system libs. > checking where libiconv is installed... > checking for libiconv_open in -liconv... no > libiconv library cannot be found, possibly needed for GD > checking for GD 2.0.12 or higher... > checking for gdImageSetAntiAliased in -lgd... yes > using libgd 2.0.12 (or higher) from -L/usr/local/lib -lgd > -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 > checking for gdImageGif in -lc... no > checking for gdImagePng in -lc... yes > checking for gdImageJpeg in -lc... yes > checking for gdImageWBMP in -lc... yes > checking for gdImageStringFT in -lc... yes > checking for gdImageGifPtr in -lc... no > using GD ( -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT) from /usr/local. > checking whether we should include PDF support... > checking for PDF_setlinewidth in -lpdf... no > checking for PDF_setrgbcolor in -lpdf... no > checking for PDF_moveto in -lpdf... no > checking for PDF_curveto in -lpdf... no > checking for PDF_show_xy in -lpdf... no > libpdf not found... PDF support not included. > checking whether we should include TIFF support... > using libtiff from -L/usr/local/lib -ltiff. > checking whether we should include EPPL7 support... > including EPPL7 support. > checking whether we should include PROJ.4 support... > PROJ.4 support not requested. > checking whether we should include thread safe support... > thread safe support disabled. > checking whether we should include ESRI SDE support... > ESRI SDE support not requested. > checking whether we should compile in MPATROL support... > MPATROL support not requested. > checking whether we should include OGR support... > OGR support not requested. > checking if GDAL support requested... yes, user supplied gdal-config > (/usr/local/bin/gdal-config) > checking if PostGIS support requested... no > checking if MyGIS support requested... no > checking if OracleSpatial support requested... no > checking if MING/Flash support requested... no > checking whether we should include WMS Server support... > OGC WMS Compatibility not enabled (PROJ.4 is required for > WMS). > checking whether we should include WFS Server support... > OGC WFS Server support not requested. > checking whether we should include WMS Client Connections support... > OGC WMS Client Connections not enabled (PROJ.4 and libcurl > required). > checking whether we should include WFS Client Connections support... > OGC WFS Client Connections not enabled (PROJ.4, libcurl and > OGR required). > checking for curl-config > checking HTTPD server (Apache) version > checking for httpd... no > 'httpd' not found, skipping Apache version detection. You may > want to use --with-httpd=/path/to/httpd > Compiling with -DIGNORE_MISSING_DATA. > checking whether we should enable debug features... > checking for PHP/MapScript module options... > PHP/MapScript module not configured. > updating cache ./config.cache > creating ./config.status > creating Makefile > # make > ################################################################ > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maptemplate.c -o maptemplate.o > maptemplate.c: In function `generateLegendTemplate': > maptemplate.c:1350: Warnung: long int format, different type arg (arg > 3) > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapbits.c -o mapbits.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maphash.c -o maphash.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapshape.c -o mapshape.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapxbase.c -o mapxbase.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapparser.c -o mapparser.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplexer.c -o maplexer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maptree.c -o maptree.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsearch.c -o mapsearch.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapstring.c -o mapstring.o > mapstring.c: In function `msEncodeUrl': > mapstring.c:408: Warnung: subscript has type `char' > mapstring.c:419: Warnung: subscript has type `char' > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsymbol.c -o mapsymbol.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapfile.c -o mapfile.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplegend.c -o maplegend.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maputil.c -o maputil.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapscale.c -o mapscale.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapquery.c -o mapquery.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplabel.c -o maplabel.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maperror.c -o maperror.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapprimitive.c -o mapprimitive.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapproject.c -o mapproject.o > mapproject.c: In function `msGetEPSGProj': > mapproject.c:429: Warnung: return makes pointer from integer without > a > cast > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapraster.c -o mapraster.o > mapraster.c: In function `readGEOTiff': > mapraster.c:304: Warnung: dereferencing type-punned pointer will > break > strict-aliasing rules > mapraster.c:308: Warnung: dereferencing type-punned pointer will > break > strict-aliasing rules > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapsde.c -o mapsde.o > c++ -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapogr.cpp -o mapogr.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mappostgis.c -o mappostgis.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapmygis.c -o mapmygis.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maplayer.c -o maplayer.o > maplayer.c: In function `msLayerWhichItemsNew': > maplayer.c:629: Warnung: unused variable `i' > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapresample.c -o mapresample.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwms.c -o mapwms.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwmslayer.c -o mapwmslayer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maporaclespatial.c -o maporaclespatial.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgml.c -o mapgml.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapprojhack.c -o mapprojhack.o > mapprojhack.c:71: Warnung: `ConvertProjUnitStringToMS' defined but > not > used > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapthread.c -o mapthread.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapdraw.c -o mapdraw.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgd.c -o mapgd.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapoutput.c -o mapoutput.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgdal.c -o mapgdal.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapswf.c -o mapswf.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapimagemap.c -o mapimagemap.o > mapimagemap.c:59: Warnung: `searchImageCache' defined but not used > mapimagemap.c:89: Warnung: `addImageCache' defined but not used > mapimagemap.c:333: Warnung: `imageOffsetPolyline' defined but not > used > mapimagemap.c:364: Warnung: `imagePolyline' defined but not used > mapimagemap.c:1392: Warnung: `billboardIM' defined but not used > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapows.c -o mapows.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwfs.c -o mapwfs.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapwfslayer.c -o mapwfslayer.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapcontext.c -o mapcontext.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > maphttp.c -o maphttp.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapdrawgdal.c -o mapdrawgdal.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mappdf.c -o mappdf.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapjoin.c -o mapjoin.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapgraticule.c -o mapgraticule.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > mapcopy.c -o mapcopy.o > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > epplib.c -o epplib.o > ar rc libmap.a 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 mapmygis.o maplayer.o mapresample.o mapwms.o > mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o mapthread.o > mapdraw.o mapgd.o mapoutput.o mapgdal.o mapswf.o mapimagemap.o > mapows.o mapwfs.o mapwfslayer.o mapcontext.o maphttp.o mapdrawgdal.o > mappdf.o mapjoin.o mapgraticule.o mapcopy.o epplib.o > : libmap.a > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL > -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > 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 -DUSE_GDAL -I/usr/local/include > -I/usr/local/include -I/usr/local/include -I/usr/local/include > shp2img.o -L. -lmap -L/usr/local/lib -lgd -L/usr/local/lib - > ljpeg > -L/usr/local/lib -lpng -lz -lXpm -lX11 -L/usr/local/lib -ltiff > -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -lXpm -lX11 > -L/usr/local/lib -ljpeg /usr/local/lib/ogrsf_frmts.a > /usr/local/lib/gdal.a /usr/local/lib/ogr.a /usr/local/lib/gdal.a > /usr/local/lib/cpl.a -L/usr/local -L/usr/local/lib -ljpeg > -L/usr/local/lib -ltiff -L/usr/local -L/usr/local/lib -lpng > -L/usr/local -L/usr/local -lz -lm -ldl -lm -lm -lstdc++ -o > shp2img > ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving > any symbol. > ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/libpng.a is not used for resolving > any symbol. > ld32: WARNING 84 : /usr/local/lib/libz.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/ogrsf_frmts.a is not used for > resolving any symbol. > ld32: WARNING 84 : /usr/local/lib/gdal.a is not used for resolving > any > symbol. > ld32: WARNING 84 : /usr/local/lib/cpl.a is not used for resolving any > symbol. > ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any > symbol. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::OGRSpatialReference[in-charge](char const*)" -- > 1st referenced by ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::importFromWkt(char**)" -- 1st referenced by > ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol > "OGRSpatialReference::~OGRSpatialReference [in-charge]()" -- 1st > referenced by ./libmap.a(mapogr.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "operator delete(void *)" > -- > 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "operator new(unsigned > int)" > -- 1st referenced by /usr/local/lib/gdal.a(gdalrasterband.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__vec_new_eh2" -- 1st > referenced by /usr/local/lib/gdal.a(ddfmodule.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__vec_delete2" -- 1st > referenced by /usr/local/lib/gdal.a(ddfmodule.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__nwa(unsigned int)" -- > 1st > referenced by /usr/local/lib/gdal.a(ddfrecord.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved text symbol "__dla(void *)" -- 1st > referenced by /usr/local/lib/gdal.a(ddfrecord.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. ld32: ERROR 33 : Unresolved text symbol > "__pure_virtual_called" -- 1st referenced by > /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: ERROR 33 : Unresolved data symbol "type_info::__vtbl(void)" > -- > 1st referenced by /usr/local/lib/gdal.a(ogr_srs_proj4.o). > Use linker option -v to see when and which objects, archives > and dsos are loaded. > ld32: INFO 152: Output file removed because of error. > collect2: ld returned 2 exit status > *** Fehlercode 1 (bu21) > > best regards, Andre > > > > Mail scanned by virusscanner, Patternfile from 19 Nov 2003 > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > Mail scanned by virusscanner, Patternfile from 19 Nov 2003 Mail scanned by virusscanner, Patternfile from 19 Nov 2003 From david at itbeyond.com.au Mon Nov 24 01:37:08 2003 From: david at itbeyond.com.au (David Martin) Date: Mon, 24 Nov 2003 17:37:08 +0800 Subject: [Mapserver-users] GPS Point data output in MapServer Message-ID: <45CB0C3935C944488AC3650E3C53D17F09AF8D@itbeyond01.itbeyond-int.com.au> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3B26E.87BD8250 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I am working on an app at present and I am wanting to integrate external GPS data plots and point files into online maps. The data I have as input is basically lat/long points and descriptions. I am currently writing out a .map file and adding a long list of FEATURE references on multi layers. It works fine however I am just wondering if there is a more correct or better way to be able to do this on the fly. The data is coming from an SQL database and is not in any shape file formats. Basically a table with Desc, Lat & Long - this data changes often. =20 Any thoughts or ideas much appreciated! =20 =20 Regards David Martin DIRECTOR I.T. Beyond Pty Ltd Postal: PO BOX 967 HILLARYS WA 6923=09 Ph: (08) 9403 3737 =09 Mobile: 0417 677 275 =09 Fax: (08) 9403 3738=09 =20 _____ =20 Check out our websites: www.ExplorOz.com and www.itbeyond.com.au =20 =20 ------_=_NextPart_001_01C3B26E.87BD8250 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hi,
 
I am = working on an=20 app at present and I am wanting to integrate external GPS data plots and = point=20 files into online maps. The data I have as input is basically lat/long = points=20 and descriptions. I am currently writing out a .map file and adding a = long list=20 of FEATURE references on multi layers. It works fine however I am=20 just wondering if there is a more correct or better way to be able = to do=20 this on the fly. The data is coming from an SQL database and is not = in any=20 shape file formats. Basically a table with Desc, Lat & Long - = this data=20 changes often.
 
Any = thoughts or=20 ideas much appreciated!    
 
Regards
David = Martin
DIRECTOR
I.T. Beyond Pty = Ltd
Postal: PO BOX = 967
HILLARYS=20 WA 6923
Ph: (08) 9403 = 3737=20
Mobile: 0417 677 = 275=20
Fax: (08) 9403=20 3738
 

Check out our websites: = www.ExplorOz.com and www.itbeyond.com.au

 
=00 ------_=_NextPart_001_01C3B26E.87BD8250-- From yvain.ballini at seat.it Mon Nov 24 05:46:14 2003 From: yvain.ballini at seat.it (Yvain Ballini) Date: Mon, 24 Nov 2003 14:46:14 +0100 Subject: [Mapserver-users] pb with projection settings Message-ID: <015f01c3b291$5431d5a0$a559af0a@seat.it> This is a multi-part message in MIME format. ------=_NextPart_000_015C_01C3B299.B5D261F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi list, I've got a problem with the use of the proj.lib in Mapserver: I would = like to display some map in Italy but I don't succeed in setting the = right projection parameters. I get always the same distorted map if I = change the parameters in the file proj_def.dat or when I change the = projection settings in the mapfile (for the main projection and for the = layer reprojections). Has someone any idea about the solution of these = problem ?? Thank you very much. there is above the mapfile that I'm using: # # Start of map file # NAME DEV STATUS ON SIZE 430 380 #SIZE 150 150 EXTENT 7.680 45.06 7.685 45.06 #EXTENT 7.680 45.06 7.683 45.06 #SIZE 1000 1000 #EXTENT 7.60 45.03 7.75 45.09 #UNITS METERS DEBUG TRUE SHAPEPATH "data" IMAGECOLOR 189 198 206 PROJECTION "proj=3Dlonglat"=20 "ellps=3Dintl"=20 "units=3Dm" "towgs84=3D-225,-65,9,0,0,0,0"=20 "no_defs"=20 #"proj=3Dutm" #"ellps=3DWGS84" #"zone=3D15" #"towgs84=3D0,0,0" #"north" #"no_defs"=20 END #OUTPUTFORMAT # NAME gif # DRIVER "GD/GIF" # MIMETYPE "image/gif" # IMAGEMODE PC256 # EXTENSION "gif" #END OUTPUTFORMAT NAME png DRIVER "GD/PNG" MIMETYPE "image/png" IMAGEMODE RGB EXTENSION "png" END #OUTPUTFORMAT # NAME jpeg # DRIVER "GD/JPEG" # MIMETYPE "image/jpeg" # IMAGEMODE RGB # EXTENSION "jpg" #END #OUTPUTFORMAT # NAME wbmp # DRIVER "GD/WBMP" # MIMETYPE "image/wbmp" # IMAGEMODE PC256 # EXTENSION "wbmp" #END #OUTPUTFORMAT # NAME swf # DRIVER "SWF" # MIMETYPE "application/x-shockwave-flash" # EXTENSION "swf" # IMAGEMODE PC256 # FORMATOPTION "OUTPUT_MOVIE=3DSINGLE" #END #IMAGETYPE SWF IMAGETYPE PNG #IMAGETYPE PDF #PROJECTION # proj=3Dlonglat=20 # ellps=3DWGS84 # datum=3DWGS84=20 # zone=3D50 # no_defs # "zone=3D15" # "north" # "no_defs" # # OR:=20 # # "init=3Depsg:26915" #END WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html #MINSCALE 1000 #MAXSCALE 1550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" END FONTSET "c:\windows\fonts\fonts.txt" #REFERENCE # IMAGE graphics/reference.gif # EXTENT 393234.393701263 5205405.16440722 495769.579718949 = 5307959.02579127 # SIZE 120 120 # STATUS ON # COLOR -1 -1 -1 # OUTLINECOLOR 255 0 0 #END SYMBOL NAME 'carto_line' TYPE CARTOLINE #Linecap - ROUND, SQUARE, TRIANGLE, BUTT - default BUTT LINECAP BUTT #Linejoin - ROUND, BEVEL, MITER - default NONE LINEJOIN BEVEL LINEJOINMAXSIZE 5 END SYMBOL NAME 'cline' TYPE ellipse POINTS=20 1 1 END END LAYER NAME parchi_navtech STATUS OFF DATA parkcity_region TYPE POLYGON LABELITEM "NAME" CLASS LABEL #ANGLE AUTO #BUFFER 1 #PARTIALS FALSE #FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION AUTO SIZE 5 TYPE TRUETYPE COLOR 255 255 255 END STYLE #COLOR 66 132 0 COLOR 77 199 63 ANTIALIAS TRUE END END END # parchi navtech LAYER NAME aree_navtech STATUS OFF DATA landuseA_region TYPE POLYGON LABELITEM "NAME" CLASS LABEL #ANGLE AUTO #BUFFER 1 #PARTIALS FALSE #FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION AUTO SIZE 5 TYPE TRUETYPE COLOR 255 255 255 END STYLE #COLOR 255 165 115 COLOR 179 181 81 ANTIALIAS TRUE END END END # corsi d'acqua navtech LAYER NAME acqua_navtech STATUS OFF DATA waterwys_region TYPE POLYGON #LABELITEM "StNm_Base" CLASS STYLE #COLOR 165 214 255 #COLOR 165 165 165 ANTIALIAS TRUE COLOR 64 154 253 END END END # corsi d'acqua navtech LAYER NAME acqua1_navtech STATUS OFF DATA waterwys_polyline TYPE LINE #LABELITEM "StNm_Base" CLASS STYLE SIZE 1 #COLOR 165 214 255 COLOR 64 154 253 ANTIALIAS TRUE END END END # parchi navtech LAYER NAME pedonali_navtech STATUS OFF DATA pedonali3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\pedonali1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 3 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # pedonali navtech #LAYER # NAME vie_navtech #MAXSCALE 600000 # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\vie_e_corsi.tab" #DATA vie3_polyline # END=20 # TYPE LINE # CLASS # STYLE=20 # SYMBOL 'carto_line' # SIZE 9 #COLOR 181 222 255 # COLOR 120 140 255 # ANTIALIAS TRUE # END # END #END # vie navtech LAYER NAME vie_navtech PROJECTION #"proj=3Daeqd" #"ellps=3DWGS60" #"units=3Dm" #"towgs84=3D0,0,0" #"no_defs" "proj=3Dlonglat"=20 "ellps=3Dintl"=20 "units=3Dm" "towgs84=3D-225,-65,9,0,0,0,0"=20 "no_defs"=20 END #MAXSCALE 600000 STATUS OFF DATA vie3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\vie1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 6 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # vie navtech LAYER NAME controviali_navtech STATUS OFF DATA controviali2_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\controviali1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 4 #COLOR 181 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # controviali navtech LAYER NAME controviali_navtech2 STATUS OFF DATA controviali2_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\controviali1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 2 COLOR 255 255 255 ANTIALIAS TRUE END END END # controviali navtech LAYER NAME corsi_navtech #MAXSCALE 600000 STATUS OFF DATA corsi5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\corsi1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 9 COLOR 120 140 255 ANTIALIAS TRUE END END END # corsi navtech LAYER NAME importanti_navtech STATUS OFF DATA importanti5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\importanti1.tab" TYPE LINE CLASS STYLE=20 SYMBOL 'carto_line' SIZE 8 #COLOR 156 202 156 COLOR 88 174 51 ANTIALIAS TRUE END END END # importanti navtech #LAYER # NAME statali_navtech # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\statali1.tab" # TYPE LINE # CLASS # STYLE=20 # SYMBOL 'carto_line' # SIZE 8 #COLOR 156 202 156 # COLOR 88 174 51 # ANTIALIAS TRUE # END # END #END # statali navtech LAYER NAME pedonali_navtech2 STATUS OFF DATA pedonali3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\pedonali1.tab" TYPE LINE LABELITEM "StNm_Base" LABELCACHE ON CLASS LABEL ANGLE AUTO FONT "verdana" #BUFFER 1 #PARTIALS FALSE ANTIALIAS TRUE POSITION CC SIZE 5 TYPE TRUETYPE COLOR 0 0 0 END STYLE=20 SYMBOL 'carto_line' #SIZE 2 SIZE 3 #COLOR 217 222 255 COLOR 120 140 255 ANTIALIAS TRUE END END END # pedonali navtech LAYER NAME vie_navtech2 #MAXSCALE 600000 STATUS OFF DATA vie3_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\vie1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 PARTIALS FALSE FORCE TRUE FONT "verdana" ANTIALIAS TRUE POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' SIZE 4 COLOR 255 255 255 ANTIALIAS TRUE END END END # vie navtech LAYER NAME corsi_navtech2 STATUS OFF DATA corsi5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\corsi1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 #PARTIALS FALSE FONT "verdana" #FORCE TRUE ANTIALIAS TRUE MINDISTANCE 2 POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE=20 SYMBOL 'carto_line' SIZE 7 COLOR 255 255 255 ANTIALIAS TRUE END END END # corsi navtech LAYER NAME importanti_navtech2 STATUS OFF DATA importanti5_polyline #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\importanti1.tab" LABELITEM "StNm_Base" LABELCACHE ON TYPE LINE CLASS LABEL ANGLE AUTO BUFFER 1 #PARTIALS FALSE FONT "verdana" ANTIALIAS TRUE MINDISTANCE 2 #FORCE TRUE POSITION CC SIZE 7 TYPE TRUETYPE COLOR 0 0 0 END STYLE SYMBOL 'carto_line' SIZE 4 #COLOR 255 255 132 COLOR 255 255 159 #color 255 255 255 ANTIALIAS TRUE END END END # importanti navtech #LAYER # NAME statali_navtech2 # STATUS OFF # CONNECTIONTYPE OGR # CONNECTION "c:\mapserver\itasca\data\statali1.tab" # LABELITEM "StNm_Base" # LABELCACHE ON # TYPE LINE # CLASS # LABEL # ANGLE AUTO # BUFFER 1 # #PARTIALS FALSE # FONT "verdana" # ANTIALIAS TRUE # MINDISTANCE 2 #FORCE TRUE # POSITION CC # SIZE 7 # TYPE TRUETYPE # COLOR 0 0 0 # END # STYLE # SYMBOL 'carto_line' # SIZE 4 #COLOR 255 255 132 # COLOR 255 255 159 #color 255 255 255 # ANTIALIAS TRUE # END # END #END LAYER NAME freccie_navtech STATUS OFF #CONNECTIONTYPE OGR #CONNECTION "c:\mapserver\itasca\data\arrow.tab" DATA arrow_font_point TYPE POINT CLASS STYLE SYMBOL 'cline' size 2 COLOR 245 88 128 ANTIALIAS TRUE END END END END # Map File ------=_NextPart_000_015C_01C3B299.B5D261F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="iso-8859-1"
Hi list,
I've got a problem with the = use of the=20 proj.lib in Mapserver: I would like to display some map in Italy but I = don't=20 succeed in setting the right projection parameters. I get always the = same=20 distorted map if I change the parameters in the file proj_def.dat or = when I=20 change the projection settings in the mapfile (for the main projection = and for=20 the layer reprojections). Has someone any idea about the solution of = these=20 problem ??
Thank you very much.

there is above the mapfile = that I'm=20 using:

#
# Start of map file
#
NAME DEV
STATUS = ON
SIZE 430=20 380
#SIZE 150 150
EXTENT 7.680 45.06 7.685 45.06
#EXTENT 7.680 = 45.06=20 7.683 45.06

#SIZE 1000 1000
#EXTENT 7.60 45.03 7.75=20 45.09

#UNITS METERS

DEBUG TRUE
SHAPEPATH = "data"
IMAGECOLOR=20 189 198 206

PROJECTION

"proj=3Dlonglat"
"ellps=3Dintl" =
"units=3Dm"
"towgs84=3D-225,-65,9,0,0,0,0"
"no_defs"=20


#"proj=3Dutm"
#"ellps=3DWGS84"
#"zone=3D15"
#"towgs8= 4=3D0,0,0"
#"north"
#"no_defs"=20

END

#OUTPUTFORMAT
# NAME gif
# DRIVER "GD/GIF"
# = MIMETYPE "image/gif"
# IMAGEMODE PC256
# EXTENSION=20 "gif"
#END

OUTPUTFORMAT
NAME png
DRIVER = "GD/PNG"
MIMETYPE=20 "image/png"
IMAGEMODE RGB
EXTENSION = "png"
END

#OUTPUTFORMAT
#=20 NAME jpeg
# DRIVER "GD/JPEG"
# MIMETYPE "image/jpeg"
# = IMAGEMODE=20 RGB
# EXTENSION "jpg"
#END

#OUTPUTFORMAT
# NAME = wbmp
# DRIVER=20 "GD/WBMP"
# MIMETYPE "image/wbmp"
# IMAGEMODE PC256
# EXTENSION = "wbmp"
#END

#OUTPUTFORMAT
# NAME swf
# DRIVER "SWF"
# = MIMETYPE "application/x-shockwave-flash"
# EXTENSION "swf"
# = IMAGEMODE=20 PC256
# FORMATOPTION = "OUTPUT_MOVIE=3DSINGLE"
#END

#IMAGETYPE=20 SWF
IMAGETYPE PNG
#IMAGETYPE PDF

#PROJECTION
# = proj=3Dlonglat=20
# ellps=3DWGS84
# datum=3DWGS84
# zone=3D50
# no_defs
# = "zone=3D15"
# "north"
# "no_defs"
#
# OR:
#
#=20 "init=3Depsg:26915"
#END

WEB
HEADER = demo_header.html
TEMPLATE=20 demo.html
FOOTER demo_footer.html
#MINSCALE 1000
#MAXSCALE=20 1550000
IMAGEPATH "set in demo_init.html"
IMAGEURL "set in=20 demo_init.html"
END
FONTSET=20 "c:\windows\fonts\fonts.txt"

#REFERENCE
# IMAGE=20 graphics/reference.gif
# EXTENT 393234.393701263 5205405.16440722=20 495769.579718949 5307959.02579127
# SIZE 120 120
# STATUS ON
# = COLOR -1=20 -1 -1
# OUTLINECOLOR 255 0 0
#END

SYMBOL
NAME=20 'carto_line'
TYPE CARTOLINE
#Linecap - ROUND, SQUARE, TRIANGLE, = BUTT -=20 default BUTT
LINECAP BUTT
#Linejoin - ROUND, BEVEL, MITER - = default=20 NONE
LINEJOIN BEVEL
LINEJOINMAXSIZE 5
END

SYMBOL
NAME = 'cline'
TYPE ellipse
POINTS
1 = 1
END
END

LAYER
NAME=20 parchi_navtech
STATUS OFF
DATA parkcity_region
TYPE=20 POLYGON
LABELITEM "NAME"
CLASS
LABEL
#ANGLE AUTO
#BUFFER=20 1
#PARTIALS FALSE
#FORCE TRUE
FONT "verdana"
ANTIALIAS=20 TRUE
POSITION AUTO
SIZE 5
TYPE TRUETYPE
COLOR 255 255=20 255
END
STYLE
#COLOR 66 132 0
COLOR 77 199 63
ANTIALIAS=20 TRUE
END
END
END # parchi navtech

LAYER
NAME=20 aree_navtech
STATUS OFF
DATA landuseA_region
TYPE = POLYGON
LABELITEM=20 "NAME"
CLASS
LABEL
#ANGLE AUTO
#BUFFER 1
#PARTIALS=20 FALSE
#FORCE TRUE
FONT "verdana"
ANTIALIAS TRUE
POSITION=20 AUTO
SIZE 5
TYPE TRUETYPE
COLOR 255 255 = 255
END
STYLE
#COLOR=20 255 165 115
COLOR 179 181 81
ANTIALIAS TRUE
END
END
END # = corsi=20 d'acqua navtech

LAYER
NAME acqua_navtech
STATUS OFF
DATA = waterwys_region
TYPE POLYGON
#LABELITEM=20 "StNm_Base"
CLASS
STYLE
#COLOR 165 214 255
#COLOR 165 165=20 165
ANTIALIAS TRUE
COLOR 64 154 253
END
END
END # corsi = d'acqua=20 navtech

LAYER
NAME acqua1_navtech
STATUS OFF
DATA=20 waterwys_polyline
TYPE LINE
#LABELITEM=20 "StNm_Base"
CLASS
STYLE
SIZE 1
#COLOR 165 214 255
COLOR = 64 154=20 253
ANTIALIAS TRUE
END
END
END # parchi = navtech

LAYER
NAME=20 pedonali_navtech
STATUS OFF
DATA = pedonali3_polyline
#CONNECTIONTYPE=20 OGR
#CONNECTION "c:\mapserver\itasca\data\pedonali1.tab"
TYPE=20 LINE
CLASS
STYLE
SYMBOL 'carto_line'
SIZE 3
#COLOR 181 = 222=20 255
COLOR 120 140 255
ANTIALIAS TRUE
END
END
END # = pedonali=20 navtech

#LAYER
# NAME vie_navtech
#MAXSCALE 600000
# = STATUS=20 OFF
# CONNECTIONTYPE OGR
# CONNECTION=20 "c:\mapserver\itasca\data\vie_e_corsi.tab"
#DATA = vie3_polyline

# END=20

# TYPE LINE
# CLASS
# STYLE
# SYMBOL 'carto_line'
# = SIZE=20 9
#COLOR 181 222 255
# COLOR 120 140 255
# ANTIALIAS TRUE
# = END
#=20 END
#END # vie navtech

LAYER
NAME=20 vie_navtech

PROJECTION
#"proj=3Daeqd"
#"ellps=3DWGS60"
#"= units=3Dm"
#"towgs84=3D0,0,0"
#"no_defs"
"proj=3Dlonglat"=20
"ellps=3Dintl"
"units=3Dm"
"towgs84=3D-225,-65,9,0,0,0,0" =
"no_defs"=20
END

#MAXSCALE 600000
STATUS OFF
DATA=20 vie3_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\vie1.tab"
TYPE LINE
CLASS
STYLE =
SYMBOL=20 'carto_line'
SIZE 6
#COLOR 181 222 255
COLOR 120 140 = 255
ANTIALIAS=20 TRUE
END
END
END # vie navtech

LAYER
NAME=20 controviali_navtech
STATUS OFF
DATA=20 controviali2_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\controviali1.tab"
TYPE = LINE
CLASS
STYLE=20
SYMBOL 'carto_line'
SIZE 4
#COLOR 181 222 255
COLOR 120 140 = 255
ANTIALIAS TRUE
END
END
END # controviali=20 navtech

LAYER
NAME controviali_navtech2
STATUS OFF
DATA=20 controviali2_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\controviali1.tab"
TYPE = LINE
CLASS
STYLE=20
SYMBOL 'carto_line'
SIZE 2
COLOR 255 255 255
ANTIALIAS=20 TRUE
END
END
END # controviali navtech

LAYER
NAME=20 corsi_navtech
#MAXSCALE 600000
STATUS OFF
DATA=20 corsi5_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\corsi1.tab"
TYPE LINE
CLASS
STYLE =
SYMBOL=20 'carto_line'
SIZE 9
COLOR 120 140 255
ANTIALIAS=20 TRUE
END
END
END # corsi navtech

LAYER
NAME=20 importanti_navtech
STATUS OFF
DATA = importanti5_polyline
#CONNECTIONTYPE=20 OGR
#CONNECTION "c:\mapserver\itasca\data\importanti1.tab"
TYPE=20 LINE
CLASS
STYLE
SYMBOL 'carto_line'
SIZE 8
#COLOR 156 = 202=20 156
COLOR 88 174 51
ANTIALIAS TRUE
END
END
END # = importanti=20 navtech

#LAYER
# NAME statali_navtech
# STATUS OFF
#=20 CONNECTIONTYPE OGR
# CONNECTION = "c:\mapserver\itasca\data\statali1.tab"
#=20 TYPE LINE
# CLASS
# STYLE
# SYMBOL 'carto_line'
# SIZE = 8
#COLOR=20 156 202 156
# COLOR 88 174 51
# ANTIALIAS TRUE
# END
# = END
#END #=20 statali navtech

LAYER
NAME pedonali_navtech2
STATUS = OFF
DATA=20 pedonali3_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\pedonali1.tab"
TYPE LINE
LABELITEM=20 "StNm_Base"
LABELCACHE ON
CLASS
LABEL
ANGLE AUTO
FONT=20 "verdana"
#BUFFER 1
#PARTIALS FALSE
ANTIALIAS TRUE
POSITION=20 CC
SIZE 5
TYPE TRUETYPE
COLOR 0 0 0
END
STYLE
SYMBOL=20 'carto_line'
#SIZE 2
SIZE 3
#COLOR 217 222 255
COLOR 120 140 = 255
ANTIALIAS TRUE
END
END
END # pedonali=20 navtech

LAYER
NAME vie_navtech2
#MAXSCALE 600000
STATUS=20 OFF
DATA vie3_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\vie1.tab"
LABELITEM = "StNm_Base"
LABELCACHE=20 ON
TYPE LINE
CLASS
LABEL
ANGLE AUTO
BUFFER 1
PARTIALS=20 FALSE
FORCE TRUE
FONT "verdana"
ANTIALIAS TRUE
POSITION = CC
SIZE=20 7
TYPE TRUETYPE
COLOR 0 0 0
END
STYLE
SYMBOL = 'carto_line'
SIZE=20 4
COLOR 255 255 255
ANTIALIAS TRUE
END
END
END # vie=20 navtech

LAYER
NAME corsi_navtech2
STATUS OFF
DATA=20 corsi5_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\corsi1.tab"
LABELITEM = "StNm_Base"
LABELCACHE=20 ON
TYPE LINE
CLASS
LABEL
ANGLE AUTO
BUFFER 1
#PARTIALS = FALSE
FONT "verdana"
#FORCE TRUE
ANTIALIAS TRUE
MINDISTANCE=20 2
POSITION CC
SIZE 7
TYPE TRUETYPE
COLOR 0 0 = 0
END
STYLE=20
SYMBOL 'carto_line'
SIZE 7
COLOR 255 255 255
ANTIALIAS=20 TRUE
END
END
END # corsi navtech

LAYER
NAME=20 importanti_navtech2
STATUS OFF
DATA=20 importanti5_polyline
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\importanti1.tab"
LABELITEM=20 "StNm_Base"
LABELCACHE ON
TYPE LINE
CLASS
LABEL
ANGLE=20 AUTO
BUFFER 1
#PARTIALS FALSE
FONT "verdana"
ANTIALIAS=20 TRUE
MINDISTANCE 2
#FORCE TRUE
POSITION CC
SIZE 7
TYPE=20 TRUETYPE
COLOR 0 0 0
END
STYLE
SYMBOL 'carto_line'
SIZE=20 4
#COLOR 255 255 132
COLOR 255 255 159
#color 255 255 = 255
ANTIALIAS=20 TRUE
END
END
END # importanti navtech

#LAYER
# NAME=20 statali_navtech2
# STATUS OFF
# CONNECTIONTYPE OGR
# CONNECTION = "c:\mapserver\itasca\data\statali1.tab"
# LABELITEM "StNm_Base"
#=20 LABELCACHE ON
# TYPE LINE
# CLASS
# LABEL
# ANGLE AUTO
# = BUFFER=20 1
# #PARTIALS FALSE
# FONT "verdana"
# ANTIALIAS TRUE
# = MINDISTANCE=20 2
#FORCE TRUE
# POSITION CC
# SIZE 7
# TYPE TRUETYPE
# = COLOR 0 0=20 0
# END
# STYLE
# SYMBOL 'carto_line'
# SIZE 4
#COLOR 255 = 255=20 132
# COLOR 255 255 159
#color 255 255 255
# ANTIALIAS = TRUE
#=20 END
# END
#END

LAYER
NAME freccie_navtech
STATUS=20 OFF
#CONNECTIONTYPE OGR
#CONNECTION=20 "c:\mapserver\itasca\data\arrow.tab"
DATA arrow_font_point
TYPE=20 POINT
CLASS
STYLE
SYMBOL 'cline'
size 2
COLOR 245 88=20 128
ANTIALIAS TRUE
END
END
END

END # Map File=20
------=_NextPart_000_015C_01C3B299.B5D261F0-- From warmerdam at pobox.com Mon Nov 24 06:02:42 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Mon, 24 Nov 2003 09:02:42 -0500 Subject: [Mapserver-users] pb with projection settings In-Reply-To: <015f01c3b291$5431d5a0$a559af0a@seat.it> References: <015f01c3b291$5431d5a0$a559af0a@seat.it> Message-ID: <3FC20F82.8080406@pobox.com> Yvain Ballini wrote: > Hi list, > I've got a problem with the use of the proj.lib in Mapserver: I would > like to display some map in Italy but I don't succeed in setting the > right projection parameters. I get always the same distorted map if I > change the parameters in the file proj_def.dat or when I change the > projection settings in the mapfile (for the main projection and for the > layer reprojections). Has someone any idea about the solution of these > problem ?? > Thank you very much. ... > PROJECTION > > "proj=longlat" > "ellps=intl" > "units=m" > "towgs84=-225,-65,9,0,0,0,0" > "no_defs" > > > #"proj=utm" > #"ellps=WGS84" > #"zone=15" > #"towgs84=0,0,0" > #"north" > #"no_defs" > > END Yvain, If you choose to display a map on a geographic grid you will tend to get a somewhat distorted view. On approach to try and work around this would be to add the PROJECTION declarations for each of the layers, marking them as being proj=latlong ellps=intl, and then add a map level declaration for proj=utm zone=32 ellps=intl. This would cause the data to be reprojected into UTM (I think zone 32 is roughly right for Italy). I would add two notes: o Don't use units=m for proj=latlong, it doesn't make any sense. o When emailing out your map file requesting support from the list try reducing it to the minimum required to reproduce your problem. I almost gave up scanning through your long mapfile to see if there were any other significant declarations. Good luck, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From Rich at GreenwoodMap.com Mon Nov 24 06:41:16 2003 From: Rich at GreenwoodMap.com (Richard Greenwood) Date: Mon, 24 Nov 2003 07:41:16 -0700 Subject: [Mapserver-users] pb with projection settings In-Reply-To: <015f01c3b291$5431d5a0$a559af0a@seat.it> References: <015f01c3b291$5431d5a0$a559af0a@seat.it> Message-ID: <6.0.0.22.0.20031124073310.0261f1e8@mail.GreenwoodMap.com> --=======543C3DEA======= Content-Type: text/plain; x-avg-checked=avg-ok-2D4A5; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit At 06:46 AM 11/24/2003, you wrote: >Hi list, >I've got a problem with the use of the proj.lib in Mapserver: I would like >to display some map in Italy but I don't succeed in setting the right >projection parameters. I get always the same distorted map if I change the >parameters in the file proj_def.dat or when I change the projection >settings in the mapfile (for the main projection and for the layer >reprojections). Has someone any idea about the solution of these problem ?? >Thank you very much. You must set two projections; the target projection and the source projection. The target projection is the output projection. It is set for the entire map file. You have is set for lat / long in your attached example. The source projection is for individual layers. It is only required for layers that are not in your desired output projection. You must tell mapserver what projection these layers are in so that they can be reprojected into the output target projection. You appear to be using MapInfo, which can reproject layers for you. You might consider doing this because it will make your map file simpler, and because there will be less processing required of mapserver. You reproject your data only once, rather than for every map request. When you post a sample map file to the list, it is nice if you clean it up first. Try to remove blocks that are commented out and unnecessary layers so that we can more easily see what is going on. Rich Richard W. Greenwood, PLS Greenwood Mapping, Inc. Rich GreenwoodMap com (307) 733-0203 http://www.GreenwoodMap.com --=======543C3DEA=======-- From api at justapi.de Mon Nov 24 07:39:58 2003 From: api at justapi.de (Sebastian Albrecht) Date: Mon, 24 Nov 2003 16:39:58 +0100 Subject: [Mapserver-users] GRID problem using Mercator projection Message-ID: <15398041275.20031124163958@justapi.de> Hello, I would like to use the GRID feature projected to Mercator. The problem is the grid goes far above the -90 and 90 degree latitudes. The result is PROJ4 returns undefined values because every latitude value greater or equal 90 or -90 is infinite. Mapserver gets the values (I suppose 0) back and draws diagonal lines across the whole world map meeting in lat=0 and lon=0. Can I somehow limit the latitude of the GRID feature or is there anything else I can do - except not using the GRID feature? Regards, Sebastian Parts of my map file: NAME Mapserver STATUS ON EXTENT -180 -85 180 85 SIZE 600 500 UNITS DD SHAPEPATH "./data" IMAGECOLOR 65 125 200 IMAGETYPE png PROJECTION "proj=latlong" "ellps=WGS84" END SYMBOL NAME "dashed_line" TYPE ellipse POINTS 2 2 END FILLED TRUE STYLE 2 5 END END LAYER NAME "grid" TYPE LINE STATUS default PROJECTION "proj=latlong" "ellps=WGS84" "datum=WGS84" END GRID MINARCS 2 MAXARCS 10 LABELFORMAT "%5.5f" END CLASS SYMBOL "dashed_line" COLOR 170 170 200 LABEL TYPE BITMAP SIZE SMALL COLOR 200 200 230 SHADOWCOLOR 100 100 130 END END END END # Map File From remi.baud at eivd.ch Mon Nov 24 09:02:26 2003 From: remi.baud at eivd.ch (BAUD remi) Date: Mon, 24 Nov 2003 18:02:26 +0100 Subject: [Mapserver-users] problem with querybyattributes Message-ID: Hi the list, I'm trying to select an object from an user input, and then, zooming to it. I've seen that it was a discussion about it on the list., but when I use this command, $oParcelLayer->queryByAttributes( MS_SINGLE ); I got the fellowing message from PHP: Warning: Wrong parameter count for querybyattributes() in C:\ms4w\apps\rossensdemo\htdocs\gmap75.inc.php on line 291 I don't see where is the error. I use php mapscript 40 (this is the gmap sample app.) The rest of the code is here and works good before querybyattributes. Could someone help me?? begin of the code: if ($HTTP_FORM_VARS["numparc"]) { // the parcel number to query for $numparc = $HTTP_FORM_VARS["numparc"]; settype($numparc, integer); printf("numparc : %f
\n", $numparc); print "$numparc is a " . gettype($numparc); // the current extents will be the default if we fail. $oExtents = $gpoMap->extent; $oldExtents=$oExtents; //first we need a handle on the layer, let's assume that we have //it's name $oLayer = $gpoMap->getlayerbyname("Parcel"); $oLayer->set("status", 1); // setting up the filter $oLayer->set( "filteritem", "NOPARC" ); $oLayer->setFilter($numparc); // use querybyattribute to generate the result, assume a single // one for simplicity but this can be extended to multiple // results easily $oLayer->queryByAttributes(MS_SINGLE); //Check if there are any results? if ($oLayer->getNumResults() > 0 ) { //at least one result, assume only one for this example $oResult = $oLayer->getResult( 0 ); //oResult is a resultCacheMemberObj $oLayer->open($gpoMap->shapepath); $oShape = $Layer->getShape( $oResult->tileindex,$oResult->shapeindex ); $oExtents = $oShape->bounds; $oShape->free(); //at this point we might add a buffer to the extents $nXBuffer = ( $oExtents->maxx - $oExtents->minx )*0.05; $nYBuffer = ( $oExtents->maxy - $oExtents->miny )*0.05; $nMinX = $oExtents->minx - $nXBuffer; $nMaxX = $oExtents->maxx + $nXBuffer; $nMinY = $oExtents->miny - $nYBuffer; $nMaxY = $oExtents->maxy + $nYBuffer; $oExtents->setextent( $nMinX, $nMinY, $nMaxX, $nMaxY ); } // now use $oMapNavigator to navigate to the parcel // location. There are two useful options now. We // can zoom to a rectangle which we have calculated or // to a point and scale. Let's use hier a rectangle and a little buffer if necessary. $width=$gpoMap->width; $height=$gpoMap->height; $px1=$width/($oldExtents->maxx-$oldExtents->minx)*($oExtents->minx-$oldExtents->minx); $px2=$width/($oldExtents->maxx-$oldExtents->minx)*($oExtents->maxx-$oldExtents->minx); $py1=$height/($oldExtents->maxy-$oldExtents->miny)*($oldExtents->maxy-$oExtents->maxy); $py2=$height/($oldExtents->maxy-$oldExtents->miny)*($oldExtents->maxy-$oExtents->miny); //printf("numparc : %f
\n", $oResult->shapeindex); $gpoMap->zoomRectangle($px1, $py2, $px2, $py1); // alternately if it's a point and a scale ... //$oMapNavigator->zoomScale( 1000, 100, 100 ); } From lfilak at medinaco.org Mon Nov 24 09:12:32 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Mon, 24 Nov 2003 12:12:32 -0500 Subject: [Mapserver-users] GPS Point data output in MapServer Message-ID: <20031124171228.D44081A6599@mail.medinaco.org> Being that your GPS data is already being incorporated into a database the issue becomes dynamically generating points on a map based on the database information. This type of issue comes up frequently and a query of the archives and wiki should produce at least a few results that should be helpful. Lowell The following message was sent by "David Martin" on Mon, 24 Nov 2003 17:37:08 +0800. > Hi, > > I am working on an app at present and I am wanting to integrate external > GPS data plots and point files into online maps. The data I have as > input is basically lat/long points and descriptions. I am currently > writing out a .map file and adding a long list of FEATURE references on > multi layers. It works fine however I am just wondering if there is a > more correct or better way to be able to do this on the fly. The data is > coming from an SQL database and is not in any shape file formats. > Basically a table with Desc, Lat & Long - this data changes often. > > Any thoughts or ideas much appreciated! > > Regards > David Martin > DIRECTOR > I.T. Beyond Pty Ltd > Postal: PO BOX 967 > HILLARYS WA 6923 > Ph: (08) 9403 3737 > Mobile: 0417 677 275 > Fax: (08) 9403 3738 > > _____ > > > Check out our websites: www.ExplorOz.com and > www.itbeyond.com.au > > > From woklist at charter.net Mon Nov 24 09:43:12 2003 From: woklist at charter.net (William K) Date: Mon, 24 Nov 2003 11:43:12 -0600 Subject: [Mapserver-users] PDF problems Message-ID: I thought I'd look into PDF output and found a few problems. I'm aware of the alternate method of generating a high-resolution png and using PHP to generate the PDF, but I find the PDF output quality works fine. - pattern fills don't work. Whether it's a raster png pattern or vector pattern, in the PDF it's a solid color fill. - point symbols - for png symbols, the transparency is ignored. vector symbols work fine. - line symbols - dashes don't work, it ends up as a solid line in the PDF. Any plans or solutions to fix these issues? (besides the PNG method) ----- William Kyngesburye http://webpages.charter.net/kyngchaos/ Theory of the Universe There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened. -Hitchhiker's Guide to the Galaxy 2nd season intro From ycnyon at pd.jaring.my Mon Nov 24 11:01:24 2003 From: ycnyon at pd.jaring.my (YC Nyon) Date: Tue, 25 Nov 2003 03:01:24 +0800 Subject: [Mapserver-users] RE: Graticule Message-ID: <000201c3b2be$8a4c6a60$6b82063d@domain> I'm looking ways to draw graticule on the map. A search on the mailing list indicates it's a feature of MS. However, I can't seem to find further info on it. Can anyone help me out? Regards Nyon From bartvde at xs4all.nl Mon Nov 24 11:30:08 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Mon, 24 Nov 2003 20:30:08 +0100 Subject: [Mapserver-users] RE: Graticule In-Reply-To: <000201c3b2be$8a4c6a60$6b82063d@domain> References: <000201c3b2be$8a4c6a60$6b82063d@domain> Message-ID: Hi, there is info on the wiki: http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?MapServerGrid Best regards, Bart On Tue, 25 Nov 2003 03:01:24 +0800, YC Nyon wrote: > I'm looking ways to draw graticule on the map. A search on the mailing > list > indicates it's a feature of MS. However, I can't seem to find further > info > on it. > > Can anyone help me out? > > Regards > Nyon > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- From eric at gomoos.org Mon Nov 24 06:32:55 2003 From: eric at gomoos.org (Eric Bridger) Date: 24 Nov 2003 14:32:55 +0000 Subject: [Mapserver-users] RE: Graticule In-Reply-To: <000201c3b2be$8a4c6a60$6b82063d@domain> References: <000201c3b2be$8a4c6a60$6b82063d@domain> Message-ID: <1069684380.1892.57.camel@ubet.gomoos.org> Try this link. http://lists.gis.umn.edu/pipermail/mapserver-dev/2003-February/000150.html On Mon, 2003-11-24 at 19:01, YC Nyon wrote: > I'm looking ways to draw graticule on the map. A search on the mailing list > indicates it's a feature of MS. However, I can't seem to find further info > on it. > > Can anyone help me out? > > Regards > Nyon > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From eric at gomoos.org Mon Nov 24 06:38:34 2003 From: eric at gomoos.org (Eric Bridger) Date: 24 Nov 2003 14:38:34 +0000 Subject: [Mapserver-users] RE: Graticule In-Reply-To: <000201c3b2be$8a4c6a60$6b82063d@domain> References: <000201c3b2be$8a4c6a60$6b82063d@domain> Message-ID: <1069684719.1519.62.camel@ubet.gomoos.org> Important Note: The GRID keyword has been moved from the FEATURE block to the LAYER block. http://lists.gis.umn.edu/pipermail/mapserver-dev/2003-February/000150.html Here's an example: LAYER NAME "graticule" TYPE LINE STATUS OFF GRID #LABELFORMAT "DDMM" # these are in proj=latlong, i.e. DD MININTERVAL 1.0 MAXINTERVAL .25 END PROJECTION "proj=latlong" END CLASS COLOR 200 200 200 LABEL TYPE BITMAP SIZE TINY COLOR 0 0 0 END END END On Mon, 2003-11-24 at 19:01, YC Nyon wrote: > I'm looking ways to draw graticule on the map. A search on the mailing list > indicates it's a feature of MS. However, I can't seem to find further info > on it. > > Can anyone help me out? > > Regards > Nyon > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From doug at moximedia.com Mon Nov 24 12:06:56 2003 From: doug at moximedia.com (Doug Cates) Date: 24 Nov 2003 12:06:56 -0800 Subject: [Mapserver-users] 100 users listed on MapServer Users Map Message-ID: <1069704416.4082.673.camel@moxi-rh9> Hi, Just a note to let you know that there are now 100 MapServer users or sites listed on the MapServer Users Map at: http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users Thanks for your participation. If you're not yet listed, go to the above site and sign up! Doug -- Doug Cates Moxi Media Inc. 757 - 1641 Lonsdale Avenue North Vancouver, BC, Canada V7M 2J5 Phone: 604-984-8109 Fax: 604-608-4764 E-mail: doug at moximedia.com Web: www.moximedia.com From assefa at dmsolutions.ca Mon Nov 24 12:30:19 2003 From: assefa at dmsolutions.ca (Yewondwossen Assefa) Date: Mon, 24 Nov 2003 15:30:19 -0500 Subject: [Mapserver-users] PDF problems In-Reply-To: References: Message-ID: <3FC26A5B.9050504@dmsolutions.ca> There is no plan to do these upgrades right now. Depending on the effort required to implement them, we will try to get those features for the 4.1 release. Bugs related to these have been entered for follwong purposes (489,490,492). Later, William K wrote: > I thought I'd look into PDF output and found a few problems. I'm aware > of the alternate method of generating a high-resolution png and using > PHP to generate the PDF, but I find the PDF output quality works fine. > > - pattern fills don't work. Whether it's a raster png pattern or vector > pattern, in the PDF it's a solid color fill. > > - point symbols - for png symbols, the transparency is ignored. vector > symbols work fine. > > - line symbols - dashes don't work, it ends up as a solid line in the PDF. > > Any plans or solutions to fix these issues? (besides the PNG method) > > ----- > William Kyngesburye > http://webpages.charter.net/kyngchaos/ > > Theory of the Universe > > There is a theory which states that if ever anyone discovers exactly > what the universe is for and why it is here, it will instantly disappear > and be replaced by something even more bizarrely inexplicable. There is > another theory which states that this has already happened. > > -Hitchhiker's Guide to the Galaxy 2nd season intro > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa at dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ---------------------------------------------------------------- From morissette at dmsolutions.ca Mon Nov 24 12:36:38 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 24 Nov 2003 15:36:38 -0500 Subject: [Mapserver-users] 100 users listed on MapServer Users Map In-Reply-To: <1069704416.4082.673.camel@moxi-rh9> References: <1069704416.4082.673.camel@moxi-rh9> Message-ID: <3FC26BD6.1020708@dmsolutions.ca> Doug Cates wrote: > Just a note to let you know that there are now 100 MapServer users or > sites listed on the MapServer Users Map at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > BTW, the MapServer Users Map was listed in last week's edition of GIS MONITOR: http://www.gismonitor.com/news/newsletter/archive/112003.php#point Look for "Mapping the Mappers." under the Points of Interest section of the newsletter. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From scoota at supanet.com Mon Nov 24 13:02:30 2003 From: scoota at supanet.com (Keith Campbell) Date: Mon, 24 Nov 2003 21:02:30 +0000 Subject: [Mapserver-users] SVG Output In-Reply-To: References: Message-ID: <3FC271E6.702@supanet.com> Steve, Thanks for your reply. Is there any more information available on these new features? Any idea on when 4.1 is available? Keith Steve Lime wrote: >The 4.1 version has a few new features that should allow the creation of >SVG using traditional query templates. There are new capabilities to >change output MIME types and to extract feature coordinates into >templates. Because SVG is text-based this may work quite well. > >Steve > >Stephen Lime >Data & Applications Manager > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > > >>>>Keith Campbell 11/17/2003 5:45:01 PM >>> >>>> >>>> >Just trying to find out what MapServer will do:- > >In addition to rendering images to the client, it will output GML >(through the WFS support) and also SWF (MING) but not SVG - is this >correct? Any likelihood of SVG in future? > >Thanks, > >Keith > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > From woklist at charter.net Mon Nov 24 13:36:32 2003 From: woklist at charter.net (William K) Date: Mon, 24 Nov 2003 15:36:32 -0600 Subject: [Mapserver-users] PDF problems In-Reply-To: <3FC26A5B.9050504@dmsolutions.ca> References: <3FC26A5B.9050504@dmsolutions.ca> Message-ID: <45A0F673-1EC6-11D8-BCD2-003065775468@charter.net> thanks. I guess I'll stick with the PNG method for now. On Nov 24, 2003, at 2:30 PM, Yewondwossen Assefa wrote: > There is no plan to do these upgrades right now. Depending on the > effort required to implement them, we will try to get those features > for the 4.1 release. > Bugs related to these have been entered for follwong purposes > (489,490,492). > > Later, > > William K wrote: > >> I thought I'd look into PDF output and found a few problems. I'm >> aware of the alternate method of generating a high-resolution png and >> using PHP to generate the PDF, but I find the PDF output quality >> works fine. >> - pattern fills don't work. Whether it's a raster png pattern or >> vector pattern, in the PDF it's a solid color fill. >> - point symbols - for png symbols, the transparency is ignored. >> vector symbols work fine. >> - line symbols - dashes don't work, it ends up as a solid line in the >> PDF. >> Any plans or solutions to fix these issues? (besides the PNG method) >> ----- >> William Kyngesburye >> http://webpages.charter.net/kyngchaos/ >> Theory of the Universe >> There is a theory which states that if ever anyone discovers exactly >> what the universe is for and why it is here, it will instantly >> disappear and be replaced by something even more bizarrely >> inexplicable. There is another theory which states that this has >> already happened. >> -Hitchhiker's Guide to the Galaxy 2nd season intro >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users at lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > -- > ---------------------------------------------------------------- > Assefa Yewondwossen > Software Analyst > > Email: assefa at dmsolutions.ca > http://www.dmsolutions.ca/ > > Phone: (613) 565-5056 (ext 14) > Fax: (613) 565-0925 > ---------------------------------------------------------------- > > > > ----- William Kyngesburye http://webpages.charter.net/kyngchaos/ "Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life." - Marvin From alans at wunderground.com Mon Nov 24 14:44:22 2003 From: alans at wunderground.com (Alan Steremberg) Date: Mon, 24 Nov 2003 14:44:22 -0800 Subject: [Mapserver-users] PDF problems In-Reply-To: <3FC26A5B.9050504@dmsolutions.ca> References: <3FC26A5B.9050504@dmsolutions.ca> Message-ID: <1069713868.142C7B6B@u9.dngr.org> Hi, I have been thinking about working on improving the pdf support in mapserver. There are a few problems in PDF land. You can't really do tranparency in a printer compatible way. You have to do transparency by making the source image line art (like a pdf) or by using a clipping mask. Patterns are aso a mess. There is a way to make patterns in pdf, but this is not compatible with some versions of postscript (requires level 2 or 3?) so it will break some printers/rips I have found the best way to accomplish the patterns is by using a big background and clipping it, but it makes the file sizes big. Alan >> - pattern fills don't work. Whether it's a raster png pattern or >> vector pattern, in the PDF it's a solid color fill. >> - point symbols - for png symbols, the transparency is ignored. >> vector symbols work fine. >> - line symbols - dashes don't work, it ends up as a solid line in the >> PDF. >> Any plans or solutions to fix these issues? (besides the PNG method) >> ----- >> William Kyngesburye >> http://webpages.charter.net/kyngchaos/ >> Theory of the Universe >> There is a theory which states that if ever anyone discovers exactly >> what the universe is for and why it is here, it will instantly >> disappear and be replaced by something even more bizarrely >> inexplicable. There is another theory which states that this has >> already happened. >> -Hitchhiker's Guide to the Galaxy 2nd season intro >> _______________________________________________ >> Mapserver-users mailing list >> Mapserver-users at lists.gis.umn.edu >> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >> > > > -- > ---------------------------------------------------------------- > Assefa Yewondwossen > Software Analyst > > Email: assefa at dmsolutions.ca > http://www.dmsolutions.ca/ > > Phone: (613) 565-5056 (ext 14) > Fax: (613) 565-0925 > ---------------------------------------------------------------- > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users -- Alan Steremberg From jorge_alberto at arocha.net Mon Nov 24 14:51:52 2003 From: jorge_alberto at arocha.net (=?iso-8859-1?Q?Jorge_Alberto_Arocha_Mu=F1oz?=) Date: Mon, 24 Nov 2003 14:51:52 -0800 Subject: [Mapserver-users] jBox access method problem Message-ID: <1a9001c3b2dd$8d19ca20$74cb010a@mail2world.com> This is a multi-part message in MIME format. ------=_NextPart_000_1A91_01C3B29A.7EF68A20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi: I have the next problem: 1. My template: ....... ........ ............. ....... 2. My file sig.js: function clickboton(objeto) { activo.src = base + activo.name + '_nopres.png'; activo = objeto; objeto.src = base + objeto.name + '_pres.png'; switch (activo.name) { case 'info' : map_obj.modo = 'nquery'; break; ..... } this way all it's Ok, but i want use only function in the event onClick of tag img and try the next changes: 1. tag img: 2. in isg.js file: function clickboton(objeto) { activo.src = base + activo.name + '_nopres.png'; activo = objeto; objeto.src = base + objeto.name + '_pres.png'; switch (activo.name) { case 'info' : map_obj.modo = 'nquery'; document.jBox.boxon(); break; ..... } In the javascript debugger display : Exception ``TypeError: document.jBox.boxon is not a function thrown from function clickboton() ................... Any idea? I try with: - document.applets.jBox.boxon(); - document.applets[0].boxon(); Thanks for all...... JORGE ALBERTO AROCHA MUOZ Ingeniero de Sistemas UIS Especialista Sistemas Inf. Geogrfica ------=_NextPart_000_1A91_01C3B29A.7EF68A20 Content-Type: text/html Content-Transfer-Encoding: 7bit Hi:

I have the next problem:

1. My template:







.......

........

.............



.......



2. My file sig.js:

function clickboton(objeto) {
activo.src = base + activo.name + '_nopres.png';
activo = objeto;
objeto.src = base + objeto.name + '_pres.png';
switch (activo.name) {
case 'info' :
map_obj.modo = 'nquery';
break;
.....
}

this way all it's Ok, but i want use only function in the event onClick of tag img and try the next changes:

1. tag img:


2. in isg.js file:
function clickboton(objeto) {
activo.src = base + activo.name + '_nopres.png';
activo = objeto;
objeto.src = base + objeto.name + '_pres.png';
switch (activo.name) {
case 'info' :
map_obj.modo = 'nquery';
document.jBox.boxon();
break;
.....
}

In the javascript debugger display :

Exception ``TypeError: document.jBox.boxon is not a function thrown from function clickboton() ...................

Any idea?

I try with:

- document.applets.jBox.boxon();
- document.applets[0].boxon();


Thanks for all......


JORGE ALBERTO AROCHA MUOZ
Ingeniero de Sistemas UIS
Especialista Sistemas Inf. Geogrfica
------=_NextPart_000_1A91_01C3B29A.7EF68A20-- From mdoggett at coas.oregonstate.edu Mon Nov 24 15:46:57 2003 From: mdoggett at coas.oregonstate.edu (Matt Doggett) Date: Mon, 24 Nov 2003 15:46:57 -0800 Subject: [Mapserver-users] can't find php_proj.so Message-ID: <003a01c3b2e5$3f2bb5f0$2441c180@nino> I'm trying to perform coordinate transformations on a mouse-click in my Mapserver window. Several earlier posts refer to a php_proj.so library that can do it using the proj library via php/mapscript. Well, I can't find php_proj.so anywhere in my php, Mapserver installation. Where is it?? I figured it would be in my PHP but it's not there! Google isn't much help and the hits I get there refer to this Mapserver list. -Matt (php4.3.4, Mapserver 4.0) From rkerr at borstad.com Mon Nov 24 16:11:10 2003 From: rkerr at borstad.com (Randy Kerr) Date: Mon, 24 Nov 2003 16:11:10 -0800 Subject: [Mapserver-users] Display a cursor on the map Message-ID: <3FC29E1E.8080807@borstad.com> I am new to using mapserver. I currently have a project working using PHP and Mapserver. I am also using the ROSA applet. What I would like to have is a cursor left on the map showing where the user either initiated a query or clicked on an area to zoom. Any help would be appreciated. -- Randy From mdoggett at coas.oregonstate.edu Mon Nov 24 17:32:40 2003 From: mdoggett at coas.oregonstate.edu (Matt Doggett) Date: Mon, 24 Nov 2003 17:32:40 -0800 Subject: [Mapserver-users] can't find php_proj.so In-Reply-To: <003a01c3b2e5$3f2bb5f0$2441c180@nino> Message-ID: <003b01c3b2f4$04526960$2441c180@nino> Aha! I finally found it (php_proj.c) in the Mapserver distribution. However it did not compile to create a php_proj.so file. I configured Mapserver --with-proj and I am able to view/reproject data files in Mapserver. So why didn't php_proj.c compile? MD MapServer version 4.0.1 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE >-----Original Message----- >From: mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users- >admin at lists.gis.umn.edu] On Behalf Of Matt Doggett >Sent: Monday, November 24, 2003 3:47 PM >To: mapserver-users at lists.gis.umn.edu >Subject: [Mapserver-users] can't find php_proj.so > >I'm trying to perform coordinate transformations on a mouse-click in my >Mapserver window. Several earlier posts refer to a php_proj.so library >that can do it using the proj library via php/mapscript. Well, I can't >find php_proj.so anywhere in my php, Mapserver installation. Where is >it?? I figured it would be in my PHP but it's not there! Google isn't >much help and the hits I get there refer to this Mapserver list. > >-Matt >(php4.3.4, Mapserver 4.0) > > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From morissette at dmsolutions.ca Mon Nov 24 18:01:15 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Mon, 24 Nov 2003 21:01:15 -0500 Subject: [Mapserver-users] can't find php_proj.so In-Reply-To: <003b01c3b2f4$04526960$2441c180@nino> References: <003b01c3b2f4$04526960$2441c180@nino> Message-ID: <3FC2B7EB.9030109@dmsolutions.ca> Matt Doggett wrote: > Aha! I finally found it (php_proj.c) in the Mapserver distribution. > However it did not compile to create a php_proj.so file. I configured > Mapserver --with-proj and I am able to view/reproject data files in > Mapserver. So why didn't php_proj.c compile? > php_proj.so is not compiled by default. You have to cd to the mapscript/php3 directory and type 'make php_proj.so' Note that you can reproject points using the $pointObj->project() method so you don't really need php_proj.so to reproject coordinates. HTH Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From v0463 at n-koei.co.jp Mon Nov 24 18:56:00 2003 From: v0463 at n-koei.co.jp (Le Ngoc Lam) Date: Tue, 25 Nov 2003 09:56:00 +0700 Subject: [Mapserver-users] How is the way correct display all the world in mapserver? Message-ID: <004201c3b2ff$a92402e0$dca110ac@LAMLE> This is a multi-part message in MIME format. ------=_NextPart_000_003F_01C3B33A.54C8D9B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear list, I am newbie with MapServer. I replace shape file in tutorial\example-1.map to my world.shp file. (It can display in ArcGIS very nice = http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg/= World.jpg) I know its projection is WGS84. I declare as: LAYER # States polygon layer begins here NAME states_polyline DATA World STATUS DEFAULT TYPE POLYGON PROJECTION #proj=3Dlonglat=20 #ellps=3DWGS84=20 #datum=3DWGS84=20 #no_defs=20 "init=3Depsg:32632" END CLASS COLOR 128 0 255 END END # States polygon layer ends here I don't know the value of EXTENT. Some GIS engineers suggest I should = put something like -7745844.3 -9997964.94 8745844.3 9997964.94. MapServer returns a funny image. Here is result = (http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg= /World-MapServer.jpg). I guess something wrong with the datums WGS84 and NAD27 but I don't know = how can I correct it. Please help me. Thank you. ------=_NextPart_000_003F_01C3B33A.54C8D9B0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear list,
 
I am newbie with = MapServer.
I replace shape file in=20 tutorial\example-1.map  to my world.shp file.
(It can display in ArcGIS very = nice  http://digitalserviceinternational.hp.infoseek.co.jp/0= 0lam/projectionImg/World.jpg)
I know its projection is WGS84. I = declare=20 as:
 
LAYER # States polygon layer begins = here
 =20 NAME         = states_polyline
 =20 DATA         World
 =20 STATUS       DEFAULT
 =20 TYPE         = POLYGON
 
  PROJECTION
    #proj=3Dlonglat=20
    #ellps=3DWGS84
    = #datum=3DWGS84=20
   =20 #no_defs 

     "init=3Depsg:32632= "
 =20 END
 
  CLASS
   =20 COLOR      128 0 255
  END
END # = States=20 polygon layer ends here
I don't know the value of EXTENT. Some = GIS=20 engineers suggest I should put something like=20 -7745844.3 -9997964.94 8745844.3  9997964.94.
MapServer returns a funny image. Here = is result (http://digitalserviceinternational.hp.infose= ek.co.jp/00lam/projectionImg/World-MapServer.jpg).
I guess something wrong with the datums = WGS84 and=20 NAD27 but I don't know how can I correct it.
Please help me.
 
Thank you.
 
------=_NextPart_000_003F_01C3B33A.54C8D9B0-- From v0463 at n-koei.co.jp Mon Nov 24 19:20:26 2003 From: v0463 at n-koei.co.jp (Le Ngoc Lam) Date: Tue, 25 Nov 2003 10:20:26 +0700 Subject: [Mapserver-users] How is the way correct display all the world in mapserver? References: <004201c3b2ff$a92402e0$dca110ac@LAMLE> Message-ID: <000b01c3b303$157f1670$dca110ac@LAMLE> This is a multi-part message in MIME format. ------=_NextPart_000_0008_01C3B33D.BE91F7C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sorry, I was wrong copy. PROJECTION #proj=3Dlonglat=20 #ellps=3DWGS84=20 #datum=3DWGS84=20 #no_defs=20 "init=3Depsg:4326" END ----- Original Message -----=20 From: Le Ngoc Lam=20 To: mapserver-users at lists.gis.umn.edu=20 Sent: Tuesday, November 25, 2003 9:56 AM Subject: [Mapserver-users] How is the way correct display all the = world in mapserver? Dear list, I am newbie with MapServer. I replace shape file in tutorial\example-1.map to my world.shp file. (It can display in ArcGIS very nice = http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg/= World.jpg) I know its projection is WGS84. I declare as: LAYER # States polygon layer begins here NAME states_polyline DATA World STATUS DEFAULT TYPE POLYGON PROJECTION #proj=3Dlonglat=20 #ellps=3DWGS84=20 #datum=3DWGS84=20 #no_defs=20 "init=3Depsg:32632" END CLASS COLOR 128 0 255 END END # States polygon layer ends here I don't know the value of EXTENT. Some GIS engineers suggest I should = put something like -7745844.3 -9997964.94 8745844.3 9997964.94. MapServer returns a funny image. Here is result = (http://digitalserviceinternational.hp.infoseek.co.jp/00lam/projectionImg= /World-MapServer.jpg). I guess something wrong with the datums WGS84 and NAD27 but I don't = know how can I correct it. Please help me. Thank you. ------=_NextPart_000_0008_01C3B33D.BE91F7C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Sorry, I was wrong copy.
 
  PROJECTION
    #proj=3Dlonglat=20
    #ellps=3DWGS84
    = #datum=3DWGS84=20
   =20 #no_defs 

     "init=3Depsg:4326"=
 =20 END
----- Original Message -----
From:=20 Le = Ngoc Lam=20
To: mapserver-users at lists.g= is.umn.edu=20
Sent: Tuesday, November 25, = 2003 9:56=20 AM
Subject: [Mapserver-users] How = is the way=20 correct display all the world in mapserver?

Dear list,
 
I am newbie with = MapServer.
I replace shape file in=20 tutorial\example-1.map  to my world.shp file.
(It can display in ArcGIS very = nice  http://digitalserviceinternational.hp.infoseek.co.jp/0= 0lam/projectionImg/World.jpg)
I know its projection is WGS84. I = declare=20 as:
 
LAYER # States polygon layer begins=20 here
  NAME        =20 states_polyline
  = DATA        =20 World
  STATUS       = DEFAULT
 =20 TYPE         = POLYGON
 
  PROJECTION
    #proj=3Dlonglat=20
    #ellps=3DWGS84
    = #datum=3DWGS84=20
   =20 = #no_defs 

     "init=3Depsg:32632= "
 =20 END
 
  CLASS
   =20 COLOR      128 0 255
  END
END # = States=20 polygon layer ends here
I don't know the value of EXTENT. = Some GIS=20 engineers suggest I should put something like=20 -7745844.3 -9997964.94 8745844.3  9997964.94.
MapServer returns a funny image. Here = is result=20 (http://digitalserviceinternational.hp.infose= ek.co.jp/00lam/projectionImg/World-MapServer.jpg).
I guess something wrong with the = datums WGS84 and=20 NAD27 but I don't know how can I correct it.
Please help me.
 
Thank you.
 
------=_NextPart_000_0008_01C3B33D.BE91F7C0-- From pramsey at refractions.net Mon Nov 24 19:49:31 2003 From: pramsey at refractions.net (Paul Ramsey) Date: Mon, 24 Nov 2003 19:49:31 -0800 Subject: [Mapserver-users] PostGIS 0.8.0 Released Message-ID: <3FC2D14B.2000402@refractions.net> Refractions Research is pleased to announce the release of PostGIS 0.8.0, the first version of PostGIS to support all the functions in the OpenGIS "Simple Features for SQL" specification. PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS). Since we started the PostGIS project in 2001, we have had the goal of supporting all the functions in the SFSQL specification, so finally completing that goal is a big step! We have included the OpenGIS SFSQL test script in the distribution so you can test it out yourself. Among the (many) new SFSQL functions we have added are: - Contains(), Within(), Touches(), Disjoint(), - Overlaps(), Intersects(), Crosses(), Relate() - Intersection(), GeomUnion(), Buffer(), Difference() - ConvexHull(), SymmetricDifference() Also some non SFSQL functions, inspired by the spec: - Aggregates: GeomUnion() in-memory geometry aggregate - Aggregates: MemGeomUnion() memory-safe slower aggregate Version 0.8.0 also includes support for the recently released PostgreSQL version 7.4. PostGIS is open source software licensed under the GNU GPL. For more information, see http://postgis.refractions.net __ / | Paul Ramsey | Refractions Research | Email: pramsey at refractions.net \_ From greg.atkinson at sympatico.ca Mon Nov 24 19:55:44 2003 From: greg.atkinson at sympatico.ca (Greg Atkinson) Date: Mon, 24 Nov 2003 22:55:44 -0500 Subject: [Mapserver-users] info request Message-ID: <003401c3b308$03376c60$6501a8c0@DJ1S5L11> This is a multi-part message in MIME format. ------=_NextPart_000_0035_01C3B2DE.1A616460 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0036_01C3B2DE.1A616460" ------=_NextPart_001_0036_01C3B2DE.1A616460 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hello, I am a graduate student at York University researching GIS and their applications to the field of planning. I am working on a comparison of map servers and would like to verify that the information I have collected is accurate. Please see attached spreadsheet. I have already consulted the website, if possible please make corrections to spreadsheet and return it. Thank you in advance for your cooperation, Greg Atkinson MES Candidate (Planning) York University ------=_NextPart_001_0036_01C3B2DE.1A616460 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Message
Hello, =
 

I am a graduate student at York = University=20 researching GIS and their applications to the field of planning. I am = working on=20 a comparison of map servers and would like to verify that the = information I have=20 collected is accurate. Please see attached spreadsheet.  I have already consulted the website, = if=20 possible please make corrections to spreadsheet and return it. =20  

Thank you in advance for your = cooperation,=20

Greg Atkinson

MES Candidate (Planning)

York=20 University

------=_NextPart_001_0036_01C3B2DE.1A616460-- ------=_NextPart_000_0035_01C3B2DE.1A616460 Content-Type: application/vnd.ms-excel; name="MapServer.xls" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="MapServer.xls" 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAPwAAAAAAAAAA EAAAQQAAAAEAAAD+////AAAAAEAAAAD///////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////8J CBAAAAYFAEYYzQfBgAAABgIAAOEAAgCwBMEAAgAAAOIAAABcAHAAAQAAICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEIAAgCwBGEBAgAAAM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AwA6AL4ACgAHAAAAIgAlAAEA/QAKAAcAAgAkAAcAAAABAgYABwADADoAvgAK AAgAAAAiACUAAQD9AAoACAACACQACAAAAAECBgAIAAMAOgC+AAoACQAAACIAJQABAP0ACgAJAAIA JAAJAAAAAQIGAAkAAwA6AAECBgAKAAAAIgD9AAoACgABACMACgAAAL4ACgAKAAIAJAA8AAMAvgAK AAsAAAAiACUAAQD9AAoACwACACQACwAAAAECBgALAAMAOgC+AAoADAAAACIAJQABAP0ACgAMAAIA JAAMAAAAAQIGAAwAAwA6AL4ACgANAAAAIgAlAAEA/QAKAA0AAgAkAA0AAAABAgYADQADADoAvgAK AA4AAAAiACUAAQD9AAoADgACACQADgAAAAECBgAOAAMAOgC+AAoADwAAACIAJQABAP0ACgAPAAIA JAAPAAAAAQIGAA8AAwA6AL4ACgAQAAAAIgAlAAEA/QAKABAAAgAkABAAAAABAgYAEAADADoAvgAK ABEAAAAiACUAAQD9AAoAEQACACQAEQAAAAECBgARAAMAOgC+AAoAEgAAACIAJQABAP0ACgASAAIA JAASAAAAAQIGABIAAwA6AAECBgATAAAAIgD9AAoAEwABACMAEwAAAL4ACgATAAIAJAA8AAMAvgAK ABQAAAAmACcAAQD9AAoAFAACACgAFAAAAAECBgAUAAMAOgC+AAoAFQAAACYAJwABAP0ACgAVAAIA KAAVAAAAAQIGABUAAwA6AL4ACgAWAAAAJgAnAAEA/QAKABYAAgAkABYAAAABAgYAFgADADoAvgAK ABcAAAAmACcAAQD9AAoAFwACACgAFwAAAAECBgAXAAMAOgC+AAoAGAAAACYAJwABAP0ACgAYAAIA KAAYAAAAAQIGABgAAwA6AL4ACgAZAAAAJgAnAAEA/QAKABkAAgAoABkAAAABAgYAGQADADoAvgAK ABoAAAAmACcAAQD9AAoAGgACACgAGgAAAAECBgAaAAMAOgC+AAoAGwAAACYAJwABAP0ACgAbAAIA KAAbAAAAAQIGABsAAwA6AL4ACgAcAAAAJgAnAAEA/QAKABwAAgAoABwAAAABAgYAHAADADoAvg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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAC AAAAAwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAA AAARAAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAA AB8AAAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAAAmAAAAJwAAACgAAAApAAAAKgAAACsAAAAsAAAA /v///y4AAAAvAAAAMAAAADEAAAAyAAAAMwAAADQAAAD+////NgAAADcAAAA4AAAAOQAAADoAAAA7 AAAAPAAAAP7////9/////v////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////UgBvAG8A dAAgAEUAbgB0AHIAeQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ABYABQH//////////wIAAAAgCAIAAAAAAMAAAAAAAABGAAAAAAAAAAAAAAAAAAAAAAAAAAD+//// AAAAAAAAAABXAG8AcgBrAGIAbwBvAGsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAEgACAf///////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAzWAAAAAAAAAUAUwB1AG0AbQBhAHIAeQBJAG4AZgBvAHIAbQBhAHQAaQBv AG4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAIBAQAAAAMAAAD/////AAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALQAAAAAQAAAAAAAABQBEAG8AYwB1AG0AZQBuAHQAUwB1 AG0AbQBhAHIAeQBJAG4AZgBvAHIAbQBhAHQAaQBvAG4AAAAAAAAAAAAAADgAAgH///////////// //8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1AAAAABAAAAAAAABSAG8AbwB0 ACAARQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA FgAFAf//////////AgAAACAIAgAAAAAAwAAAAAAAAEYAAAAAAAAAAAAAAAAgJL7/B7PDAUIAAAAA AwAAAAAAAFcAbwByAGsAYgBvAG8AawAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAASAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAADNYAAAAAAAABQBTAHUAbQBtAGEAcgB5AEkAbgBmAG8AcgBtAGEAdABpAG8A bgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgAAgEBAAAAAwAAAP////8AAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtAAAAABAAAAAAAAAFAEQAbwBjAHUAbQBlAG4AdABTAHUA bQBtAGEAcgB5AEkAbgBmAG8AcgBtAGEAdABpAG8AbgAAAAAAAAAAAAAAOAACAf////////////// /wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADcAgAAAAAAAAEAAAACAAAA AwAAAAQAAAAFAAAABgAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAAAAR AAAAEgAAABMAAAAUAAAAFQAAABYAAAAXAAAAGAAAABkAAAAaAAAAGwAAABwAAAAdAAAAHgAAAB8A AAAgAAAAIQAAACIAAAAjAAAAJAAAACUAAAAmAAAAJwAAACgAAAApAAAAKgAAACsAAAAsAAAA/v// /y4AAAAvAAAAMAAAADEAAAAyAAAAMwAAADQAAAD+//////////////////////////////////// //////////////////////7////9/////v///0MAAAD+//////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////AQAAAAIAAAAD AAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAD+//////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////+/wAABQECAAAA AAAAAAAAAAAAAAAAAAACAAAAAtXN1ZwuGxCTlwgAKyz5rkQAAAAF1c3VnC4bEJOXCAArLPmuKAEA AOQAAAAJAAAAAQAAAFAAAAAPAAAAWAAAABcAAABwAAAACw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AAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA ------=_NextPart_000_0035_01C3B2DE.1A616460-- From ycnyon at pd.jaring.my Mon Nov 24 20:00:28 2003 From: ycnyon at pd.jaring.my (YC Nyon) Date: Tue, 25 Nov 2003 12:00:28 +0800 Subject: [Mapserver-users] RE: GRID and PROJ support in php-ms3.6 Message-ID: <00d501c3b309$b77b6220$6f40ba66@domain> is proj compiled with php-ms3.6.6 ? did a phpinfo and got this MapScript Version ($Revision: 1.104.2.8 $ $Date: 2003/03/05 03:36:53 $) MapServer version 3.6.6-dev OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Would this version support the graticule function using the GRID keyword. Thanks Nyon From woodbri at swoodbridge.com Mon Nov 24 20:39:35 2003 From: woodbri at swoodbridge.com (woodbri at swoodbridge.com) Date: Mon, 24 Nov 2003 23:39:35 -0500 Subject: [Mapserver-users] info request In-Reply-To: <003401c3b308$03376c60$6501a8c0@DJ1S5L11> Message-ID: <3FC296B7.1849.82B9118E@localhost> Greg, Here are a few updates to your spreadsheet: OS/Linex should be Linux OS/Sun is supported Web Server: Basically we support any webserver that support CGI applications or PHP can support support mapserver Database: MySQL, PostGIS and Postgresql are supported Supported File Types: We support a variety of vector file formats including ESRI Shapefiles, S-57, SDTS, PostGIS, Oracle Spatial, and Mapinfo mid/mif and TAB formats via OGR library addin to Mapserver for more info see http://gdal.velocet.ca/projects/opengis/ogrhtml/ogr_formats.html Raster Image Formats: We also support TIF with world files. Languages for interface Customization: We also support PHP Hope this helps, -Steve W. On 24 Nov 2003 at 22:55, Greg Atkinson wrote: > Hello, > > I am a graduate student at York University researching GIS and their > applications to the field of planning. I am working on a comparison of > map servers and would like to verify that the information I have > collected is accurate. Please see attached spreadsheet. I have already > consulted the website, if possible please make corrections to > spreadsheet and return it. > > Thank you in advance for your cooperation, > > Greg Atkinson > > MES Candidate (Planning) > > York University > > From marvin at rectangular.com Mon Nov 24 21:17:42 2003 From: marvin at rectangular.com (Marvin Humphrey) Date: Mon, 24 Nov 2003 21:17:42 -0800 Subject: [Mapserver-users] Perl Mapscript fails on OS X Message-ID: Hello, I installed Mapserver on my Mac OS X box, (OS version 10.2.8) from the nice install package at http://www.serverlogistics.com/mapserver.php Everything seemed to go smoothly at first. The Itasca demo worked just as it was supposed to. However, I ran into a problem when trying to determine the extents for a shapefile. shpinfo.pl fails, with the following error message... % perl -c shpinfo.pl -file=/Library/WebServer/Documents/itasca/data/lakespy2.shp dyld: perl multiple definitions of symbol _main perl definition of _main /Library/MapServer/lib/libgd.2.dylib(libgd.2.0.0.dylib-master.o) definition of _main Trace/BPT trap Checking the archives of this list, I discovered that other people had experienced similar problems, but nobody had any easy answers. A recompile of the Perl Mapscript seemed to be required. But when I tried that, the configure file barked that I hadn't built Mapserver and therefore it couldn't find a necessary directory. (It must not have been able to detect the Server Logistics install.) So I figured I'd temporarily rename /Library/MapServer and /Library/Receipts/Mapserver.pkg, compile Mapserver, compile Perl Mapscript, then put back the proven good install of Mapserver from Server Logistics. Unfortunately, Mapserver wouldn't compile without gd. So I downloaded and attempted to compile gd. That failed, telling me that I needed to install FIVE other libraries before it would cooperate. So at this point, it looked like I'd have to... install zlib, libpng, FreeType 2.x, JPEG library, and XPM... so that I could install gd... so that I could install Mapserver (only to remove this installation later)... so that I could install Perl mapscript... ...hoping against hope that no new, unforseen problems would crop up during any of those installs, and that something, somewhere in the recompilation rigamarole would fix the multiple definition problem or allow me to tease it out. I gave up. I didn't want to discover whether zlib, libpng, Freetype, JPEG library, and XPM would each require me to install 5 other libraries before they'd cooperate. :) Now what? Guessing the extents for shapefiles is not an option. Here's an alternate path that deadended: using ogrinfo, a utility which uses the gdal library. Sadly, gdal doesn't like OS X. I guess a couple people have managed it, but their reports showed that the gdal/OSX combo was really fiddly and difficult. My cursory attempt at downloading gdal and compiling it failed at the linking stage. internal link edit command failed make[1]: *** [libgdal.1.1.dylib] Error 1 make: *** [check-lib] Error 2 And another dead end: I have GRASS 5 installed on my machine, and I've used it to make a bunch of maps already. The Mapserver tutorial at http://terrasip.gis.umn.edu/projects/tutorial/example1-1.html is tantalizing -- it says "There are also other freely available GIS data viewers that might work." I figured GRASS *has* to have something which will print out extents for a shape file... but no, if it does I haven't found it yet... Any other suggestions as far as my immediate problem of trying to determine the extents of a shapefile? Long term, I'm bummed that I can't get at the perl mapscript without a major hassle, 'cause I know a little Perl, but I don't know any php. What next? -- Marvin From bplatzen at sosnetz.de Mon Nov 24 22:04:30 2003 From: bplatzen at sosnetz.de (Bjoern Platzen) Date: Tue, 25 Nov 2003 07:04:30 +0100 Subject: [Mapserver-users] Compiling Mapserver/PythonMapScript on WinXP Message-ID: <200311250704.30345.bplatzen@sosnetz.de> Hi list, for a presentation, I have to install PythonMapscript on my WinXP-Laptop. The howto in the Wiki doesn't work for me because I have no M$ Visual C++... I just have DJGPP (GCC/GPP) and no idea about C/C++ so that I don't really know, what to do with the sources to make them compile... So, has anyone experienced this with a non-MS-compiler before?? Or, are there any precompiled dll's that I could try to use?? Any help would be great... Thanks in advance, Bjoern. -- small office solutions info at sosnetz.de - http://www.sosnetz.de From mschulz at webgis.de Mon Nov 24 23:29:09 2003 From: mschulz at webgis.de (Michael Schulz) Date: Tue, 25 Nov 2003 08:29:09 +0100 Subject: [Mapserver-users] Compiling Mapserver/PythonMapScript on WinXP In-Reply-To: <200311250704.30345.bplatzen@sosnetz.de> References: <200311250704.30345.bplatzen@sosnetz.de> Message-ID: <3FC304C5.8010204@webgis.de> Hi Bjoern, if you are interested i could send you our python mapscript (MS4.0.1) binaries. They are compiled with MSVC7 and support: proj,wms,freetype,ogr,... (not postgis yet!) Probably contact me off the list. Cheers, Michael Bjoern Platzen schrieb: > Hi list, > > for a presentation, I have to install PythonMapscript on my > WinXP-Laptop. > The howto in the Wiki doesn't work for me because I have no M$ Visual > C++... > I just have DJGPP (GCC/GPP) and no idea about C/C++ so that I don't > really know, what to do with the sources to make them compile... > > So, has anyone experienced this with a non-MS-compiler before?? Or, are > there any precompiled dll's that I could try to use?? > > Any help would be great... > > Thanks in advance, > > Bjoern. -- ----------------------------------------------------------- Michael Schulz in medias res Dipl.-Geologe Gesellschaft f?r Informationstechnologie mbH In den Weihermatten 66 79108 Freiburg 0761 55695-95 (Fax 96) mschulz at webgis.de www.webgis.de/www.zopecms.de From api at justapi.de Tue Nov 25 00:47:53 2003 From: api at justapi.de (Sebastian Albrecht) Date: Tue, 25 Nov 2003 09:47:53 +0100 Subject: [Mapserver-users] GRID problem using Mercator projection In-Reply-To: <00d601c3b309$bb8a81c0$6f40ba66@domain> References: <15398041275.20031124163958@justapi.de> <00d601c3b309$bb8a81c0$6f40ba66@domain> Message-ID: <42159722278.20031125094753@justapi.de> Hello Nyon, > what version of Mapserver are you using? php? I use following version on Suse Linux 8.2: MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE The problem appears by using the cgi-mapserv in an own small web interface and by using a php mapscript web interface, too. Sebastian From sp_ml at sourcepole.com Tue Nov 25 04:47:27 2003 From: sp_ml at sourcepole.com (Pirmin Kalberer) Date: Tue, 25 Nov 2003 13:47:27 +0100 Subject: [Mapserver-users] 100 users listed on MapServer Users Map In-Reply-To: <1069704416.4082.673.camel@moxi-rh9> References: <1069704416.4082.673.camel@moxi-rh9> Message-ID: <200311251347.27005.sp_ml@sourcepole.com> Am Montag, 24. November 2003 21.06 schrieb Doug Cates: > > Just a note to let you know that there are now 100 MapServer users or > sites listed on the MapServer Users Map at: > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > Thanks for your participation. If you're not yet listed, go to the above > site and sign up! I would like to, but I get: HTTP Status 404 - /imfUnsupportedBrowser.jsp type Status report message /imfUnsupportedBrowser.jsp description The requested resource (/imfUnsupportedBrowser.jsp) is not available. Apache Tomcat/4.1.27 I'm using Konqueror 3.1.1. Pirmin Kalberer Sourcepole - Linux & Open Source Solutions http://www.sourcepole.com From lfilak at medinaco.org Tue Nov 25 05:56:18 2003 From: lfilak at medinaco.org (Lowell Filak) Date: Tue, 25 Nov 2003 08:56:18 -0500 Subject: [Mapserver-users] info request Message-ID: <20031125135614.5A9D11A6599@mail.medinaco.org> I think the main site did/does state that it should work with Any http server that supports CGI, ie. IIS, Netscape Enterprise, etc. When you incorporate "Languages for Customization" into the mix you can connect to just about any of the options in the "Database" section. For the "Supported File Types" section - most of the file types listed are supported to some extent. For the "Functions" section - both raster & vector overlay (in the basic sense) are simply a visual thing and are supported and data exchange is supported via WMS & WFS. My $0.02 Lowell The following message was sent by "Greg Atkinson" on Mon, 24 Nov 2003 22:55:44 -0500. > Hello, > > I am a graduate student at York University researching GIS and their > applications to the field of planning. I am working on a comparison of > map servers and would like to verify that the information I have > collected is accurate. Please see attached spreadsheet. I have already > consulted the website, if possible please make corrections to > spreadsheet and return it. > > Thank you in advance for your cooperation, > > Greg Atkinson > > MES Candidate (Planning) > > York University > > From hunt at zedxinc.com Tue Nov 25 06:59:47 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Tue, 25 Nov 2003 09:59:47 -0500 Subject: [Mapserver-users] swf color droping problem Message-ID: <008e01c3b364$c4da05b0$1805000a@helicity> This is a multi-part message in MIME format. ------=_NextPart_000_008B_01C3B33A.DBD48940 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable When I create a swf with mapserver, it is dropping colors. It looks to = be 8 or 16 colors. An example of this can be seen at http://web.zedxinc.com/~hunt/flash.html The mapscript code and map file are bellow. Thank you for any help. Aaron #!/usr/bin/perl use lib("/home/mapserver"); use mapscript40; $ENV{MS_ERRORFILE} =3D "mapserver.log";=20 $ENV{PROJ_LIB} =3D "/home/mapserver/proj-4.4.7/nad/";=20 my $map =3D new mapscript40::mapObj("geotif.map") or die("Unable to open = mapfile. $!"); $img =3D $map->draw() or die('Unable to draw map'); $imagename =3D "test.swf"; $img->save($imagename); The mapfile is # Start of map file # NAME Soil STATUS ON SIZE 500 500 EXTENT -90.637762 33.623924 -90.601165 33.650091 UNITS DD SHAPEPATH "/tmp" IMAGECOLOR 255 255 255 # # Start of web interface definition # WEB IMAGEPATH "/home/hunt/" IMAGEURL "" END SYMBOL NAME "circle" TYPE ellipse FILLED true POINTS 1 1 END END PROJECTION "proj=3Dlonglat" "ellps=3DWGS84" "unit=3Ddd" END OUTPUTFORMAT=20 NAME swf=20 MIMETYPE "application/x-shockwave-flash"=20 DRIVER swf=20 #IMAGEMODE RGBA=20 FORMATOPTION "OUTPUT_MOVIE=3DMULTIPLE"=20 END=20 LAYER NAME LandSat METADATA "wms_title" "LandSat" "wms_srs" "EPSG:4326" #WGS 84 "wms_connectiontimeout" "10" LYRNAME "LandSat" LINK "N/A" END STATUS ON=20 TYPE RASTER OFFSITE 255 255 255 CONNECTIONTYPE WMS CONNECTION = "http://wms.jpl.nasa.gov/wms.cgi?WMTVER=3D1.0.0&REQUEST=3Dmap&LAYERS=3Dus= _landsat7o&red=3D4&green=3D3&blue=3D1&ld=3D25&le=3D45&ls=3D0&gamma=3D2.5&= STYLES=3D&FORMAT=3Djpeg&TRANSPARENT=3DTRUE&" PROJECTION "init=3Depsg:4326" #WGS 84 END END END Aaron D. Hunt Technical Manager ZedX Inc. Voice: 814-357-8490 Fax: 814-357-8499 ------=_NextPart_000_008B_01C3B33A.DBD48940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
When I create a swf with mapserver, it = is dropping=20 colors. It looks to be 8 or 16 colors. An example of this can be seen=20 at
http://web.zedxinc.com/~= hunt/flash.html
 
The mapscript code  and map file = are bellow.=20 Thank you for any help.
 
Aaron
 
#!/usr/bin/perl
 
use lib("/home/mapserver");
use=20 mapscript40;
 

$ENV{MS_ERRORFILE} =3D "mapserver.log";
$ENV{PROJ_LIB} =3D=20 "/home/mapserver/proj-4.4.7/nad/";
 

my $map =3D new mapscript40::mapObj("geotif.map") or = die("Unable to open=20 mapfile. $!");
 
$img =3D $map->draw() or die('Unable to draw map');
 
$imagename =3D "test.swf";
 
$img->save($imagename);
 
 
The mapfile is
 
# Start of map file
#
NAME Soil
STATUS ON
SIZE 500=20 500
EXTENT -90.637762 33.623924 -90.601165 33.650091
UNITS = DD
SHAPEPATH=20 "/tmp"
IMAGECOLOR 255 255 255
 
#
# Start of web interface definition
#
 
WEB
  IMAGEPATH "/home/hunt/"
  IMAGEURL = ""
END
 
SYMBOL
  NAME "circle"
  TYPE ellipse
  = FILLED=20 true
  POINTS
    1 1
  = END
END
 
PROJECTION
 "proj=3Dlonglat"
 "ellps=3DWGS84"
&nb= sp;"unit=3Ddd"
END
 
 
 
OUTPUTFORMAT
        NAME = swf=20
        MIMETYPE=20 "application/x-shockwave-flash"
       = DRIVER=20 swf
        #IMAGEMODE RGBA=20
       FORMATOPTION = "OUTPUT_MOVIE=3DMULTIPLE"=20
      END
 

 LAYER
    NAME = LandSat
   =20 METADATA
      "wms_title"=20 "LandSat"
      "wms_srs"   = "EPSG:4326"=20 #WGS 84
      "wms_connectiontimeout"=20 "10"
      LYRNAME=20 "LandSat"
      LINK = "N/A"
   =20 END
    STATUS ON
    TYPE=20 RASTER
    OFFSITE 255 255 255
   =20 CONNECTIONTYPE WMS
    CONNECTION "http://wms.jpl.nasa.gov/wms.cgi?WMTVER=3D1.0.0&a= mp;REQUEST=3Dmap&LAYERS=3Dus_landsat7o&red=3D4&green=3D3&= blue=3D1&ld=3D25&le=3D45&ls=3D0&gamma=3D2.5&STYLES=3D= &FORMAT=3Djpeg&TRANSPARENT=3DTRUE&"
   = =20 PROJECTION
      "init=3Depsg:4326" #WGS=20 84
    END
 END
 
END
 
 
 
 
Aaron D. Hunt
Technical = Manager
ZedX=20 Inc.
Voice: 814-357-8490
Fax:   =20 814-357-8499
------=_NextPart_000_008B_01C3B33A.DBD48940-- From bartvde at xs4all.nl Tue Nov 25 06:51:30 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Tue, 25 Nov 2003 15:51:30 +0100 (CET) Subject: [Mapserver-users] problem with polygon symbol Message-ID: <15781.212.238.227.182.1069771890.squirrel@webmail.xs4all.nl> Hi list, I am trying to make a polygon symbol which contains points in a certain pattern. But I can't get a pattern which contains these points: Something like: . . . . . . . . . . . . . . Can anybody please help with this? Thanks in advance. BTW: is there a .sym file available which contains a lot of predefined symbols? Best regards, Bart From map_surfer at yahoo.com Tue Nov 25 08:22:46 2003 From: map_surfer at yahoo.com (Damian Schroder) Date: Tue, 25 Nov 2003 08:22:46 -0800 (PST) Subject: [Mapserver-users] tolerance for bbox with postgis layers Message-ID: <20031125162246.58371.qmail@web80709.mail.yahoo.com> --0-1050422407-1069777366=:57633 Content-Type: text/plain; charset=us-ascii Dear list, I have researched this high and low and come up empty. Please help. In my map application, the drawquery() function fails when a bounding box is is below a certain size. Currently, my map is in Geographic (dd). The drawquery() fails when the the hieght or width of the bbox is below 1.5 degrees (at full extent the height and width of the bbox is 115 pixels, mapsize is 450x450 pixel, so it is not a tiny rectangle). The drawquery() only fails with postgis layers. When it does fail I still receive query results. If I draw a bbox large enough, everything works perfectly. I am using: mapserver 4.0.1 postgres 7.3.3 postgis 0.7.5 rosa applet Mapscript/PHP Is there some tolerance control I neet to edit? Is there coarse rounding with the pixel to geographic conversion with the drawquery() function?Any ideas or suggestion would be greatly appreciated. Thanks, Damian Schroder --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --0-1050422407-1069777366=:57633 Content-Type: text/html; charset=us-ascii
Dear list,
 
I have researched this high and low and come up empty. Please help.
 
In my map application, the drawquery() function fails when a bounding box is is below a certain size. Currently, my map is in Geographic (dd). The drawquery() fails when the the hieght or width of the bbox is below 1.5 degrees (at full extent the height and width of the bbox is 115 pixels, mapsize is 450x450 pixel, so it is not a tiny rectangle). The drawquery() only fails with postgis layers. When it does fail I still receive query results. If I draw a bbox large enough, everything works perfectly.
 
I am using:
mapserver 4.0.1
postgres 7.3.3
postgis 0.7.5
rosa applet
Mapscript/PHP
 
Is there some tolerance control I neet to edit? Is there coarse rounding with the pixel to geographic conversion with the drawquery() function?Any ideas or suggestion would be greatly appreciated.
 
Thanks,
Damian Schroder


Do you Yahoo!?
Free Pop-Up Blocker - Get it now --0-1050422407-1069777366=:57633-- From doug at moximedia.com Tue Nov 25 08:34:16 2003 From: doug at moximedia.com (Doug Cates) Date: 25 Nov 2003 08:34:16 -0800 Subject: [Mapserver-users] 100 users listed on MapServer Users Map In-Reply-To: <200311251347.27005.sp_ml@sourcepole.com> References: <1069704416.4082.673.camel@moxi-rh9> <200311251347.27005.sp_ml@sourcepole.com> Message-ID: <1069778056.4070.54.camel@moxi-rh9> Pirmin, Konqueror is not supported. IE, Netscape, Mozilla and Opera are. Doug On Tue, 2003-11-25 at 04:47, Pirmin Kalberer wrote: > Am Montag, 24. November 2003 21.06 schrieb Doug Cates: > > > > Just a note to let you know that there are now 100 MapServer users or > > sites listed on the MapServer Users Map at: > > > > http://www.moximedia.com:8080/imf-ows/imf.jsp?site=ms_users > > > > Thanks for your participation. If you're not yet listed, go to the above > > site and sign up! > > I would like to, but I get: > > HTTP Status 404 - /imfUnsupportedBrowser.jsp > type Status report > message /imfUnsupportedBrowser.jsp > description The requested resource (/imfUnsupportedBrowser.jsp) is not > available. > Apache Tomcat/4.1.27 > > > I'm using Konqueror 3.1.1. > > Pirmin Kalberer > Sourcepole - Linux & Open Source Solutions > http://www.sourcepole.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From map_surfer at yahoo.com Tue Nov 25 08:52:03 2003 From: map_surfer at yahoo.com (Damian Schroder) Date: Tue, 25 Nov 2003 08:52:03 -0800 (PST) Subject: [Mapserver-users] tolerance for bbox with postgis layers In-Reply-To: <20031125162246.58371.qmail@web80709.mail.yahoo.com> Message-ID: <20031125165203.52966.qmail@web80701.mail.yahoo.com> --0-2104707238-1069779123=:51893 Content-Type: text/plain; charset=us-ascii follow-up: The scenario mention in the previous message only happens when I mix shapefile layers with postgis layers. If all layers are turned off except the postgis layer, the drawquery() function works perfectly regardless of the bbox size. I am still searching for any info on how the drawquery() interacts with the layers and why it fails with different data types. Damian Schroder wrote: Dear list, I have researched this high and low and come up empty. Please help. In my map application, the drawquery() function fails when a bounding box is is below a certain size. Currently, my map is in Geographic (dd). The drawquery() fails when the the hieght or width of the bbox is below 1.5 degrees (at full extent the height and width of the bbox is 115 pixels, mapsize is 450x450 pixel, so it is not a tiny rectangle). The drawquery() only fails with postgis layers. When it does fail I still receive query results. If I draw a bbox large enough, everything works perfectly. I am using: mapserver 4.0.1 postgres 7.3.3 postgis 0.7.5 rosa applet Mapscript/PHP Is there some tolerance control I neet to edit? Is there coarse rounding with the pixel to geographic conversion with the drawquery() function?Any ideas or suggestion would be greatly appreciated. Thanks, Damian Schroder --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --------------------------------- Do you Yahoo!? Free Pop-Up Blocker - Get it now --0-2104707238-1069779123=:51893 Content-Type: text/html; charset=us-ascii
follow-up:
The scenario mention in the previous message only happens when I mix shapefile layers with postgis layers. If all layers are turned off except the postgis layer, the drawquery() function works perfectly regardless of the bbox size. I am still searching for any info on how the drawquery() interacts with the layers and why it fails with different data types.


Damian Schroder <map_surfer at yahoo.com> wrote:
Dear list,
 
I have researched this high and low and come up empty. Please help.
 
In my map application, the drawquery() function fails when a bounding box is is below a certain size. Currently, my map is in Geographic (dd). The drawquery() fails when the the hieght or width of the bbox is below 1.5 degrees (at full extent the height and width of the bbox is 115 pixels, mapsize is 450x450 pixel, so it is not a tiny rectangle). The drawquery() only fails with postgis layers. When it does fail I still receive query results. If I draw a bbox large enough, everything works perfectly.
 
I am using:
mapserver 4.0.1
postgres 7.3.3
postgis 0.7.5
rosa applet
Mapscript/PHP
 
Is there some tolerance control I neet to edit? Is there coarse rounding with the pixel to geographic conversion with the drawquery() function?Any ideas or suggestion would be greatly appreciated.
 
Thanks,
Damian Schroder


Do you Yahoo!?
Free Pop-Up Blocker - Get it now


Do you Yahoo!?
Free Pop-Up Blocker - Get it now --0-2104707238-1069779123=:51893-- From jorge.arocha at armada.mil.co Tue Nov 25 12:23:09 2003 From: jorge.arocha at armada.mil.co (TN Jorge Alberto Arocha Muñoz) Date: Tue, 25 Nov 2003 12:23:09 COT Subject: [Mapserver-users] Problem with access jBox's methods from javascripts functions. Message-ID: <200311251741.hAPHfZAP024076@lists.gis.umn.edu> I have next problem: 1. Template: .................... ........... .......... ......... ................... 2. File sig.js .... function clickboton(objeto) { activo.src = base + activo.name + '_nopres.png'; activo = objeto; objeto.src = base + objeto.name + '_pres.png'; switch (activo.name) { case 'info' : map_obj.modo = 'nquery'; break; case 'zoomin' : map_obj.modo = 'browse'; map_obj.zoomdir = '1'; break; case 'pan' : map_obj.modo = 'browse'; map_obj.zoomdir = '0'; break; case 'zoomout' : map_obj.modo = 'browse'; map_obj.zoomdir = '-1'; } } ....... This way all it's Ok, access jBox's methods work fine, but i want to use only function "clickboton()" at event onClick and try: 1. Supress in the img tag, jBox method: 2. Add in file sig.js on function clickboton(): .... function clickboton(objeto) { activo.src = base + activo.name + '_nopres.png'; activo = objeto; objeto.src = base + objeto.name + '_pres.png'; switch (activo.name) { case 'info' : document.jBox.boxon(); map_obj.modo = 'nquery'; break; case 'zoomin' : document.jBox.boxon(); map_obj.modo = 'browse'; map_obj.zoomdir = '1'; break; case 'pan' : document.jBox.dragon(); map_obj.modo = 'browse'; map_obj.zoomdir = '0'; break; case 'zoomout' : document.jBox.boxoff(); map_obj.modo = 'browse'; map_obj.zoomdir = '-1'; } } ....... With these changes the page dosen't work. The javascript debugger display this message: Exception ``TypeError: document.jBox.boxon is not a function'' thrown from function clickboton(). I treated other forms: * document.applet.jBox.boxon() * document.applets[0].boxon() And nothing to do. Any idea...... Thanks for your help...... From mdoggett at coas.oregonstate.edu Tue Nov 25 11:30:33 2003 From: mdoggett at coas.oregonstate.edu (Matt Doggett) Date: Tue, 25 Nov 2003 11:30:33 -0800 Subject: [Mapserver-users] raster query Message-ID: <005101c3b38a$98501630$2441c180@nino> Been a while since this question has been asked... Has anyone had success in performing gridcell queries on raster layers? -Matt From ggangul at transunion.com Tue Nov 25 11:33:13 2003 From: ggangul at transunion.com (Gautam Ganguly) Date: Tue, 25 Nov 2003 13:33:13 -0600 Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Message-ID: Hi all, I am a newbie to Mapserver and in the process of using mapserver ver4.0 for Oracle Spatial on Win2000 server.I followed the instruction for installing the server as well as the demo app.But when i try to access the map server from my browser using: http://localhost/cgi-bin/mapserv.exe , i get these error message: CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My system Setup is: Win2000 Advanced IIS : 5.0 Binary file name from the download site: ms40_gif_oracle.zip I followed the install as is given on the site at http://mapserver.gis.umn.edu/demo_readme.html. I did search the mailing list archive for the solution, but didnot find any. Before sending these mail i tried the hints provided on the mailing list as noted below: A)From command prompt when i run mapserv.exe,i get the following message: C:\Inetpub\cgi-bin>mapserv.exe This script can only be used to decode form results and should be initiated as a CGI process via a httpd server. B)by passing -v parameter i get the following output in the command prompt: C:\Inetpub\cgi-bin>mapserv.exe -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Any help would be highly appreciated. regards, Gautam From steve.lime at dnr.state.mn.us Tue Nov 25 11:56:09 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Tue, 25 Nov 2003 13:56:09 -0600 Subject: [Mapserver-users] SVG Output Message-ID: There are 2 new additions: - In query templates there is a new tag called shpxy. It allows for ad hoc access to the coordinates for any returned shape. There are a bunch of tag attributes that allow you to structure the output in a variety of ways. I'll have to check the source and post a summary of those. In practice you could then setup a query template that looked like: ... more svg stuff if necessary ... and then build up a svg document with the addition of headers and footers. - In the map file you can now set an arbitrary MIME-TYPE for query output using a web object parameter called QUERYFORMAT. So, for example you might do: QUERYFORMAT "image/svg+xml" I'm not real happy with this mechanism, I'd rather use OUTPUTFORMAT blocks, but for now this works just fine. 4.1 will be released as 4.2 after the first of the year. Don't know exactly when. The CVS code is VERY stable so I'd be interested in feedback. Steve >>> Keith Campbell 11/24/2003 3:02:30 PM >>> Steve, Thanks for your reply. Is there any more information available on these new features? Any idea on when 4.1 is available? Keith Steve Lime wrote: >The 4.1 version has a few new features that should allow the creation of >SVG using traditional query templates. There are new capabilities to >change output MIME types and to extract feature coordinates into >templates. Because SVG is text-based this may work quite well. > >Steve > >Stephen Lime >Data & Applications Manager > >Minnesota DNR >500 Lafayette Road >St. Paul, MN 55155 >651-297-2937 > > > >>>>Keith Campbell 11/17/2003 5:45:01 PM >>> >>>> >>>> >Just trying to find out what MapServer will do:- > >In addition to rendering images to the client, it will output GML >(through the WFS support) and also SWF (MING) but not SVG - is this >correct? Any likelihood of SVG in future? > >Thanks, > >Keith > >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >_______________________________________________ >Mapserver-users mailing list >Mapserver-users at lists.gis.umn.edu >http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From warmerdam at pobox.com Tue Nov 25 12:03:58 2003 From: warmerdam at pobox.com (Frank Warmerdam) Date: Tue, 25 Nov 2003 15:03:58 -0500 Subject: [Mapserver-users] raster query In-Reply-To: <005101c3b38a$98501630$2441c180@nino> References: <005101c3b38a$98501630$2441c180@nino> Message-ID: <3FC3B5AE.1060901@pobox.com> Matt Doggett wrote: > Been a while since this question has been asked... Has anyone had > success in performing gridcell queries on raster layers? Matt, This still doesn't exist though there is a feature request filed for it in Bugzilla. There is talk that DM Solutions may drive it's implementation in the coming months. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From klawrenc at NRCan.gc.ca Tue Nov 25 12:50:43 2003 From: klawrenc at NRCan.gc.ca (Lawrence, Kevin) Date: Tue, 25 Nov 2003 15:50:43 -0500 Subject: [Mapserver-users] raster query Message-ID: <5A55BF06E7CCF94AADFC69F0D898B20C199026@s2-ssm-r1.GLFC.Forestry.CA> Yes I have been doing raster query for a couple of years. This was the main reason we used mapserver in the first place. We use perl and mapscripts (a little slower in some ways). Actually the query is done in perl (C if you want it to be faster). We store the grids as arc/info GRIDFLOAT format for query and a tif format for display. using the header information for the gridfloat we calculate which cell is being sampled and jump into the grid to that cell. The value is a 32bit work which can be simply converted and returned as output. We are able to apply look up tables to classified data and get back a textual responses on a grid as well. The concept can be moved to different fgrid formats and work just as well. Check out a specific example at http://g4.glfc.cfs.nrcan.gc.ca/makemap.pl?layers=1952,8652,53859,2057,4240&t itle=Abies+balsamea Kevin Lawrence GIS analyst 1219 Queen Street East Sault Ste. Marie Ontario P6A 2E5 ph: (705) 541-5600 email: klawrenc at nrcan.gc.ca > ---------- > From: Frank Warmerdam[SMTP:warmerdam at pobox.com] > Sent: Tuesday, November 25, 2003 3:03 PM > To: mdoggett at coas.oregonstate.edu > Cc: mapserver-users at lists.gis.umn.edu > Subject: Re: [Mapserver-users] raster query > > Matt Doggett wrote: > > Been a while since this question has been asked... Has anyone had > > success in performing gridcell queries on raster layers? > > Matt, > > This still doesn't exist though there is a feature request filed for > it in Bugzilla. There is talk that DM Solutions may drive it's > implementation in the coming months. > > Best regards, > > -- > ---------------------------------------+---------------------------------- > ---- > I set the clouds in motion - turn up | Frank Warmerdam, > warmerdam at pobox.com > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | Geospatial Programmer for Rent > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From gayathri at ou.edu Tue Nov 25 12:50:01 2003 From: gayathri at ou.edu (Swaminathan, Gayathri) Date: Tue, 25 Nov 2003 14:50:01 -0600 Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Message-ID: Gautam, Did you copy all the default library dlls to somewhere mapserver can find like C:\system32 directory? Gayathri -----Original Message----- From: Gautam Ganguly [mailto:ggangul at transunion.com] Sent: Tuesday, November 25, 2003 1:33 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Hi all, I am a newbie to Mapserver and in the process of using mapserver ver4.0 for Oracle Spatial on Win2000 server.I followed the instruction for installing the server as well as the demo app.But when i try to access the map server from my browser using: http://localhost/cgi-bin/mapserv.exe , i get these error message: CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My system Setup is: Win2000 Advanced IIS : 5.0 Binary file name from the download site: ms40_gif_oracle.zip I followed the install as is given on the site at http://mapserver.gis.umn.edu/demo_readme.html. I did search the mailing list archive for the solution, but didnot find any. Before sending these mail i tried the hints provided on the mailing list as noted below: A)From command prompt when i run mapserv.exe,i get the following message: C:\Inetpub\cgi-bin>mapserv.exe This script can only be used to decode form results and should be initiated as a CGI process via a httpd server. B)by passing -v parameter i get the following output in the command prompt: C:\Inetpub\cgi-bin>mapserv.exe -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Any help would be highly appreciated. regards, Gautam _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From ggangul at transunion.com Tue Nov 25 12:38:51 2003 From: ggangul at transunion.com (Gautam Ganguly) Date: Tue, 25 Nov 2003 14:38:51 -0600 Subject: [Mapserver-users] The specified CGI application misbehaved bynot returning a complete set of HTT Message-ID: Hi all, I managed to make it run.I just tried the age old process of working with any thing windows-to restart the machine..and it started to work.And the demo works too!!! So i if any one faces these kind of issues ,its better to restart the machine. regards, Gautam -----Original Message----- From: Gautam Ganguly [mailto:ggangul at transunion.com] Sent: Tuesday, November 25, 2003 1:33 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Hi all, I am a newbie to Mapserver and in the process of using mapserver ver4.0 for Oracle Spatial on Win2000 server.I followed the instruction for installing the server as well as the demo app.But when i try to access the map server from my browser using: http://localhost/cgi-bin/mapserv.exe , i get these error message: CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My system Setup is: Win2000 Advanced IIS : 5.0 Binary file name from the download site: ms40_gif_oracle.zip I followed the install as is given on the site at http://mapserver.gis.umn.edu/demo_readme.html. I did search the mailing list archive for the solution, but didnot find any. Before sending these mail i tried the hints provided on the mailing list as noted below: A)From command prompt when i run mapserv.exe,i get the following message: C:\Inetpub\cgi-bin>mapserv.exe This script can only be used to decode form results and should be initiated as a CGI process via a httpd server. B)by passing -v parameter i get the following output in the command prompt: C:\Inetpub\cgi-bin>mapserv.exe -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Any help would be highly appreciated. regards, Gautam _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Daniel.A.Martin at erac.com Tue Nov 25 13:14:56 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Tue, 25 Nov 2003 15:14:56 -0600 Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A192C99@STL-EXBE-I03.corp.erac.com> Usually, this happens when you didn't install the dll libraries. The dll files included in the binary distribution (in the lib directory) need to be placed in your system path. Typically, they are placed into C:\Winnt\system32 but they can be placed anywhere in the path. Since you are using the Oracle distribution, you also need the Oracle dll libraries in the path as well. These aren't distributed with MapServer. They come with Oracle. -Dan > -----Original Message----- > From: mapserver-users-admin at lists.gis.umn.edu > [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of > Gautam Ganguly > Sent: Tuesday, November 25, 2003 1:33 PM > To: mapserver-users at lists.gis.umn.edu > Subject: [Mapserver-users] The specified CGI application > misbehaved by not returning a complete set of HTTP headers. > The headers it did return are: > > > Hi all, > I am a newbie to Mapserver and in the process of using > mapserver ver4.0 for Oracle Spatial on Win2000 server.I > followed the instruction for installing the server as well as > the demo app.But when i try to access the map server from my > browser using: http://localhost/cgi-bin/mapserv.exe , i get > these error message: CGI Error: The specified CGI application > misbehaved by not returning a complete set of HTTP headers. > The headers it did return are: > > My system Setup is: Win2000 Advanced > IIS : 5.0 > Binary file name from the download site: ms40_gif_oracle.zip > I followed the install as is given on the site at > http://mapserver.gis.umn.edu/demo_readme.html. > > I did search > the mailing list archive for the solution, but didnot find > any. Before sending these mail i tried the hints provided on > the mailing list as noted below: A)From command prompt when i > run mapserv.exe,i get the following > message: > C:\Inetpub\cgi-bin>mapserv.exe > This script can only be used to decode form results and > should be initiated as a CGI process via a httpd server. > > B)by passing -v parameter i get the following output in the command > prompt: > C:\Inetpub\cgi-bin>mapserv.exe -v > MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG > OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ > SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT > SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 > INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE > > Any help would be highly appreciated. > > regards, > Gautam > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > From ggangul at transunion.com Tue Nov 25 13:04:57 2003 From: ggangul at transunion.com (Gautam Ganguly) Date: Tue, 25 Nov 2003 15:04:57 -0600 Subject: [Mapserver-users] The specified CGI application misbehaved bynot returning a complete set of HTT Message-ID: Hi Gayathri, It works now...i think i did send out a mail.The only thing i did was restart the machine which generally is the case when nothing else seems to work on windows..and that did it.and the demos work too. I followed word by word the docs for installing the demo..and its great . Maybe there should be special note for windows users like me, that says to restart the machine if it doesn't work in the first place and all the steps have been followed as per the docs ;) Thanks for your time and help. regards, Gautam >>> "Swaminathan, Gayathri" 11/25/03 02:50PM >>> Gautam, Did you copy all the default library dlls to somewhere mapserver can find like C:\system32 directory? Gayathri -----Original Message----- From: Gautam Ganguly [mailto:ggangul at transunion.com] Sent: Tuesday, November 25, 2003 1:33 PM To: mapserver-users at lists.gis.umn.edu Subject: [Mapserver-users] The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Hi all, I am a newbie to Mapserver and in the process of using mapserver ver4.0 for Oracle Spatial on Win2000 server.I followed the instruction for installing the server as well as the demo app.But when i try to access the map server from my browser using: http://localhost/cgi-bin/mapserv.exe , i get these error message: CGI Error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: My system Setup is: Win2000 Advanced IIS : 5.0 Binary file name from the download site: ms40_gif_oracle.zip I followed the install as is given on the site at http://mapserver.gis.umn.edu/demo_readme.html. I did search the mailing list archive for the solution, but didnot find any. Before sending these mail i tried the hints provided on the mailing list as noted below: A)From command prompt when i run mapserv.exe,i get the following message: C:\Inetpub\cgi-bin>mapserv.exe This script can only be used to decode form results and should be initiated as a CGI process via a httpd server. B)by passing -v parameter i get the following output in the command prompt: C:\Inetpub\cgi-bin>mapserv.exe -v MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE Any help would be highly appreciated. regards, Gautam _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From innaj at web.de Tue Nov 25 14:08:23 2003 From: innaj at web.de (Inna Janssen) Date: Tue, 25 Nov 2003 23:08:23 +0100 Subject: [Mapserver-users] mapscript with php as a dso Message-ID: <200311252208.hAPM8NQ03331@mailgate5.cinetic.de> Hi, after I finally managed to compile mapscript, apache 2 and php 4.3.4 as a dso, I couldn't believe that mapscript only works with php as a cgi, because of "thread safety problems" ? To use php as cgi is not really acceptable for me in the long run. So, I wanted to ask, if MapScript will work with the php module version in forseeable future?... Inna ______________________________________________________________________________ Horoskop, Comics, VIPs, Wetter, Sport und Lotto im WEB.DE Screensaver1.2 Kostenlos downloaden: http://screensaver.web.de/?mc=021110 From morissette at dmsolutions.ca Tue Nov 25 14:35:57 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Tue, 25 Nov 2003 17:35:57 -0500 Subject: [Mapserver-users] mapscript with php as a dso In-Reply-To: <200311252208.hAPM8NQ03331@mailgate5.cinetic.de> References: <200311252208.hAPM8NQ03331@mailgate5.cinetic.de> Message-ID: <3FC3D94D.9070606@dmsolutions.ca> Inna Janssen wrote: > Hi, > > after I finally managed to compile mapscript, apache 2 and php 4.3.4 as a dso, I couldn't > believe that mapscript only works with php as a cgi, because of "thread safety problems" ? > To use php as cgi is not really acceptable for me in the long run. > So, I wanted to ask, if MapScript will work with the php module version in forseeable future?... > This limitation will be gone in MapServer 4.2 to be released hopefully early next year. If you feel brave you could try a nightly build of the MapServer 4.1 development version, but you may run into other problems because the code is undergoing changes so this may not be the best way for you to get started with MapServer. -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From Ann.Keane at noaa.gov Tue Nov 25 16:28:31 2003 From: Ann.Keane at noaa.gov (Ann Keane) Date: Tue, 25 Nov 2003 17:28:31 -0700 Subject: [Mapserver-users] Graticule problem Message-ID: <3FC3F3AF.9050001@noaa.gov> I'm having a problem adding a GRID layer to an albers projected map. The grid is fine, except that it adds a couple of extra lines which intersect at the center of the projection. An example of this is here: http://www.etl.noaa.gov/tmp/NEAQS-ITCT106980036229689.png Has any seen this or bet yet fixed it? Thanks- Ann The map file has the overall projection: EXTENT -4530061.9375 89.6875 3618936.0 713.75 # Albers UNITS METERS PROJECTION "+proj=aea +lat_0=40.0 +lon_0=-40.0 lat_1=29.5 lat_2=45.5 " END And the GRID layer is: LAYER NAME "GRID" TRANSPARENCY 30 PROJECTION "proj=latlong" END TYPE LINE STATUS DEFAULT CLASS COLOR 0 0 0 LABEL TYPE BITMAP SIZE MEDIUM COLOR 0 0 0 OUTLINECOLOR 255 255 255 END END GRID MINSUBDIVIDE 64 MAXSUBDIVIDE 64 MININTERVAL 10 MAXINTERVAL 10 LABELFORMAT "DDMM" END END From api at justapi.de Wed Nov 26 00:06:14 2003 From: api at justapi.de (Sebastian Albrecht) Date: Wed, 26 Nov 2003 09:06:14 +0100 Subject: [Mapserver-users] Graticule problem In-Reply-To: <3FC3F3AF.9050001@noaa.gov> References: <3FC3F3AF.9050001@noaa.gov> Message-ID: <1532600098.20031126090614@justapi.de> Hi Ann, I just asked that question two days ago - using a mercator projection. The problem is the grid's maximum latitude values are -90 and 90. If you enter those values manually in PROJ4 using your projection you might see * is returned. I suppose this shall be something like infinite (-90 and 90 with mercator) or undefined. I had the same problem with a coastline shapefile that had a line from -180 -90 to 180 -90 to border the bottom of the Antarctica polygon and I had the same problem (screenshots http://justapi.de/mapserv). I solved it by just moving that line to (-180 -89.5) (180 -89.5). John Novak who developed that GRID feature wrote me yesterday he would have a look at the problem after Thanksgiving. Best regards, Sebastian Albrecht > I'm having a problem adding a GRID layer to an albers projected map. > The grid is fine, except that it adds a couple of extra lines which > intersect at the center of the projection. An example of this is here: > http://www.etl.noaa.gov/tmp/NEAQS-ITCT106980036229689.png > Has any seen this or bet yet fixed it? > Thanks- > Ann > The map file has the overall projection: > EXTENT -4530061.9375 89.6875 3618936.0 713.75 # Albers > UNITS METERS > PROJECTION > "+proj=aea +lat_0=40.0 +lon_0=-40.0 lat_1=29.5 lat_2=45.5 " > END > And the GRID layer is: > LAYER > NAME "GRID" > TRANSPARENCY 30 > PROJECTION > "proj=latlong" > END > TYPE LINE > STATUS DEFAULT > CLASS > COLOR 0 0 0 > LABEL > TYPE BITMAP > SIZE MEDIUM > COLOR 0 0 0 > OUTLINECOLOR 255 255 255 > END > END > GRID > MINSUBDIVIDE 64 > MAXSUBDIVIDE 64 > MININTERVAL 10 > MAXINTERVAL 10 > LABELFORMAT "DDMM" > END > END > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From schulz at gaf.de Wed Nov 26 01:59:14 2003 From: schulz at gaf.de (Matthias Schulz) Date: Wed, 26 Nov 2003 10:59:14 +0100 Subject: [Mapserver-users] MrSID Message-ID: <03Nov26.105916cet.119045@pons.gaf.de> As I have seen in the archive there are currently no plans to support MrSID data. I am wondering what would be the programming effort for this integration if one would use the sdk from MrSID. Could anyone give me a rough idea of the effort or the aproach? Thanks, Matthias --- Matthias Schulz GAF AG Arnulfstr. 197 80634 Muenchen Germany tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 mailto:schulz at gaf.de http://www.gaf.de From omry at telmap.com Wed Nov 26 02:26:44 2003 From: omry at telmap.com (Omry Yadan) Date: Wed, 26 Nov 2003 12:26:44 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DADA31@plague.telmap.com> Hi Ed, Do you have any news about this? -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From omry at telmap.com Wed Nov 26 02:30:28 2003 From: omry at telmap.com (Omry Yadan) Date: Wed, 26 Nov 2003 12:30:28 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DADA32@plague.telmap.com> I am not a C++ programmer; I wouldn't know where to start looking into the sources. I don't see how doing some math will help here, It appears to be a rounding problem, some need to reproduce the problem, and have a look in debug mode. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 5:00 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - Take the output image you're requesting, do the math, and figure out where the source pixels are coming from. Examine the coordinates of the real output pixel being generated along the "crack" and see where the source data is coming from. Please also look at how MapServer selects the source data to use for a given output pixel, recognizing that MapServer is optimized for quick image output rather than optimum image quality, and does not combine source pixels to produce an output pixel (in a tiled raster layer that is). - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 9:22 AM To: Ed McNierney; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem I reproduced the problem with only two tiles. It was east to verify using gdalinfo that the two tiles are adjacent along the problematic border. Indeed it sounds like a problem with rounding. to reduce the amount of code to check, I can tell you that its probably not related to the driver of the specific format, because I reproduced it both with ECW and with GeoTiff (and the problem looks exactly the same, given the same data and map bounds). For me, it's not urgent yet, but I would be happy to know this problem is history, because I currently have a solution which relies on MapServer. Omry. -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From wesp at gdv.com Wed Nov 26 02:33:32 2003 From: wesp at gdv.com (Oliver Wesp) Date: Wed, 26 Nov 2003 11:33:32 +0100 Subject: [Mapserver-users] MrSID In-Reply-To: <03Nov26.105916cet.119045@pons.gaf.de> References: <03Nov26.105916cet.119045@pons.gaf.de> Message-ID: <3FC4817C.6090505@gdv.com> Matthias, MrSID is supported through GDAL. This is a new devlopment. Here is what Frank has posted on this list (2003/22/08): "This is a new development. MrSID support was implemented by Andrey Kiselev in the last 2 months under a contract from i-Cubed specifically to allow use of MrSID in MapServer. On Linux (and presumably other Unix platforms) you would configure with the --with-mrsid=(dir) switch. The MrSID DSDK on Linux requires a very specific version of gcc, so everything else (GDAL, and MapServer) will need to be compiled with the same version. On Windows set the MRSID_HOME variable in the GDAL nmake.opt file. Some additional details are available in the GDAL "building from source" page, and in MrSID format page itself. Followups on build problems should go to the gdal-dev list. I would add that due to the licensing of the MrSID libraries, I am unable to redistribute binaries of GDAL utilities or MapServer with MrSID support. You will need to license the DSDK from Lizardtech and build GDAL yourself. " best regards Oliver Matthias Schulz wrote: > As I have seen in the archive there are currently no plans to support > MrSID data. I am wondering what would be the programming effort for this > integration if one would use the sdk from MrSID. Could anyone give me a > rough idea of the effort or the aproach? > > Thanks, > > Matthias > > --- > Matthias Schulz > > GAF AG Arnulfstr. 197 80634 Muenchen Germany > tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 > mailto:schulz at gaf.de http://www.gaf.de > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > -- Dipl.-Geogr. Oliver Wesp Gesellschaft fu"r geografische Datenverarbeitung Binger Strasse 49-51 D-55218 Ingelheim fon: +49 6132 714818 fax: +49 6132 714828 http: www.gdv.com From mjgfirst at yahoo.com.cn Wed Nov 26 02:33:29 2003 From: mjgfirst at yahoo.com.cn (=?gb2312?q?=BD=A8=B9=FA=20=C2=ED?=) Date: Wed, 26 Nov 2003 18:33:29 +0800 (CST) Subject: [Mapserver-users] Howto-Get ArcInfo Coverage Read/Write Library From MapServer Message-ID: <20031126103329.60690.qmail@web15102.mail.bjs.yahoo.com> --0-928463248-1069842809=:56424 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit Hi, everyone Mapserver includes "OGR v1.1.9 (MapInfo tab, Tiger, SDTS, S57, NTF, GML, Arc/Info coverage, DGN, PostgreSQL)", which could be used to read and write ArcInfo Coverage, But I do not know where to get the library and it source. Help. Ma Jianguo __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-928463248-1069842809=:56424 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit
Hi, everyone
 
Mapserver includes "OGR v1.1.9 (MapInfo tab, Tiger, SDTS, S57, NTF, GML, Arc/Info coverage, DGN, PostgreSQL)", which could be used to
read and write ArcInfo Coverage, But I do not know where to get the library and it source.
 
Help.
 
Ma Jianguo

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com --0-928463248-1069842809=:56424-- From omry at telmap.com Wed Nov 26 03:00:01 2003 From: omry at telmap.com (Omry Yadan) Date: Wed, 26 Nov 2003 13:00:01 +0200 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <143CFA2E3C9B5D459E78DA18E3F15F89DADA33@plague.telmap.com> Sorry for the long delay. I have created the bug report: http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=493 Omry. -----Original Message----- From: Frank Warmerdam [mailto:warmerdam at pobox.com] Sent: Sunday, November 09, 2003 7:29 PM To: Omry Yadan Cc: Alan Steremberg; mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem Omry Yadan wrote: > This seems to be a real problem with MapServer. > Is anyone taking a look at it? > Omry, OK, my efforts to duck this problem don't seem to have made it go away, so I guess I should try and fix it. If you can submit a detailed bug report with your map file, a detailed description of your data (ie. a gdalinfo report), and shp2img settings to reproduce the problem I will dig into it and see what I can do. Under some circumstances cracks may be hard to avoid but I will see what I can do. Best regards, -- ---------------------------------------+------------------------------------ -- I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent From delleske at vauban.de Wed Nov 26 03:21:14 2003 From: delleske at vauban.de (Andreas Delleske) Date: Wed, 26 Nov 2003 12:21:14 +0100 Subject: [Mapserver-users] Installation problems with debian Message-ID: Hi there, while trying to install the mapserver 4.0.1 from source on a debian woody (3.0) machine, I got the error from configure: "configure: error: installation or configuration problem: C++ compiler cannot create executables." (executed from root, naturally) The gcc seems to be installed (thats what the configure program says) Further, I have installed the gdlib-devel package, freetype seems to be come with that. # apt-get install g++ gives no reasonable answer.. so what do to? Im using Debian more as a user and less as a geek. Is there a install FAQ for Debian? -- Gruss Andreas Delleske From stephane.riff at cerene.fr Wed Nov 26 05:14:17 2003 From: stephane.riff at cerene.fr (=?ISO-8859-1?Q?St=E9phane_RIFF?=) Date: Wed, 26 Nov 2003 14:14:17 +0100 Subject: [Mapserver-users] Zoom previous Message-ID: <3FC4A729.2030405@cerene.fr> Does anyone already did a zoom previous function... I saw it on mapsever-users site. But i can't get my to work. I tried to store the last extent but i don't really know when i had to store it... Can someone hilight me thx From ed at topozone.com Wed Nov 26 05:18:08 2003 From: ed at topozone.com (Ed McNierney) Date: Wed, 26 Nov 2003 08:18:08 -0500 Subject: [Mapserver-users] MapServer raster 'cracking' problem Message-ID: <13858AA1A74F30419F319ACB66A9D1222EA58B@mercator.topozone.com> No. Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Wednesday, November 26, 2003 5:27 AM To: Ed McNierney; Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Hi Ed, Do you have any news about this? -----Original Message----- From: Ed McNierney [mailto:ed at topozone.com] Sent: Sunday, November 09, 2003 3:09 PM To: Omry Yadan; Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem Omry - I don't have time to look into this for a few more days, but I suspect you are seeing an artifact of your data and rounding effects. First, make sure your data are as truly continuous as possible. I think what you're seeing is a request for a pixel that falls "between" your data sets, or at least appears to fall between them for certain view scales. - Ed Ed McNierney President and Chief Mapmaker TopoZone.com ed at topozone.com -----Original Message----- From: Omry Yadan [mailto:omry at telmap.com] Sent: Sunday, November 09, 2003 3:56 AM To: Alan Steremberg Cc: mapserver-users at lists.gis.umn.edu Subject: RE: [Mapserver-users] MapServer raster 'cracking' problem This seems to be a real problem with MapServer. Is anyone taking a look at it? -----Original Message----- From: Alan Steremberg [mailto:alans at wunderground.com] Sent: Wednesday, November 05, 2003 7:36 PM To: Omry Yadan Cc: mapserver-users at lists.gis.umn.edu Subject: Re: [Mapserver-users] MapServer raster 'cracking' problem I see the same problem using JPG or PNM files with GDAL. Alan ---------------------------- Alan Steremberg 415-543-5021 x 103 http://www.wunderground.com On Wed, 5 Nov 2003, Omry Yadan wrote: > I have a problem with raster image generated by map server where the data > source is tiled. > The problem is that in some zoom levels (zoomed out), I get a white line > between two tiles sometimes. > I ran a test with two tiles only, and I could reproduce the problem. > the tiles boundaries are exactly one next to the other - to strengthen the > point : > when I zoom into the merge line, I don't see a gap between the two tiles. > Initially, my data was in ECW format - to rule out ECW related issue, I > converted the data to GeoTiff, and I got the exact same problem (which > appeared at the exact same requests. > > Any help would be appreciated. > > Omry. > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From hunt at zedxinc.com Wed Nov 26 05:59:32 2003 From: hunt at zedxinc.com (Aaron D. Hunt) Date: Wed, 26 Nov 2003 08:59:32 -0500 Subject: [Mapserver-users] MrSID References: <03Nov26.105916cet.119045@pons.gaf.de> <3FC4817C.6090505@gdv.com> Message-ID: <003801c3b425$846e32f0$1805000a@helicity> Oliver Do You know where the DSDK can be gotten from. I was on Lizardtech site and could not find any thing on it, and I email them and have not gotten any replay. Aaron ----- Original Message ----- From: "Oliver Wesp" To: "Matthias Schulz" Cc: Sent: Wednesday, November 26, 2003 5:33 AM Subject: Re: [Mapserver-users] MrSID > Matthias, > > MrSID is supported through GDAL. This is a new devlopment. Here is what > Frank has posted on this list (2003/22/08): > > "This is a new development. MrSID support was implemented by Andrey > Kiselev in the last 2 months under a contract from i-Cubed specifically > to allow use of MrSID in MapServer. > > On Linux (and presumably other Unix platforms) you would configure with > the --with-mrsid=(dir) switch. The MrSID DSDK on Linux requires a very > specific version of gcc, so everything else (GDAL, and MapServer) will > need to be compiled with the same version. > > On Windows set the MRSID_HOME variable in the GDAL nmake.opt file. > > Some additional details are available in the GDAL "building from source" > page, and in MrSID format page itself. Followups on build problems > should go to the gdal-dev list. > > I would add that due to the licensing of the MrSID libraries, I am > unable to redistribute binaries of GDAL utilities or MapServer with > MrSID support. You will need to license the DSDK from Lizardtech and > build GDAL yourself. " > > best regards > Oliver > > Matthias Schulz wrote: > > As I have seen in the archive there are currently no plans to support > > MrSID data. I am wondering what would be the programming effort for this > > integration if one would use the sdk from MrSID. Could anyone give me a > > rough idea of the effort or the aproach? > > > > Thanks, > > > > Matthias > > > > --- > > Matthias Schulz > > > > GAF AG Arnulfstr. 197 80634 Muenchen Germany > > tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 > > mailto:schulz at gaf.de http://www.gaf.de > > > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > > > > > > > -- > Dipl.-Geogr. Oliver Wesp > Gesellschaft fu"r geografische Datenverarbeitung > Binger Strasse 49-51 > D-55218 Ingelheim > fon: +49 6132 714818 > fax: +49 6132 714828 > http: www.gdv.com > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From Chip.Hankley at rmtinc.com Wed Nov 26 06:39:52 2003 From: Chip.Hankley at rmtinc.com (Chip Hankley) Date: Wed, 26 Nov 2003 08:39:52 -0600 Subject: [Mapserver-users] Zoom previous Message-ID: >Does anyone already did a zoom previous function... A low-tech way to do this that works a LOT of times is to simply use the 'back' function inherent in the web-browser. You can simply apply the javascript 'history.back()' to a button, and call it "zoom to previous extent" or something. This is the equivalent of hitting the 'back' button. Chip Hankley Outgoing messages, along with any attachments, are scanned for viruses at RMT prior to sending. ------------------------------------------------------------------------------ NOTICE--This email may contain confidential and privileged information for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and delete all copies. From klawrenc at NRCan.gc.ca Wed Nov 26 07:04:20 2003 From: klawrenc at NRCan.gc.ca (Lawrence, Kevin) Date: Wed, 26 Nov 2003 10:04:20 -0500 Subject: [Mapserver-users] Zoom previous Message-ID: <5A55BF06E7CCF94AADFC69F0D898B20C199029@s2-ssm-r1.GLFC.Forestry.CA> if you are using sessions store the previous coordinates in a session variable and when previous is requested simply re-use those extents. > ---------- > From: Chip Hankley[SMTP:Chip.Hankley at rmtinc.com] > Sent: Wednesday, November 26, 2003 9:39 AM > To: stephane.riff at cerene.fr; mapserver-users at lists.gis.umn.edu > Subject: Re: [Mapserver-users] Zoom previous > > >Does anyone already did a zoom previous function... > > A low-tech way to do this that works a LOT of times is to simply use > the 'back' function inherent in the web-browser. You can simply apply > the javascript 'history.back()' to a button, and call it "zoom to > previous extent" or something. This is the equivalent of hitting the > 'back' button. > > Chip Hankley > > Outgoing messages, along with any attachments, are scanned for viruses at > RMT prior to sending. > -------------------------------------------------------------------------- > ---- > NOTICE--This email may contain confidential and privileged information > for the sole use of the intended recipient. Any review or distribution > by others is strictly prohibited. If you are not the intended recipient, > please contact the sender immediately and delete all copies. > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > From wesp at gdv.com Wed Nov 26 07:05:06 2003 From: wesp at gdv.com (Oliver Wesp) Date: Wed, 26 Nov 2003 16:05:06 +0100 Subject: [Mapserver-users] MrSID In-Reply-To: <003801c3b425$846e32f0$1805000a@helicity> References: <03Nov26.105916cet.119045@pons.gaf.de> <3FC4817C.6090505@gdv.com> <003801c3b425$846e32f0$1805000a@helicity> Message-ID: <3FC4C122.3040704@gdv.com> Aaron, we have no experience using MrSID right know. I suppose somebody who has a MrSID-License from Lizardtech will also have the DSDK. But to be honest, I don't know. After looking at their website that GeoExpress is most likely the thing you are lookin for. But I think the best way is to get somebody from Lizardtech and ask them. Oliver Aaron D. Hunt wrote: > Oliver > > Do You know where the DSDK can be gotten from. I was on Lizardtech site and > could not find any thing on it, and I email them and have not gotten any > replay. > > Aaron > > ----- Original Message ----- > From: "Oliver Wesp" > To: "Matthias Schulz" > Cc: > Sent: Wednesday, November 26, 2003 5:33 AM > Subject: Re: [Mapserver-users] MrSID > > > >>Matthias, >> >>MrSID is supported through GDAL. This is a new devlopment. Here is what >>Frank has posted on this list (2003/22/08): >> >>"This is a new development. MrSID support was implemented by Andrey >>Kiselev in the last 2 months under a contract from i-Cubed specifically >>to allow use of MrSID in MapServer. >> >>On Linux (and presumably other Unix platforms) you would configure with >>the --with-mrsid=(dir) switch. The MrSID DSDK on Linux requires a very >>specific version of gcc, so everything else (GDAL, and MapServer) will >>need to be compiled with the same version. >> >>On Windows set the MRSID_HOME variable in the GDAL nmake.opt file. >> >>Some additional details are available in the GDAL "building from source" >>page, and in MrSID format page itself. Followups on build problems >>should go to the gdal-dev list. >> >>I would add that due to the licensing of the MrSID libraries, I am >>unable to redistribute binaries of GDAL utilities or MapServer with >>MrSID support. You will need to license the DSDK from Lizardtech and >>build GDAL yourself. " >> >>best regards >>Oliver >> >>Matthias Schulz wrote: >> >>>As I have seen in the archive there are currently no plans to support >>>MrSID data. I am wondering what would be the programming effort for this >>>integration if one would use the sdk from MrSID. Could anyone give me a >>>rough idea of the effort or the aproach? >>> >>>Thanks, >>> >>>Matthias >>> >>>--- >>>Matthias Schulz >>> >>>GAF AG Arnulfstr. 197 80634 Muenchen Germany >>>tel.: +49 (0)89 121528-28 fax: +49 (0)89 121528-79 >>>mailto:schulz at gaf.de http://www.gaf.de >>> >>>_______________________________________________ >>>Mapserver-users mailing list >>>Mapserver-users at lists.gis.umn.edu >>>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users >>> >>> >>> >> >> >>-- >>Dipl.-Geogr. Oliver Wesp >>Gesellschaft fu"r geografische Datenverarbeitung >>Binger Strasse 49-51 >>D-55218 Ingelheim >>fon: +49 6132 714818 >>fax: +49 6132 714828 >>http: www.gdv.com >> >>_______________________________________________ >>Mapserver-users mailing list >>Mapserver-users at lists.gis.umn.edu >>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > -- Dipl.-Geogr. Oliver Wesp Gesellschaft fuer geografische Datenverarbeitung Binger Strasse 49-51 D-55218 Ingelheim fon: +49 6132 714818 fax: +49 6132 714828 http: www.gdv.com From bartvde at xs4all.nl Wed Nov 26 07:51:41 2003 From: bartvde at xs4all.nl (bartvde at xs4all.nl) Date: Wed, 26 Nov 2003 16:51:41 +0100 (CET) Subject: [Mapserver-users] not always outline for polygons Message-ID: <21531.212.238.227.182.1069861901.squirrel@webmail.xs4all.nl> Hi list, I have a problem with polygons in my map not always getting an outline. I use both PIXMAP (transparent) and VECTOR symbols in my layer. For a clearer image of what I mean, you could take a look at, this is a screendump of the map: http://www.vz.geodan.nl/users/bart/mapserver.png Does anybody have an idea what could be the problem with the OUTLINE? Best regards, Bart My symbol definition is: SYMBOL NAME "lb_hoog" TYPE pixmap IMAGE "../htdocs/images/lb_hoog.png" TRANSPARENT 0 END SYMBOL NAME "hashfill_up" TYPE vector TRANSPARENT 0 POINTS 0 1 1 0 END END The respective classes from my LAYER are: CLASS SYMBOL "lb_hoog" OUTLINECOLOR 36 133 68 EXPRESSION "nd_h" NAME "lage bedekking Hoog" COLOR 36 133 68 END CLASS SYMBOL "hashfill_up" OUTLINECOLOR 36 133 68 SIZE 8 EXPRESSION "c_p" NAME "co-dominant Pionier" COLOR 254 255 204 END From Daniel.A.Martin at erac.com Wed Nov 26 08:08:03 2003 From: Daniel.A.Martin at erac.com (Martin, Daniel A) Date: Wed, 26 Nov 2003 10:08:03 -0600 Subject: [Mapserver-users] Zoom previous Message-ID: <4ACBA1414DD9EE418CC250E4AAA9035A192C9C@STL-EXBE-I03.corp.erac.com> Of course, you are assuming St?phane is using a scripting language, and not the standard CGI MapServer. Using the history has definite problems. Perhaps the new page loaded a new layer or other dynamic change to the content. Another problem with using history is that changes to a form stay with the history. If you use an HTML legend that displays checkboxes for indicating which layers or on and for turning on and off layers (as many apps do) loading history after turning on some layers displays an incorrect legend. You could try to work around these issues, but I think you could accomplish this through better means. You could pass previous extents in your form. Something like this (code is untested): ... The first button sets the new extent to the previous extent, whereas the second button submits as normal, but saves the current extent as the last extent for the next map. -Dan > -----Original Message----- > From: mapserver-users-admin at lists.gis.umn.edu > [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of > Lawrence, Kevin > Sent: Wednesday, November 26, 2003 9:04 AM > To: stephane.riff at cerene.fr; > mapserver-users at lists.gis.umn.edu; 'Chip Hankley' > Subject: RE: [Mapserver-users] Zoom previous > > > if you are using sessions store the previous coordinates in a > session variable and when previous is requested simply re-use > those extents. > > > ---------- > > From: Chip Hankley[SMTP:Chip.Hankley at rmtinc.com] > > Sent: Wednesday, November 26, 2003 9:39 AM > > To: stephane.riff at cerene.fr; > mapserver-users at lists.gis.umn.edu > > Subject: Re: [Mapserver-users] Zoom previous > > > > >Does anyone already did a zoom previous function... > > > > A low-tech way to do this that works a LOT of times is to > simply use > > the 'back' function inherent in the web-browser. You can > simply apply > > the javascript 'history.back()' to a button, and call it "zoom to > > previous extent" or something. This is the equivalent of > hitting the > > 'back' button. > > > > Chip Hankley > > > > Outgoing messages, along with any attachments, are scanned > for viruses > > at RMT prior to sending. > > > ---------------------------------------------------------------------- > > ---- > > ---- > > NOTICE--This email may contain confidential and privileged > information > > for the sole use of the intended recipient. Any review or > distribution > > by others is strictly prohibited. If you are not the > intended recipient, > > please contact the sender immediately and delete all copies. > > _______________________________________________ > > Mapserver-users mailing list > > Mapserver-users at lists.gis.umn.edu > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users > From gfmb at tutopia.com Wed Nov 26 08:17:45 2003 From: gfmb at tutopia.com (gfmb at tutopia.com) Date: Wed, 26 Nov 2003 11:17:45 -0500 Subject: [Mapserver-users] repeated labels in query images Message-ID: Hello, When I'm doing queries to elements with labels (points or polygons) I got the query image with the label repeated. I saw the same problem in the gmap demo. Does anybody know how I can solve this problem? Thank you, guillermo From TMitchell at lignum.com Wed Nov 26 08:49:24 2003 From: TMitchell at lignum.com (Tyler Mitchell) Date: Wed, 26 Nov 2003 08:49:24 -0800 Subject: [Mapserver-users] Howto-Get ArcInfo Coverage Read/Write Library From MapServer In-Reply-To: <20031126103329.60690.qmail@web15102.mail.bjs.yahoo.com> Message-ID: > Hi, everyone > > Mapserver includes "OGR v1.1.9 (MapInfo tab, Tiger, SDTS, S57, NTF, > GML, Arc/Info coverage, DGN, PostgreSQL)", which could be used to > read and write ArcInfo Coverage, But I do not know where to get the > library and it source. This is a good start, it is the main OGR site. http://gdal.velocet.ca/projects/opengis/ OGR is bundled with GDAL. Writing Arc/Info coverages is NOT supported, though with a couple more utilities you may be able to do what you want, I'd use avcimport/avcexport from: http://pages.infinit.net/danmo/e00/index-avce00.html From stephen.clark at focus.ca Wed Nov 26 10:09:29 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Wed, 26 Nov 2003 10:09:29 -0800 Subject: [Mapserver-users] label -- callout References: <3FC3F3AF.9050001@noaa.gov> <1532600098.20031126090614@justapi.de> Message-ID: <035601c3b448$703eba70$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0353_01C3B405.613427B0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hello, Has anyone tried to use a callout from a point symbol to display descriptive text about that point site? thanks, Stephen ------=_NextPart_000_0353_01C3B405.613427B0 Content-Type: image/png; name="callout.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="callout.png" iVBORw0KGgoAAAANSUhEUgAAAOIAAACUCAYAAACOa/ULAAAALHRFWHRDcmVhdGlvbiBUaW1lAFdl ZCAyNiBOb3YgMjAwMyAxMDowNjo1OSAtMDgwMGwbvEQAAAAHdElNRQfTCxoSByUL7XdVAAAACXBI WXMAAAsSAAALEgHS3X78AAAABGdBTUEAALGPC/xhBQAABVhJREFUeNrt3c1t40YYBmA5cAcBNhXk 6gr2lApyzXGzBdilxAVsfNxrKsgpFfiaChIgLaziT/E4BFekKYvifEM+D2BoJQEL+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YZT2dEZE3UVlnpZpynikHAgqVdZBqynmG/mTAMSrrMCMi szmlrgaV9YVqyvymntAphiprd9SMW7iK+L+zfD5TzRZELueU+WPoHwyYeqCglrjeuYJojsjFTN3u KCJ0EdwIcAtzyO4Iea7r2r8M63bYf9zF6DF9/lhG0c+Pta9+OYLIIkqFuz3hhE7mWjo3c0SqmPIM nezMEWleVNaxRz5ujSBS1difDNgSQaS6COMpJ3SysGrKKpX9wykrrFdXPwx+t9//XvtXOZkgkk5Z AHk3sqHfDVuEcs7wzf3/TaGaktac1e8SusffziWIrFqMbuWn//mx9/3XpQgiq1UqZvnphqv7vltF +69LEUTSmrP6XYJVU5jotdXVGgszxwgiqzYWshLCDGFUTUlr7lXTuRdgrJrCBGW0Kz9De4/9hZzy /ZJUU5o3ViuHvut/3n1fo6YaEUlrS6umgggJCCIkIIik5awpsChBhAQEkbSsmgKLsqFPat2nvGX6 mxeHz2f8PT3XFOrzXFPIQBAhAUGEBAQREhBESEAQIQFBhAQEERIQREhAECEBQYQEBBESEERIQBAh AUGEBAQREhBESEAQIQFBhAQEERKIh0e9f3r9vvaFwIb9+S+NcUkOwOYV8gAAAABJRU5ErkJggg== ------=_NextPart_000_0353_01C3B405.613427B0-- From mapserver at geochem.de Wed Nov 26 10:32:06 2003 From: mapserver at geochem.de (Nicol Hermann) Date: 26 Nov 2003 19:32:06 +0100 Subject: [Mapserver-users] querybyattributes with Postgres/Postgis Layer Message-ID: <1069871526.1223.27.camel@katrin> Dear List, i trying to do a querybyattributes Query with a Postgres/Postgis layer and get the following error: Warning: [MapServer Error]: prep_DB(): Error executing POSTGIS DECLARE (the actual query) statement: 'DECLARE mycursor BINARY CURSOR FOR SELECT plzort01::text,asbinary(force_collection(force_2d(the_geom)),'NDR'),OID::text from plz_gebiete WHERE (Mutterstadt) and (the_geom && setSRID( 'BOX3D(5.865627 46.57242768,15.039879 55.75900832)'::BOX3D,find_srid('','plz_gebiete','the_geom') ))' here is the relevant part of my code: $layer = $Map ->getLayerbyname("Regionen"); $layer -> set("status", MS_ON ); $status = $layer->querybyattributes("plzort01", "Mutterstadt", MS_MULTIPLE); It seems that the 'qitem' (plzort01) won't be evaluated because it is not present in the SQL statement. I also tried the qitem with upper case. The same error appears. The debugging message on my shell says: ERROR: Attribute "mutterstadt" not found My Postgis Version is: Mappostgis.c - version of June 12/2003. and i`am using Mapserver 4.0.1 on a Linux box. Does anybody know how I can solve this problem? Many thanks Nicol -- Nicol Hermann From steve.lime at dnr.state.mn.us Wed Nov 26 11:42:50 2003 From: steve.lime at dnr.state.mn.us (Steve Lime) Date: Wed, 26 Nov 2003 13:42:50 -0600 Subject: [Mapserver-users] label -- callout Message-ID: Folks may have tried but it's not a supported feature of the software unfortunately. Steve >>> "Stephen Clark" 11/26/2003 12:09:29 PM >>> Hello, Has anyone tried to use a callout from a point symbol to display descriptive text about that point site? thanks, Stephen From bartvde at xs4all.nl Wed Nov 26 12:01:35 2003 From: bartvde at xs4all.nl (Bart van den Eijnden) Date: Wed, 26 Nov 2003 21:01:35 +0100 Subject: [Mapserver-users] not always outline for polygons In-Reply-To: <21531.212.238.227.182.1069861901.squirrel@webmail.xs4all.nl> References: <21531.212.238.227.182.1069861901.squirrel@webmail.xs4all.nl> Message-ID: Hi list, I found my problem. The problem was that I was not setting the outlinecolor for all of my classes in the layer, just for a few classes. Best regards, Bart On Wed, 26 Nov 2003 16:51:41 +0100 (CET), wrote: > Hi list, > > I have a problem with polygons in my map not always getting an outline. I > use both PIXMAP (transparent) and VECTOR symbols in my layer. > > For a clearer image of what I mean, you could take a look at, this is a > screendump of the map: > > http://www.vz.geodan.nl/users/bart/mapserver.png > > Does anybody have an idea what could be the problem with the OUTLINE? > > Best regards, > Bart > > My symbol definition is: > > SYMBOL > NAME "lb_hoog" > TYPE pixmap > IMAGE "../htdocs/images/lb_hoog.png" > TRANSPARENT 0 > END > > SYMBOL > NAME "hashfill_up" > TYPE vector > TRANSPARENT 0 > POINTS > 0 1 > 1 0 > END > END > > The respective classes from my LAYER are: > > CLASS > SYMBOL "lb_hoog" > OUTLINECOLOR 36 133 68 > EXPRESSION "nd_h" > NAME "lage bedekking Hoog" > COLOR 36 133 68 > END > > CLASS > SYMBOL "hashfill_up" > OUTLINECOLOR 36 133 68 > SIZE 8 > EXPRESSION "c_p" > NAME "co-dominant Pionier" > COLOR 254 255 204 > END > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users > -- From murilo.yoshida at agx.com.br Wed Nov 26 12:39:28 2003 From: murilo.yoshida at agx.com.br (Murilo Lacerda Yoshida) Date: Wed, 26 Nov 2003 18:39:28 -0200 Subject: [Mapserver-users] zoompoint problem - help needed ... Message-ID: <000501c3b45d$6332aed0$1364a8c0@parapente> This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C3B44C.9FA9DED0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I tried to add to my code the zoom example at http://mapserver.gis.umn.edu/doc35/phpmapscript-byexample-howto.html. The zoom out and pan works fine, but I cannot zoom in ... everytime=20 I zoom in (with a zoom factor of 2, for example) it zooms out about 14 times... And if I try to change the zoom factor to 3, 4, whatever, and zoom in, it zooms out 14 times, every time. I don=92t know what to do, I=92m lost... Can you help me? The zoom part of my php file is below. Thanks in advance, Murilo =20 =20 =20 // // Load MapScript module. // if (PHP_OS =3D=3D "WINNT" || PHP_OS =3D=3D "WIN32") { dl("php3_mapscript.dll"); } else { dl("php_mapscript.so"); } =20 //=20 // Load MapServer .map file // // You can download the MapServer demo data from http://mapserver.gis.umn.edu/ // $App_Path =3D "/var/www/html/teste1/"; $MapFile =3D "m2t26.map"; $map =3D ms_newMapObj($App_Path . $MapFile); =20 $path_to_legend =3D "/var/www/html/teste1/legend/"; $url_to_legend =3D "legend/"; =20 $grupoTalhao =3D "Talh=E3o"; $FirstLoad =3D 0; =20 if (!$_POST["NotFirstLoad"]) { $LegendFile =3D "legend_verde.php"; $grupoDentro =3D "Verde"; $FirstLoad =3D 1; $zoom_factor =3D 1; } =20 //get all layers $allLayers =3D $map->getAllLayerNames(); //get all of the group names $groupNames =3D $map->getAllGroupNames(); =20 //Set the status of various layers based // on what is checked. This only needs // to be done if this is not the first // load. On the first load, we will simply // use the STATUS values as set in the map // file if (!empty($_POST)) { //Turn all layers off foreach($allLayers as $a) { SetStatus($a, 0); } //Turn the layers ON that were checked // in the previous submit. Since we named // the checkboxes that control layer display // with a prefix of 'lyr', we can basically // loop through the submitted form variables // and key in on those that relate to layer // control. $POST_KEYS =3D array_keys($_POST); foreach($POST_KEYS as $a) { if (substr($a, 0, 3) =3D=3D "lyr") { SetStatus($_POST[$a], 1); =20 } =20 if (substr($a, 0, 5) =3D=3D "grupo") { if ($_POST[$a] =3D=3D "Verde") { $LegendFile =3D "legend_verde.php"; $grupoDentro =3D "Verde"; } elseif ($_POST[$a] =3D=3D "Palha") { $LegendFile =3D "legend_palha.php"; $grupoDentro =3D "Palha"; } elseif ($_POST[$a] =3D=3D "Solo") { $LegendFile =3D "legend_solo.php"; $grupoDentro =3D "Solo"; } elseif ($_POST[$a] =3D=3D "NI") { $LegendFile =3D "legend_ni.php"; $grupoDentro =3D "N=E3o = Identificado"; } } } } =20 =20 //Get the last modified date from the mapfile and the legend $mapfile_modtime =3D filemtime($App_Path . $MapFile); //use '@' to suppress error when there is no 'legend.php' file. // In this case the default action will be to create one. $legend_modtime =3D @filemtime($App_Path . $LegendFile); =20 =20 //Check the scale status for each layer. Dump the // results into an array to access when building the legend // NOTE that in an application, you would need to call this // AFTER you draw the map, or scale will not be properly // set. foreach($allLayers as $a) { $LayerScale[$a] =3D CheckScale($a); } =20 =20 //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D // Come=E7o da parte de zoom e pan //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D =20 =20 if ( isset($_POST["mapa_x"]) && isset($_POST["mapa_y"]) && strcasecmp($_POST["navegacao"], "full") !=3D 0 ) { =20 $extent_to_set =3D explode(" ",$_POST["extent"]); =20 $largura =3D $map->width; $altura =3D $map->height; =20 $map->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); =20 $my_point =3D ms_newpointObj(); $my_point->setXY($_POST["mapa_x"],$_POST["mapa_y"]); =20 $my_extent =3D ms_newrectObj(); =20 $my_extent->setextent($extent_to_set[0],$extent_to_set[1], $extent_to_set[2],$extent_to_set[3]); =20 $zoom_factor =3D 1; if (strcasecmp($_POST["navegacao"], "pan") =3D=3D 0) $zoom_factor =3D 1; else if (strcasecmp($_POST["navegacao"], "zoom_in") =3D=3D = 0) { $zoom =3D floatval($_POST["zsize"]); if ($zoom > 0) $zoom_factor =3D $zoom; else if ($zoom < 0) $zoom_factor =3D -$zoom; } else if (strcasecmp($_POST["navegacao"], "zoom_out") =3D=3D = 0) { $zoom =3D floatval($_POST["zsize"]); if ($zoom > 0) $zoom_factor =3D -$zoom; else if ($zoom < 0) $zoom_factor =3D $zoom; } =20 $map->zoompoint($zoom_factor, $my_point, $largura, $altura, $my_extent); =20 } =20 =20 =20 =20 =20 //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D // Fim da parte de zoom e pan //=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D =20 ------=_NextPart_000_0006_01C3B44C.9FA9DED0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

=A0 Hi = all,

=A0 I tried to add to my code the zoom = example at http://mapserver.gis.umn.edu/doc35/phpmapscript-byexample-howto.html= . The zoom out and pan works fine, but I cannot zoom in ... everytime
I
zoom in (with a zoom factor of 2, for example) it zooms out = about 14 times...

=A0 And if I try to change the zoom = factor to 3, 4, whatever, and zoom in, it zooms out 14 times, every = time.

=A0 I don’t know what to do, = I’m lost... Can you help me?

=A0 The zoom part of my php file is = below.

=A0 Thanks in advance, = Murilo

 

 

 

//

// Load MapScript module.

//

if (PHP_OS =3D=3D "WINNT" || PHP_OS = =3D=3D "WIN32")

{

=A0 dl("php3_mapscript.dll");

}

else=

{

=A0 dl("php_mapscript.so");

}

 

// =

// Load MapServer .map = file

//

// You can download the MapServer demo data from = http://mapserver.gis.umn.edu/

//

$App_Path =3D "/var/www/html/teste1/";

$MapFile =3D "m2t26.map";

$map =3D ms_newMapObj($App_Path . $MapFile);

 

$path_to_legend =3D = "/var/www/html/teste1/legend/";

$url_to_legend =3D "legend/";

 

$grupoTalhao =3D "Talh=E3o";

$FirstLoad =3D 0;

 

if (!$_POST["NotFirstLoad"])

{

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $LegendFile =3D "legend_verde.php";

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $grupoDentro =3D = "Verde";

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $FirstLoad =3D = 1;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $zoom_factor =3D 1;

}

 

//get all = layers

$allLayers =3D $map->getAllLayerNames();

//get all of the group = names

$groupNames =3D $map->getAllGroupNames();

 

//Set the status of = various layers based

// on what is checked. = This only needs

// to be done if this = is not the first

// load. On the first = load, we will simply

// use the STATUS = values as set in the map

// = file

if (!empty($_POST))

{

=A0 //Turn all layers = off

=A0 foreach($allLayers as = $a)

=A0 {

=A0=A0=A0 SetStatus($a, 0);

=A0 }

=A0 //Turn the layers ON that were = checked

=A0 // in the previous submit. Since = we named

=A0 // the checkboxes that control = layer display

=A0 // with a prefix of 'lyr', we can basically

=A0 // loop through the submitted form = variables

=A0 // and key in on those that relate = to layer

=A0 // = control.

=A0 $POST_KEYS =3D array_keys($_POST);

=A0 foreach($POST_KEYS as $a)

=A0 {

=A0=A0=A0 if (substr($a, 0, 3) =3D=3D "lyr")

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A0=A0=A0 SetStatus($_POST[$a], 1);=A0 =A0

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = }

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (substr($a, 0, 5) =3D=3D "grupo")

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = if ($_POST[$a] =3D=3D "Verde")

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A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0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $LegendFile =3D = "legend_solo.php";

=

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $grupoDentro =3D = "Solo";

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 }

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = elseif ($_POST[$a] =3D=3D "NI")

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $LegendFile =3D "legend_ni.php";

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $grupoDentro =3D "N=E3o Identificado";

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = }

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = }

=A0 }

}

 

 

//Get the last = modified date from the mapfile and the = legend

$mapfile_modtime =3D filemtime($App_Path . $MapFile);

//use '@' to suppress = error when there is no 'legend.php' = file.

// In this case the = default action will be to create one.

$legend_modtime =3D @filemtime($App_Path . $LegendFile);

 

 

//Check the scale = status for each layer. Dump the

// results into an = array to access when building the legend

// NOTE that in an application, you would need to call this

// AFTER you draw the = map, or scale will not be properly

// = set.

foreach($allLayers as $a)

{

=A0 $LayerScale[$a] =3D CheckScale($a);

}

 

 

//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

// Come=E7o da parte de zoom e = pan

//=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

if ( isset($_POST["mapa_x"]) && isset($_POST["mapa_y"])

&& strcasecmp($_POST["navegacao"], "full") !=3D 0 = )

{

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $extent_to_set =3D explode(" = ",$_POST["extent"]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $largura =3D = $map->width;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $altura =3D = $map->height;

 

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $map->setextent($extent_to_set[0],$extent_to_set[1],

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $extent_to_set[2],$extent_to_set[3]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $my_point =3D ms_newpointObj();

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $my_point->setXY($_POST["mapa_x"],$_POST["mapa_y"]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $my_extent =3D ms_newrectObj();

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $my_extent->setextent($extent_to_set[0],$extent_to_set[1],

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $extent_to_set[2],$extent_to_set[3]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $zoom_factor =3D 1;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (strcasecmp($_POST["navegacao"], "pan") =3D=3D = 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $zoom_factor =3D = 1;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 else if (strcasecmp($_POST["navegacao"], "zoom_in") =3D=3D 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $zoom =3D floatval($_POST["zsize"]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = if ($zoom > = 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $zoom_factor =3D $zoom;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = else if ($zoom < 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $zoom_factor =3D -$zoom;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = }

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 else if (strcasecmp($_POST["navegacao"], "zoom_out") =3D=3D 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = {

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = $zoom =3D floatval($_POST["zsize"]);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = if ($zoom > = 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $zoom_factor =3D -$zoom;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = else if ($zoom < 0)

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $zoom_factor =3D $zoom;

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = }

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 $map->zoompoint($zoom_factor, $my_point, $largura, = $altura, $my_extent);

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

}

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0

 

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =

//=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D

// Fim da parte de zoom e = pan

//=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

 

------=_NextPart_000_0006_01C3B44C.9FA9DED0-- From colinr23 at hotmail.com Wed Nov 26 12:54:23 2003 From: colinr23 at hotmail.com (Colin Robertson) Date: Wed, 26 Nov 2003 12:54:23 -0800 Subject: [Mapserver-users] Mapserver 4.0 and TTF Message-ID:


Add photos to your e-mail with MSN 8. Get 2 months FREE*. From pucher at atlas.gis.univie.ac.at Wed Nov 26 13:18:36 2003 From: pucher at atlas.gis.univie.ac.at (Alexander Pucher) Date: Wed, 26 Nov 2003 22:18:36 +0100 Subject: [Mapserver-users] 16000 mapserver-users postings since sep. 2001 Message-ID: <3FC518AC.20602@atlas.gis.univie.ac.at> Hi, just wanted to let you know, that I just received posting nr. 16000 from the mapserver-users list since 15.09.2001. Great stuff, thanks to all of you for your input so far! Regards, alex. From edman007x at mac.com Wed Nov 26 18:01:54 2003 From: edman007x at mac.com (Ed Martin) Date: Wed, 26 Nov 2003 21:01:54 -0500 Subject: [Mapserver-users] PHP/Mapscript Newbie needs help, Segmentation faults and blank images, nothing in logs Message-ID: ok this is my first time using php/mapscript so i'm starting off simple just draw the map, scale bar and reference image, i'm using the itasca mapserver demo and have commented out all layers but one, i have also changed all the images in it to png's from gifs so it would work with gd and i have changed the map file accordingly, so i made a few simple scripts based on the test draw thing included with mapscript and they should out put the images so here are the php files i have draw(); $img->saveImage(''); ?> in my my browser the image shows up fine, but when run from the command line i get the headers, garbled text (what i expect), followed by Segmentation fault, what is that then i have this one to make the reference image drawReferenceMap(); $img->saveImage(''); ?> in my browser if outputs a yellow image (yellow is what is set in the .map file), but there is no picture of anything, just yellow, shouldn't it be based on the reference image referred to in the .map file, when run in the command line i get headers and garbled text, exactly what i expect then i have this to draw the scale bar drawScaleBar(); $img->saveImage(''); ?> in my browser i get a blank page (not a white image) and when run in the command line i get the headers followed by "Segmentation fault" what is this Segmentation fault and what is causing it, all the scripts are the same except for one function, i have display errors on and log them, tried disabling the headers, and the errors are all logged and error reporting is set to E_ALL and i get no errors anywhere and why isn't the reference map showing anything but the color specified in the .map file, there are no gifs and gd supports png's, everything is being output as jpegs i am using php 4.3.4 as a CGI with apache 2.0.48 on slackware linux 9.0 any help would be great Thanks in Advanced! From noti at ciaoweb.it Thu Nov 27 02:19:13 2003 From: noti at ciaoweb.it (Valerio Noti) Date: Thu, 27 Nov 2003 11:19:13 +0100 Subject: [Mapserver-users] Scale calculation References: Message-ID: <001f01c3b4d0$03d71390$0301a8c0@valerion> Hi all, I'm trying to display a numeric map scale in my PHP_Mapscript application. I'm a little confused about image resolution. I red about 72 dpi resolution of mapserver images. So I used this value to calculate the scale. In an old thread someone wrote: "72 dpi is actually a very poor choice these days - most users are looking at higher resolution screens, and if you're printing from a Web browser then your browser is going to use its OWN value for screen resolution when it generates the output image for printing (usually around 96 dpi, but it varies from one browser to another)". Do the browser modify output resolution on the screen? if so, does it affect both screen and print resolution? Furthermore, if I open in a graphic software a map image saved in tmp directory, I can see that resolution is 200 dpi. Thanks in advance Valerio Noti noti at ciaoweb.it From wost at pf.pl Thu Nov 27 03:33:39 2003 From: wost at pf.pl (Wojciech Stadnicki) Date: 27 Nov 2003 12:33:39 +0100 Subject: [Mapserver-users] running demo application on Win2000 Message-ID: <20031127113339.14045.qmail@www3.pi.net.pl> Hi, I need some help with MapServer. I've installed MapServer 4.0.1 on my Win2000. Also I've installed MS demo application (itasca 3.5), but when trying to run it, I get prompted to download "mapserv.exe" (just like it's described in html document describing this demo application). I'm not connected to the web, but I have web browser. I wonder whether MapServer can work properly when not connected to web server? When installing Demo Application, I've changed all necessary paths in 'demo_init.html' and 'demo.map' into appropriate locations on my hard disk, but still Demo Application doesn't work (as I described above). What should I do? Can I work with MapServer 'off-line' at all? I've searched mailing list archive, but haven't found solution. Many thanks for any help. Greetings from Poland! Wojciech Stadnicki From api at justapi.de Thu Nov 27 03:48:14 2003 From: api at justapi.de (Sebastian Albrecht) Date: 27 Nov 2003 11:48:14 -0000 Subject: [Mapserver-users] GRID problem - temporary solution Message-ID: <20031127114814.29028.qmail@myhosting.de> Hello, concerning the GRID problem I have just made a solution that should be temporary because it is just a workaround. This workaround works with all layers that contain features which are located far beyond (or equal) the earth's latitude borders of 90 and -90 degrees. This will be a problem if you use projections that do not work using these values (like Mercator merc or Albers aea). I modified the "mapproject.c" file in the mapserver source directory. The method "msProjectPoint" does nearly all projection work. I replaced these lines in that method with the following ones: if( pj_is_latlong(in->proj) ) { point->x *= DEG_TO_RAD; point->y *= DEG_TO_RAD; } replaced by: if( pj_is_latlong(in->proj) ) { if(point->y >= 90) point->y = 89.9; else if(point->y <= -90) point->y = -89.9; if(point->x >= 180) point->x = 179.9; else if(point->x <= -180) point->x = -179.9; point->x *= DEG_TO_RAD; point->y *= DEG_TO_RAD; } Values that reach until 90 or -90 will be replaced by 89.9 which is a valid value for the most projections. Now recompile your mapserver and your graticule and all other layers will not intersect in the center of the map any more. Best regards, Sebastian Albrecht From H.Spalting at lippe.de Thu Nov 27 03:57:11 2003 From: H.Spalting at lippe.de (Spalting, Hermann Kreis Lippe) Date: Thu, 27 Nov 2003 12:57:11 +0100 Subject: [Mapserver-users] jBox doesnt work Message-ID: This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3B4DD.9776E730 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I installed jBox like described in howto, but it did not work. First = thing I found out when I watched the HTML-code was =20 =20 is a nonsense URL, so I only use [img] but it has no effect. The result = is: the HTML-page with a gray area where the image should be. You can find = the project here: http://www.lippe.de/mapserver/Demo/schutzgebiete/Schutzgebiete_init.html= =20 thx in advance Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: << mailto:h.spalting at lippe.de >> Tel: 05231/62-625 (oder -7827) =20 ------_=_NextPart_001_01C3B4DD.9776E730 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
I = installed jBox=20 like described in howto, but it did not work. First thing I found out = when I=20 watched the HTML-code was 
<param = name=3D"image"=20 value=3D"http://[host][img]">
is a nonsense URL, = so I only=20 use [img] but it has no effect. The result is: the HTML-page with a = gray area=20 where the image should be. You can find the project = here:
http://www.lippe.de/mapserver/Demo/schutzgebiete/Schutzgebiete= _init.html
thx = in=20 advance

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email: <<mailto:h.spalting at lippe.de>&g= t;
Tel: 05231/62-625 (oder -7827)

 
------_=_NextPart_001_01C3B4DD.9776E730-- From stephen.clark at focus.ca Thu Nov 27 08:28:48 2003 From: stephen.clark at focus.ca (Stephen Clark) Date: Thu, 27 Nov 2003 08:28:48 -0800 Subject: [Mapserver-users] jBox doesnt work References: Message-ID: <059601c3b503$8940a3b0$6c000a0a@sclark> This is a multi-part message in MIME format. ------=_NextPart_000_0593_01C3B4C0.7AC77B80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable try using http://www.lippe.de/tmp/ for the value for the image. In addition your javascript error says "document.mapserv.imgxy' is null = or not an object. on line 12 char 3 Try to fix this variable. ----- Original Message -----=20 From: Spalting, Hermann (Kreis Lippe)=20 To: Mapserver-Users (E-Mail)=20 Sent: Thursday, November 27, 2003 3:57 AM Subject: [Mapserver-users] jBox doesnt work Hi, I installed jBox like described in howto, but it did not work. First = thing I found out when I watched the HTML-code was =20 =20 is a nonsense URL, so I only use [img] but it has no effect. The = result is: the HTML-page with a gray area where the image should be. You = can find the project here: = http://www.lippe.de/mapserver/Demo/schutzgebiete/Schutzgebiete_init.html thx in advance Hermann Spalting=20 Kreis Lippe FG 4.4 Felix-Fechenbach-Stra=DFe 5 32756 Detmold email: <> Tel: 05231/62-625 (oder -7827) ------=_NextPart_000_0593_01C3B4C0.7AC77B80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
try using http://www.lippe.de/tmp/
 
for the value for the = image.
 
In addition your javascript error says=20 "document.mapserv.imgxy' is null or not an object. on line 12 char=20 3
 
Try to fix this variable.
 
 
 
----- Original Message -----
From:=20 Spalting,=20 Hermann (Kreis Lippe)
To: Mapserver-Users = (E-Mail)=20
Sent: Thursday, November 27, = 2003 3:57=20 AM
Subject: [Mapserver-users] jBox = doesnt=20 work

Hi,
I = installed jBox=20 like described in howto, but it did not work. First thing I found out = when I=20 watched the HTML-code was 
<param = name=3D"image"=20 value=3D"http://[host][img]">=20
is a nonsense = URL, so I only=20 use [img] but it has no effect. The result is: the HTML-page with a = gray area=20 where the image should be. You can find the project = here:
http://www.lippe.de/mapserver/Demo/schutzgebiete/Schutzgebiete_i= nit.html
thx = in=20 advance

Hermann = Spalting
Kreis Lippe
FG 4.4
Felix-Fechenbach-Stra=DFe 5
32756 Detmold
email:=20 <<mailto:h.spalting at lippe.de>>= ;
Tel: 05231/62-625 (oder -7827)

 
------=_NextPart_000_0593_01C3B4C0.7AC77B80-- From godwinl at agr.gc.ca Thu Nov 27 08:56:55 2003 From: godwinl at agr.gc.ca (Liz Godwin) Date: Thu, 27 Nov 2003 11:56:55 -0500 Subject: [Mapserver-users] PHP Mapscript Testing/Benchmarks Message-ID: Hello, I am looking for a script that that will test the various components available in php mapscript. In particular I want something I can use to test new versions of php against or new mapserver components etc to see if everything works as it should. Has anyone written such a script or application? Thanks, Liz Godwin From morissette at dmsolutions.ca Thu Nov 27 09:23:32 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Thu, 27 Nov 2003 12:23:32 -0500 Subject: [Mapserver-users] PHP Mapscript Testing/Benchmarks In-Reply-To: References: Message-ID: <3FC63314.4060201@dmsolutions.ca> Liz Godwin wrote: > > I am looking for a script that that will test the various components > available in php mapscript. In particular I want something I can use to > test new versions of php against or new mapserver components etc to see > if everything works as it should. > > Has anyone written such a script or application? > We don't really have anything like that at the moment but that's on the (long) ToDo list. However there are a few scripts in mapscript/php3/examples that test simple things. If you or anyone would like to contribute more example or test scripts then they are welcome. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From peperanciocivil at yahoo.com.mx Thu Nov 27 13:15:18 2003 From: peperanciocivil at yahoo.com.mx (=?iso-8859-1?q?jose=20rodriguez?=) Date: Thu, 27 Nov 2003 15:15:18 -0600 (CST) Subject: [Mapserver-users] Compiling problems. Message-ID: <20031127211518.14456.qmail@web42005.mail.yahoo.com> --0-1942366488-1069967718=:10775 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline I am trying to compile MS 3.6.6 on RH 9 but get an error message. Maybe someone can help me. Here are the facts: 1.I downloaded the mapserver-3.6.6.tar.gz, untar the file with no trouble. 2. In the mapserver directory (/usr/src/mapserver-3.6.6) I type ./configure --with-jpeg --with-gd --with-freetype=/usr/lib --with-zlib=/usr/lib --with-png=/usr/lib --without-pdf --without-tiff --without-eppl --with-postgis=/usr/src/postgresql-7.3.2/src/bin/pg_config --with-php=/usr/src/php-4.3.2 I added the config.log file to this mail, seems ok to me. 3. when I type "make" I get the following: gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include -I maptemplate.c -o maptemplate.o gcc: no hay ficheros de entrada make: *** [maptemplate.o] Error 1 What could I be missing? Thanx. _________________________________________________________ Do You Yahoo!? La mejor conexi?n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx --0-1942366488-1069967718=:10775 Content-Type: application/octet-stream; name="config.log" Content-Transfer-Encoding: base64 Content-Description: config.log Content-Disposition: attachment; filename="config.log" VGhpcyBmaWxlIGNvbnRhaW5zIGFueSBtZXNzYWdlcyBwcm9kdWNlZCBieSBj b21waWxlcnMgd2hpbGUKcnVubmluZyBjb25maWd1cmUsIHRvIGFpZCBkZWJ1 Z2dpbmcgaWYgY29uZmlndXJlIG1ha2VzIGEgbWlzdGFrZS4KCmNvbmZpZ3Vy ZTo2MjA6IGNoZWNraW5nIGZvciBnY2MKY29uZmlndXJlOjczMzogY2hlY2tp bmcgd2hldG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hlciAn cGVybCAtVicgd29ya3MKY29uZmlndXJlOjU1ODQ6IGNoZWNraW5nIGZvciBs b2NhdGlvbiBvZiBjb25maWcuaCBvciBwaHBfY29uZmlnLmgKY29uZmlndXJl OjU1OTc6IGNoZWNraW5nIHdoZXRoZXIgd2UgaGF2ZSBQSFAzIG9yIFBIUDQK Y29uZmlndXJlOjU2MDk6IGNoZWNraW5nIHdoZXRoZXIgd2Ugc2hvdWxkIHVz ZSBQSFAncyByZWdleAo= --0-1942366488-1069967718=:10775-- From palle at mail-online.dk Thu Nov 27 14:00:09 2003 From: palle at mail-online.dk (Palle Due Larsen) Date: Thu, 27 Nov 2003 23:00:09 +0100 Subject: [Mapserver-users] Scale calculation In-Reply-To: <001f01c3b4d0$03d71390$0301a8c0@valerion> References: <001f01c3b4d0$03d71390$0301a8c0@valerion> Message-ID: The browser doesn't modify anything. The resolution is a pseudo-figure, mapserver has no way of knowing your screen resolution or even screen size. However, if you print from a web page, both internet explorer 5.5+ and netscape 6.1+ will use a resolution of 96 dpi. If you put a "RESOLUTION 96" in your mapfile, mapservers [scale] will be alright for print. Best regards Palle Due Larsen Carl Bro GIS&IT -----Original Message----- From: "Valerio Noti" To: Date: Thu, 27 Nov 2003 11:19:13 +0100 Subject: [Mapserver-users] Scale calculation > Hi all, > I'm trying to display a numeric map scale in my PHP_Mapscript > application. > I'm a little confused about image resolution. > I red about 72 dpi resolution of mapserver images. So I used this > value to > calculate the scale. In an old thread someone wrote: > > "72 dpi is actually a very poor choice these days - most users are > looking > at higher resolution screens, and if you're printing from a Web > browser then > your browser is going to use its OWN value for screen resolution when > it > generates the output image for printing (usually around 96 dpi, but > it > varies from one browser to another)". > > Do the browser modify output resolution on the screen? if so, does it > affect > both screen and print resolution? > Furthermore, if I open in a graphic software a map image saved in tmp > directory, I can see that resolution is 200 dpi. > > Thanks in advance > > Valerio Noti > noti at ciaoweb.it > > > > > _______________________________________________ > Mapserver-users mailing list > Mapserver-users at lists.gis.umn.edu > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users F? en gratis emailkonto her: www.mail-online.dk ----------------------------------------------- Deltag i en lille konkurrence p? nettet, og vind et gavekort p? 50.000 kroner... KLIK HER: www.nyhedsbasen.dk/konkurrence From morissette at dmsolutions.ca Thu Nov 27 14:31:46 2003 From: morissette at dmsolutions.ca (Daniel Morissette) Date: Thu, 27 Nov 2003 17:31:46 -0500 Subject: [Mapserver-users] Compiling problems. In-Reply-To: <20031127211518.14456.qmail@web42005.mail.yahoo.com> References: <20031127211518.14456.qmail@web42005.mail.yahoo.com> Message-ID: <3FC67B52.6070908@dmsolutions.ca> jose rodriguez wrote: > I am trying to compile MS 3.6.6 on RH 9 but get an > error message. Maybe someone can help me. > > Here are the facts: > > 1.I downloaded the mapserver-3.6.6.tar.gz, untar the > file with no trouble. > > 2. In the mapserver directory > (/usr/src/mapserver-3.6.6) I type ./configure > --with-jpeg --with-gd --with-freetype=/usr/lib > --with-zlib=/usr/lib --with-png=/usr/lib --without-pdf > --without-tiff --without-eppl > --with-postgis=/usr/src/postgresql-7.3.2/src/bin/pg_config > --with-php=/usr/src/php-4.3.2 > > I added the config.log file to this mail, seems ok to > me. > > 3. when I type "make" I get the following: > > gcc -c -O2 -Wall -DIGNORE_MISSING_DATA > -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP > -DUSE_GD_FT -DUSE_POSTGIS -I/usr/include > -I maptemplate.c -o maptemplate.o > gcc: no hay ficheros de entrada > make: *** [maptemplate.o] Error 1 > It seems that one of GD_INC or POSTGIS_INC has been set to '-I ' in the Makefile and that breaks the build command. It could be that you aren't pointing to a valid pg_config script (the configure script doesn't even validate the path before it calls pg_config, duh!). What do you get when you run the following command? /usr/src/postgresql-7.3.2/src/bin/pg_config --includedir Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ From mgleahy at fes.uwaterloo.ca Thu Nov 27 18:36:49 2003 From: mgleahy at fes.uwaterloo.ca (Mike Leahy) Date: Thu, 27 Nov 2003 21:36:49 -0500 Subject: [mapserver-users] line width Message-ID: <1069987009.3fc6b4c197ce1@www.nexusmail.uwaterloo.ca> Hello group, I'm also trying to see if I can change line widths in maps generated by MapServer. I did a bit of a search and this old post is the only close result I found. I've looked through the MapFile documention MapServer and the object structure for PHP_MapScript which I am using...and I can't find anything that talks about setting line width - I would have guessed that this would be kind of a standard option for most mapping tools, so I'm hoping I've just missed something somewhere. Does anyone have any suggestions? Thanks, Mike =========================================================================== John Hagstrand wrote: Hi Stephen, Thanks for responding. Yes I can post the map file. It is included below. John At 09:04 AM 4/17/2002, you wrote: John, can you post the section of your map file that controls the shapefiles in question. Typically, it is the SIZE parameter often used in conjunction with SYMBOL 'circle' -Steve John Hagstrand wrote: > > Hello, > How do I specify line width for line shape files? Mine are coming up two > pixels wide, and I want it to be one. > Thanks > John > # # Start of map file # NAME DEMO STATUS ON SIZE 600 260 #EXTENT -88.128 42.436 -87.991 42.497 EXTENT -88.128 42.436 -87.991 42.497 UNITS dd SHAPEPATH "data" IMAGECOLOR 255 255 255 # # Start of web interface definition (including WMS enabling metadata) # WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html MINSCALE 1000 MAXSCALE 1550000 IMAGEPATH "set in demo_init.html" IMAGEURL "set in demo_init.html" METADATA WMS_TITLE "UMN MapServer Itasca Demo" WMS_ABSTRACT "This is the UMN MapServer demonstration application for Itasca County located in north central Minnesota." WMS_ACCESSCONSTRAINTS none # change this value to match your setup WMS_ONLINERESOURCE "http://localhost/itasca/demo_init.html"; WMS_SRS "EPSG:26915" END END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # # Start of layer definitions # LAYER NAME aerial TYPE RASTER STATUS OFF DATA aerial00.tif CLASS NAME 'aerial' COLOR 49 117 185 END END # aerial LAYER NAME lakes TYPE POLYGON STATUS OFF DATA wbd17097 CLASS NAME 'Lakes' COLOR 49 117 185 END TOLERANCE 3 END # lakes LAYER NAME railroads TYPE LINE STATUS OFF DATA lnb17097 CLASS NAME 'Railroads' COLOR 0 0 0 END TOLERANCE 3 END # railroads LAYER NAME streets TYPE LINE STATUS OFF DATA str17097 CLASS NAME 'Streets' COLOR 0 255 0 SIZE 0 MAXSIZE 1 END TOLERANCE 5 END # streets LAYER NAME streams TYPE LINE STATUS OFF DATA lnh17097 CLASS NAME 'Streams' COLOR 0 0 255 END TOLERANCE 3 END # Streams END # Map File ------------------------------------------------- John Hagstrand Interage Research, Inc. 847 838 5371 Software Development Consulting for Internet Archive Retrieval We help archives make knowledge accessible, useful, and relevant for everyone. http://www.interageresearch.com ---------------------------------------- This mail sent through www.mywaterloo.ca From woodbri at swoodbridge.com Thu Nov 27 18:56:16 2003 From: woodbri at swoodbridge.com (woodbri at swoodbridge.com) Date: Thu, 27 Nov 2003 21:56:16 -0500 Subject: [Mapserver-users] Question for FAQ Message-ID: <3FC67300.26651.91CC9D61@localhost> Q: How do I set line width in my maps? A: You must set the symbol for the LAYER to be 'circle' and then you can set the symbol SIZE to the width you want. From Martin.Kiuru at Elion.ee Fri Nov 28 05:22:54 2003 From: Martin.Kiuru at Elion.ee (Martin Kiuru) Date: Fri, 28 Nov 2003 15:22:54 +0200 Subject: [Mapserver-users] MapLab 2.1 -rc3 installation problems. Message-ID: <1D6EE6E7F017B2479C94CAC3903E5DE18C0A44@KIRJATUVI.cc.et.ee> This is a multi-part message in MIME format. ------_=_NextPart_001_01C3B5B2.BAD8BC2D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I have a problem with Maplab installation and tutorial project. Maplab generally works, but with the following problems :=20 - Browser main window shows only a white screen - not map. Only after some movements/zooms around the map image appears. - Map preview not working - appears new window with following errors : Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font in C:\Program Files\Apache Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on line 469 Fatal error: Call to a member function on a non-object in C:\Program Files\Apache Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on line 474 -Following error appears in map browser Error Parsing tutorial.map Description Could not find/open font in /maplab/htdocs/common/wrapper/drawmap.php =20 Please advice! Here is the configuration of my test server : Windows 2000 SP4 MapLab (2.1 -rc3) Mapserver 4.0 Apache 2.0.48 PHP 4.3.4 Martin Kiuru ------_=_NextPart_001_01C3B5B2.BAD8BC2D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sõnum

Hi,

I have a problem with Maplab installation and tutorial project. = Maplab=20 generally works, but with the following problems :

- Browser main window shows only a white screen - not map. Only after = some=20 movements/zooms around the map image appears.

- Map preview not working - appears new window with following errors = :

Warning: [MapServer Error]: msGetLabelSize(): Could not find/open = font in=20 C:\Program Files\Apache = Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php=20 on line 469 Fatal error: Call to a member function on a non-object in = C:\Program=20 Files\Apache Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on = line=20 474

-Following error appears in map browser

Error Parsing tutorial.map

Description

Could not find/open font in = /maplab/htdocs/common/wrapper/drawmap.php

 

Please advice! Here is the configuration of my test server :

Windows 2000 SP4

MapLab (2.1 -rc3)

Mapserver 4.0

Apache 2.0.48

PHP 4.3.4

Martin Kiuru

------_=_NextPart_001_01C3B5B2.BAD8BC2D-- From godwinl at agr.gc.ca Fri Nov 28 06:08:13 2003 From: godwinl at agr.gc.ca (Liz Godwin) Date: Fri, 28 Nov 2003 09:08:13 -0500 Subject: [Mapserver-users] PHP Mapscript Testing/Benchmarks Message-ID: Thanks! I may end up making something if time permits. What ever I come up with I will post here, and maybe the Wiki. Cheers, Liz >>> Daniel Morissette 11/27/03 12:23PM >>> Liz Godwin wrote: > > I am looking for a script that that will test the various components > available in php mapscript. In particular I want something I can use to > test new versions of php against or new mapserver components etc to see > if everything works as it should. > > Has anyone written such a script or application? > We don't really have anything like that at the moment but that's on the (long) ToDo list. However there are a few scripts in mapscript/php3/examples that test simple things. If you or anyone would like to contribute more example or test scripts then they are welcome. Daniel -- ------------------------------------------------------------ Daniel Morissette morissette at dmsolutions.ca DM Solutions Group http://www.dmsolutions.ca/ ------------------------------------------------------------ _______________________________________________ Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users From zak-ms at hoppsan.org Fri Nov 28 08:42:39 2003 From: zak-ms at hoppsan.org (Zak James) Date: Fri, 28 Nov 2003 11:42:39 -0500 Subject: [Mapserver-users] MapLab 2.1 -rc3 installation problems. In-Reply-To: <1D6EE6E7F017B2479C94CAC3903E5DE18C0A44@KIRJATUVI.cc.et.ee> References: <1D6EE6E7F017B2479C94CAC3903E5DE18C0A44@KIRJATUVI.cc.et.ee> Message-ID: Can you provide some additional information? What web browser are you using to view the map browser? Can you check that the fonts file referenced by your map is present? Also, make sure that any fonts required by the layers in your map file are referenced in that fonts file. If all of that looks ok, you can try making the paths to the symbol and fonts files in the map absolute rather than relative (e.g. ./data would become //data). On some platforms, Mapserver 4.0 has problems with relative paths. Ideally, these problems would result in more instructive error messages. We hope to be able to address that before the final release of 2.1. -- Zak James Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca On Nov 28, 2003, at 8:22 AM, Martin Kiuru wrote: > Hi, > > I have a problem with Maplab installation and tutorial project. Maplab > generally works, but with the following problems : > > - Browser main window shows only a white screen - not map. Only after > some movements/zooms around the map image appears. > > - Map preview not working - appears new window with following errors : > > Warning: [MapServer Error]: msGetLabelSize(): Could not find/open font > in C:\Program Files\Apache > Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on line 469 > Fatal > error: Call to a member function on a non-object in C:\Program > Files\Apache Group\Apache2\htdocs\maplab\htdocs\mapedit\preview.php on > line 474 > > -Following error appears in map browser > > Error Parsing tutorial.map > > Description > > Could not find/open font in /maplab/htdocs/common/wrapper/drawmap.php > > > > Please advice! Here is the configuration of my test server : > > Windows 2000 SP4 > > MapLab (2.1 -rc3) > > Mapserver 4.0 > > Apache 2.0.48 > > PHP 4.3.4 > > Martin Kiuru > > From gis at gisrs.com Fri Nov 28 11:19:29 2003 From: gis at gisrs.com (Stephen Wallace) Date: Fri, 28 Nov 2003 14:19:29 -0500 Subject: [Mapserver-users] Problems with tab files in MapLab Message-ID: <005201c3b5e4$8f17abd0$12b0fea9@dell> This is a multi-part message in MIME format. ------=_NextPart_000_0053_01C3B5BA.A641A3D0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit To the list I am having difficulties getting MapInfo tab files working with my setup of Mapserver/MapLab. I have set up the map using MapEdit and got the following error when I tried to open the map in MapBrowser. Error Parsing DundasSub.map Description Open failed for OGR connection `DundasHome.TAB'. File not found or unsupported format. in /maplab/common/wrapper/drawmap.php Failed to draw layer named 'DundasHomeTab'. in /maplab/common/wrapper/drawmap.php In MapEdit I set the following parameters Data - left blank Type - polygon Connection Type - OGR Connection - DundasHome.TAB The map has 3 other files, two shape files and 1 ecw file which worked correctly until the tab file was added. I installed MapLab (2.1RC3) using ms4w Thanks Stephen Wallace ------=_NextPart_000_0053_01C3B5BA.A641A3D0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Message
To the = list
 
I am = having=20 difficulties getting MapInfo tab files working with my setup of=20 Mapserver/MapLab.
 
I have = set up the=20 map using MapEdit and got the following error when I tried to open the = map in=20 MapBrowser.
 
Error=20 Parsing DundasSub.map
Description
Open failed for OGR = connection=20 `DundasHome.TAB'. File not found or unsupported format. in=20 /maplab/common/wrapper/drawmap.php
Failed to draw layer named=20 'DundasHomeTab'. in = /maplab/common/wrapper/drawmap.php
 
In MapEdit I = set the=20 following parameters
 
Data - = left=20 blank
Type - = polygon
Connection Type -=20 OGR
Connection -=20 DundasHome.TAB
 
The map has 3 other files, two shape = files and 1=20 ecw file which worked correctly until the tab file was=20 added.