[mapserver-users] Creating symbolset from scratch

2008-05-20 Thread Tom Chase
Morning! In mapscript, if I was to create a symbolset from scratch, how would I then link it to a map? The method map.setSymbolSet() takes a filename but not a symbolset object, and the property map.symbolset is immutable. FWIW, I'm using python. Am I just being stupid? Cheers! Tom -- --

Re: [mapserver-users] C# functon resultCacheMemberObj shapeindex ... Posible bug?

2008-05-20 Thread Paul james
I´m using Postgis... My mapfile: MAP EXTENT -79.7892 -34.2426 -24.9958 6.11775 FONTSET "fonts.txt" IMAGECOLOR 255 255 255 IMAGETYPE png SYMBOLSET "symbols.sym" SIZE 400 200 STATUS ON UNITS dd NAME "World" OUTPUTFORMAT NAME gif MIMETYPE image/png DRIVER gd/png EXTENSION png I

[MAPSERVER-USERS] How to implement jBox in asp.netusing C# or VB.....

2008-05-20 Thread yatendra
Hi Friends, i need some help to create rubberband zoom in funtionality. Can any one know hoe to use jBox functionality asp.net. or How to create zoom in funtionality using rubberband? Please explain.. Thanks Regards -- View this message in context: http://www.nabble.com/How-to-implement-jBox

Re: [MAPSERVER-USERS] wms server, serve layers in multiple projections

2008-05-20 Thread Neil Best
Maria Panagou wrote: > > I am wondering if it is possible to setup a WMS server with Mapserver, > that will serve layers in more than one map projection. For example it it > possible to declare at MAP level such a PROJECTION declaration? > > PROJECTION > "init=epsg:900913" > "init=eps

RE: [MAPSERVER-USERS] How to implement jBox in asp.netusing C# or VB.....

2008-05-20 Thread Cavalieri Piero
You use it exatly the same as with other languages (jbox is an applet): In aspx:

Re: [MAPSERVER-USERS] wms server, serve layers in multiple projections

2008-05-20 Thread Rahkonen Jukka
Neil Best wrote: >Maria Panagou wrote: > >> I am wondering if it is possible to setup a WMS server with Mapserver, >> that will serve layers in more than one map projection. For example it it >> possible to declare at MAP level such a PROJECTION declaration? >> >> PROJECTION >> "init=epsg:

[MAPSERVER-USERS] WMS server with non-EPSG SRS?

2008-05-20 Thread Neil Best
I have been trolling the list for any sense of attempts to use or prospects for ever using non-EPSG SRSs with a WMS server. Somewhere I found a post, I think it was this list but don't have the link handy, from 2001 saying that there had been discussion to generalize the mechanism for advertising

[mapserver-users] Scaling Labels

2008-05-20 Thread Nelson Soto
This is a pretty dumb question but: Is there an easy way to make label sizes scale with respect to the view? Or must I create a bunch of MAXSCALE MINSCALE LABELSIZE entries? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.os

Re: [MAPSERVER-USERS] WMS server with non-EPSG SRS?

2008-05-20 Thread Frank Warmerdam
Neil Best wrote: I have been trolling the list for any sense of attempts to use or prospects for ever using non-EPSG SRSs with a WMS server. Somewhere I found a post, I think it was this list but don't have the link handy, from 2001 saying that there had been discussion to generalize the mechani

Re: [MAPSERVER-USERS] WMS server with non-EPSG SRS?

2008-05-20 Thread Neil Best
Frank Warmerdam-2 wrote: > > The normal practice if you want a non-EPSG coordinate system to be usable > for WMS serving with MapServer is to just extend the epsg init file with > the definition. Is this unacceptable for some reason? > I have been reluctant to do this because: 1) I was conc

RE: [mapserver-users] Mapserver and OpenDAP

2008-05-20 Thread Christopher Condit
Hi Arjen, > Chris, I'd be very interested to hear about your experiences on > building > Mapserver on Windows, especially concerning the OpenDAP driver and the > makefile Frank mentioned. I guess the "build kit" is the best way to > start? Since I'm also interested in this I've created a new tick

[mapserver-users] Using personal geodatabases (.mdb)

2008-05-20 Thread Heather Wirth
We currently have a functional Geomoose (a front end to MapServer) site using shapefiles, but thought we may want to migrate to a personal geodatabase (.mdb) to ease the process of updating map information. We followed all the instructions on the MapServer site for using .mdb files, and can get th

Re: [MAPSERVER-USERS] WMS server with non-EPSG SRS?

2008-05-20 Thread Frank Warmerdam
Neil Best wrote: Frank Warmerdam-2 wrote: The normal practice if you want a non-EPSG coordinate system to be usable for WMS serving with MapServer is to just extend the epsg init file with the definition. Is this unacceptable for some reason? I have been reluctant to do this because: 1) I

[mapserver-users] loadWeb(): Unknown identifier. Parsing error near (:):(line 1)

2008-05-20 Thread Νίκος Παπαδάκης
Unfortunately the error insists. I have tried every advice you gave me but stiil nothing. All the modifications i did are: 1)Check the orientation of slashes and i actually tried every possible orientation. 2)Placed the MAP keyword in the first line of .map file. 3)Tried an older version of MapS

Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near (:):(line 1)

2008-05-20 Thread Guillaume Sueur
if you can, yes, have a try to linux. But this should work on Windows too. it's been a long time since I haven't used MapServer on Windows, but I remember having had problems with backslashes. Can you try doubling them (ie C:\\ms4w\\Apache\\htdocs\\test.html) Can you confirm it is still the ex

Re: [mapserver-users] Using personal geodatabases (.mdb)

2008-05-20 Thread Frank Warmerdam
Heather Wirth wrote: We currently have a functional Geomoose (a front end to MapServer) site using shapefiles, but thought we may want to migrate to a personal geodatabase (.mdb) to ease the process of updating map information. We followed all the instructions on the MapServer site for using .md

RE: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)

2008-05-20 Thread Fawcett, David
For testing map files, I like to go the simplest route and use mode=map. I took the map file text below (not including "test.map" because that would break the file) and I pasted it into a new map file. I called it using the URL: http://localhost/cgi-bin/mapserv.exe?mode=map&map=d:\test.map

Hi: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near(:):(line 1)

2008-05-20 Thread Rahkonen Jukka
Hi, I copy-pasted your mapfile from this message (between MAP and END), stored it on my hard disk and had a try with MS4W with the following URL: http://localhost/cgi-bin/mapserv.exe?map=c:/ms4w/apps/maps/test.map&mode=map I received a yellowish box on browser with Hello World text on it. Thu

[mapserver-users] FastCGI & ms4w

2008-05-20 Thread Nelson Soto
Has anyone had any success getting fastcgi to run on MS4W? Can I be pointed to any references I need to get this started? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] FastCGI & ms4w

2008-05-20 Thread Jeff McKenna
There are brief notes on this in the MS4W readme (http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#d-fastcgi ). However I see that the mod_fastcgi module for apache 2.2 is available since march at: http://www.apachelounge.com/download/ -jeff __

[mapserver-users] PHP extensions

2008-05-20 Thread Daniel Muñoz Castro
Hi. I need the PostgreSQL, Oracle and OCI8 extensions for a PHP version 4.4.2 and Apache 1.3.34, over Linux RedHat 4. Any help about a site where it can be downloaded!. Thanks. -- Salu2!. Daniel Muñoz Castro Ingeniero Catastral y Geodesta Cel. 313 4336931 Casa. 4085485 Oficina. 7470001 Ext. 1

Re: [mapserver-users] FastCGI & ms4w

2008-05-20 Thread Nelson Soto
I read these and was able to add the dll to Apache and restart with success. I don't know if I am supposed to leave CGI on or disable it while FastCGI is on but I noticed if i shut both off my maps still draw so I'm a bit lost on it... On Tue, May 20, 2008 at 2:02 PM, Jeff McKenna <[EMAIL PROTECTE

Re: [mapserver-users] Using personal geodatabases (.mdb)

2008-05-20 Thread Jeff Hoffmann
Heather Wirth wrote: We currently have a functional Geomoose (a front end to MapServer) site using shapefiles, but thought we may want to migrate to a personal geodatabase (.mdb) to ease the process of updating map information. We followed all the instructions on the MapServer site for using .md

Re: [mapserver-users] C# functon resultCacheMemberObj shapeindex ... Posible bug?

2008-05-20 Thread Tamas Szekeres
Paul, As looking into the code, the postgis driver accepts only 10 digit integers in the OID fields. Can you confirm your values in the idX field satisfy with this requirement? If yes, then I consider this as a bug and please file a ticket including the values in the OID you've been testing with.

RE: [mapserver-users] Using personal geodatabases (.mdb)

2008-05-20 Thread Fawcett, David
Sarah, I am not aware of any quantitative numbers, but I would guess that shapefiles will perform better than a personal geodatabase. Since I am guessing that you will not be putting your 'official' copy of your database on your Web server, you will be moving periodic snapshots of your data from

Re: [mapserver-users] Creating symbolset from scratch

2008-05-20 Thread Tamas Szekeres
Tom, According to https://trac.osgeo.org/mapserver/ticket/1676 this is quite an unsupported use-case. Instead, you should use appendSymbol to populate a predefinied symbolset with the desired symbols. Best regards, Tamas 2008/5/20 Tom Chase <[EMAIL PROTECTED]>: > Morning! > > In mapscript,

Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near (:):(line 1)

2008-05-20 Thread Robert Sanson
hi Here is how I reference paths in Mapserver under Windows: # this is the real filepath to the temp dir for intermediate file creation IMAGEPATH "/ms4w/tmp/ms_tmp/" THis works for me. Kind regards, Robert Sanson >>> Guillaume Sueur <[EMAIL PROTECTED]> 21/05/2008 4:46 a.m. >>> if y

Re: [mapserver-users] loadWeb(): Unknown identifier. Parsing error near (:):(line 1)

2008-05-20 Thread Νίκος Παπαδάκης
It works!!! Paths don't need C:/ in front! Thank you. O/H Robert Sanson έγραψε: hi Here is how I reference paths in Mapserver under Windows: # this is the real filepath to the temp dir for intermediate file creation IMAGEPATH "/ms4w/tmp/ms_tmp/" THis works for me. Kind r

Re: [mapserver-users] postgis - idle in transaction

2008-05-20 Thread Dave Fuhry
Ivan, If you shutdown Apache or whatever is running FastCGI, then I assume mapserver will close those connections. Pooled mapserver connections certainly are idle in a transaction. mapserver issues a BEGIN (transaction) when the connection is made, because the binary cursor queries mapserver issu

[mapserver-users] MapServer / OpenLayers application launched

2008-05-20 Thread Richard Marsden
(sorry for the cross-posting to the openlayers and mapserver listserver - I believe this is relevant to both) Thank you for helping with my beginners questions. I now have both MapServer and OpenLayers working for the maps on the http://www.ecomapcostarica.com website. This website documents a

Re: [mapserver-users] Scaling Labels

2008-05-20 Thread Flavio Hendry
Hi Nelson You could use SIZEUNITS (i.e. meters, feet and so on; be aware that it accepts only integer values): LAYER NAME "xyz" TYPE ANNOTATION STATUS ON SIZEUNITS feet Mit freundlichem Gruss / Best Regards Flavio Hendry -