[mapserver-users] Re: mapserver documentation: unique gid using srid=x ?

2010-02-08 Thread Ivan Mincik
Hi, according Mapserver docs: http://mapserver.org/input/vector/postgis.html there is different syntax of using USING UNIQUE gid USING SRID=x string in DATA line in similar cases. In simple case example: DATA the_geom from the_database USING unique gid using srid=4326 In case of using a SQL

[mapserver-users] many raster projections

2010-02-08 Thread Andy Colson
Ok, I'm confused. Most of the problem is probably because I'm a programmer, not a mapper. I have arial imagery of Minnesota, multiple sets, each seeming to be in a different projection. At the top of my mapfile I have this: MAP EXTENT 1285920 1377857 1426390 1506589 PROJECTION

RE: [mapserver-users] Re: Making labels appear less often on adjacent tiles

2010-02-08 Thread Lime, Steve D (DNR)
Sounds like you might want to use the MINDISTANCE label parameter in this case. I think if you see it to a value close to the size of your metatiles you'd get sparse labeling of those features but not simply the single label that pre-clipping computation gives you. That's the approach I take

RE: [mapserver-users] many raster projections

2010-02-08 Thread Fawcett, David (MPCA)
Andy, It looks like you have data in at least two or three different projections. If you want to display them in the same map using MapServer, you need: - a projection block at the MAP level. This defines your output projection. The map UNITS and EXTENT need tobe consistent with this

Re: [mapserver-users] many raster projections

2010-02-08 Thread Andy Colson
Thank you, but that didnt seem to help. I left the main PROJECTION as is, and I changed my raster to this: LAYER NAME raster07 STATUS off TILEINDEX raster07.shp TILEITEM location TYPE RASTER PROJECTION +proj=utm +zone=15 +ellps=GRS80

Re: [mapserver-users] many raster projections

2010-02-08 Thread Andy Colson
To take OpenLayers out of the equation, I made myself a test.map file that just included two layers and used shp2img. If I switch on the 2007 (raster07) then I get no arial (the result image is just a gray slate). If I switch on raster09_chil, the result image has the arial's as expected.

Re: [mapserver-users] php mapscript loadQuery problem

2010-02-08 Thread Moen, Paul T.
The query file parser will throw a detailed error message if it has a parsing problem. Where would I look for the errors that the query file parser throws? I don't see any in the error_log for apache, which is where all my php errors are logged. Does that mean that the parser is having no

[mapserver-users] Continuing problem with WCS and ENVI Multi-band files

2010-02-08 Thread Peter Willis
Hello, I continue to have a problem selecting a single band from a multi-band (563 bands) ENVI format BSQ file. Using the following URL mapserver gives me a FLOAT32 GTiff file but it is always filled with zeros.

[mapserver-users] Adding a SLD for a WMS Service

2010-02-08 Thread David Martinez Morata
Hello. I have a map file to Serve some layers, and I need to link some layers with a sld files. I read the SLD documentation in the MApserver web site, but i don't reali understud what I'm doing: 1 I put in my layer defifnition SLD Path/to/my/sld/file.sld I try with metadatas wms_sld_url

[mapserver-users] hyper-threading and performance

2010-02-08 Thread Mark Volz
Hello, Does anyone know if the performance of Mapserver is increased if hyper-threading is enabled? If so how much? Mark Volz GIS Specialist Lyon County, MN ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

Re: [mapserver-users] hyper-threading and performance

2010-02-08 Thread Andy Colson
On 2/8/2010 2:20 PM, Mark Volz wrote: Hello, Does anyone know if the performance of Mapserver is increased if hyper-threading is enabled? If so how much? Mark Volz GIS Specialist Lyon County, MN Hey Mark, What sort of usage are we talking? Web hosting? Shapefiles and arials? I'm not

RE: [mapserver-users] hyper-threading and performance

2010-02-08 Thread Mark Volz
Andy, To be more specific: I am using GeoMoose. GeoMoose draws each layer separately so we do benefit by having a multi-core processor even if there is only one user. We also are using a WMS Service so air photos is for the most part a non issue. If my understanding is correct hyper-threading

Re: [mapserver-users] hyper-threading and performance

2010-02-08 Thread Andy Colson
Yeah, I've heard the same thing. If your system is cpu bound then I'd bet the difference between enabled and disabled is minimal (regardless if the difference is faster or slower). 20% either way is not very much. If your not cpu bound, I'd bet you see no difference at all. Of course, these

RE: [mapserver-users] php mapscript loadQuery problem

2010-02-08 Thread Lime, Steve D (DNR)
The way loadQuery works is like so: 1) Load the queryfile into an internal queryObj 2) Execute the query defined by the queryObj If an error occurs at step 1 you'll get a load error of some sort. If at 2 it is deeper inside one of the query methods. I'm not a PHP user but in Perl

[mapserver-users] INSIDE Idaho

2010-02-08 Thread Jon Miner
Anybody familiar with the projections used by INSIDE Idaho? http://inside.uidaho.edu/default.htm I can get the GeoTIFF rendered using this PROJECTION: EXTENT 590767.311 267177.559 601059.798 281203.236 PROJECTION proj=tmerc lat_0=42 lon_0=-114 k=0.9996