[mapserver-users] SQL Server 2008 and WFS Service

2010-07-23 Thread geographika
Hi, Has anyone successfully created a WFS service using the SQL Server 2008 plug in? I followed the steps at http://mapserver.org/ogc/wfs_server.html, and get no errors when running a SERVICE=WFS&VERSION=1.0.0&REQUEST=getcapabilities request. However when trying to retrieve the features u

Re: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Stephen Woodbridge
Johan, Your wording would be better and maybe Jeff can address this and some of the other comments in this thread to improve the documentation. Jeff, Another common misunderstanding that people seem to have is that the order of the classes controls the order of the drawing of features in th

RE: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Lime, Steve D (DNR)
Like I said, perhaps not the best explanation... -Original Message- From: Johan Forsman [mailto:johan.fors...@la.gov] Sent: Friday, July 23, 2010 12:46 PM To: Lime, Steve D (DNR); Jeff McKenna; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] RE: CLASS EXPRESSION regex help

RE: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Johan Forsman
Hmm, at the substantial risk of sounding obtuse I must confess that when I read that sentence I see "all features", not "all features except the ones that have a defined class membership" or "all remaining features". If MapServer excludes any defined class memberships from the default class and

Re: [mapserver-users] [Info] S-57 nautical map on MapServer

2010-07-23 Thread Oliver Wesp
We did similar work for IENC Data (inland water) in Germany. Have a look at http://wsvmapserv.wsv.bund.de/wms_ienc?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1 We're reading S-57 .000 files direct through the OGR Library as Jeff suggested. We also used scripts for generating tile indexes th

RE: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Lime, Steve D (DNR)
>From the class.html file under the EXPRESSION property: "Four types of expressions are now supported to define class membership. String comparisons, regular expressions, simple logical expressions, and string functions. If no expression is given, then all features are said to belong to this cl

Re: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Jeff McKenna
Are all of these tricks discussed here documented somewhere? -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ Lime, Steve D (DNR) wrote: If all of your classes have expressions then there is no default and some features will not be drawn.

[mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Lime, Steve D (DNR)
If all of your classes have expressions then there is no default and some features will not be drawn. You kinda get the best of both worlds with this approach... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On B

Re: [mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Stephen Woodbridge
Johan Forsman wrote: Thanks Steve, that appears to work! I did not realize MapServer would on its own accord exclude the already CLASSified records from the second CLASS unless I explicitly instructed it what to exclude. I presumed it would just draw them again together with the rest. Nice! Yo

Re: [mapserver-users] Fast-CGI mode on Ubuntu

2010-07-23 Thread Frank Warmerdam
Jeff Dege wrote: I'm running MapServer version 5.6.1 on Ubuntu 10.04, using the default configuration as created by the Ubuntu repository packages. According to "mapserv -v", the executable is compiled to support fast-CGI mode. That doesn't mean it's configured to support it. Can anyone

[mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Johan Forsman
Thanks Steve, that appears to work! I did not realize MapServer would on its own accord exclude the already CLASSified records from the second CLASS unless I explicitly instructed it what to exclude. I presumed it would just draw them again together with the rest. Nice! Thanks! Now back to mo

Re: [mapserver-users] Fast-CGI mode on Ubuntu

2010-07-23 Thread Alan Boudreault
http://mapserver.org/optimization/fastcgi.html Alan On July 23, 2010 11:35:22 am Jeff Dege wrote: > I'm running MapServer version 5.6.1 on Ubuntu 10.04, using the default > configuration as created by the Ubuntu repository packages. According to > "mapserv -v", the executable is compiled to su

RE: [mapserver-users] CLASS EXPRESSION regex help?

2010-07-23 Thread Johan Forsman
Hi Steve, and thanks for the reply. I was under the impression that the CLASS expression did not support SQL-type syntax, that only the FILTER expression did? I had originally tried using EXPRESSION "orgid NOT LIKE 'LADE%'" and although no errors are indicated, no records are returned either.

[mapserver-users] Fast-CGI mode on Ubuntu

2010-07-23 Thread Jeff Dege
I'm running MapServer version 5.6.1 on Ubuntu 10.04, using the default configuration as created by the Ubuntu repository packages. According to "mapserv -v", the executable is compiled to support fast-CGI mode. That doesn't mean it's configured to support it. Can anyone tell me whether the de

[mapserver-users] RE: CLASS EXPRESSION regex help?

2010-07-23 Thread Lime, Steve D (DNR)
Hi Johan: Are you looking for just two classes, one for records that start with "LADE" and another for everything else? If so you can just omit the expression from the second class and it will function as a default class so everything that doesn't match the first will be assigned the second. It'

Re: [mapserver-users] CLASS EXPRESSION regex help?

2010-07-23 Thread Steve Grey
Johan, You are having success looking for records that match a pattern starting with 'LADE' - similar to using 'LIKE' - but are getting stuck looking for records matching a pattern that doesn't start with 'LADE'. Try an approach along the lines of NOT LIKE. Steve On 23 July 2010 15:20, Johan

[mapserver-users] RE: mapserver-users Digest, Vol 30, Issue 48

2010-07-23 Thread Gibb, Jack
r the Act. Any material supplied to > NERC may be stored in an electronic records management system. > > -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100723/c0699ffd/attachment-0001.html ---

[mapserver-users] CLASS EXPRESSION regex help?

2010-07-23 Thread Johan Forsman
All: Regex neophyte, using MS 5.4.2 in FGS on Ubuntu Server 9.10, I wish to render two classes based on content in a PostGIS field. For the first CLASS I want all records that start with "LADE", and using NAME "LADE" EXPRESSION /^LADE.*/ appears to return the expected records. However, for th

Re: [mapserver-users] [Info] S-57 nautical map on MapServer

2010-07-23 Thread Jeff McKenna
I may have missed this in your explanation, but for the record MapServer can read and display S-57 data in its raw format, through the OGR library (CONNECTIONTYPE OGR)...meaning no conversion is necessary. And a shameful plug: in our upcoming MapServer workshop at FOSS4G in Barcelona we will d

[mapserver-users] [Info] S-57 nautical map on MapServer

2010-07-23 Thread easyl
Since several months I was looking for an good example or tutorial for rendering S-57 nautical charts on MapServer. After searching without any success I tried to build up my first map with limit knowledge. IMO, the most hardest part is how to render them with S-52 style standard. (The project h

Re: [mapserver-users] 24 bit PNG transparent symbols

2010-07-23 Thread Toni Pignataro
Hello list, Did any one solve this or have an idea, you Davide? I am having exactly the same problem, i am not getting the png image transparent. I know to use the OPACITY, but this gives tranparency to the whole layer and is not what i need. What i want is to set the color red in an png symbol

Re: [mapserver-users] Reg:- Connecting Mapserver with Oracle Spatial using asp.net

2010-07-23 Thread Jeff McKenna
Hello, You are trying to connect directly from MapServer to OracleSpatial, so you must compile MapServer with OracleSpatial support; to verify that you have done this correctly, at the commandline execute "mapserv -v" and look for "INPUT=ORACLESPATIAL" in the response. -jeff -- Jeff McKenn

Re: [mapserver-users] Reg:- Connecting Mapserver with Oracle Spatialusing asp.net

2010-07-23 Thread Rahkonen Jukka
Hi, Most probably the message you see is telling it all: your Mapserver version does not support Oracle. If you work with Windows the MS4W comes with Oracle support but it must be activated first by following the instructions which come with the delivery. I would also suggest reading at least t

[mapserver-users] Reg:- Connecting Mapserver with Oracle Spatial using asp.net

2010-07-23 Thread venkat
Dear All, I would like to connect Mapserver with Oracle 10g Spatial .,when i try to connect using Oracle spatial I am getting error "Oracle Spatial is not supported". Please let me know...Where I am doing wrong.I am waiting for your great response. Here is my mapfile code. LAYER NAME

Re: [mapserver-users] Re: Rendering Problem

2010-07-23 Thread ibrahim saricicek
Hi All, Yes the same.. And also tried several fonts, including monospaced fonts.. Ragards.. On Fri, Jul 23, 2010 at 12:03 PM, Gilbertson, Paul wrote: > Ibrahim, > > Have you checked that the font files are the same on both machines? > > Regards, > Paul Gilbertson > > > -Original Message--

[mapserver-users] Re: Rendering Problem

2010-07-23 Thread Ibrahim Saricicek
Hi all, I couldn't still find a way to solve the problem discussed on; http://osgeo-org.1803224.n2.nabble.com/Rendering-Problem-td5069072.html#a5098281. Waiting for any advice.. Thanks in advence.. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Rendering-Problem-tp5069