[MapServer-users] create a polygon via a URL
Hi Can I create a polygon using the Well-Known Text (WKT) format via a URL in this way ? ``` http:///cgi-bin/mapserv?map=&mode=edit&layers=&geometry=POLYGON((50 100, 51 100, 51 101, 50 101, 50 100))& ``` kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı ________ Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Creation of raster layer legend
Hi, Is creation of raster layer legend posible ?( with or without wms) Here is the layer part of my mapfile LAYER NAME deprem METADATA "wms_srs" "EPSG:3857 EPSG:4326 " "wms_name" "deprem" "wms_server_version" "1.1.1" "wms_format" "image/png" END TYPE RASTER ### required STATUS OFF DATA tr_dep2.tif PROCESSING "BANDS=1" PROJECTION "init=epsg:3857" END COMPOSITE OPACITY 70 END CLASS EXPRESSION ([pixel] >= 0 AND [pixel] < 0.85) STYLE COLORRANGE 255 237 160 189 0 38 DATARANGE 0.0 0.85 RANGEITEM "pixel" END END END regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] server geojson data as input to map file
Hi, My server(flask) publishes data as geojson. Can I get this data to mymapfile's Data as online? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı ____ Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] wcs2.0 with mask ??
Hi. Does mapserver-wcs2.0 work well with polygon masking ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] sending a polygon to wcs-mapserver for masking
Hi, How can I send a polygon to wcs-mapserver for masking through cgi/url ? I want to process polygon sent with wcs/wms. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Deprem Dairesi Başkanlığı Ahmet Temiz Geological Eng. Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Projection library error.
after I install mapserver binary version in ubuntu 19, I received proj related error message. shp2img msProcessProjection(): Projection library error. proj error "no arguments in initialization list" for "init=epsg:3857" here is the related code fragment: CONFIG "PROJ_LIB" "/usr/share/" CONFIG "MS_ERRORFILE" "/var/www/ms_map/ms_error.log" PROJECTION "init=epsg:3857" END regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] confused on WCS
Hi, I am highly confused on WCS. I need to get one band and its data. But I think I couldn't configure my map file properly: here are the relavant parts: OUTPUTFORMAT NAME GEOTIFF_32 DRIVER "GDAL/GTiff" MIMETYPE "image/tiff" IMAGEMODE FLOAT32 #IMAGEMODE BYTE EXTENSION "tif" END ... LAYER NAME ivm_gray METADATA "wcs_label" "ivnm" ### required "wcs_rangeset_name" "ivm" ### required to support DescribeCoverage request "wcs_rangeset_label" "ivm" ### required to support DescribeCoverage request "wcs_bandcount" "1" "wcs_enable_request" "*" END TYPE RASTER ### required STATUS ON DATA 'deptiled.tif' PROJECTION "init=epsg:3857" END # if you need only the data not to display CLASS EXPRESSION ([pixel] >= 0.0 AND [pixel] < 1.0) STYLE COLORRANGE 255 255 255 0 0 0 DATARANGE 0.0 1.0 RANGEITEM "pixel" END #STYLE END #end class END --- shp2img gives one band and data . It is ok But, qgis wcs three band and data is not available. How can I solve the problem? -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Wrong about cgi feature parameter
Thank you Steve for your detailed help. Actually I intended to create polygon using OpenLayers, then sending coordinates to mapserver as feature object. I am going to use this polygon feature as a mask to crop related portion of raster map. It was OK for simple rectangle polygon. Now, I am looking for a way for complex polygon which has so many points. Do you have any idea about whether I can assign a GeoJSON object for a feature in URL request ? Regards On Mon, Jul 31, 2017 at 10:41 PM, Lime, Steve D (MNIT) < steve.l...@state.mn.us> wrote: > I was able to get something very similar working, albeit via a straight > MapServer CGI call – didn’t try WMS. I noticed in your example you > reference two layers poor and polf, is that intended? > > > > Request: > > http://maps1.dnr.state.mn.us/cgi-bin/mapserv72?map=/usr/ > local/mapserver/apps/test/temiz/test.map&mode=map&layer= > polf&map_layer[polf]=FEATURE+POINTS+3559569+5042506+END+END > > > > Mapfile: > > MAP > > NAME 'ahmet temiz test mapfile' > > EXTENT 2857613.741389 4274927.875099 4989229.633477 5176940.449967 > > SIZE 400 300 > > > > SYMBOL > > NAME 'circle' > > TYPE ELLIPSE > > POINTS 1 1 END > > FILLED TRUE > > END > > > > LAYER > > NAME 'polf' > > TYPE POINT > > STATUS OFF > > CLASS > > STYLE COLOR 255 0 0 SYMBOL 'circle' SIZE 10 END > > END > > END > > END > > > > --Steve > > > > *From:* mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] *On > Behalf Of *Ahmet Temiz > *Sent:* Friday, July 28, 2017 11:12 PM > *To:* mapserver-users@lists.osgeo.org > *Subject:* [mapserver-users] Wrong about cgi feature parameter > > > > Hi, > > I want to create a feature dynamically for point layer. > > But,What am I doing wrong ? It must be about feature parameter. But I was > not able to solve it. > > This request generates nothing. > > > > curl --trace -i -g -X GET -H "Content-Type: image/png" " > http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/ > slptrRGB3857.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&Layers=poor > &map_layer[polf]=FEATURE+POINTS+3559569+5042506+END+ > END&STYLES=&SRS=EPSG:3857&BBOX=2857613.741389,4274927. > 875099,4989229.633477,5176940.449967&WIDTH=400&HEIGHT=300&FORMAT=image/png" > > out.png > > > > If you can help, I will appreciate. > > regards > > -- > > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Wrong about cgi feature parameter
Hi, I want to create a feature dynamically for point layer. But,What am I doing wrong ? It must be about feature parameter. But I was not able to solve it. This request generates nothing. curl --trace -i -g -X GET -H "Content-Type: image/png" " http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/slptrRGB3857.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&Layers=poor &map_layer[polf]=FEATURE+POINTS+3559569+5042506+END+END&STYLES=&SRS=EPSG:3857&BBOX=2857613.741389,4274927.875099,4989229.633477,5176940.449967&WIDTH=400&HEIGHT=300&FORMAT=image/png" > out.png If you can help, I will appreciate. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] confused on styling polygon
Hi, I think I am confused on styling polygon. I normally displayed the map without using symbol. When I used symbol. Nothing is displayed. here is the relevant code. STATUS OFF TYPE POLYGON OPACITY 80 CLASS STYLE SYMBOL "diagonal-auf2" COLOR 0 0 252 SIZE 10 WIDTH 5 END END SYMBOL NAME "diagonal-auf2" TYPE vector POINTS 0 0.8 0.2 1 1 0.2 0.8 0 0 0.8 END FILLED TRUE END What am I doing wrong? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] couldn't adapt this postgis query
hello I couldn't adapt this postgis query to mapserver. Nothing is displayed. it gives normally output as point data in console and displayed in JUMP. What am I doing wrong? NAME 'faultBufferRoad' TYPE POINT #DUMP true TEMPLATE fooOnlyForWMSGetFeatureInfo EXTENT 2858992.767241 4274930.071479 4987500.356728 5175507.464287 CONNECTIONTYPE POSTGIS CONNECTION "host=localhost port=5432 dbname=tr3 user=orkun password=22" DATA " geom from ( SELECT road.gid as gid , road.tipi as tipi, ST_Transform(ST_LineInterpolatePoint(road.the_geom::geometry,0.5),3857) as geom FROM road4analyse_geog as road INNER JOIN fault4analyse_geog AS fault ON ST_DWithin(road.the_geom, fault.the_geom, 100,false ) AND ( fault.the_geom IS NOT NULL or road.the_geom IS NOT NULL ) ) as foo using unique gid using srid=3857 " PROCESSING "CLOSE_CONNECTION=DEFER" METADATA 'ows_title' 'faultBufferRoad' END STATUS OFF #TRANSPARENCY ALPHA OPACITY 90 PROJECTION "init=epsg:3857" END #SYMBOLSCALEDENOM 10 CLASSITEM 'tipi' CLASS NAME "Class1" STYLE #SYMBOL "circle" SIZE 50 COLOR 0 0 200 END END END # LAYER regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Wms filter expressions with 'or'
Hi, Using cgi runtime substitution for filtering, how can I construct necessary expressions that has in Jeo="a" or Jeo="b" or Jeo="c" form for wms and also mapserver' is filter expression. Can you make any suggestions? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] grids are not drawn only within the layer extent
I want grids drawn only within the layer extent. But in my case , they are not. I do not understand why grids are drawn out of extent. I am expecting grids are confined to the extent. Otherwise labels disappear. here is the relevant part the code: EXTENT 35 25 43 45 # grids are supposed to be drawn within this rectangle TYPE LINE STATUS ON CLASS NAME "Graticule" COLOR 100 100 100 LABEL COLOR 255 0 0 FONT "FreeSans" TYPE truetype SIZE 10 POSITION AUTO #POSITION CC PARTIALS FALSE BUFFER 2 OUTLINECOLOR 255 255 255 FORCE TRUE END END PROJECTION "init=epsg:4326" END regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] seeing labels along with grid lines
hi, I just want to see labels along with grid lines. labels are displayed with shp2 I got. But Not in wms app. Do you have any idea about disappearance of labels LAYER NAME "grid3857" METADATA "DESCRIPTION" "Grid" END TYPE LINE STATUS ON CLASS NAME "Graticule" COLOR 0 0 0 LABEL COLOR 255 0 0 FONT "FreeSans" TYPE truetype SIZE 8 POSITION AUTOOr cc PARTIALS FALSE BUFFER 2 OUTLINECOLOR 255 255 255 END END PROJECTION "init=epsg:3857" END GRID LABELFORMAT '%.0fm' MININTERVAL 20 END END # Layer -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Labels vanish in grid layers
Hi, (Maybe hard to explain the problem) I am using GRID layer and retrieve this layer using WMS and constructed on OL3. Grids are displayed normally. But, Labels vanish. when I pan the map labels appear instantly and disappear again at the edges of the map. Is it possible to display the labels at the center of maps? Do you have any idea? here is the relevant part of the map file: LAYER NAME "grid3857" METADATA "DESCRIPTION" "Grid" END TYPE LINE STATUS ON CLASS NAME "Graticule" COLOR 0 0 0 LABEL COLOR 255 0 0 FONT "FreeSans" TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE BUFFER 2 OUTLINECOLOR 255 255 255 END END PROJECTION "init=epsg:3857" END GRID LABELFORMAT '%.0fm' MININTERVAL 20 END END # Layer Do you have any idea? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] (no subject)
Hi, (Maybe hard to explain the problem) I am using GRID layer and retrieve this layer using WMS and constructed on OL3. Grids are displayed normally. But, Labels vanish. when I pan the map labels appear instantly and disappear again at the edges of the map. Is it possible to display the labels at the center of maps? Do you have any idea? here is the relevant part of the map file: LAYER NAME "grid3857" METADATA "DESCRIPTION" "Grid" END TYPE LINE STATUS ON CLASS NAME "Graticule" COLOR 0 0 0 LABEL COLOR 255 0 0 FONT "FreeSans" TYPE truetype SIZE 8 POSITION AUTO PARTIALS FALSE BUFFER 2 OUTLINECOLOR 255 255 255 END END PROJECTION "init=epsg:3857" END GRID LABELFORMAT '%.0fm' MININTERVAL 200000 END END # Layer Do you have any idea? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] different stroke color for lines?
Thank you Lars. It looks OK now On Tue, Sep 6, 2016 at 11:43 AM, wrote: > Hi, > > Just add ANGLE 180 in the STYLE block and the arrows will change direction. > You could experiement with the ANCHORPOINT in the symbol also to get > different look and feel for the placement of the arrows. > > Have fun. > > Lars S. > - > STYLE ## Red arrows > COLOR 102 0 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET -10 -99 > ANGLE 180 > END > > STYLE ## Green arrows > COLOR 0 104 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET 10 -99 > ANGLE 180 > END # STYLE > > -- > -Originalmeddelande- > Från: "Ahmet Temiz" > Till: "Lars Schylberg" > Kopia: mapserver-users > Datum: 2016-09-06 09:37 > Ämne: Re: [mapserver-users] different stroke color for lines? > > > Thank you Lars, > > It was great. I tried it looks OK. > One thing more: > I need upper (red) arrow indicating right and lower indicating left. > I changed offsets and anchors but arrow directions did not change. > > How can I reverse the arrows' directions? > > regards > > On Mon, Sep 5, 2016 at 9:45 PM, wrote: > >> Ahmet, >> >> Here is an example: just run it with: shp2img -m arrow-on-line.map -o >> arrows-on-line.png >> It shows both outline and what You asked for the other day with arrows. >> >> Have fun >> >> Lars S. >> >> >> MAP # arrows-on-line.map >> IMAGETYPE png >> EXTENT 0 0 100 100 >> SIZE 250 280 >> IMAGECOLOR 225 225 225 >> >> SYMBOL >> NAME "arrow-start" >> TYPE vector >> FILLED true >> POINTS >> 0 0.4 >> 3 0.4 >> 3 0 >> 5 0.8 >> 3 1.6 >> 3 1.2 >> 0 1.2 >> 0 0.4 >> END # POINTS >> ANCHORPOINT 0 0.5 >> END >> >> LAYER # Line >> STATUS DEFAULT >> TYPE LINE >> FEATURE >> POINTS >> 20 80 >> 40 85 >> 60 85 >> 70 80 >> END # Points >> END >> CLASS ## Outline stroke >> STYLE >> COLOR 7 7 7 >> WIDTH 4.0 >> LINECAP ROUND >> LINEJOIN ROUND >> END >> STYLE ## Inner stroke >> COLOR 255 255 255 >> WIDTH 2.5 >> LINECAP BUTT >> LINEJOIN ROUND >> END >> >> STYLE ## Red arrows >> COLOR 102 0 0 >> SYMBOL "arrow-start" >> SIZE 10.0 >> INITIALGAP 15 >> GAP -50 >> OFFSET -10 -99 >> END >> >> STYLE ## Green arrows >> COLOR 0 104 0 >> SYMBOL "arrow-start" >> SIZE 10.0 >> INITIALGAP 15 >> GAP -50 >> OFFSET 10 -99 >> END # STYLE >> END # CLASS >> END # LAYER >> END # MAP >> >> >> -- >> -Originalmeddelande- >> Från: "Ahmet Temiz" >> Till: mapserver-users >> Datum: 2016-09-05 19:50 >> Ämne: [mapserver-users] different stroke color for lines? >> >> >> Hi, >> >> If Outlinecolor has no effect on lines, which function can be used to >> Give different stroke color for lines? >> >> Regards >> >> >> -- >> Ahmet Temiz >> Jeoloji Müh. >> Afet ve Acil Durum Yönetimi Başkanlığı >> Bilgi İşlem Dairesi Başkanlığı-CBS Grubu >> >> >> >> >> Ahmet Temiz >> Geological Eng. >> Information Systems - GIS Group >> Disaster and Emergency Management >> of Presidency >> >> -- >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> -- >> >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > > > > -- > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] different stroke color for lines?
Thank you Lars, It was great. I tried it looks OK. One thing more: I need upper (red) arrow indicating right and lower indicating left. I changed offsets and anchors but arrow directions did not change. How can I reverse the arrows' directions? regards On Mon, Sep 5, 2016 at 9:45 PM, wrote: > Ahmet, > > Here is an example: just run it with: shp2img -m arrow-on-line.map -o > arrows-on-line.png > It shows both outline and what You asked for the other day with arrows. > > Have fun > > Lars S. > > > MAP # arrows-on-line.map > IMAGETYPE png > EXTENT 0 0 100 100 > SIZE 250 280 > IMAGECOLOR 225 225 225 > > SYMBOL > NAME "arrow-start" > TYPE vector > FILLED true > POINTS > 0 0.4 > 3 0.4 > 3 0 > 5 0.8 > 3 1.6 > 3 1.2 > 0 1.2 > 0 0.4 > END # POINTS > ANCHORPOINT 0 0.5 > END > > LAYER # Line > STATUS DEFAULT > TYPE LINE > FEATURE > POINTS > 20 80 > 40 85 > 60 85 > 70 80 > END # Points > END > CLASS ## Outline stroke > STYLE > COLOR 7 7 7 > WIDTH 4.0 > LINECAP ROUND > LINEJOIN ROUND > END > STYLE ## Inner stroke > COLOR 255 255 255 > WIDTH 2.5 > LINECAP BUTT > LINEJOIN ROUND > END > > STYLE ## Red arrows > COLOR 102 0 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET -10 -99 > END > > STYLE ## Green arrows > COLOR 0 104 0 > SYMBOL "arrow-start" > SIZE 10.0 > INITIALGAP 15 > GAP -50 > OFFSET 10 -99 > END # STYLE > END # CLASS > END # LAYER > END # MAP > > > -- > -Originalmeddelande- > Från: "Ahmet Temiz" > Till: mapserver-users > Datum: 2016-09-05 19:50 > Ämne: [mapserver-users] different stroke color for lines? > > > Hi, > > If Outlinecolor has no effect on lines, which function can be used to Give > different stroke color for lines? > > Regards > > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > > ------ > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] different stroke color for lines?
Hi, If Outlinecolor has no effect on lines, which function can be used to Give different stroke color for lines? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] couldn't make my arrows symbols parallel to the lines
Hi, I have line layer. I couldn't make my arrows symbols parallel to the lines SYMBOL NAME 'fArrow' TYPE vector POINTS 4 1 3 0 -99 -99 4 1 3 2 -99 -99 4 1 0 1 END END STYLE COLOR 0 255 0 SYMBOL "fArrow" offset 5 5 SIZE 5.0 ANGLE AUTO GAP 200 END # STYLE Doesn't "ANGLE AUTO" make parallel to the line ? What am I doing wrong ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] line layer with arrows
Hi, Please give me an idea. I want to build a line layer with arrows on bottom and above with certain distance. Like this ---> __ < How can I do that? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] (no subject)
Hi, Please give me an idea. I want to build a line layer with arrows on bottom and above with certain distance. Like this ---> __ < How can I do that? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] geological symbols
Hi, I need to use geological symbols especially fault lines in mapserver. But I couldn't find them. Are they available somewhere ? Do you have any recommendations? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] problem in wms service
thank you , I noticed later I have missed specifying host in CONNECTION < CONNECTION "host=localhost Do you say map.extent is redundant code and BBOX is doing same ? regards On Tue, Aug 16, 2016 at 10:37 AM, Yves Jacolin wrote: > Ok, I suppose that your working test shows something in the picture? > > I suggest to enable log in your mapfile and check it after running again > your > not working example. > > "map.extent=2588830.423584977+4061255.6481961836+54 > 26172.9135307195+5382087.496964029" in your request should not be useful. > > Sorry no more idea here. Maybe the log will show you something weird. > > Y. > On Tuesday, August 16, 2016 10:20:43 Ahmet Temiz wrote: > > thank you > > > > it is png file. > > $display out.png returns blank image. > > > > On Tue, Aug 16, 2016 at 10:10 AM, Yves Jacolin < > yves.jaco...@camptocamp.com> > > wrote: > > > On Tuesday, August 16, 2016 10:07:40 Ahmet Temiz wrote: > > > > Hi, > > > > > > > > I am testing my wms, postgis layer it works with QUERY_STRING but not > > > > displays anything with curl and QGIS. > > > > > > > > ** It works > > > > > > > > mapserv -nh > > > > "QUERY_STRING=map=/var/www/ms_map/jeo.map&SERVICE=WMS& > > > > > > VERSION=1.1.1&REQUEST= > > > > > > > GetMap&map.extent=2588830.423584977+4061255.6481961836+ > > > > > > 5426172.9135307195+53 > > > > > > > 82087.496964029&LAYERS=jeo&STYLES=&SRS=EPSG:3857&BBOX= > > > > > > 2588830.423584977,4061 > > > > > > > 255.6481961836,5426172.9135307195,5382087.496964029& > > > > > > WIDTH=1160&HEIGHT=540&FO > > > > > > > RMAT=image/png" > > > > > > > > > out.png > > > > > > > > - > > > > ** it doesn't work > > > > > > > > curl --trace -i -X GET -H "Content-Type: image/png" " > > > > http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/ > > > > > > jeo.map&SERVICE=WMS&VER > > > > > > > SION=1.1.1&REQUEST=GetMap&map.extent=2588830.423584977+ > > > > > > 4061255.6481961836+54 > > > > > > > 26172.9135307195+5382087.496964029&LAYERS=jeo&STYLES=& > > > > > > SRS=EPSG:3857&BBOX=258 > > > > > > > 8830.423584977,4061255.6481961836,5426172.9135307195, > > > > > > 5382087.496964029&WIDTH > > > > > > > =1160&HEIGHT=540&FORMAT=image/png" > > > > > > > > > out.png > > > > > > > > Can you tell me what the likely reasons are? > > > > regards > > > > > > Hello, > > > > > > Does out.png is a png file or a text file with an error message in it? > If > > > so, > > > what is this message? If it is not a png file, is it the mapserv cgi > file? > > > > > > Y. > > > -- > > > Responsable Formation et Support > > > Camptocamp France SAS > > > Savoie Technolac, BP 352 > > > 73377 Le Bourget du Lac, Cedex > > > Tel (France) : +33 4 58 48 20 43 (new !) > > > Tel (Suisse) : +41 21 619 10 43 > > > Mob. : +33 6 18 75 42 21 > > > Fax : 04 79 70 15 81 > > > Mail : yves.jaco...@camptocamp.com > > > http://www.camptocamp.com > > -- > Responsable Formation et Support > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > Tel (France) : +33 4 58 48 20 43 (new !) > Tel (Suisse) : +41 21 619 10 43 > Mob. : +33 6 18 75 42 21 > Fax : 04 79 70 15 81 > Mail : yves.jaco...@camptocamp.com > http://www.camptocamp.com > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] problem in wms service
thank you it is png file. $display out.png returns blank image. On Tue, Aug 16, 2016 at 10:10 AM, Yves Jacolin wrote: > On Tuesday, August 16, 2016 10:07:40 Ahmet Temiz wrote: > > Hi, > > > > I am testing my wms, postgis layer it works with QUERY_STRING but not > > displays anything with curl and QGIS. > > > > ** It works > > > > mapserv -nh > > "QUERY_STRING=map=/var/www/ms_map/jeo.map&SERVICE=WMS& > VERSION=1.1.1&REQUEST= > > GetMap&map.extent=2588830.423584977+4061255.6481961836+ > 5426172.9135307195+53 > > 82087.496964029&LAYERS=jeo&STYLES=&SRS=EPSG:3857&BBOX= > 2588830.423584977,4061 > > 255.6481961836,5426172.9135307195,5382087.496964029& > WIDTH=1160&HEIGHT=540&FO > > RMAT=image/png" > > > out.png > > > > - > > ** it doesn't work > > > > curl --trace -i -X GET -H "Content-Type: image/png" " > > http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/ > jeo.map&SERVICE=WMS&VER > > SION=1.1.1&REQUEST=GetMap&map.extent=2588830.423584977+ > 4061255.6481961836+54 > > 26172.9135307195+5382087.496964029&LAYERS=jeo&STYLES=& > SRS=EPSG:3857&BBOX=258 > > 8830.423584977,4061255.6481961836,5426172.9135307195, > 5382087.496964029&WIDTH > > =1160&HEIGHT=540&FORMAT=image/png" > > > out.png > > > > Can you tell me what the likely reasons are? > > regards > > Hello, > > Does out.png is a png file or a text file with an error message in it? If > so, > what is this message? If it is not a png file, is it the mapserv cgi file? > > Y. > -- > Responsable Formation et Support > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > Tel (France) : +33 4 58 48 20 43 (new !) > Tel (Suisse) : +41 21 619 10 43 > Mob. : +33 6 18 75 42 21 > Fax : 04 79 70 15 81 > Mail : yves.jaco...@camptocamp.com > http://www.camptocamp.com > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] problem in wms service
Hi, I am testing my wms, postgis layer it works with QUERY_STRING but not displays anything with curl and QGIS. ** It works mapserv -nh "QUERY_STRING=map=/var/www/ms_map/jeo.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&map.extent=2588830.423584977+4061255.6481961836+5426172.9135307195+5382087.496964029&LAYERS=jeo&STYLES=&SRS=EPSG:3857&BBOX=2588830.423584977,4061255.6481961836,5426172.9135307195,5382087.496964029&WIDTH=1160&HEIGHT=540&FORMAT=image/png" > out.png - ** it doesn't work curl --trace -i -X GET -H "Content-Type: image/png" " http://localhost/cgi-bin/mapserv?map=/var/www/ms_map/jeo.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&map.extent=2588830.423584977+4061255.6481961836+5426172.9135307195+5382087.496964029&LAYERS=jeo&STYLES=&SRS=EPSG:3857&BBOX=2588830.423584977,4061255.6481961836,5426172.9135307195,5382087.496964029&WIDTH=1160&HEIGHT=540&FORMAT=image/png"; > out.png Can you tell me what the likely reasons are? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] elevation contours from dem (raster) Dynamically?
Hi, Is it possible to generate elevation contours from dem (raster) Dynamically? Please let me know Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Which Java for javamapscript
Hi, Which Java do you recommend for javamapscript? Open Java or oracle Java? Regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver-cgi displays nothing
Thank you all, But the problem still exists. complete layer portion in the map : LAYER NAME 'runtimeSubstitution' TYPE RASTER DUMP true METADATA "wms_title" "WMS Demo Server" "wms_onlineresource" " http://localhost/cgi-bin/mapserv?map=/var/www/trdem1.map&"; "wms_srs" "EPSG:3857" "WMS_ENABLE_REQUEST" "*" "wms_feature_info_mime_type" "text/html" "wms_format" "image/png" END PROCESSING "NODATA=0" PROCESSING "SCALE=AUTO" PROCESSING "CLOSE_CONNECTION=DEFER" EXTENT 2857613.741389 4274927.875099 4989786.191152 5176940.449967 DATA 'PG: dbname=tr22 host=localhost user=orkun password=22 port=5432 schema=public table=o_16_rdem3857 mode=2' STATUS ON OPACITY 50 VALIDATION 'yuk' '^[0-9]+$' END CLASS EXPRESSION ([pixel] >= %yuk% ) STYLE COLOR 255 0 0 END END #end class END # layer =trdem_4326 http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/trdem1.map&layer=runtimeSubstitution&yuk=500 On Tue, Jul 26, 2016 at 3:35 PM, Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi> wrote: > Hi > > Test systematically. If you test your validation with some service like > http://www.regexpal.com/ you will find that yuk=50 does not validate > because it has more than one number in the string. > Try to validate with ^[0-9]+$ > > And yes, variable must be enclosed between %%. That is well documented in > http://mapserver.org/cgi/runsub.html. > > -Jukka Rahkonen- > > > ____ > Lähettäjä: mapserver-users > käyttäjän puolestaYves Jacolin > Lähetetty: 26. heinäkuuta 2016 10:17 > Vastaanottaja: mapserver-users@lists.osgeo.org > Aihe: Re: [mapserver-users] mapserver-cgi displays nothing > > On Tuesday, July 26, 2016 10:12:58 Ahmet Temiz wrote: > > Our mapserver-cgi displays nothing. > > > > > http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/trdem1.map&layer=runt > > imeSubstitution&yuk=50 > > > > VALIDATION > > 'yuk' '^[0-9]$' > > END > > > > CLASS > > EXPRESSION ([pixel] >= 'yuk' ) > > STYLE COLOR 255 0 0 END > > END #end class > > > > What am I doing wrong? > > regards > Hello, > > You should probably use %: > >EXPRESSION ([pixel] >= '%yuk%' ) > > Y. > -- > Responsable Formation et Support > Camptocamp France SAS > Savoie Technolac, BP 352 > 73377 Le Bourget du Lac, Cedex > Tel (France) : +33 4 58 48 20 43 (new !) > Tel (Suisse) : +41 21 619 10 43 > Mob. : +33 6 18 75 42 21 > Fax : 04 79 70 15 81 > Mail : yves.jaco...@camptocamp.com > http://www.camptocamp.com > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapserver-cgi displays nothing
Thank you, I tried . But it did not work. I also checked the map without runtime substitution. as: CLASS EXPRESSION ([pixel] >= 100 ) STYLE COLOR 255 0 0 END END #end class it looks OK. On Tue, Jul 26, 2016 at 10:12 AM, Ahmet Temiz wrote: > Our mapserver-cgi displays nothing. > > > http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/trdem1.map&layer=runtimeSubstitution&yuk=50 > > VALIDATION > 'yuk' '^[0-9]$' > END > > CLASS > EXPRESSION ([pixel] >= 'yuk' ) > STYLE COLOR 255 0 0 END > END #end class > > What am I doing wrong? > regards > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapserver-cgi displays nothing
Our mapserver-cgi displays nothing. http://localhost/cgi-bin/mapserv?mode=map&map=/var/www/trdem1.map&layer=runtimeSubstitution&yuk=50 VALIDATION 'yuk' '^[0-9]$' END CLASS EXPRESSION ([pixel] >= 'yuk' ) STYLE COLOR 255 0 0 END END #end class What am I doing wrong? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapscript collapses
Hi, when I work with mapscript (java), I am getting this error message: jvm "fatal flex scanner internal error--end of buffer missed" I am using mapscript 7. Do you have any idea why this happens ? -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] two lines form one inside the other
How can I construct two lines form one inside the other - inner is thin and solid black - outer is thicker tranparentand white I will appreciate if you provide a hint regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] my mapscript generates blank map
with Following code, resulting map looks blank. classObj c1 = new classObj(jeo_layer); styleObj new_style = new styleObj(c1); colorObj color = new colorObj(200,0,0,20); new_style.setColor(color); c1.setName("Eosen"); c1.setExpression(" \"yas=Eosen\" "); c1.insertStyle(new_style, 0); jeo_layer.insertClass(c1, 0); jeo_layer.setStatus(1); imageObj img = map3857.draw(); byte[] bytes=img.getBytes(); --- can you tell me why ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] creating dynamic layer with mapscript fails
hi, I am struggling with creating dynamic layer with mapscript - java. But following code fails as " msPostGISLayerWhichShapes(): Query error ..." here is the relevant code: ( I am not sure which one is better to use "where clause " rather than setFilter to query. ) if ( ! items[i].contains("undefined")) { String f = "yas=" + "'" + yas[jeoId] + "'"; System.out.println("*** f *** "+f);// *** f >>>" yas='Eosen' " layerObj jeoLayer = new layerObj(map_yasSec3857); jeoLayer.setType(MS_LAYER_TYPE.MS_LAYER_POLYGON); jeoLayer.setName(items[i]); jeoLayer.setProjection("init=epsg:3857"); jeoLayer.setStatus(mapscript.MS_ON); jeoLayer.setConnectiontype(MS_CONNECTION_TYPE.MS_POSTGIS); jeoLayer.setConnection("dbname='tr22' host='localhost' port='5432' user='or' password='**'"); jeoLayer.setData("geom from (select gid,yas,geom " +" from sjeo_yas3857 where " + f +" ) as foo using unique gid using srid=3857"); jeoLayer.setProcessing("CLOSE_CONNECTION=DEFER"); System.out.println( " jeoLayer.getData "+ jeoLayer.getData()); ( it gives: >>> geom from (select gid,yas,geom from sjeo_yas3857 where yas='Eosen' ) as foo using unique gid using srid=3857 I checked it in console and works) classObj cl = new classObj(jeoLayer); styleObj style = new styleObj(cl); style.setSymbol(1); style.setColor( new colorObj(255,0,0,255) ); jeoLayer.setStatus(1); imageObj img = map_yasSec3857.draw(); jeoLayer.close(); img.save("/usr/local/map_yas.png",map_yasSec3857); img.delete(); bytes=img.getBytes(); } Can you say what the possible problem is ? kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] getting true wcs-dem value
hello I retrieve wcs-dem . curl --trace -i -H "Content-Type: application/image" -XGET " http://127.0.1.1/cgi-bin/mapserv?map=wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=dem&CRS=EPSG:4326&BBOX=35.670381,35.813051,44.81901235734796,42.106463&WIDTH=1600&HEIGHT=1066&FORMAT=GTiff"; > dem.tif But, it generates 3 bands without having any dem value as : (gdalinfo dem.tif) Band 1 Block=1600x1 Type=Byte, ColorInterp=Red Band 2 Block=1600x1 Type=Byte, ColorInterp=Green Band 3 Block=1600x1 Type=Byte, ColorInterp=Blue shp2img produce proper results : Band 1 Block=2707x3 Type=Byte, ColorInterp=Gray What am I doing possibly wrong ? What do I have to do to get raw wcs-dem value? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] my cgi app. doesn't work
hello, I put mapserv in "apache-tomcat-7.0.34/webapps/cgi-bin". Is it wrong ? my wcs newer worked. ( http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapserver_work/wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=jeo&CRS=EPSG:4326&BBOX=25.670,35.813,44.824,42.106&WIDTH=1600&HEIGHT=1066&FORMAT=GTiff ) Where is the proper place in which we have to put the "mapserv" for cgi app in Tomcat ? Are there any further configurations I have to do ? I will appreciate if you provide any idea. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] confused about wcs
Hello I am very confused about wcs-request. My work doesn't deliver any map image. Where am I doing wrong ? http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapserver_work/wcs1.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage&coverage=jeo&CRS=EPSG:4326&BBOX=25.670,35.813,44.824,42.106&WIDTH=1600&HEIGHT=1066&FORMAT=GTiff --- MAP NAME WCS_server STATUS ON DEBUG ON SIZE 2707 3360 PROJECTION "init=epsg:4326" END EXTENT 25.354 33.670 45.442 44.708 UNITS DD SHAPEPATH "/usr/local/webData/pyramids_jeo4326/0" CONFIG "MS_ERRORFILE" "/usr/local/webData/ms_error.txt" MAXSIZE 3361 OUTPUTFORMAT NAME GEOTIFF_16 DRIVER "GDAL/GTiff" MIMETYPE "image/tiff" IMAGEMODE INT16 EXTENSION "tif" END WEB IMAGEPATH "/usr/local/webData/pyramids_jeo4326/0" IMAGEURL "/ms_tmp/" TEMPLATE "template1.html" METADATA "wcs_label" "JeoMap WCS Demo Server" #"wcs_onlineresource" "http://localhost:8080/cgi-bin/mapserv?"; "wcs_onlineresource" " http://localhost:8080/cgi-bin/mapserv?map=/usr/local/mapserver_work/wcs1.map " "wcs_enable_request" "*" END END LAYER NAME jeo METADATA "wcs_label" "GMap WCS Demo Server" ### required "wcs_description" "Some text description of the service" "wcs_onlineresource" "http://127.0.0.1/cgi-bin/mapserv.exe?"; ### recommended "wcs_fees""none" "wcs_accessconstraints""none" "wcs_keywordlist" "wcs,test" "wcs_metadatalink_type""TC211" "wcs_metadatalink_format" "text/plain" "wcs_metadatalink_href""http://someurl.com"; "wcs_address" "124 Gilmour Street" "wcs_city" "Ottawa" "wcs_stateorprovince" "ON" "wcs_postcode" "90210" "wcs_country" "Canada" "wcs_contactelectronicmailaddress" "blah@blah" "wcs_contactperson" "me" "wcs_contactorganization" "unemployed" "wcs_contactposition" "manager" "wcs_contactvoicetelephone""613-555-1234" "wcs_contactfacimiletelephone" "613-555-1235" "wcs_service_onlineresource" "http://127.0.0.1/cgi-bin/mapserv.exe?"; "wcs_enable_request" "*" END TYPE RASTER STATUS ON DATA jeo88_1_1.tif PROJECTION "init=epsg:4326" END DUMP TRUE ## Required END END I will appreciate if you supply hints regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Fwd: pyramid usage in wcs mapfile
-- Forwarded message -- From: *Ahmet Temiz* Date: Tuesday, October 13, 2015 Subject: [mapserver-users] (no subject) To: mapserver-users Hello, I created tile/pyramid structure on my tif file using gdal_retile.py How can use it in my wcs-mapfile ? Regards Ahmet Temiz -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] (no subject)
Hello, I created tile/pyramid structure on my tif file using gdal_retile.py How can use it in my wcs-mapfile ? Regards Ahmet Temiz -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] mapscript(java) doesn't display any classified items
thank you Lime, I solved the problem On Wed, Sep 23, 2015 at 3:37 PM, Lime, Steve D (MNIT) < steve.l...@state.mn.us> wrote: > What does the rest of the layer definition look like? > > -- > *From:* mapserver-users-boun...@lists.osgeo.org [ > mapserver-users-boun...@lists.osgeo.org] on behalf of Ahmet Temiz [ > ahmettemi...@gmail.com] > *Sent:* Tuesday, September 22, 2015 2:21 PM > *To:* mapserver-users > *Subject:* [mapserver-users] mapscript(java) doesn't display any > classified items > > hello, > > I upgraded my mapserver6.0 to 7.0 > > my Following map file used to work in mapscript(java). > But now, mapscript(java) doesn't display any classified items. > > /// > ... > > CLASSITEM "YAS" > > CLASS > NAME "YAS = Alt - Orta Kambriyen" > EXPRESSION "Alt - Orta Kambriyen" >STYLE > > COLOR 181 83 219 >END > END > >... > -- > > Can you tell me what the likely reason might be ? > > regards > > > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] problem getting geojson data using mapscript
hello I want to get geojson data using mapscript(java) /WFS. I did: OWSRequest req = new OWSRequest(); req.setParameter( "SERVICE", "WFS" ); req.setParameter( "VERSION", "2.0.0" ); req.setParameter( "REQUEST", "GetFeature" ); req.setParameter( "OUTPUTFORMAT","geojson" ); mapscript.msIO_installStdoutToBuffer(); int owsResult = mapWFS.OWSDispatch( req ); now What did I have to do to get geojson object ? I will appreciate for any help regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapscript(java) doesn't display any classified items
hello, I upgraded my mapserver6.0 to 7.0 my Following map file used to work in mapscript(java). But now, mapscript(java) doesn't display any classified items. /// ... CLASSITEM "YAS" CLASS NAME "YAS = Alt - Orta Kambriyen" EXPRESSION "Alt - Orta Kambriyen" STYLE COLOR 181 83 219 END END ... -- Can you tell me what the likely reason might be ? regards Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapscript problem
hello When I upgrade mapserver rom 6.0 to 7.0. I encountered a new error in mapscrip-java: " Caused by: java.lang.UnknownError: loadLayer(): Unknown identifier. Annotation Layers have been removed. To obtain same functionality, use a layer with label->styles and no class->styles " Can you tell me how this happened ? How can I solve the problem ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] wfs mapscript error
hello, I tested my map file : " mapserv QUERY_STRING="map=geojson1.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=syol3&OUTPUTFORMAT=geojson" > test1.txt" it works. But when I use same map file in java-mapscript, it gives this error. " java.lang.UnknownError: msOWSDispatch(): WFS server error. SERVICE=WFS requested, but WFS support not configured in MapServer " my java related code : OWSRequest req= new OWSRequest(); req.setParameter("SERVICE", "WFS"); req.setParameter("VERSION", "1.0.0"); req.setParameter("REQUEST", "GetFeature"); req.setParameter("TYPENAME", "syol3"); req.setParameter("OUTPUTFORMAT","geojson"); Can you tell me what wrong I did ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] geojson response with mapscript
Hello, my mapp file produces geojson as output. but I couldn't get this geojson as response when I am using mapscript (java). How can I do that ? regards Ahmet Temiz -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] generating geojson data using mapscript-java.
hello, I want to generate geojson data using mapscript-java. I need an example map file outputting geojson. Any tips on generating JSON data would be greatly appreciated.. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] (no subject)
hello, I want to generate geojson data using mapscript-java. I need an example map file outputting geojson. Any tips on generating JSON data would be greatly appreciated.. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] db connection through Mapserver fails
hello My postgis raster db connection through Mapserver fails. here is the message coming from WildFly: db connection data PG: dbname=tr22 host=localhost user=orkun password=22 port=5432 schema=public table=o_4_trdem2where=" ST_Intersects(rast, ST_MakeEnvelope( 29.90 , 40.42 , 31.49 , 40.99, 4326 ))" mode=2 ERROR 1: PQconnectdb failed: FATAL: remaining connection slots are reserved for non-replication superuser connections Can you tell me why ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] on the fly projection
thank you all I was really a solution with (* powerful *) mapserver. On Mon, Jun 8, 2015 at 3:10 PM, Jeff McKenna wrote: > On 2015-06-08 6:08 AM, Ahmet Temiz wrote: > >> hello >> >> I am wondering if a map file enables us to on the fly projection. >> I have input raster data in epsg :4326 storing in postgis but output >> raster >> map should be in epsg:3857 as tif. >> >> >> > A nice explanation of projection use in MapServer can be found at: > http://www.mapserver.org/mapfile/projection.html Pay attention to the > "Important Notes" section of that page, which contains very useful tips. > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] on the fly projection
hello I am wondering if a map file enables us to on the fly projection. I have input raster data in epsg :4326 storing in postgis but output raster map should be in epsg:3857 as tif. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] java - mapscript -postgis - raster FAILS
Hello I am trying to retrieve postgis-raster layer. It fails. I tested data with: 1. shp2img debug 4 -m trdem1.map -l trdem_3857_ov10 -o odem22.tif ; display odem22.tif 2. gdalwarp 'PG: dbname=tr22 host=localhost user=orkun password=22 port=5432 schema=public table=o_10_trdem2_3857where=" ST_Intersects(rast, ST_MakeEnvelope( 3235971.7976 , 4950328.02287796 , 3255971.7976 , 4960328.02287796,3857 ))" mode=2 ' odem22.tif they look OK But in java side, mapscript fails. here is the related java-mapscript code. ~~ dem_layer = mapDem3857.getLayerByName("trdem_3857_ov8"); data="'PG: dbname=tr22 host=localhost user=orkun password=22 port=5432 schema=public table=o_8_trdem2_3857 "; data=data+ " where=\" ST_Intersects(rast, ST_MakeEnvelope( " ; String geo_data= String.valueOf(minx)+" , "+String.valueOf(miny)+" , "+String.valueOf(maxx)+" , "+String.valueOf(maxy) ; data=data+geo_data+",3857 ))\" mode=2 ' "; log.info(" *** data *** "+data); dem_layer.setData(data); dem_layer.setStatus(1); imageObj img = mapDem3857.draw(); byte[] bytes=img.getBytes(); img.save("/usr/local/dem8.tif", mapDem3857); log.info("mapDem3857 bytes "+ bytes.length); return bytes; ~~ What am I doing wrong ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] displaying postgis-DEM-raster
hello How can I display postgis-DEM-raster map that has wide range elevation data ? as :(DEM data) < Minimum=1.000, Maximum=5121.000, Mean=1133.750, StdDev=655.812 > Can you give me hints ? kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] to construct postgis raster in map file
With mapserver map file and postgis, I need to construct st_slope postgis raster and then display it with mapserver dynamically that is to say how can I operate following postgis expression in mapserver map file? WITH r AS ( -- union of filtered tiles SELECT 206 ST_Transform(ST_Union(srtm.rast), 3310) AS rast FROM srtm JOIN sfpoly sf stom extent SELECT ST_AsRaster(ST_Transform(sf.geom, 3310), r.rast) AS rast FROM sfpoly sf CROSS JOIN r )SELECT ST_Clip(ST_Slope(r.rast, 1, cx.rast), S T_Transform(sf.geom, 3310)) AS rast FROM r CROSS JOIN cx CROSS JOIN sfpoly sf; regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] overviews from Postgis-Raster
Thank you, Are overview tables constructed as different layers in mapserver's map file ? if so, I guess: according to zoom level, we choose overview layers or original full resolution map. Am I correct ? please let me know On Thu, May 7, 2015 at 3:18 PM, Jeff McKenna wrote: > On 2015-05-07 5:20 AM, Ahmet Temiz wrote: > >> hello >> >> Can you give me a hint about using overviews from Postgis-raster data >> store ? >> >> kind regards >> >> >> > > I use PG 9.4.1 with Postgis 2.1.7 on MS4W and Ubuntu, and when I load > raster data, to create overviews through the raster2pgsql utility I specify > the "-l" switch and a factor, such as "-l 2". That will produce an extra > table containing the overviews (if the regular table is "lidar", the > overview table will be named "o_2_lidar"). Then I can choose to show > either table in MapServer. If I want to show the overview table, I would > specify "table=0_2_lidar" inside my DATA statement in the mapfile. > > -jeff > > > -- > Jeff McKenna > MapServer Consulting and Training Services > http://www.gatewaygeomatics.com/ > > > > > > > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] overviews from Postgis-Raster
hello Can you give me a hint about using overviews from Postgis-raster data store ? kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] (no subject)
hello I just want to test outputformat geojson ? Is there any tool like shp2img to test geojson output ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] where clause doesn't work in DATA
Could you tell me what the wrong is about where clause DATA 'PG: dbname=tr2 host=localhost user=orkun password=22 port=5432 schema=public table="slp4_geo AS r, sformasyon22 AS g" where="ST_Intersects(r.rast, ST_SetSRID(g.geom,4326) ) AND g.yas LIKE \'%KUVATERNER%\' " mode=2' regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] problem in DATA expression
Hello I need to have queried raster data I want to integrate this query (sql) to DATA clause sql="select rc from ( select ST_Clip(r.rast,ST_SetSRID(g.geom,4326)) AS rc from slp4_GEO AS r , sformasyon22 AS g where ST_Intersects(ST_SetSRID(g.geom,4326) ,r.rast ) " here is my DATA expression DATA 'PG: dbname=tr2 host=localhost port=5432 user=orkun password=22 schema=public table=slp4_GEO mode=2' I will appreciate if you answer regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı ________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] two raster layers's intersection
hello My data is stored in Postgis. I need to display only two raster layers's intersection. how can I do that ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] sql clause in DATA
thank you can we do same things for raster map ? regards On Sat, Jul 13, 2013 at 12:41 PM, Ahmet Temiz wrote: > hello > > Is there any way to insert a sql query into a connection string as: > > DATA 'PG: dbname=tr2 host=localhost ... > > I want to manipulate ms - layer changing data line using java mapscript . > > > regards > > > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Planlama ve Zarar Azaltma Dairesi Başkanlığı > > > > > Ahmet Temiz > Geological Eng. > Information Systems - GIS Group > Disaster and Emergency Management > of Presidency > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] a class level opacity
hello Is there any way to realize a class level opacity ? something like: CLASS NAME "0" EXPRESSION ([pixel] == 0 ) TRANSPARENCY 50 # it gives wrong COLOR 0 0 0 END regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] sql clause in DATA
hello Is there any way to insert a sql query into a connection string as: DATA 'PG: dbname=tr2 host=localhost ... I want to manipulate ms - layer changing data line using java mapscript . regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] increase resolution programmatically
hello I was wondering how I could increase resolution (size) programmatically (in java or python). regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] java - mapscript, using hibernate-jpa2
Hello I would like to know your view. In java - mapscript, using hibernate-jpa2 is a good choice ? If you have any experiences in this respect, could you share your experiences ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] postgis - geomfromtext problem
hello I upgraded my postgis to 2.1.0. But this version of postgis doesn't accept "geomfromtext" (instead "ST_GeomFromText" only ) But: following mapserver - java related codes produce "geomfromtext" and then give error: jeoLayer1.setData("geom from (select gid,label,geom from sjeo_yas6) as foo using unique gid using srid=4326 "); String f = "label=" + "'" + yas + "'"; jeoLayer1.setFilter(f); msDrawMap(): Image handling error. Failed to draw layer named '(null)'.;msPostGISLayerWhichShapes(): Query error. Error (ERROR: function geomfromtext(unknown, integer) does not exist LINE 1: ...'hex') as geom,"gid" from sjeo_yas6 where geom && GeomFromTe... I compiled mapserver 6.0.1 what can I do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] setFilter with containing couple of ORs
hello I was wondering how we could build setFilter expression containing couple of ORs jeoLayer.setFilter( item1 OR item2 OR item3); regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation error
hello I am getting en error: ...mapstring.c:1775: undefined reference to `libiconv_close' collect2 : ld returned 1 exit status make: *** [shp2img] Error 1 what causes this problem ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] to filter legend object
hello Is there any way to filter legend object. I want display only some legend items that are within current extent. regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] conditional legend
hello I am using mapserver with java. I want to display my geological map's legend . But only legend of corresponding polygons ( rock formation ) within the current extent will be needed. Is it possible to create a legend programmaticaly confined with the extent I adjust. kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] make background tranparent
hello I have two questions. 1- How can I make the background tranparent in a map file ? 2- Te map I produced does not seem to be tranparent in spite of having lowered opacity to 20 Could you tell me why ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] cannot show "all" labels
hello I cannot show "all" labels. ıt displays some of them. what do I have to do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] resultCacheMemberObj class is missing
hello In my java - mapscript, resultCacheMemberObj class is missing. what might have happened ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] googleMap as a base layer
hello I was wondering if it was possible to integrate googlemap to mapserver a layer ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] diffferent map image size for different layer
hello I was wondering if I could use different map image size for different layer. Such as : layer1 size 600*400 layer2 size 1200*800 Is it possible ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] to get a layer that resides INCLUDE "*.map"
After INCLUDE "jeo.map" how can we get layer in jeo.map. I tried to get a layer that resides in jeo.map. But I couldn't jeolayer = new layerObj(map0); jeolayer = map0.getLayerByName("tr_jeo"); regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] mapscript - java exception
hello I am dealing with mapscript - java. I received this error message. Could you tell me what the reason might be ? regards Caused by: java.io.NotSerializableException: edu.umn.gis.mapscript.mapObj at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1676) -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] libpng latest version problematic
hello I have difficulty on compilation of ms 6.0 because of libpng. Is libpng's latest version (1.5) uncompatible with ms 6.0 ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilatin problem
I try to install mapserver 6 in ubuntu 11. l am using libpng12. I am getting this error message: ./libmapserver.a(mapimageio.o): In function `readPNG': /usr/local/mapserver/mapimageio.c:738: undefined reference to `png_set_longjmp_fn' collect2: ld returned 1 exit status what can I do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] confused about mapscript java configuration
Thank you Umberto , I did. It constructed libmapscript.so, and mapscript.jar. " make test" passes. But, "make threadtests" gave orkun@orkun-HP:~/data/mapserver-6.0.0/mapscript/java$ make threadtests javac -cp ./mapscript.jar -d tests/threadtest/ tests/threadtest/*.java tests/threadtest/MapThread.java:60: cannot find symbol symbol : method getFeature(int,int) location: class edu.umn.gis.mapscript.layerObj shapeObj shape=layer.getFeature(0,-1); ^ 1 error make: *** [threadtests] Error 1 how can I solve this problem ? regards 20 Mayıs 2011 10:15 tarihinde Umberto Nicoletti yazdı: > Ahmet, > you gave the wrong param to with-java-include-os-name and usually it is not > necessary to specify anything as it will correctly guess from the > environment. > Try this: > set JAVA_HOME to point to the jdk (NOTE: a full JDK is required, JRE is NOT > enough) > run ./configure (leave with-java-include-os-name out for now) > make > cd mapscript/java > make clean > make > HTH, > Umberto > 2011/5/19 ahmet temiz >> >> hello >> >> I think I am confused about mapscript java configuration >> >> I added my configuration file >> --with-java-include-os-name=$JAVA_HOME/include >> >> But It still cannot find "jni.h" >> >> I checked $JAVA_HOME: >> >> orkun@orkun-HP:~$ ls $JAVA_HOME/include/ >> classfile_constants.h jawt.h jdwpTransport.h jni.h jvmti.h linux >> // jni.h seems to exist. >> >> >> what might have caused the problem ? >> >> regards >> -- >> Ahmet Temiz >> Jeoloji Müh. >> Afet ve Acil Durum Yönetimi Başkanlığı >> Planlama ve Zarar Azaltma Dairesi Başkanlığı >> Bilgi ve CBS grubu >> Eskişehir Yolu 10. km. >> Lodumlu / Ankara >> Tel : 0 312 2872680 / 1535 >> >> >> Ahmet Temiz >> Geological Eng. >> Information Systems - GIS Group >> Disaster and Emergency Management >> of Presidency >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] confused about mapscript java configuration
hello I think I am confused about mapscript java configuration I added my configuration file --with-java-include-os-name=$JAVA_HOME/include But It still cannot find "jni.h" I checked $JAVA_HOME: orkun@orkun-HP:~$ ls $JAVA_HOME/include/ classfile_constants.h jawt.h jdwpTransport.h jni.h jvmti.h linux // jni.h seems to exist. what might have caused the problem ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation problem in java
hello I tried to compile ms 6.0 in java after changing java dir, mapscript_wrap.c:135: fatal error: jni.h: No such file or directory compilation terminated. make: *** [mapscript_so] Error 1 I checked jni.h: orkun@orkun-HP:~$ ls $JAVA_HOME/include/ classfile_constants.h jawt.h jdwpTransport.h jni.h jvmti.h linux // jni.h exists I put : export CPPFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux" The problem still remains. what could I do ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation error about shp2img
hello when I tried to compile UMN_Mapsever (6.0), I encountered this error: -undefined reference to `png_set_longjmp_fn'- collect2: ld returned 1 exit status make: *** [shp2img] Error 1 I am using ubuntu 10.1 How can I solve the problem ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation error
hello I tried to comple ms-6.0 in ubuntu 10.1 What might be the reason of this error. ./libmapserver.a(mapimageio.o): In function `savePalettePNG': /usr/local/mapserver-6.0.0/mapimageio.c:274: undefined reference to `png_set_longjmp_fn' ./libmapserver.a(mapimageio.o): In function `saveAsPNG': /usr/local/mapserver-6.0.0/mapimageio.c:461: undefined reference to `png_set_longjmp_fn' ./libmapserver.a(mapimageio.o): In function `readPNG': /usr/local/mapserver-6.0.0/mapimageio.c:738: undefined reference to `png_set_longjmp_fn' collect2: ld returned 1 exit status make: *** [shp2img] Error 1 kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ____ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] maven installation in Eclipse
Hello Is maven "Installation in Eclipse" available in Mapserver" ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ________ Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emergency Management of Presidency ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] need an urgent help about changing localhost
hello I need an urgent help. I am confused. Do I have to change localhost to a another host during production stage in map file ? CONNECTIONTYPE postgis CONNECTION "dbname='bzk2' host=localhost port=5432 user='orkun' password='22'" I will appreciate if you supply an explanation kind regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] webgis application is not opening
hello I used java-mapscript, tomcat, jsf. In production stage, my webgis application is going to localhost and finding nothing do I have to change something in my map file? such as do I have to change : ~~~ CONNECTIONTYPE postgis CONNECTION "dbname='bzk2' host=localhost ~~~ in first try it goes to localhost. only in second try it opens the page if you want to look at the page: "http://www.deprem.gov.tr:8080/pro1/bir.jsf"; -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] seamless data
hello As far as I know, one of the objectives of mapserver is seamless data transfer. Can anyone can tell me what "seamless" means in terms of WebGIS ? regards -- Ahmet Temiz Jeoloji Müh. Planlama ve Zarar Azaltma Dairesi Başkanlığı Bilgi ve CBS grubu Eskişehir Yolu 10. km. Lodumlu / Ankara Tel : 0 312 2872680 / 1535 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] syntax of setConnectionType for postgis
hello how should the syntax of setConnectionType for postgis in java-mapscript ? I have a confusion of this: jeolayer.setConnectionType(?, MS_POSTGIS); regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] change the color using updateFromstring
hello how can I change the color of this layer(line) using updateFromstring in a java program ? Layer.updateFromString(upstring); how is upstring is constructed to change its color LAYER NAME "es_yukseklik" LABELITEM "elev" DATA "/usr/local/hsunucu/scontour92" STATUS OFF TYPE LINE #LABELITEM "level" CLASS COLOR 199 199 199 LABEL POSITION auto #SIZE TINY SIZE MEDIUM #OUTLINECOLOR 247 234 168 COLOR 149 149 149 END END # end of yukseklik object END # end of es_yukseklik layer regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] compilation problem
thank you for your both mail I must have destroyed that library accidentally , when I tried to install gdal_1.7.2 ubuntu. Do you know where gdal_1.7.2 ubuntu package can be found ? regards 2010/7/13 Alan Boudreault : > Same problem, a library named libdf.so is missing. Find the package that > contains the file "libdf.so" and install it. On Ubuntu, it's libhdf4g-dev. > > Alan > > On July 13, 2010 08:29:19 am ahmet temiz wrote: >> hello >> >> when I tried to compile mapserver: >> >> I got this. >> >> /usr/bin/ld: cannot find -ldf >> collect2: ld returned 1 exit status >> make: *** [shp2img] Error 1 >> >> >> what might be the problem ? >> >> >> regards >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > > -- > Alan Boudreault > Mapgears > http://www.mapgears.com > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] compilation problem
hello when I tried to compile mapserver: I got this. /usr/bin/ld: cannot find -ldf collect2: ld returned 1 exit status make: *** [shp2img] Error 1 what might be the problem ? regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] cannot find -lmfhdf
hello when I tried to install mapserver from source I received: cannot find -lmfhdf how can I solve the problem ? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] changing projection of a "polygon"
thank you How we can do that in mapscript (Java) ? regards 2010/6/17 Jörg Thomsen : > hello, > > ahmet temiz wrote: >> >> hello >> >> I there any way to change projection of a "polygon" from UTM to >> geographic . >> >> something like from EPSG:32636 to EPSG:4326. > > yes. > > if you want to save the file with the new projection you might use > http://www.gdal.org/ogr2ogr.html > > If you are asking for a reprojection on-the-fly, mapserver can do it: > >> LAYER >> ... >> PROJECTION >> "init=epsg:32636" # projection of your src-data >> END >> METADATA >> "wms_srs" "EPSG:4326 EPSG:32636" # request am map in any of >> these proejctions >> ... >> END >> END > > > Jörg > > >> >> regards >> ___ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > -- > ~~~ > Aufwind durch Wissen! > > Qualifizierte Open Source Schulungen bei der > http://www.foss-akademie.de/ > ~~~ > > _ > > MapMedia > Kartographie und raumbezogene Informationssysteme > > Gillweg 3, 14193 Berlin > fon: +49 30 89 06 82-70 > fax: +49 30 89 09 53-21 > mail: j...@mapmedia.de > net: www.mapmedia.de > _ > > > > Geschäftsführer: G. v. Tschirnhaus, J. Thomsen, P. Stamm > Registergericht, Berlin - Amtsgericht Charlottenburg, > HRB 89625, Umsatzsteuer-Identnummer: DE 813794062 > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] changing projection of a "polygon"
hello I there any way to change projection of a "polygon" from UTM to geographic . something like from EPSG:32636 to EPSG:4326. regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] map.setProjection(xxx) nothing changed
hello I tried to change my current projection to epsg:4326. Nothing happened. String str_proj4="init=epsg:4326"; map0.setProjection(str_proj4); // nothing changed what wrong might I do ? kind regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] UTMmap.getSetting to EPSG:4326 values
hello I need a hint. My project is a java-mapscript application and I need to get geographic values of mapsetting which are actually in UTM Something like UTMmap.getSetting --> EPSG:4326 values. how can I do that ? regards Ahmet Temiz ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] coordinate transformation
hello Is there any class (java) which enables us to coordinate transformation of a point from UTM to geographic in mapserver ? regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] color has gone when I zoomed
hello I use an image as symbol in a class. But I noticed that its color has gone when I zoomed the map why might it happen ? regards ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] choosing region of interest using "referencemap"
Let me put it another way: I just want to set map extent from reference map using rectangle clip regards 2010/3/26 ahmet temiz : > Let me put it another way: > > I just want to set map extent from reference map using rectangle clip > > regards > > 2010/3/26 Cristiano Sumariva : >> What do you mean by region of interest? >> Want a highlight when a click happen over image ? >> >> 2010/3/26 ahmet temiz >>> >>> hello >>> >>> I was wondering how I could choose region of interest using "referencemap" >>> ? >>> >>> Could you give me a hint ? >>> >>> regards >>> ___ >>> mapserver-users mailing list >>> mapserver-users@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users