This object is in archive! 

Swedish Grid

R5O.nl shared this idea 10 years ago
Completed

Hi,

Would it be possible to add Swedish grid to the list of possible coord systems?

Just yesterday again I ran into a puzzle waypoint that made me recalculate a WP from Swedish to normal wgs.


http://en.wikipedia.org/wiki/Swedish_grid


Thanks!

Best Answer
photo

Suggest to try this - http://docs.locusmap.eu/doku.php?id=manual:advanced:customization:coord

It should work for you.

Replies (8)

photo
1

Suggest to try this - http://docs.locusmap.eu/doku.php?id=manual:advanced:customization:coord

It should work for you.

photo
1

Oh wauw,

Yes, I just updated that Locus config file config_projections.cfg by adding a line for Swedish Grid and that works like a charm! I did not see this one coming. Again I am impressed by Locus.

Thanks!

photo
1

Perfect, you're wlecome :)

photo
1

Just saw this, Brialliant !

photo
1

Glad you like. With this method, you may add many coordinates systems known with it's EPSG code.

photo
1

Yes, just added EPSG2157 and tested. Working perfectly.


Thanks.

photo
1

The link is broken :-(

photo
1

Thank you, fixed

EDIT: I've just fixed your new topic. Seems you wants to add this projection http://spatialreference.org/ref/epsg/sweref99-tm/ , which has EPSG code 3006. Locus should support it with method in link above. Good luck!

photo
1

These are the lines I added to config_projections.cfg to be able to use Swedish coordinates in Locus:


1|3006|SWEREF99 TM||Sweden


1|3007|SWEREF99 12 00||Sweden


1|3008|SWEREF99 13 30||Sweden


1|3009|SWEREF99 15 00||Sweden


1|3010|SWEREF99 16 30||Sweden


1|3011|SWEREF99 18 00||Sweden


1|3012|SWEREF99 14 15||Sweden


1|3013|SWEREF99 15 45||Sweden


1|3014|SWEREF99 17 15||Sweden


1|3015|SWEREF99 18 45||Sweden


1|3016|SWEREF99 20 15||Sweden


1|3017|SWEREF99 21 45||Sweden


1|3018|SWEREF99 23 15||Sweden


1|3152|ST74||Sweden


1|3845|RT90 7,5g V||Sweden


1|3846|RT90 5g V||Sweden


1|3847|RT90 2,5g V||Sweden


1|3848|RT90 0g||Sweden


1|3849|RT90 2,5g O||Sweden


1|3850|RT90 5g O||Sweden


Strangely, adding EPSG:4977 (SWEREF99 degrees) crashes Locus on startup, but that is not a big issue since WGS84 can be used instead.


Locus just got a lot more useful, and that's not a small thing. Thanks for a very well-made app!

photo
1

I'm surprised that Locus crashed, it should instead just notify on unknown projection system. Hmm anyway I've added 4977 to internal config (was missing), so it will work in next version!

photo
1

Can anyone share the .cfg file so I can download it?

Replies have been locked on this page!