Re: [mapserver-users] mapcache - is it possible to access different wms sources based on the current resolution or scale?

2012-06-27 Thread Eichner, Andreas - SID-NLKM
Hi Mark, > The two layers are in the same grid. I didn't see any > documentation on using symlink for zoom levels. How would I > set that up in my configuration file? you configure mapcache as usual and symlink the levels for the shared zoom levels. MapCache creates a directory structure in

Re: [mapserver-users] EPSG 27493

2012-06-27 Thread Jeff McKenna
Hello Luis, Don't worry, I too have many problems between my chair and my keyboard. You must tell MapServer where to draw the map data, in the extents and units of your output projection (yes 27493: meters). So your mapfile would look something like: MAP NAME "DEMOSMC" ... EXTENT

[mapserver-users] slow access to PostGIS layer

2012-06-27 Thread G. Allegri
[cross posting from MS4W ml] I'm working on a Windows 7 machine with PostGIS 1.5 on Postgresql 8.4, with no tuning (default configuration). I'm facing very bad performances when accessing a polygonal layer on PostGIS. The layer is not that heavy and complex. It is made by 20 polygons with about 4

[mapserver-users] Centos or Ubuntu 11.04

2012-06-27 Thread Charles Eliason
I'm planning on implementing Mapserver on a VPS server hosted by Hostgator. The standard Linux install is centos 5. I can have Ubuntu 11.04 installed, however there is limited technical support and less bells and whistles. Is there a strong reason to go with the Ubuntu install over Centos ?

Re: [mapserver-users] Curved Lines

2012-06-27 Thread juliap
Sorry, I didn't notice I had typo in the layer definition. I'm not actually using the same point to create a line.I was looking for solutions through SQL but unfortunately only SQL server 2012 has those builtin functions. I think I will have to try the Ogr2ogr approach. Thanks for all the sugge

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Stephen Woodbridge
Does this do what you want? DATA "SELECT ST_MAKELINE(ST_MAKEPOINT(Geo.STX, Geo.STY)) FROM column WHERE DATEDIFF(mi, CreatedON, CURRENT_TIMESTAMP) <='%x%'" There is a postGIS function MAKELINE() that aggregates points into a line. I don't know if there are equivalent function in MSSQL. -Stev

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Mr. Puneet Kishor
On Jun 27, 2012, at 8:17 PM, Rahkonen Jukka wrote: > Hi, > > The question, if I understand is correctly, is relevant. In EPSG:4326 > shortest distance between two points is better expressed as a curve than as a > straight linestring. However, Mapserver does not support curves of any kind. In

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Rahkonen Jukka
Hi, The question, if I understand is correctly, is relevant. In EPSG:4326 shortest distance between two points is better expressed as a curve than as a straight linestring. However, Mapserver does not support curves of any kind. You may find some workaround from GDAL. Ogr2ogr is having a "segme

Re: [mapserver-users] two shapes one layer/query

2012-06-27 Thread Brent Fraser
You could use two layers in the mapfile (and a REQUIRES keyword to link the display). Or use a UNION construct in the SQL, or create a view in the database using a UNION. Best Regards, Brent Fraser On 6/26/2012 7:37 PM, Jessica Clarke wrote: Hi, I'm trying to draw a 'shape' and a 'related sh

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Mr. Puneet Kishor
On Jun 27, 2012, at 2:13 AM, juliap wrote: > Hi all, > > I have the following layer of type line : > > LAYER > NAME line > STATUS ON > TYPE LINE > CONNECTIONTYPE OGR > CONNECTION "MSSQL:server=server;database=database;uid=id;pwd=pwd" > DATA "SELECT ge

Re: [mapserver-users] Curved Lines

2012-06-27 Thread Brent Fraser
I don't understand the question. What kind of "curved line" would you make given only two points? And the from the SELECT statement, the two points have the same coordinates. Best Regards, Brent Fraser On 6/26/2012 2:43 PM, juliap wrote: Hi all, I have the following layer of type line : L

Re: [mapserver-users] mapcache - is it possible to access different wms sources based on the current resolution or scale?

2012-06-27 Thread Mark Volz
Andreas, The two layers are in the same grid. I didn't see any documentation on using symlink for zoom levels. How would I set that up in my configuration file? Thanks Mark Volz GIS Specialist -Original Message- From: Eichner, Andreas - SID-NLKM [mailto:andreas.eich...@sid.sachsen.d

[mapserver-users] SLD TextSymbolizer in 6.1-dev

2012-06-27 Thread jlundnielsen
Hi List, In the process of preparing for 6.2 I have discovered a problem applying labels through the use of SLD TextSymbolizer in 6.1-dev. The following is applying labels fine in my current install of 6.0.1, but not in 6.1-dev: ... NAME arial bold 18

Re: [mapserver-users] EPSG 27493

2012-06-27 Thread luisbap
Hi Jeff, thanks for your help (very useful) and sorry for my delay returning some feedback. Now I know the problem is not data related but it's between the chair and the keyboard. Now I can see my data if I don't use a projection block in the Map-level. Everytime I use a projection in the map-le

Re: [mapserver-users] mapcache - is it possible to access different wms sources based on the current resolution or scale?

2012-06-27 Thread Eichner, Andreas - SID-NLKM
If the grid matches, you can easily symlink the zoom levels. HTH > -Ursprüngliche Nachricht- > Von: mapserver-users-boun...@lists.osgeo.org > [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag > von Mark Volz > Gesendet: Dienstag, 26. Juni 2012 23:28 > An: MapserverList OSGEO