# ArchGDAL transforming CRS incorrectly (probably wrong long/lat order)

**URL:** <https://discourse.julialang.org/t/archgdal-transforming-crs-incorrectly-probably-wrong-long-lat-order/90098>\
**Category:** New to Julia\
**Tags:** geo, geodesy\
**Created:** [November 11, 2022, 6:41am UTC](https://discourse.julialang.org/t/archgdal-transforming-crs-incorrectly-probably-wrong-long-lat-order/90098 "2022-11-11T06:41:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![culebron](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/culebron/32/44276_2.png) [@culebron](https://discourse.julialang.org/u/culebron)\
**Post date:** [November 11, 2022, 12:26pm UTC](https://discourse.julialang.org/t/archgdal-transforming-crs-incorrectly-probably-wrong-long-lat-order/90098/8 "2022-11-11T12:26:45Z")

</div>

I’m still perplexed how cryptic the docs are. No info on return types. Also [this example](https://discourse.julialang.org/t/archgdal-jl-or-gdal-jl-not-sure-undesired-behaviour-when-reprojecting-coordinates-to-epsg-4326/59415) crashed with MethodError, couldn’t find how to call it on a vector.

```julia

cities2 = GDF.read("/tmp/cities.geojson")
sc = AG.importEPSG(4326)
tc = AG.importEPSG(3857)

AG.createcoordtrans(sc, tc) do transform
    AG.transform!.(cities2.geometry, transform)
end

```

---

_[View the full topic](https://discourse.julialang.org/t/archgdal-transforming-crs-incorrectly-probably-wrong-long-lat-order/90098)._
