Skip to content

This is the code repository for the paper entitked Towards General-Purpose Representation Learning of Polygonal Geometries.

License

Notifications You must be signed in to change notification settings

autruonggiang/IE402-GIS3D-Polygon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nghiên cứu về học biểu diễn đa năng cho hình học đa giác - IE402 Project

Related Link

  1. Springr Paper
  2. Arxiv Paper

Model Overview

model

Dependencies

Required packages are summarized in requirements.txt and others.

Data

Download the required dbtopo datasets from here and put them in ./data_proprocessing/dbtopo/output/ folder. The folder has two datasets:

  1. DBSR-46K: the pgon_triples_geom_300_norm_df.pklfile, a GeoDataFrame contain the DBSR-46K spatial relation prediction dataset created from DBpedia and OpenStreetMap. Each row indicates a triple from DBpedia and its subject and object are presented as a simple polygon with 300 vertices.
  2. DBSR-cplx46K: the pgon_triples_geom_300_norm_df_complex.pkl file, a GeoDataFrame contain the spatial relation prediction dataset. The only difference is each row's subject and object are presented as a complex polygon with 300 vertices.

Train and Evaluation

The main code are located in polygoncode folder

  1. 1_pgon_dbtopo.sh do suprevised training on both DBSR-46K and DBSR-cplx46K datasets.

Reference

If you find our work useful in your research please consider citing our GeoInformatica 2023 paper.

@article{mai2023towards,
  title={Towards general-purpose representation learning of polygonal geometries},
  author={Mai, Gengchen and Jiang, Chiyu and Sun, Weiwei and Zhu, Rui and Xuan, Yao and Cai, Ling and Janowicz, Krzysztof and Ermon, Stefano and Lao, Ni},
  journal={GeoInformatica},
  volume={27},
  number={2},
  pages={289--340},
  year={2023},
  publisher={Springer}
}

Please go to Dr. Gengchen Mai's Homepage for more information about Spatially Explicit Machine Learning and Artificial Intelligence.

About

This is the code repository for the paper entitked Towards General-Purpose Representation Learning of Polygonal Geometries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%