Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Bart van den Eijnden
Hi Steve, I did not (mean to) say the client does not send the correct language parameter to the server. The client (browser) is in control and will request the language needed. Your e-mail said the client needed to do the actual translation of e.g. layer names, and that's where I disagreed.

RE: [mapserver-users] GetFeatureInfo over OGR OCI Layer

2010-10-06 Thread David Alda Fernandez de Lezea
Sebastian, Thanks for your response. If I execute that line of code I get a confusing response. It seems that recognizes the table but there are som errors that make me think there is something wrong. C:\ms4w>ogrinfo OCI:admcarto/admca...@ora10gex GV_SIGPAC_REC_ED50 ERROR 1: ORA-04043: object

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Smith, Michael ERDC-CRREL-NH
Very nice Steve. This will always have to be driven by the client as its the client that initiates the connection and has the language info (and often you can not count on this, from what I've seen of the Swiss use of language discovery from clients). You just have to encode the lang the server di

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Stephen Woodbridge
On 10/6/2010 7:23 PM, Michael Smith wrote: I would do this on the backend. Pass a language variable to your data query DATA "geom from data where lang='%lang%'" LABELITEM "%LANG%HIGHWAY" And have one mapfile and just have your translations in PostGis/Oracle/etc. Mike Yeah, that is what I h

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Michael Smith
I would do this on the backend. Pass a language variable to your data query DATA "geom from data where lang='%lang%'" LABELITEM "%LANG%HIGHWAY" And have one mapfile and just have your translations in PostGis/Oracle/etc. Mike -- Michael Smith US Army Corps of Engineers Remote Sensing/GIS Cente

RE: [mapserver-users] How to display Labels from 1 table?

2010-10-06 Thread Lime, Steve D (DNR)
Michael's post was right on, study his example closely. You TEXT parameter is in the wrong place. There's no need to use a FEATURE object... Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of elisabe

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Bart van den Eijnden
Hi Steve, I have no real ideas towards a solution, like I said I use data duplication right now :-) . Normally a thesaurus would be used in between, but I don't know how viable it is to do this on the fly. Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please chec

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Stephen Woodbridge
On 10/6/2010 12:54 PM, Bart van den Eijnden wrote: I don't agree with you here Steve. Also look at the INSPIRE language parameter, it's up to the service (View Service, WMS) to translate, not the client. Think of layer titles in WMS GetCapabilities. The way I've been doing it is to duplicate my

Re: [mapserver-users] doubt about mapserver URL: coordinate system

2010-10-06 Thread Rahkonen Jukka
Hi, It looks like your application is calling Mapserver with native CGI requests and I believe you have defined some special Mapserver layer in your application. Try to change it to standard WMS layer. -Jukka Rahkonen- Sebastian E. Ovide wrote: Lähetetty: ke 6.10.2010 18:06 Vastaanottaja: m

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Bart van den Eijnden
I don't agree with you here Steve. Also look at the INSPIRE language parameter, it's up to the service (View Service, WMS) to translate, not the client. Think of layer titles in WMS GetCapabilities. The way I've been doing it is to duplicate my datasets behind Mapserver, but that's not an idea

Re: [mapserver-users] Re: mapserver and i18n

2010-10-06 Thread Stephen Woodbridge
On 10/6/2010 11:07 AM, teeschke wrote: Hi Jeff, Thanks a lot, but I don't mean the support of caracter encoding. I want to publish the same map in different languages. I mean the technology to publish the same content in multiple languages. E.g. an american user would see the layers named "hig

Re: [mapserver-users] How to display Labels from 1 table?

2010-10-06 Thread elisabeth theresia
Hi Mr. Michael, Thanks for replying, i already did what you suggested to me and i delete my layer about LABELITEMS (my coding in the bottom), but there's no labels appear in my map yet, why? then when i write like this: (coding) there was an error message : getString(): Symbol definition error

[mapserver-users] mapserv 5.6 faults on Windows Server 2003

2010-10-06 Thread Richard Greenwood
I'm getting a whole bunch of faults on a Windows 2003 server. The Event Viewer reports: faulting application mapserv.exe, version 0.0.0.0, faulting module libmap.dll, version 0.0.0.0, fault address 0x0002deaa. I'm running a plain vanilla ms4w_3.0_beta11. Tried both 5.6.3 and 5.6.5. It star

Re: [mapserver-users] GetFeatureInfo over OGR OCI Layer

2010-10-06 Thread Sebastian E. Ovide
does ogrinfo OCI:admcarto/admca...@ora10gex GV_SIGPAC_REC_ED50 work ? On Fri, Oct 1, 2010 at 12:25 PM, David Alda Fernandez de Lezea wrote: > Hi list, > > I'm trying to execute a GetFeatureInfo request over an Oracle layer via > OGR. I can view the content of the layer, but when I make the req

[mapserver-users] doubt about mapserver URL: coordinate system

2010-10-06 Thread Sebastian E. Ovide
Hi List I'm using OpenLayers + MapServer. With Firebug I see that OpenLayers calls MapServer with ULRs like this: http://mapserver/mapserver?layers=NAFRA_2008_final map=/home/gis/conf/mapserver/uk.map mode=map map_imagetype=png mapext=-374388.56527373+7296678.7179959+-374312.12824546+7296755.1550

[mapserver-users] Re: mapserver and i18n

2010-10-06 Thread teeschke
Hi Jeff, Thanks a lot, but I don't mean the support of caracter encoding. I want to publish the same map in different languages. I mean the technology to publish the same content in multiple languages. E.g. an american user would see the layers named "highways" and "railways" but a user from f

Re: [mapserver-users] mapserver and i18n

2010-10-06 Thread Jeff McKenna
On 10-10-06 11:46 AM, teeschke wrote: Hi List, does anybody managed the internationalization with UMN? Currently we have the racy idea to provide one mapfile for each language. The differences are clear: - title of the map - title of the layers - name of the classes. - every gml_SOMEATTRIBUTE_a

[mapserver-users] mapserver and i18n

2010-10-06 Thread teeschke
Hi List, does anybody managed the internationalization with UMN? Currently we have the racy idea to provide one mapfile for each language. The differences are clear: - title of the map - title of the layers - name of the classes. - every gml_SOMEATTRIBUTE_alias CartoMap seems to support i18n wi

Re: [mapserver-users] How to display Labels from 1 table?

2010-10-06 Thread Michael Schulz
Hi Theresia, you can do it via the TEXT keyword in the CLASS section of a layer: http://www.mapserver.org/mapfile/class.html e.g. like this:       CLASS         LABEL         COLOR 0 0 0          TYPE Truetype         FONT Arial         SIZE 11          MINSIZE 8          ANGLE A

[mapserver-users] How to display Labels from 1 table?

2010-10-06 Thread elisabeth theresia
Hello Mapserver experts, I have question in my mind, How to display Labels from 1 table in my database (Postgre + Postgis)? in this table there are fields of : name_region, values_1, values_2, How to appear them? Could Mapserver make it? I ask this question, because I want to show the differen

Re: [mapserver-users] Expressions

2010-10-06 Thread ibrahim saricicek
Hi List, Thanks, that works. But *this doesn't* and I need something like in the Class definitions below. What should I do in this condition? Is it about this; http://trac.osgeo.org/mapserver/ticket/2817 Using ms4w 5.4.0-rc2. CLASSITEM "name" CLASS EXPRESSION ([id] = 5)