Re: [mapserver-users] RE: MapServer 5 to 6 migration

2011-09-02 Thread Roald de Wit
Hi Tim, You might want to register for the code sprint here: http://wiki.osgeo.org/wiki/FOSS4G_2011_Code_Sprint . That offers a centralised way for people to express their interest in participating. Cheers, Roald On 02/09/11 14:54, Tim Heuer wrote: Hi again, Regarding this issue of

Re: [mapserver-users] create hatch symbol with python mapscript?

2011-09-02 Thread Michael Schulz
Thanks Thomas, that did the trick. Cheers, Michael 2011/9/1 thomas bonfort thomas.bonf...@gmail.com: You should also set the style size which is the spacing between hatches. It should be larger than the style width. Thomas Le 1 sept. 2011 17:11, Michael Schulz mandsch...@googlemail.com a

[mapserver-users] How does SYMBOLSCALEDENOM work on FONTs?

2011-09-02 Thread Jackey Cheung
I've met a problem while playing around with SYMBOLSCALEDENOM. In attached images, the string on the top without halo is drawn as fixed size 10px in arial. The lower string was drawn with scaling on in verdana. However, as you can see, the scaling seems quite awkward. It doesn't seem to change

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-09-02 Thread Rahkonen Jukka
-Alkuperäinen viesti- Lähettäjä: Even Rouault [mailto:even.roua...@mines-paris.org] Lähetetty: 30. elokuuta 2011 23:28 Vastaanottaja: mapserver-users@lists.osgeo.org Kopio: Rahkonen Jukka Aihe: Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite Le mardi 30

[mapserver-users] Filter Point features from PostGIS Layer

2011-09-02 Thread kaipi
I have a PostGIS database with polygon, line and point features. I want to make a Mapserver layer, that only displays the point features. AFAIK without such filtering Mapserver would render in a Point-Type-Layer also the polygon features as points. How would a FILTER or EXPRESSION look like to

Re: [mapserver-users] Filter Point features from PostGIS Layer

2011-09-02 Thread Julien Cigar
couldn't you use WHERE ST_GeometryType(col) = ST_Point ? On 09/02/2011 13:50, kaipi wrote: I have a PostGIS database with polygon, line and point features. I want to make a Mapserver layer, that only displays the point features. AFAIK without such filtering Mapserver would render in a

[mapserver-users] Re: Import of KML

2011-09-02 Thread kaipi
You can do that with EXPRESSION and ANGLE. I am not sure if this works with KML - maybe you need to convert to shapefile before (eg. with ogr2ogr). LAYER NAME WINDS EXTENT -180 -90 180 90 TYPE POINT CONNECTIONTYPE ogr CONNECTION C:/MapData/maps/KML/wind1.kml DATA wind1

Re: [mapserver-users] Filter Point features from PostGIS Layer

2011-09-02 Thread Julien Cigar
On 09/02/2011 14:02, Julien Cigar wrote: couldn't you use WHERE ST_GeometryType(col) = ST_Point ? also note that to avoid a seqscan you should create an appropriate index: CREATE INDEX your_index ON your_table(ST_GeometryType(geom)) WHERE ST_GeometryType(geom) = 'ST_Point'; On 09/02/2011

[mapserver-users] RE: Import of KML

2011-09-02 Thread xander
Kaipi, Thanks - that's really helpful. The use of EXPRESSION([ATTRIBUTE_FIELD]] = '...') and ANGLE[ROTATION] will solve half of my problem. It looks like the other half is a GDAL/OGR issue, not Mapserver. The KML IconStyle element of a point appears to be ignored by ogr (and by ogr2ogr). I

[mapserver-users] Re: Filter Point features from PostGIS Layer

2011-09-02 Thread kaipi
Thanks Julien, FILTER ST_GeometryType(wkb_geometry) = 'ST_Point' seems to do the job !! -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Filter-Point-features-from-PostGIS-Layer-tp6753585p6753830.html Sent from the Mapserver - User mailing list archive at Nabble.com.

Re: [mapserver-users] IIS and mapfiles and also GDAL

2011-09-02 Thread Brent Fraser
Chris, I've used the Iconic Rewriter with older versions of IIS (the native rewriting capability in IIS7 looks interesting). You may be able to use an environment variable to set the default map file, but this may not be very useful if you have multiple map files. There are a few other

Re: [mapserver-users] IIS and mapfiles and also GDAL

2011-09-02 Thread Chris Jackson
Hi Brent Thanks for the quick answers, the new rewriting rules (with reverse proxy) have worked well with Tomcat on port 8080 - no more isapi dlls! What you listed for Mapnik is essentially like mine, what I am not sure is what other GDAL configuration is needed on the box - just an environment

Re: [mapserver-users] IIS and mapfiles and also GDAL

2011-09-02 Thread Brent Fraser
Chris, If you have a current version of Mapserver (v5,v6?), then should be GDAL compiled in. The GDAL library needs to find projection definition files so I usually include the following in all my map files: CONFIG PROJ_LIB \ms4w\proj\nad CONFIG GDAL_DATA \ms4w\gdaldata Another

[mapserver-users] Problem with mapfile FILTER and WFS non spatial filter

2011-09-02 Thread Francesco D'Alesio
Hello, I have a problem using a WFS filter on a non spatial attribute: when I use a WFS filter on a non-spatial attribute, it ignores the filter set in mapfile. This is the mapfile filter. FILTER lang_id='de' This is the WFS filter. ogc:Filter

Re: [mapserver-users] Re: Mapserver unnecessary slow with Spatialite

2011-09-02 Thread Even Rouault
conclusion: using the current implementation of ogr2ogr in order to create any SpatiaLite DB is a really hazardous option. I've already prepared several patches for OGR: and I hope to be able to release all them ASAP. yeah, I'm aware (actually Sandro let me know some time ago) that there