SearchServer return coordinates in wrong order for SR = 2056

Skip to first unread message
Assigned to by

Dominik Schenk

Aug 26, 2021, 2:18:33 AM8/26/21
to GeoAdminCh API
Hi there

I Just implemented the SearchServer for your application.
Except for the HTML part in the labels (maybe return a Label2 without HTML)

I found that the Point coordinates are swapped.

An example call:

this return this (bbox are correct, just the coords of the points not):

is this intended or is there a parameter to swap them?

Marc Monnerat

Sep 7, 2021, 5:22:00 AM9/7/21
to geoadmin-api
Hello Dominik,

Yes, people with geodesy and cadastral survey background insist on that y/x order. I never remember the reason, but it's something related to the spheric trigonometry and geodetic conventions.

But since 1938 (I don't remember the exact date), civilians also use the infamous military coordinates, where the eastings values are always (450'000 to 900'000) bigger than the northings (50'000 to 350'000) values, so no confusion is posible. Prior to that, the origin was (unsurprisingly) Bern, with coordinates 0,0

In the LV95 system, x and y were replaced by northing and easting, but again no mixing is possible (within Switzerland though)



You received this message because you are subscribed to the Google Groups "GeoAdminCh API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Всё идёт по плану
Reply all
Reply to author
0 new messages