8
$\begingroup$

I have a GeoListPlot as below:-

gr = {{20, 70}, {-30, 30}};
GeoListPlot[Entity["City", {"Paris", "IleDeFrance", "France"}], GeoRange -> gr]

enter image description here

As you can see, the output is not rectangular. How can I make it rectangular?

Many thanks!

$\endgroup$
10
$\begingroup$

Maybe GeoProjection helps here?

gr = {{20, 70}, {-30, 30}};
GeoListPlot[Entity["City", {"Paris", "IleDeFrance", "France"}], 
 GeoRange -> gr, GeoProjection -> "Equirectangular"]

enter image description here

I'd like to include Lucas' comment as I feel it is important:

Might be worth noting that the default, GeoProjection->Automatic, is only non-rectangular ("LambertAzimuthal") at medium scales (whatever that is exactly), whereas "Mercator" and "Equirectangular" (small and large scales, respectively) both appear rectangular. Additionally, any cylindrical projection should do the trick.

$\endgroup$
  • 7
    $\begingroup$ Might be worth noting that the default, GeoProjection->Automatic, is only non-rectangular ("LambertAzimuthal") at "medium scales" (whatever that is exactly), whereas "Mercator" and "Equirectangular" (small and large scales, respectively) both appear rectangular. Additionally, any cylindrical projection should do the trick. $\endgroup$ – Lukas Lang Jul 3 '18 at 16:24
  • $\begingroup$ Indeed. To preserve the projection automatically chosen by GeoGraphics, use the option value GeoRangePadding -> Full, instead of manually setting a cylindrical projection. $\endgroup$ – jose Jul 5 '18 at 23:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.