Re: [mapserver-users] Getting introduced to MapScript

2012-08-02 Thread Luís de Sousa
Hi Stephen, thank you for the reply. Yes I've went through those pages already. There you learn a few things, but not how to set up a MapFile entirely. How to set up the SHAPEPATH for a mapObj for instance, or the DATA and TYPE for a layerObj. I'm presently using Python, not that I like the

Re: [mapserver-users] Mapserver 6: Oracle layerObj.queryByIndex

2012-08-02 Thread thomas bonfort
Hi, Issues https://github.com/mapserver/mapserver/issues/4238 and https://github.com/mapserver/mapserver/issues/4076 seem closely related. I'm not a query expert, but I do know that part of the code has been quite heavily worked on for 6.2, any chance you could try with that version and confirm if

Re: [mapserver-users] Polygon Fill with text in MapServer 6.0.3 [SEC=UNCLASSIFIED]

2012-08-02 Thread thomas bonfort
Hi, Using multiple characters in trutype symbols was a grey area in pre-6.0/5.6 versions of mapserver: it worked for some drivers (Gd) but wasn't documented nor was it even really intended. I do not know of a setting that would allow you to fill a polygon with text, aside from creating a pixmap

[mapserver-users] Antwort: Re: Mapserver 6: Oracle layerObj.queryByIndex

2012-08-02 Thread umn-ms
Hi Thomas The Single Query Issue is complex. I'll try to break this one down, because I think this one seams to be quite obvious and the code is unchanged in 6.2.0 beta1 DESCRIPTION: The function msQueryByIndex(mapObj* map) has a local variable resultObj record;. The field record.resultindex is

Re: [mapserver-users] mssql with mapserver on red hat

2012-08-02 Thread Eichner, Andreas - SID-NLKM
[unixODBC][Driver Manager]Data source name not found, and no default driver specified The ODBC driver cannot find your DSN. Have you configured it in your user account or in the system wide /etc/odbc.ini? MapServer might be running under a different account unable to read your odbc.ini.

Re: [mapserver-users] Polygon Fill with text in MapServer 6.0.3[SEC=UNCLASSIFIED]

2012-08-02 Thread Eichner, Andreas - SID-NLKM
aside from creating a pixmap symbol where you've pre-rendered your text. Any idea if a SVG symbol would do? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] mssql with mapserver on red hat

2012-08-02 Thread mmmoatmeal
the dsn is setup in /etc/odbc.ini, like this [dsn] Server = [IP] Port= 1433 Driver = FreeTDS Description = Primary GIS Server Database = [DB] Trace = Yes User= [user] Password = [password] testing with ogrinfo that way seemed to work,

Re: [mapserver-users] Getting introduced to MapScript

2012-08-02 Thread Stephen Woodbridge
On 8/2/2012 3:10 AM, Luís de Sousa wrote: Hi Stephen, thank you for the reply. Yes I've went through those pages already. There you learn a few things, but not how to set up a MapFile entirely. How to set up the SHAPEPATH for a mapObj for instance, or the DATA and TYPE for a layerObj. I'm

Re: [mapserver-users] Отв.: how to use attribute name in template with _

2012-08-02 Thread Lime, Steve D (DNR)
Item names are case sensitive so try [OGC_FID] or try the [item …] tag, e.g.: [item name=’ogc_fid’] Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of alexkartatem...@yahoo.com Sent: Wednesday, August 01, 2012 6:49 AM To: Donald

[mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Andrea Peri
Hi, I'm try-ing to use spatialite with mapserver. is this mapfile configuration ok for spatialite ? CONNECTIONTYPE OGR CONNECTION '/..path-to../spatialite_file.sqlite' DATA 'SELECT field1, field2, field3, geometry from table' It seem don't work. Instead work perfectly this other

[mapserver-users] Basic Templating

2012-08-02 Thread Sowmya Tiramdasu
Hi , I am trying to implement templating taking the help of the mapserver tutorial. I created my own map file, which works fine. I get the output as desired when I use mode=map. Now I am trying to include a template for my example. I created a new template file 'gmapNew.html' . I added the

[mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Sowmya Tiramdasu
Hi All, I have a question relating to opacity of a layer. My requirement is to change the opacity of a layer for a particular client. I thought, I can achieve this using map script. But, one thing which is not clear to me is : If I change the opacity of a layer through the map script , will

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
Hi, The SELECT alternative works fine for me but I do not have multiple geometries. I made a very fast test on Spatialite side and it seems to be possible to run Recover geometry column and Create spatial index for multiple geometries but I did not test the result with Mapserver. I would

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Paolo Corti
On Thu, Aug 2, 2012 at 10:03 PM, Andrea Peri aperi2...@gmail.com wrote: Hi, I'm try-ing to use spatialite with mapserver. is this mapfile configuration ok for spatialite ? CONNECTIONTYPE OGR CONNECTION '/..path-to../spatialite_file.sqlite' DATA 'SELECT field1, field2, field3,

Re: [mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Lime, Steve D (DNR)
The mapfile is loaded into memory and then MapScript acts upon those structures. The original is unchanged. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Sowmya Tiramdasu Sent: Thursday, August 02, 2012 4:10 PM To:

Re: [mapserver-users] changing opacity of a layer for a single client using map server

2012-08-02 Thread Sowmya Tiramdasu
Thank you very much Steve for clarifying me question. -Sowmya. ___ Sowmya Tiramdasu QCoherent Software 9668 Madison Blvd., Suite 202 Madison, AL 35758 (256) 461-8289 Telephone (256) 461-8249 Fax www.geocue.com http://www.geocue.com/ From: Lime, Steve

Re: [mapserver-users] Using spatialite with mapserver

2012-08-02 Thread Rahkonen Jukka
I an writing this night faster than I am thinking, sorry for that. It came into my mind to delete the row for geom1 from the geometry_columns and now it is possible to use geom2. OGR takes the first matching row from geometry_columns and because row for geom1 does not exist row for geom2 is