Re: [mapserver-users] changing projection of a "polygon"

2010-06-17 Thread ahmet temiz
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] Ka-Map display issues

2010-06-17 Thread Henryk

Hello, 

I am trying to create a slippy map using ka-map and a few datasets I am
holding locally. 
I have installed mapserver and ka-maps using the ms4w package, but am unable
to display any mapfiles I have created. I've tested these by creating pngs
from the mapfiles and they work fine. 
When I point my browser at Ka-map however, the shell appears with all the
tools (pan, zoom etc) along with the name of the map, but there is no image.
When I change the bg color in the mapfile, the browser display changes
accordingly. 

When I check the Apache error log I see this message: 

[error] PHP Warning:  Division by zero in
D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\tile.php on line 231, referer:
http://localhost/kamap/
[error] PHP Warning:  Division by zero in
D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\tile.php on line 232, referer:
http://localhost/kamap/
[error] PHP Fatal error:  [MapServer Error]: setExtent(): Given map extent
is invalid. Check that it is in the form: minx, miny, maxx, maxy, referer:
http://localhost/kamap/
[error] PHP Warning:  readfile(D:\\ms4w\\apps\\ka-map-1.0\\htdocs): failed
to open stream: Permission denied in
D:\\ms4w\\apps\\ka-map-1.0\\htdocs\\keymap.php on line 88, referer:
http://localhost/kamap/



I'm a newbie at most of this, but any help would be greatly appreciated. 

H
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Ka-Map-display-issues-tp5193584p5193584.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MySQL data

2010-06-17 Thread Kent Morrison
I have data stored in MySQL. When I configure the map file to pull from a small 
subset of the data, tiles are generated correctly. If I change the map file to 
point to the larger master table, map server returns "CGI Timeout". I dont't 
really want to breakdown the master data table into hundreds of smaller tables. 
I need additional informaiton and/or suggestions on how to get mapserver to 
work with millions of rows of data in MySQL.

Kent W. Morrison
Software Development Manager
Advanced Tracking Technologies, Inc.
6001 Savoy, Suite 600, Houston Texas 77036
(W) 713-353-6065 (C) 832-434-8175


___
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"

2010-06-17 Thread 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] changing projection of a "polygon"

2010-06-17 Thread ahmet temiz
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] Re: Postgis Function in a Wfs Map File Problem

2010-06-17 Thread Ibrahim Saricicek

Hi all,

I've updated my post. Now I have a different error.

Regards..
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Postgis-Function-in-a-Wfs-Map-File-Problem-tp5186640p5190953.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapscript zoom Rectangle

2010-06-17 Thread Waberzeck, Thomas
Hi,
I've got an application which is using Mapscript. If I use the zoomRectangle 
Method, I'm missing some parts of the selected area if the ratio of the 
selection doesn't match the ratio of the map.

Kind regards


Thomas Waberzeck

Leibniz-Institut für Angewandte Geophysik (LIAG)
im
GEOZENTRUM HANNOVER
Stilleweg 2
30655 Hannover

Telefon +49 (0)511 643 3352
Telefax +49 (0)511 643 3665

thomas.waberz...@liag-hannover.de



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: Symbol not transparent in legend

2010-06-17 Thread teeschke

hi Eric,

if you are using the ms4w3b11 this could be a side effect of the
experimental PNG support that is included.

see
http://osgeo-org.1803224.n2.nabble.com/strange-behavior-when-size-gif-size-ms4w-3-0-beta-11-td5121239.html

regards, Daniel
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Symbol-not-transparent-in-legend-tp5187287p5189802.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users