From 91000d57b866fe41d3db4dad7879347befebcabc Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Mon, 25 Nov 2024 08:02:26 +0000 Subject: [PATCH] build based on 6fdc979 --- dev/404.html | 2 +- ...ence_api.md.COOZWPet.js => reference_api.md.CqM1TMSX.js} | 4 ++-- ...d.COOZWPet.lean.js => reference_api.md.CqM1TMSX.lean.js} | 4 ++-- dev/background/formats.html | 2 +- dev/background/geopandas.html | 2 +- dev/background/todo.html | 2 +- dev/hashmap.json | 2 +- dev/index.html | 2 +- dev/reference/api.html | 6 +++--- dev/reference/changes.html | 2 +- dev/tutorials/installation.html | 2 +- dev/tutorials/ops.html | 2 +- dev/tutorials/usage.html | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-) rename dev/assets/{reference_api.md.COOZWPet.js => reference_api.md.CqM1TMSX.js} (93%) rename dev/assets/{reference_api.md.COOZWPet.lean.js => reference_api.md.CqM1TMSX.lean.js} (93%) diff --git a/dev/404.html b/dev/404.html index 98ce945..5e4574c 100644 --- a/dev/404.html +++ b/dev/404.html @@ -19,7 +19,7 @@
- + \ No newline at end of file diff --git a/dev/assets/reference_api.md.COOZWPet.js b/dev/assets/reference_api.md.CqM1TMSX.js similarity index 93% rename from dev/assets/reference_api.md.COOZWPet.js rename to dev/assets/reference_api.md.CqM1TMSX.js index b5115c1..c308d9e 100644 --- a/dev/assets/reference_api.md.COOZWPet.js +++ b/dev/assets/reference_api.md.CqM1TMSX.js @@ -1,2 +1,2 @@ -import{_ as n,c as l,j as a,a as e,G as t,a5 as r,B as p,o}from"./chunks/framework.DR5FrFLs.js";const j=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/api.md","filePath":"reference/api.md","lastUpdated":null}'),h={name:"reference/api.md"},d={class:"jldocstring custom-block",open:""},k={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""};function y(F,s,m,f,u,E){const i=p("Badge");return o(),l("div",null,[s[12]||(s[12]=a("h1",{id:"api",tabindex:"-1"},[e("API "),a("a",{class:"header-anchor",href:"#api","aria-label":'Permalink to "API"'},"​")],-1)),a("details",d,[a("summary",null,[s[0]||(s[0]=a("a",{id:"GeoDataFrames.read-Tuple{AbstractString}",href:"#GeoDataFrames.read-Tuple{AbstractString}"},[a("span",{class:"jlbinding"},"GeoDataFrames.read")],-1)),s[1]||(s[1]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[2]||(s[2]=r(`
julia
read(fn::AbstractString; kwargs...)
-read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

`,3))]),a("details",k,[a("summary",null,[s[3]||(s[3]=a("a",{id:"GeoDataFrames.write-Tuple{AbstractString, Any}",href:"#GeoDataFrames.write-Tuple{AbstractString, Any}"},[a("span",{class:"jlbinding"},"GeoDataFrames.write")],-1)),s[4]||(s[4]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[5]||(s[5]=r('
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

',3))]),a("details",c,[a("summary",null,[s[6]||(s[6]=a("a",{id:"GeoDataFrames.reproject",href:"#GeoDataFrames.reproject"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject")],-1)),s[7]||(s[7]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[8]||(s[8]=r('
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

',6))]),a("details",g,[a("summary",null,[s[9]||(s[9]=a("a",{id:"GeoDataFrames.reproject!",href:"#GeoDataFrames.reproject!"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject!")],-1)),s[10]||(s[10]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=r('
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

',6))])])}const C=n(h,[["render",y]]);export{j as __pageData,C as default}; +import{_ as n,c as l,j as a,a as e,G as t,a5 as r,B as p,o}from"./chunks/framework.DR5FrFLs.js";const j=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/api.md","filePath":"reference/api.md","lastUpdated":null}'),h={name:"reference/api.md"},d={class:"jldocstring custom-block",open:""},k={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""};function y(F,s,m,b,u,E){const i=p("Badge");return o(),l("div",null,[s[12]||(s[12]=a("h1",{id:"api",tabindex:"-1"},[e("API "),a("a",{class:"header-anchor",href:"#api","aria-label":'Permalink to "API"'},"​")],-1)),a("details",d,[a("summary",null,[s[0]||(s[0]=a("a",{id:"GeoDataFrames.read-Tuple{AbstractString}",href:"#GeoDataFrames.read-Tuple{AbstractString}"},[a("span",{class:"jlbinding"},"GeoDataFrames.read")],-1)),s[1]||(s[1]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[2]||(s[2]=r(`
julia
read(fn::AbstractString; kwargs...)
+read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

`,3))]),a("details",k,[a("summary",null,[s[3]||(s[3]=a("a",{id:"GeoDataFrames.write-Tuple{AbstractString, Any}",href:"#GeoDataFrames.write-Tuple{AbstractString, Any}"},[a("span",{class:"jlbinding"},"GeoDataFrames.write")],-1)),s[4]||(s[4]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[5]||(s[5]=r('
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

',3))]),a("details",c,[a("summary",null,[s[6]||(s[6]=a("a",{id:"GeoDataFrames.reproject",href:"#GeoDataFrames.reproject"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject")],-1)),s[7]||(s[7]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[8]||(s[8]=r('
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

',6))]),a("details",g,[a("summary",null,[s[9]||(s[9]=a("a",{id:"GeoDataFrames.reproject!",href:"#GeoDataFrames.reproject!"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject!")],-1)),s[10]||(s[10]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=r('
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

',6))])])}const C=n(h,[["render",y]]);export{j as __pageData,C as default}; diff --git a/dev/assets/reference_api.md.COOZWPet.lean.js b/dev/assets/reference_api.md.CqM1TMSX.lean.js similarity index 93% rename from dev/assets/reference_api.md.COOZWPet.lean.js rename to dev/assets/reference_api.md.CqM1TMSX.lean.js index b5115c1..c308d9e 100644 --- a/dev/assets/reference_api.md.COOZWPet.lean.js +++ b/dev/assets/reference_api.md.CqM1TMSX.lean.js @@ -1,2 +1,2 @@ -import{_ as n,c as l,j as a,a as e,G as t,a5 as r,B as p,o}from"./chunks/framework.DR5FrFLs.js";const j=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/api.md","filePath":"reference/api.md","lastUpdated":null}'),h={name:"reference/api.md"},d={class:"jldocstring custom-block",open:""},k={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""};function y(F,s,m,f,u,E){const i=p("Badge");return o(),l("div",null,[s[12]||(s[12]=a("h1",{id:"api",tabindex:"-1"},[e("API "),a("a",{class:"header-anchor",href:"#api","aria-label":'Permalink to "API"'},"​")],-1)),a("details",d,[a("summary",null,[s[0]||(s[0]=a("a",{id:"GeoDataFrames.read-Tuple{AbstractString}",href:"#GeoDataFrames.read-Tuple{AbstractString}"},[a("span",{class:"jlbinding"},"GeoDataFrames.read")],-1)),s[1]||(s[1]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[2]||(s[2]=r(`
julia
read(fn::AbstractString; kwargs...)
-read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

`,3))]),a("details",k,[a("summary",null,[s[3]||(s[3]=a("a",{id:"GeoDataFrames.write-Tuple{AbstractString, Any}",href:"#GeoDataFrames.write-Tuple{AbstractString, Any}"},[a("span",{class:"jlbinding"},"GeoDataFrames.write")],-1)),s[4]||(s[4]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[5]||(s[5]=r('
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

',3))]),a("details",c,[a("summary",null,[s[6]||(s[6]=a("a",{id:"GeoDataFrames.reproject",href:"#GeoDataFrames.reproject"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject")],-1)),s[7]||(s[7]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[8]||(s[8]=r('
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

',6))]),a("details",g,[a("summary",null,[s[9]||(s[9]=a("a",{id:"GeoDataFrames.reproject!",href:"#GeoDataFrames.reproject!"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject!")],-1)),s[10]||(s[10]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=r('
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

',6))])])}const C=n(h,[["render",y]]);export{j as __pageData,C as default}; +import{_ as n,c as l,j as a,a as e,G as t,a5 as r,B as p,o}from"./chunks/framework.DR5FrFLs.js";const j=JSON.parse('{"title":"API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/api.md","filePath":"reference/api.md","lastUpdated":null}'),h={name:"reference/api.md"},d={class:"jldocstring custom-block",open:""},k={class:"jldocstring custom-block",open:""},c={class:"jldocstring custom-block",open:""},g={class:"jldocstring custom-block",open:""};function y(F,s,m,b,u,E){const i=p("Badge");return o(),l("div",null,[s[12]||(s[12]=a("h1",{id:"api",tabindex:"-1"},[e("API "),a("a",{class:"header-anchor",href:"#api","aria-label":'Permalink to "API"'},"​")],-1)),a("details",d,[a("summary",null,[s[0]||(s[0]=a("a",{id:"GeoDataFrames.read-Tuple{AbstractString}",href:"#GeoDataFrames.read-Tuple{AbstractString}"},[a("span",{class:"jlbinding"},"GeoDataFrames.read")],-1)),s[1]||(s[1]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[2]||(s[2]=r(`
julia
read(fn::AbstractString; kwargs...)
+read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

`,3))]),a("details",k,[a("summary",null,[s[3]||(s[3]=a("a",{id:"GeoDataFrames.write-Tuple{AbstractString, Any}",href:"#GeoDataFrames.write-Tuple{AbstractString, Any}"},[a("span",{class:"jlbinding"},"GeoDataFrames.write")],-1)),s[4]||(s[4]=e()),t(i,{type:"info",class:"jlObjectType jlMethod",text:"Method"})]),s[5]||(s[5]=r('
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

',3))]),a("details",c,[a("summary",null,[s[6]||(s[6]=a("a",{id:"GeoDataFrames.reproject",href:"#GeoDataFrames.reproject"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject")],-1)),s[7]||(s[7]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[8]||(s[8]=r('
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

',6))]),a("details",g,[a("summary",null,[s[9]||(s[9]=a("a",{id:"GeoDataFrames.reproject!",href:"#GeoDataFrames.reproject!"},[a("span",{class:"jlbinding"},"GeoDataFrames.reproject!")],-1)),s[10]||(s[10]=e()),t(i,{type:"info",class:"jlObjectType jlFunction",text:"Function"})]),s[11]||(s[11]=r('
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

',6))])])}const C=n(h,[["render",y]]);export{j as __pageData,C as default}; diff --git a/dev/background/formats.html b/dev/background/formats.html index 363a5d8..f4b66d2 100644 --- a/dev/background/formats.html +++ b/dev/background/formats.html @@ -23,7 +23,7 @@
Skip to content

File formats

We currently support the following file formats directly based on the file extension:

ExtensionDriver
.shpESRI Shapefile
.gpkgGPKG
.geojsonGeoJSON
.vrtVRT
.sqliteSQLite
.csvCSV
.fgbFlatGeobuf
.pqParquet
.arrowArrow
.gmlGML
.ncnetCDF

If you get an error like so:

julia
GeoDataFrames.write("test.foo", df)
 ERROR: ArgumentError: There are no GDAL drivers for the .foo extension

You can specifiy the driver using a keyword as follows:

julia
GeoDataFrames.write("test.foo", df; driver="GeoJSON")

The complete list of driver codes are listed in the GDAL documentation.

- + \ No newline at end of file diff --git a/dev/background/geopandas.html b/dev/background/geopandas.html index a8eee32..c15e869 100644 --- a/dev/background/geopandas.html +++ b/dev/background/geopandas.html @@ -22,7 +22,7 @@
Skip to content

Inspiration

This package has been inspired by geopandas, the Python package that makes working with geospatial data formats easy. In Julia, while the same functionality is supported by ArchGDAL, reading and writing geospatial vector data is not straightforward and many questions were raised. This package wraps the required ArchGDAL operations into several oneliners.

Also see the package announcement at the Julia discourse.

- + \ No newline at end of file diff --git a/dev/background/todo.html b/dev/background/todo.html index fbf00e6..0754d37 100644 --- a/dev/background/todo.html +++ b/dev/background/todo.html @@ -22,7 +22,7 @@
Skip to content

Planned features

The following features are planned for future releases:

  • Prepared geometry to speed up repeated GDAL operations.

  • Spatial indice support to speed up spatial queries (see also GeoAcceleratedArrays.jl)

  • Spatial joins (see also GeometryOps.jl)

  • Wrapper types around DataFrame and geometry columns for easier plotting and dispatch.

- + \ No newline at end of file diff --git a/dev/hashmap.json b/dev/hashmap.json index ec14fa1..fe18ced 100644 --- a/dev/hashmap.json +++ b/dev/hashmap.json @@ -1 +1 @@ -{"background_formats.md":"DCj50o6f","background_geopandas.md":"BlAEhbEo","background_todo.md":"CT9fXOqz","index.md":"nFgKpWWs","reference_api.md":"COOZWPet","reference_changes.md":"Cx_h8_s1","tutorials_installation.md":"B4tUf8Jc","tutorials_ops.md":"CinzKs8G","tutorials_usage.md":"BRUuSudo"} +{"background_formats.md":"DCj50o6f","background_geopandas.md":"BlAEhbEo","background_todo.md":"CT9fXOqz","index.md":"nFgKpWWs","reference_api.md":"CqM1TMSX","reference_changes.md":"Cx_h8_s1","tutorials_installation.md":"B4tUf8Jc","tutorials_ops.md":"CinzKs8G","tutorials_usage.md":"BRUuSudo"} diff --git a/dev/index.html b/dev/index.html index 9145154..5976b0f 100644 --- a/dev/index.html +++ b/dev/index.html @@ -22,7 +22,7 @@
Skip to content

GeoDataFrames.jl

Simple geographical vector data interaction

GeoDataFrames

Simple geographical vector interaction built on top of ArchGDAL. Inspiration taken from geopandas. See Rasters.jl for raster data interaction, and GeometryOps.jl for further geometry operations.

- + \ No newline at end of file diff --git a/dev/reference/api.html b/dev/reference/api.html index 1cbfaa1..dc4b585 100644 --- a/dev/reference/api.html +++ b/dev/reference/api.html @@ -13,7 +13,7 @@ - + @@ -22,8 +22,8 @@
Skip to content

API

GeoDataFrames.read Method
julia
read(fn::AbstractString; kwargs...)
-read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

GeoDataFrames.write Method
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

GeoDataFrames.reproject Function
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

GeoDataFrames.reproject! Function
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

- +read(fn::AbstractString, layer::Union{Integer,AbstractString}; kwargs...)

Read a file into a DataFrame. Any kwargs are passed onto ArchGDAL here. By default you only get the first layer, unless you specify either the index (0 based) or name (string) of the layer.

source

GeoDataFrames.write Method
julia
write(fn::AbstractString, table; layer_name="data", crs::Union{GFT.GeoFormat,Nothing}=crs(table), driver::Union{Nothing,AbstractString}=nothing, options::Vector{AbstractString}=[], geom_columns::Set{Symbol}=(:geometry))

Write the provided table to fn. The geom_column is expected to hold ArchGDAL geometries.

source

GeoDataFrames.reproject Function
julia
reproject(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS. See also reproject(df, from_crs, to_crs) and the in place version reproject!(df, to_crs).

source

julia
reproject(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs. This overrides any current CRS of the Dataframe.

source

GeoDataFrames.reproject! Function
julia
reproject!(df::DataFrame, to_crs)

Reproject the geometries in a DataFrame df to a new Coordinate Reference System to_crs, from the current CRS, in place.

source

julia
reproject!(df::DataFrame, from_crs, to_crs)

Reproject the geometries in a DataFrame df from the crs from_crs to a new crs to_crs in place. This overrides any current CRS of the Dataframe.

source

+ \ No newline at end of file diff --git a/dev/reference/changes.html b/dev/reference/changes.html index 74fd1b9..1252853 100644 --- a/dev/reference/changes.html +++ b/dev/reference/changes.html @@ -22,7 +22,7 @@
Skip to content

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

  • Updated documentation, now using VitePress.

  • Add new driver framework to read files using native drivers.

  • Added native driver package extensions on GeoJSON, ShapeFile, and FlatGeobuf.

v0.3.11

  • Changed reproject to work on a DataFrame, correctly setting the (crs) metadata

  • Handle empty layers

  • Re-export GeoFormatTypes and Extents, making things like CRS and Extent available

  • Warn on possible geometry column instead of throwing an error.

  • Improve error message when file is not found.

v0.3.10

  • Changed DataFrame metadata style to :note, preserving crs after DataFrame operations.

v0.3.9

  • Implemented GeoInterface methods on DataFrame(Rows).

  • Implements transaction support on writing, notably improving writing performance.

v0.3.8

  • Retrieve CRS from layer, instead of dataset, preventing some nothing crs.

v0.3.7

  • Correctly write 3d geometries (which were previously flattened to 2d).

v0.3.6

  • Use GDAL to identify drivers, instead of relying only on file extension.

v0.3.5

  • Drop support for ArchGDAL 0.9.

v0.3.4

  • Use GeoInterface to convert geometries.

v0.3.3

  • Update to ArchGDAL 0.10

  • Change default geometry column name to geometry (was geom).

v0.3.2

  • Use metadata to store/retrieve CRS and geometry column information.

v0.3.1

  • Error out early on non existent files.

v0.3.0

  • Change geom_column to geom_columns, defaulting to using GeoInterface.jl.

  • Added options keyword to pass configuration to the GDAL driver.

  • Allow any GeoInterface.jl compatible geometry to be written (was only ArchGDAL geometries).

v0.2.4

  • Upgrade GeoFormatTypes to v0.4

v0.2.3

  • Update ArchGDAL compat to v0.9

v0.2.2

  • Expanded documentation

  • Free GDAL structures as soon as possible

v0.2.1

  • Don't export isempty as it clashes with other exports

  • Compatability with ArchGDAL v0.8 (adds missing support when reading 🎉)

v0.2.0

  • [breaking] Changed default CRS to nothing instead of WGS84.

  • Users can provide a GDAL driver when writing.

v0.1.6

  • Add support for (U)Int8,UInt16,UInt32 datatypes

v0.1.5

  • Compatability with ArchGDAL v0.7

v0.1.4

  • read now accepts layer keyword

  • Enables writing of missing data

v0.1.3

  • Forwards kwargs in the read function to ArchGDAL

v0.1.2

  • Changed write to have keyword arguments

v0.1.1

  • Small internal fixes

v0.1.0

  • First release 🎉
- + \ No newline at end of file diff --git a/dev/tutorials/installation.html b/dev/tutorials/installation.html index de0dedc..8a78b2b 100644 --- a/dev/tutorials/installation.html +++ b/dev/tutorials/installation.html @@ -22,7 +22,7 @@
Skip to content

Installation

Simply do

julia
]add GeoDataFrames
- + \ No newline at end of file diff --git a/dev/tutorials/ops.html b/dev/tutorials/ops.html index 1dca4ed..56c64cf 100644 --- a/dev/tutorials/ops.html +++ b/dev/tutorials/ops.html @@ -53,7 +53,7 @@ Geometry: POLYGON ((-453963.150526169 -4408927.89965336,-519 ... 336)) Geometry: POLYGON ((-498317.413693272 -4321687.31588764,-563 ... 764))

Plotting

julia
using Plots
 plot(df.geom)

- + \ No newline at end of file diff --git a/dev/tutorials/usage.html b/dev/tutorials/usage.html index db331ae..d7d1fa1 100644 --- a/dev/tutorials/usage.html +++ b/dev/tutorials/usage.html @@ -53,7 +53,7 @@ ".gml" => "GML" ".nc" => "netCDF"

Note that any Tables.jl compatible table with GeoInterface.jl compatible geometries can be written by GeoDataFrames. You might want to pass which column(s) contain geometries, or by defining GeoInterface.geometrycolumns on your table. Multiple geometry columns, when enabled by the driver, can be provided in this way.

julia
table = [(; geom=AG.createpoint(1.0, 2.0), name="test")]
 GDF.write(tfn, table; geom_columns=(:geom,),)
- + \ No newline at end of file