Changes between Initial Version and Version 1 of Ticket #11634, comment 8


Ignore:
Timestamp:
Aug 25, 2021, 2:42:38 AM (3 years ago)
Author:
Richard Laager

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11634, comment 8

    initial v1  
    11Since I marked #11094 as a duplicate of this one, I wanted to copy over this work-around that might be useful to people (as it was for me):
    22
    3 [https://code.djangoproject.com/ticket/11094?replyto=4#comment:4 jbronn wrote in #11094 comment 4]:
     3[https://code.djangoproject.com/ticket/11094#comment:4 jbronn wrote in #11094 comment 4]:
    44> The `default_lon` and `default_lat` are not working for you because `OSMGeoAdmin` uses a different projection system than `GeoModelAdmin`.  Specifically, `OSMGeoAdmin` uses the so-called "Google" projection (SRID=900913) and `GeoModelAdmin` uses WGS84 (SRID=4326).  As such, just transform your `default_lon` and `default_lat` values to 900913:
    55> {{{
Back to Top