help for projections

Janeks Kamerovskis janeks.kamerovskis at SILVA.LV
Fri Feb 3 18:05:46 EST 2006


Hi, 

I want to be able show data in my (X, Y) maps in Lat Long.
I somehow can get it somewhere near - shifted ~ 200 km to W and ~100 to S.

I would appreciate some help - what could be wrong!

So I did folowing under MAP definition

PROJECTION
#  "proj=tmerc" # by description it seems for me that I should use this one
	"proj=utm" # by using this I can get lat long points somewhere near
#	"ellps=WGS84"
	"ellps=GRS80"
  "lon_0=24E"
  "k=0.999600"
  "y_0=500000"
  "units=m"
  "north"
END

Then I have layers in X, Y i.e. without Projection definition

And then layer that data is lat long:

	LAYER
		NAME "test01"
		TYPE POINT
		STATUS ON
		PROJECTION
		  "proj=latlong"
#		  "ellps=WGS84"
		  "ellps=GRS80"
#		  "datum=WGS84" 
		END
		FEATURE
			POINTS
#				503968.0 6307054.0
				27.1 57.0	#this values shows point in
right place 
				24.24 56.09  #this is the point real (right)
coords
			END
#			TEXT "Test inline"
		END
        CLASS
			NAME 'Test01'
          SYMBOL 'triangle'
          SIZE 14
          COLOR 255 0 255
        END
	END


Ģeogrāfiskā koordinātu sistēma- GRS 1980. 

Meridiāns- Grīnvičas 

Datums- D_GRS_1980 

Mērvienība- grādi 

Projekcijas koordinātu sistēma- Transverse Mercator 

FalseNorthing- 0 

CentralMeridian- 24 

OriginLatitude- 0 

FalseEasting- 500000 

ScaleFactor- 0.9996 

brgrds
Janeks 



More information about the mapserver-users mailing list