Re: [mapserver-users] LABEL-formatting options

2010-03-10 Thread Stephan Holl
Hello Steve, Lime, Steve D (DNR) steve.l...@state.mn.us, [20100309 - 22:35:51] Hi Stephan: This is an increasingly asked question but at the moment I don't have a good solution or workaround, it's just not possible at the moment. There's a ticket already filed on the subject and it will be

Re: [mapserver-users] LABEL-formatting options

2010-03-10 Thread Stephan Holl
Hello Brent, pcr...@pcreso.com, [20100309 - 23:49:56] Hi Stephan, Can you not add an appropriate column automatically as the shapefile is generated? Tools such as dbfscript (http://www.whitetown.com/dbf-script/) or perhaps script something with the shapelib libraries or tools or the

Re: [mapserver-users] LABEL-formatting options

2010-03-10 Thread pcreso
Yep, always frustrating to suffer such constraints. Can you not define the layer in mapserver as an ogr layer rather than a native shapefile, and use ogr's pseudo-sql to cast/retrieve the value as a numeric more suitable for labeling with? http://www.gdal.org/ogr/ogr_sql.html Then in your

Re: [mapserver-users] LABEL-formatting options

2010-03-10 Thread Stephan Holl
Hello Brent, pcr...@pcreso.com, [20100310 - 00:25:21] Yep, always frustrating to suffer such constraints. Can you not define the layer in mapserver as an ogr layer rather than a native shapefile, and use ogr's pseudo-sql to cast/retrieve the value as a numeric more suitable for labeling

Re: [mapserver-users] LABEL-formatting options

2010-03-10 Thread Stephen Davies
I also would be very happy to test any patch that added label formatting capabilities. Cheers, Stephen On Wednesday 10 March 2010 15:05:51 Lime, Steve D (DNR) wrote: Hi Stephan: This is an increasingly asked question but at the moment I don't have a good solution or workaround, it's just not

RV: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread David Alda Fernandez de Lezea
Nobody suggests anything?? -Mensaje original- De: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] En nombre de David Alda Fernandez de Lezea Enviado el: martes, 09 de marzo de 2010 11:35 Para: mapserver-users@lists.osgeo.org Asunto:

Re: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread James Card
On Wed, 10 Mar 2010 03:20:35 -0800, David Alda Fernandez de Lezea da...@ikt.es wrote: So, our doubts have to do with the following subjects: - Processor - RAM Memory - HDD (we know that has to be large, i.e. 1TB - 2TB) - Number of network adapters (is advisable to have more than one?) -

RE: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread Fuchs Juan Carlos
Hi David Check out Building a GIS System Architecture Design Strategies for Managers from Dave Peters - Esri Press. Just as a start point. Cheers JC -Mensaje original- De: David Alda Fernandez de Lezea [mailto:da...@ikt.es] Enviado el: Miércoles, 10 de Marzo de 2010 08:21 a.m. Para:

Re: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread Luigi Castro Cardeles
Hi, Maybe this can help you. http://2009.foss4g.org/presentations/#presentation_109 []'s Luigi Castro Cardeles 2010/3/10 Fuchs Juan Carlos jf...@indec.mecon.gov.ar: Hi David Check out Building a GIS System Architecture Design Strategies for Managers from Dave Peters - Esri Press. Just as a

RE: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread David Alda Fernandez de Lezea
Thanks Luigi, I'll have a look. -Mensaje original- De: Luigi Castro Cardeles [mailto:luigi.carde...@gmail.com] Enviado el: miércoles, 10 de marzo de 2010 14:43 Para: Fuchs Juan Carlos CC: David Alda Fernandez de Lezea; mapserver-users@lists.osgeo.org Asunto: Re: [mapserver-users] Looking

RE: [mapserver-users] LABEL-formatting options

2010-03-10 Thread Fawcett, David (MPCA)
Stephan, Since there isn't a MapServer solution until 6.0, a work around could be a python/php/other language script to populate a new column with a lower precision value. It wouldn't be that hard to write. David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org

RE: [mapserver-users] Looking for advice for OGC Services Serverhardware requirements

2010-03-10 Thread David Alda Fernandez de Lezea
Steve, Thanks for your response. The thing is that the technology we have to use is MapServer + TileCache + OL, so there's no possible discussion about this, it's not my decision. We have now everything setted up in a test environment (it's an Intel Core 2 Duo E4600 at 2.4 GHz PC with 2 GB

[mapserver-users] WMS TIME parameter slow

2010-03-10 Thread Heiko Schröter
Hello, using mapserv (5.6.1) with PostGIS (8.3) and accessing ten-thousands of geo locations in the PostGIS db results in very slow speed when using the WMS TIME parameter: (in this example the number is about 4000 datapoints for this day, timing measurements with DEBUG OFF). 1) Very fast

RE: RV: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread David Alda Fernandez de Lezea
Hi Frank, I know it's difficult to answer those questions, I just needed some guidelines, or some indications of where search. I appreciate the answers and help of these kind people. Now I have some ideas. Thanks. David. -Mensaje original- De: Frank Warmerdam

Re: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread Andy Colson
On 3/9/2010 4:34 AM, David Alda Fernandez de Lezea wrote: Hello list, So, our doubts have to do with the following subjects: - Processor - RAM Memory - HDD (we know that has to be large, i.e. 1TB - 2TB) - Number of network adapters (is advisable to have more than one?) - Which

Re: [mapserver-users] WMS TIME parameter slow

2010-03-10 Thread Paul Ramsey
Firstly, 2 seconds is not fast, so you have another performance troll beyond this one. Secondly, it's impossible to know what's going on inside the database without seeing the actual SQL being generated. Turn on statement loggging in PgSQL and extract the SQL that is being run against the

RE: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread Fawcett, David (MPCA)
David, I don't remember all of your original post, so forgive me if you have already covered this. When looking at performance, make sure that you have done everything possible to optimize your data. -tiles and pyramids for rasters -all data in the output spatial reference system

Re: [mapserver-users] WMS TIME parameter slow

2010-03-10 Thread Heiko Schröter
Am Mittwoch 10 März 2010 16:42:02 schrieben Sie: Thanks for the hint. Hm, i thought 4000 out of 4.5 Millions datasets for the whole year in 5 sec would be not that bad The timing figure shall just show the huge difference between the two types of requests. I will follow your advice and

[mapserver-users] Something odd with queries in 5.6.1

2010-03-10 Thread Carlos Ruiz
Hi all, I noticed something odd when I do a query with the new 5.6.1 version. The getFeature method seems to return a NULL value, when it was working good before the new version update. Here's the code: $n = $map-numlayers; for ($i = 0; $i $n; $i++) { $theme = $map-GetLayer($i);

Re: [mapserver-users] Something odd with queries in 5.6.1

2010-03-10 Thread Andy Colson
On 3/10/2010 3:53 PM, Carlos Ruiz wrote: Hi all, I noticed something odd when I do a query with the new 5.6.1 version. The getFeature method seems to return a NULL value, when it was working good before the new version update. Here's the code: $n = $map-numlayers; for ($i = 0; $i $n; $i++)

Re: [mapserver-users] Something odd with queries in 5.6.1

2010-03-10 Thread Daniel Morissette
Carlos Ruiz wrote: Hi all, I noticed something odd when I do a query with the new 5.6.1 version. The getFeature method seems to return a NULL value, when it was working good before the new version update. Due to a change in the handling of queries in version 5.6, ols scripts must be

Re: [mapserver-users] Looking for advice for OGC Services Server hardware requirements

2010-03-10 Thread Jeff McKenna
Luigi Castro Cardeles wrote: Hi, Maybe this can help you. http://2009.foss4g.org/presentations/#presentation_109 I would like to add that there is at least some off-list talk of some Windows vs Unix benchmarking for the 2010 exercise (http://wiki.osgeo.org/wiki/Benchmarking_2010). As the