Re: [mapserver-users] Netcdf / WCS

2008-02-21 Thread vincent . thierion
Hello, I'm not expert on OWS, but serve netCDF files within WCS seems not totally achieve. The case of Barker concerns a set of netCDF files. The Galeon project is trying to develop this issue : http://galeon-wcs.jot.com/Implementation%20Progress%20Page. For my case, i think the best way is t

[mapserver-users] annotation layer

2008-02-21 Thread Hans Castorp
Hi to all, It is possible to have an annotation layer with symbol but without label?? I will try to explain it: I have an ANNOTATION layer in order to place SYMBOLS depending on some EXPRESSION values. The problem is that I’m not capable to place SYMBOLS without place LABELS, and what I need

Re: [mapserver-users] annotation layer

2008-02-21 Thread Guillaume Sueur
I think you should just use a POINT layer then. Annotation is dedicated to labels, it's a way to have labels displayed WITHOUT the anchor point. Hans Castorp a écrit : Hi to all, It is possible to have an annotation layer with symbol but without label?? I will try to explain it: I hav

Re: [mapserver-users] annotation layer

2008-02-21 Thread Guillaume Sueur
can't you extract the middle of the lines as points ? Hans Castorp a écrit : There is a problem. The layer I want to give symbols to is a line layer, so I cannot use point layer. Thanks. -Mensaje original- De: Guillaume Sueur [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de febrer

RE: [mapserver-users] annotation layer

2008-02-21 Thread Hans Castorp
There is a problem. The layer I want to give symbols to is a line layer, so I cannot use point layer. Thanks. -Mensaje original- De: Guillaume Sueur [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de febrero de 2008 11:47 Para: Hans Castorp; mapserver-users@lists.osgeo.org Asunto: Re:

RE : [mapserver-users] annotation layer

2008-02-21 Thread Léveillé , James
Try this, work's fine for me LAYER PROJECTION "init=epsg:42105" END METADATA wms_title "Interdictions aux camions" END NAME "ert_camns" STATUSON DUMP TRUE EXTENT3

Re: [mapserver-users] MapServer consuming 100% CPU

2008-02-21 Thread Paul Spencer
See: http://mapserver.gis.umn.edu/docs/howto/mapfiletuning http://mapserver.gis.umn.edu/docs/howto/optimizevector http://mapserver.gis.umn.edu/docs/howto/tileindex Cheers Paul On 21-Feb-08, at 2:56 AM, Desarrollo Desarrollo wrote: Hi, I am developing an application with MapServer v2.2.7

Re: [mapserver-users] MapServer consuming 100% CPU

2008-02-21 Thread Bart van den Eijnden (OSGIS)
It is because Mapserver cannot use any attribute indexes on the DBF. Put your shapefile in a spatial database like PostGIS I would suggest and create attribute indexes. Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl - Oorspronkelijk bericht --

RE: [mapserver-users] annotation layer

2008-02-21 Thread Hans Castorp
Hi, James Thank you for trying to help me. I think my question was not very clear; what I want is to get ONLY symbols, not labels. I can get only labels or both labels and symbols, but not only symbols; and this is what I need. Thanks De: Léveillé, James [mailto:[EMAIL PROTECTED] Enviado

RE: [mapserver-users] temp files

2008-02-21 Thread Fawcett, David
Ken, You can definitely output 24-bit pngs. The output format page at http://mapserver.gis.umn.edu/docs/reference/mapfile/outputformat appears to be a little out of date. If you are using MapServer 5.x, take a look at http://mapserver.gis.umn.edu/docs/howto/agg-rendering-specifics Abou

Re: [mapserver-users] The right tool for the job

2008-02-21 Thread Brent Fraser
- Original Message - From: "Colin Wetherbee" <[EMAIL PROTECTED]> To: "Brent Fraser" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, February 20, 2008 7:53 PM Subject: Re: [mapserver-users] The right tool for the job > Brent Fraser wrote: > > 3. OpenLayers > > I'm really glad you mentioned

RE: [mapserver-users] annotation layer

2008-02-21 Thread Hans Castorp
Very thanks, James This works great, I was wrong. De: Léveillé, James [mailto:[EMAIL PROTECTED] Enviado el: jueves, 21 de febrero de 2008 14:45 Para: Hans Castorp Asunto: RE : [mapserver-users] annotation layer Hans, Give it a try .. It works. The LABEL is there only to force the

Re: [mapserver-users] Re: user support

2008-02-21 Thread Brent Fraser
Frank, Now that the mailing list has migrated, is the archive searchable? The New Users page (http://mapserver.gis.umn.edu/new_users/index_html#list-arch ives)on the Mapserver site still links: http://lists.umn.edu/archives/mapserver-users.html Is it still valid? I think the email archives hold

RE: [mapserver-users] Re: user support

2008-02-21 Thread Fawcett, David
Brent, I have updated the New Users Page to reflect the new list archive link. At the same time, I also updated the links to now point to the 5.x Demo, and the 5.x Tutorial. I have neglected the New Users Page for quite a while and it is definitely in need of some freshening up. I hope to do

Re: [mapserver-users] MapServer consuming 100% CPU

2008-02-21 Thread Milo van der Linden
You may also try not to use the default DATA connection in the mapfile, but instead reference the shapefile through CONNECTION TYPE OGR; Another option would be to convert the data through OGR to mapinfo files. I am using mapserv - mapinfo tab with 21 roadnetworks for all public safety distric

[mapserver-users] "classed" layer transparency

2008-02-21 Thread Hans Castorp
Hi to all, I’m having problems trying to give transparency to a polygon layer; here are my settings: LAYER NAME 'usos_suelo' GROUP 'usos_suelo' DATA "usos_suelo" TYPE polygon STATUS ON OPACITY 50 CLASSITEM 'C

[mapserver-users] can an ogr tileindex refer to a PG table?

2008-02-21 Thread Neil Best
Last fall I got some help for the list on how to use Postgres as a source for a tile index that gives locations of raster files on disk and that has been working beautifully. My new question is this: Is it possible for a tile index location to indicate something other than a path to a file, s

RE: [mapserver-users] "classed" layer transparency

2008-02-21 Thread Hans Castorp
HiSteven, Thank you for trying to help. Your solution gives the same results thanmine. As you can see in the attachments, what Iget varying TRANSPARENCY/OPACITY values are lighter or darker colours, but notreally transparent layers. Thanks in advance. De: Steven Lehr[mailto:[EMAIL PROTE

RE: [mapserver-users] "classed" layer transparency

2008-02-21 Thread Steven Lehr
CLASS NAME 'ASENTAMENTOS' EXPRESSION 'ASENTAMENTOS' COLOR 204 204 204 END TRANSPARENCY 50 # I usually put it right here at the end of the file END Steven Lehr Associate Professor Freshmen Program Col

Re: [mapserver-users] The right tool for the job

2008-02-21 Thread Colin Wetherbee
Brent Fraser wrote: 1. start with: http://mapserver.gis.umn.edu/docs/reference/vector_data/postgis 2. Read the LAYER object reference regarding CONNECTION http://mapserver.gis.umn.edu/docs/reference/mapfile/layer 3. Search the email archive (sad but true) http://lists.umn.edu/cgi-bin/wa?S1=maps

RE: [mapserver-users] "classed" layer transparency

2008-02-21 Thread Fawcett, David
Hans, I had assumed that you were trying to modify layer transparency. In other words, you have one layer that is 50% transparent that allows a 'lower' layer to show through the 'upper' layer. Like semi-transparent building footprints on an air photo. This is what you accomplished with the

[mapserver-users] Trouble Importing Layer from Web Feature Service

2008-02-21 Thread John Schattel
I am trying to test our Web Feature Service (WFS) using MapServer as a WFS client. I am using the layer definition shown below in the .map file. The request sent by MapServer looks good (see below layer definition) and the response from the WFS looks good (for brevity sake, I'm only including

Re: [mapserver-users] can an ogr tileindex refer to a PG table?

2008-02-21 Thread Milo van der Linden
Hello Neil, One thing you can do to create some sort of tileindex that can be part of the where clause is create a view in postGIS that contains the boundingboxes of a table based upon an attribute: CREATE VIEW MYBBOX AS SELECT table1.uniqueID, extent(table1.the_geom) as box, box2d(scale(exte

Re: [MAPSERVER-USERS] Antwort: Re: leaking memory in java mapscript (was Re: thread safety)

2008-02-21 Thread rich.fromm
Benedikt Rothe wrote: > > It's easier to watch the SWIG-generated JNI-Code in > mapscript/java/mapscript_wrap.c > Example: > mapscriptJNI.delete_imageObj(swigCPtr); > is implemented by the C-function > SWIGEXPORT jbyteArray JNICALL > Java_edu_umn_gis_mapscript_mapscriptJNI_imageObj_1getB

[mapserver-users] Map image location

2008-02-21 Thread Gerry James
I have a bit of a dilemma. I have built an application using UMN Mapserver as the mapping front end. Part of the application requires I retrieve the current map image, however, when I go to look for it where I think it should be /tmp/ms_tmp/ there are no images to be found. Can someone help me

Re: [MAPSERVER-USERS] Antwort: Re: leaking memory in java mapscript (was Re: thread safety)

2008-02-21 Thread rich.fromm
rich.fromm wrote: > > I have finally been able to successfully run a single iteration in > valgrind > and have it report a leak in the code: > > --- begin --- > ==21154== 41,600 bytes in 65 blocks are possibly lost in loss record 46 of > 55 > ==21154==at 0x401C6CA: calloc (vg_replace_malloc

Re: [MAPSERVER-USERS] Antwort: Re: leaking memory in java mapscript (was Re: thread safety)

2008-02-21 Thread Tamas Szekeres
2008/2/21, rich.fromm <[EMAIL PROTECTED]>: > > it's only the (unsigned char *imgbytes) from above (mapgd.c) that gets > freed, > leaking the original (gdImagePtr gdPImg) allocated by the gd code. > > At least that's my guess, still exploring further. > Rich, Since gdImagePtr is a struct and a

[mapserver-users] GML request returns unsafe HTML characters?

2008-02-21 Thread Milo van der Linden
Hello list, I am also posting this question on the Mapserver mailing list, but maybe Flamingo is keen enough to have a solution already. I am identifying features on a WMS layer hosted on Mapserver. When I inspect the result of an Identify request with Firebug (the greatest _javascript_ debug

Re: [MAPSERVER-USERS] Antwort: Re: leaking memory in java mapscript (was Re: thread safety)

2008-02-21 Thread rich.fromm
Tamas Szekeres wrote: > > 2008/2/21, rich.fromm <[EMAIL PROTECTED]>: >> >> it's only the (unsigned char *imgbytes) from above (mapgd.c) that gets >> freed, >> leaking the original (gdImagePtr gdPImg) allocated by the gd code. >> >> At least that's my guess, still exploring further. >> > > S

RE: [mapserver-users] Map image location

2008-02-21 Thread Fawcett, David
Gerry, A little more info would be helpful. How are you calling MapServer? If you are calling it in mode=map, no image is generated in the tmp directory. In browse (the default) mode, a temp image is created. What happens when you call MapServer, are you getting the image that you expect

Re: [mapserver-users] MapServer consuming 100% CPU

2008-02-21 Thread Desarrollo Desarrollo
Thank you very much for your answer, Therefore, Should I think that Shapefiles / DBF data is not suitable for MapServer if the number of features in the shapefile is a "big" number like 473815 line strings in the Streets.shp? I've tried with MajHwys.shp (35295 linestrings features) labeling and us