Re: [mapserver-users] Customized layer for Mapserver/Kamap

2008-05-15 Thread Emilio Ponce
Thank you very much Florin! This code is very useful, is not exactly what I needs but gives me orientation about how to implement my mapfile. 2008/5/14 Florin A. [EMAIL PROTECTED]: Hi, In your mapfile you define the layers and the colors. See example below. If you have an SRID

Re: [mapserver-users] Customized layer for Mapserver/Kamap

2008-05-13 Thread Emilio Ponce
a circle at their lat/long ? On Mon, May 12, 2008 at 4:20 PM, Emilio Ponce [EMAIL PROTECTED] wrote: Hi everyone, I'm working with mapserver using ka-map. Now I'm trying to create a new layer over the others using alphanumeric data, and I was wondering what's the best method. My idea

[mapserver-users] Customized layer for Mapserver/Kamap

2008-05-12 Thread Emilio Ponce
Hi everyone, I'm working with mapserver using ka-map. Now I'm trying to create a new layer over the others using alphanumeric data, and I was wondering what's the best method. My idea is to represent this data with a colour gradient. For example if the data are like this: City

Re: [mapserver-users] One layer filled with 3 colors

2008-04-22 Thread Emilio Ponce
manually. It can be useful because every column has different options. Thank you guys, 2008/4/22 Emilio Ponce [EMAIL PROTECTED]: Thanks Stephen! I've found the solution with your idea, is very similar to your code: LAYER ... DATA the_geom from car_marccata

Re: [MAPSERVER-USERS] ASCII - UTF-8 convert problems for importing (GIS) data

2008-04-21 Thread Emilio Ponce
I had the same problem, to convert Charset you can use this option of the Shp2pgsql tool shp2pgsql shapefile_name table_name | iconv -f LATIN1 -t UTF-8 | psql -d db_name It converts the charset of the shapefile from LATIN1 to UTF-8 2008/4/21 rich.fromm [EMAIL PROTECTED]: Stefan Schwarzer

[mapserver-users] Connecting to PostGIS only one time for all the layers

2008-04-21 Thread Emilio Ponce
I want to connect only one time to a PostGIS database, in order to improve the efficiency of my mapfile. Now I'm connecting in every layer with this lines: CONNECTIONTYPE postgis CONNECTION host= ... DATA the_geom from comarcas Is there a way to do this only one time in all the mapfile using

[mapserver-users] Mapserver + Openlayers legend problem

2008-04-14 Thread Emilio Ponce
Hi everyone, I'm beggining with mapserver + openlayers. The problem is that I cannot show a legend of my layers, because if I use the 'LEGEND keyword' into the mapfile, the legend is shown on every tile of the openlayers's map. I've found the same problem for the SCALEBAR. The definition of the

[mapserver-users] Mapserver + JSP/Java Web application

2008-04-11 Thread Emilio Ponce
Hi guys, I'm looking for your experimented opinion about one question: What's the best way to connect an application developed in Java/Jsp with mapserver? I have java vectors with alphanumeric info (integers,floats,strings) that I want to represent in a mapserver map (inside a layer Above the

[mapserver-users] Coding/Charset problem in mapfile definition

2008-04-07 Thread Emilio Ponce
Hi Everyone, I have a coding problem rendering a label with my mapfile (it extracts the information from a PostGIS database coded as UTF-8). The text is in catalan so has special characters as: ó à ü ç ... I asked here and some users gave me very useful information, and now this is the

[mapserver-users] Characters codification problem in mapserver/postgis

2008-04-03 Thread Emilio Ponce
Hi everyone! Recently I've done a simple mapfile (mapserver) that gets a postgis table and represents it. The problem is about the codification: The Postgis database is coded as UTF8 and when I represent a varchar column with mapserver the accents and especial characters are wrong. What can I do?