geos

How To Install GEOS for GeoDjango on Windows

南笙酒味 提交于 2019-12-08 15:40:47
问题 I'm starting a GeoDjango project using Python 2.5, Django 1.2, MySQL and Apache. The project will be uploaded to a Linux server but the development will be on a Windows. The problem is I just can't get passed installing GEOS, how is it done? 回答1: I follow the instructions in http://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#windows For the instalation of GEOS library in windows i use this: http://trac.osgeo.org/osgeo4w/ 回答2: what I did is to install GDAL from this answer, Unable

Is there a better way for handling SpatialPolygons that cross the antimeridian (date line)?

不羁岁月 提交于 2019-12-08 06:40:39
问题 TL;DR What is the best way in R to handle SpatialPolygons intersecting/overlapping the anti meridian at +/-180° of latitude and cut them into two sections along that meridian? Preface This is going to be a long one, but only because I'm going to include a lot of code and figures for illustration. I'll show you what my goal is and how I normally achieve that and then demonstrate how it all breaks together in a literal edge case. As the title suggests, I already found one possible solution to

Installing a fully functional PostGIS 2.0 on Ubuntu Linux GEOS/GDAL issues

╄→гoц情女王★ 提交于 2019-12-07 05:25:19
问题 I have been working on getting postgis 2.0 up and running on an ubuntu-maverick-amd64 linux server for about a week now. I am going for raster and topology support. I used the following to configure: sudo ./configure --with-raster --with-topology --with-jsondir=/home/zonabili/json-c-0.9 The configuration file below describes my specs. PostGIS is now configured for x86_64-unknown-linux-gnu -------------- Compiler Info ------------- C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 --------------

Is there a better way for handling SpatialPolygons that cross the antimeridian (date line)?

試著忘記壹切 提交于 2019-12-06 14:55:16
TL;DR What is the best way in R to handle SpatialPolygons intersecting/overlapping the anti meridian at +/-180° of latitude and cut them into two sections along that meridian? Preface This is going to be a long one, but only because I'm going to include a lot of code and figures for illustration. I'll show you what my goal is and how I normally achieve that and then demonstrate how it all breaks together in a literal edge case. As the title suggests, I already found one possible solution to my problem, so I'll include that too. But it is not 100% clean and I'd like to see if somebody can come

Installing a fully functional PostGIS 2.0 on Ubuntu Linux GEOS/GDAL issues

别等时光非礼了梦想. 提交于 2019-12-05 11:29:59
I have been working on getting postgis 2.0 up and running on an ubuntu-maverick-amd64 linux server for about a week now. I am going for raster and topology support. I used the following to configure: sudo ./configure --with-raster --with-topology --with-jsondir=/home/zonabili/json-c-0.9 The configuration file below describes my specs. PostGIS is now configured for x86_64-unknown-linux-gnu -------------- Compiler Info ------------- C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 -------------- Dependencies -------------- GEOS config: /usr/local/bin/geos-config GEOS version: 3.3.1 GDAL config:

Unable to install rgdal and rgeos R libraries on Red hat linux

 ̄綄美尐妖づ 提交于 2019-12-05 00:54:34
I have error while compiling rgdal adn rgoes package on our redhat linux machine. I tried to do some research but couldn't find a possible solution. Could you please help me with this as this is very important for me to solve. **ERROR WHILE COMPILING RGDAL in R 3.0** **strong text** * installing *source* package ârgdalâ ... ** package ârgdalâ successfully unpacked and MD5 sums checked configure: CC: gcc -std=gnu99 configure: CXX: g++ configure: rgdal: 0.8-10 checking for /usr/bin/svnversion... yes configure: svn revision: 496 configure: gdal-config: gdal-config checking gdal-config usability..

centos libgeos repository missing

百般思念 提交于 2019-12-04 03:31:24
问题 On centos 7.3 minimal trying to install shapely or geopandas requires access to https://github.com/libgeos/libgeos libgeos. Trying to install this via sudo yum install libgeos-dev tells me that this package is not available. It seems that I am lacking a repository. So far I have been unable to find a working one as http://trac.osgeo.org/geos is pointing to https://yum.postgresql.org/repopackages.php#pg96 for the RPM but still after rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6

centos libgeos repository missing

萝らか妹 提交于 2019-12-01 18:59:00
On centos 7.3 minimal trying to install shapely or geopandas requires access to https://github.com/libgeos/libgeos libgeos. Trying to install this via sudo yum install libgeos-dev tells me that this package is not available. It seems that I am lacking a repository. So far I have been unable to find a working one as http://trac.osgeo.org/geos is pointing to https://yum.postgresql.org/repopackages.php#pg96 for the RPM but still after rpm -Uvh https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm the installation candidate is not found. It seems

Getting “django.core.exceptions.ImproperlyConfigured: GEOS is required and has not been detected.” although GEOS is installed

不打扰是莪最后的温柔 提交于 2019-12-01 15:36:15
I'm running Django 1.8 and Python 3.4 on Ubuntu 14.04 LTS . Just recently, my Django app has been reporting that GEOS is not present. GEOS is installed and libgeos_c.so is where it's supposed to be ( /usr/lib/ ). My code seems fine. It is the source of a docker image which still works. This seems to indicate an os/incompatibility issue. Any help would be much appreciated. The full traceback is Traceback (most recent call last): File "<path/to/my/homedir>/pycharm-4.5.1/helpers/pydev/pydevd.py", line 2358, in <module> globals = debugger.run(setup['file'], None, None, is_module) File "<path/to/my

Getting “django.core.exceptions.ImproperlyConfigured: GEOS is required and has not been detected.” although GEOS is installed

徘徊边缘 提交于 2019-12-01 14:32:25
问题 I'm running Django 1.8 and Python 3.4 on Ubuntu 14.04 LTS . Just recently, my Django app has been reporting that GEOS is not present. GEOS is installed and libgeos_c.so is where it's supposed to be ( /usr/lib/ ). My code seems fine. It is the source of a docker image which still works. This seems to indicate an os/incompatibility issue. Any help would be much appreciated. The full traceback is Traceback (most recent call last): File "<path/to/my/homedir>/pycharm-4.5.1/helpers/pydev/pydevd.py"