[mapserver-users] grid in utm format

2009-06-03 Thread orkun
Hello I couldn't manage GRID layer and graticules in UTM projection. After zooming, format of graticule labels is having a unwanted looks like xe+xx. I would like to see it as xx.xx format. how can I do this ? regards -- Ahmet Temiz Jeo. Müh. Afet İşleri Gen. Md.lüğü Deprem Ar. D. Ahmet

[mapserver-users] my grid layer doesn't work properly

2009-06-01 Thread orkun
hello my grid layer doesn't work properly. Although at first it looks ok, when I zoom my map, Graticules (in UTM ) lost its format. It looks in scientific format. how can I correct this situation ? here is a part of my map ? LAYER NAME GRID TRANSPARENCY 10 PROJECTION 'proj=utm'

[mapserver-users] Grid label format is lost

2009-05-06 Thread orkun
hello Grid label format is being lost when I zoom my map. It changes from %7.3f to scientific notation. I want it stay in %7.3f. How can I do this ? I am working on java-mapscript. regards -- Ahmet Temiz Jeo. Müh. Afet İşleri Gen. Md.lüğü Deprem Ar. D. Ahmet Temiz Geo. Eng. General Dir. of

[mapserver-users] problem with zoomRectangle

2009-05-04 Thread orkun
hello I am working on java-mapscript I have a problem with zoomRectangle: here it is rect_left: 377.000 rect_top: 120.000 rect_width: 52 rect_height: 36 rectObj rect_img=new rectObj(rect_left,500-(rect_top+rect_height), rect_left+rect_width,500-rect_top,0) ; // 500 map dimensions

[mapserver-users] pooled connection

2009-02-20 Thread orkun
hello with java-mapscript, I was wondering if it was possible to do pooled connection to postgresql/postgis database in tomcat server. regards -- Ahmet Temiz Jeo. Müh. Afet İşleri Gen. Md.lüğü Deprem Ar. D. Ahmet Temiz Geo. Eng. General Dir. of Disaster Affairs TURKEY -- This message

[mapserver-users] getting value non-geometry column from postgis db

2008-07-21 Thread orkun
I want retrive data from postgis layer. When I look the examples, I see mapserver layer renders geometry column like DATA the_geom FROM roads . What if I intend to get ID value with geo column of the same table. DATA the_geom FROM roads what if DATA the_geom,ID FROM roads ?? regards --

[mapserver-users] confused about pulling data from postgis

2008-07-21 Thread orkun
hello I am confused about pulling data from postgis layer. In addition to wkb_geometry, I also want to get ogc_fid using querybypoint. I am using this line in my map file. I am getting wkb_geometry but not ogc_fid DATA wkb_geometry FROM (select ogc_fid,wkb_geometry,cat from sheydene2) as foo

[mapserver-users] cannot get data from postgis by querybypoint

2008-07-20 Thread orkun
hello My postgis layer creates map properly. I think it means database runs normally and any errors are not seen postgre's log file. I have adjusted tcp listening to all. But, I cannot get data from it by querybypoint, although I followed same procedure to shape file layer from which I can get

Re: [mapserver-users] cannot reach postgis database

2008-07-19 Thread orkun
port to PostGIS connection settings? -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: orkun Lähetetty: pe 18.7.2008 13:15 Vastaanottaja: mapserver Aihe: [mapserver-users] cannot reach postgis database hello I cannot reach postgis

[mapserver-users] cannot reach postgis database

2008-07-18 Thread orkun
hello I cannot reach postgis database. Using apache , what should I do about connection parameters. How can I make connection succesful ? Here is the map file fragment I tried : LAYER #layer hey postgis CONNECTIONTYPE postgis NAME hey CONNECTION user=orkun password=22 dbname=bzk2

[mapserver-users] Java Mapscript shapeObj problem

2008-07-14 Thread orkun
according to documentation (Building and using Java Mapscript) shapeObj shape = new shapeObj(layer.getType()); But it doesn't return to shapeObj type shapeObj shape = new shapeObj(jeolayer.getType().swigValue()); returns to shapeObj type. Bu I am not sure it is correct implementation. what

[mapserver-users] java mapscript shape.getValue gives nothing

2008-07-14 Thread orkun
shape.getIndex() # I get this value as 9 that corresponds to correct record number ID But for (int z=0;z=shape.getNumvalues();z++) { String VAL=shape.getValue(z); this gives nothing } I have included

[mapserver-users] couldn't find mapscript.MS_SUCCESS

2008-07-12 Thread orkun
hello I am using java mapscript. I couldn't find anything in my library as mapscript.MS_SUCCESS Is compilation error likely ? regards -- Ahmet Temiz Jeo. Müh. Afet İşleri Gen. Md.lüğü Deprem Ar. D. Ahmet Temiz Geo. Eng. General Dir. of Disaster Affairs -- This message has been scanned

[mapserver-users] java mapscript - couldn't manage queryByPoint

2008-07-10 Thread orkun
hello I couldn't manage queryByPoint function in java mapscript here is the code I have tried : double tolerance = map1.getWidth()/100; //we use this tolerance if (jeolayer.queryByPoint(map1, pt1, mapscript.MS_SINGLE ,tolerance )== 1) { resultCacheObj qresult =

[mapserver-users] confused on java mapscript

2008-07-09 Thread orkun
hello I am confused on java mapscript QueryByPoint example which resides in the mapserver official site Building and using Java Mapscript. which class do I have to import for this ? Map aResult = getResult(shape, layer); # gives incompatible types regards -- Ahmet Temiz Jeo. Müh. Afet