Re: [OSGeo-Discuss] Problem with Geos-3.2.2, Python Swig
Hi Thomas, Since GEOS 3.0, the Python bindings are unsupported, but the `--enable-python` option is still exposed in case a new developer wants to step in and support it. Try removing this option. However, the good news is that you can use Shapely to do the same work, as it uses the GEOS C API. Probably the best list for GEOS questions is geos-devel http://lists.osgeo.org/listinfo/geos-devel -Mike On 19 September 2012 00:57, SIEFFERT Thomas thomas.sieff...@c-s.fr wrote: Hi everyone, I don't know if it's the right place but still, I have a little problem while the compilation process of geos (v3.2.2). Here is the error : Traceback (most recent call last): File /freeware/python-2.5.1/lib/python2.5/runpy.py, line 87, in run_module raise ImportError(No module named + mod_name) ImportError: No module named odern make[2]: [geos_wrap.cxx] Erreur 255 (ignorée) Traceback (most recent call last): File /freeware/python-2.5.1/lib/python2.5/runpy.py, line 87, in run_module raise ImportError(No module named + mod_name) ImportError: No module named odern make[4]: [geos_wrap.cxx] Erreur 255 (ignorée) Dans le fichier inclus à partir de geos_wrap.cxx:135: /freeware/src/Python-2.5.1/Include/Python.h:8:22: erreur: pyconfig.h : Aucun fichier ou répertoire de ce type Dans le fichier inclus à partir de /freeware/src/Python-2.5.1/Include/Python.h:57, à partir de geos_wrap.cxx:135: /freeware/src/Python-2.5.1/Include/pyport.h:734:2: erreur: #error LONG_BIT definition appears wrong for platform (bad gcc/glibc config?). /freeware/src/Python-2.5.1/Include/pyport.h:550: erreur: declaration of ?double hypot(double, double)? throws different exceptions /usr/include/bits/mathcalls.h:163: erreur: from previous declaration ?double hypot(double, double) throw ()? geos_wrap.cxx: In function ?int SWIG_CanCastAsInteger(double*, double, double)?: geos_wrap.cxx:2786: erreur: ?errno? was not declared in this scope geos_wrap.cxx:2786: erreur: ?EDOM? was not declared in this scope geos_wrap.cxx:2786: erreur: ?ERANGE? was not declared in this scope geos_wrap.cxx: In function ?PyObject* _wrap_geomFromWKB(PyObject*, PyObject*)?: geos_wrap.cxx:8247: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases geos_wrap.cxx: In function ?PyObject* _wrap_geomFromHEX(PyObject*, PyObject*)?: geos_wrap.cxx:8367: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases make[4]: *** [_geos_la-geos_wrap.lo] Erreur 1 make[3]: *** [all-recursive] Erreur 1 make[2]: *** [all] Erreur 2 make[1]: *** [all-recursive] Erreur 1 make: *** [all-recursive] Erreur 1 -- Herewith the config.log file. If you need more information please let me know. This message was sent using IMP, the Internet Messaging Program. ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Re: Support of 4D (time based) data sets
On 7 September 2010 04:11, Timmie timmichel...@gmx-topmail.de wrote: how do you intend to deal with aggregated data sets? E.g. 10-years average for every month of the year. For all calculations on NetCDF files (including your example), you can try NCO[1]. These command-line tools require extensive documentation reading, and I recommend keeping a log of notes for commands that work. Many useful examples are also provided in the documentation. On 7 September 2010 03:16, andrea antonello andrea.antone...@gmail.com wrote: The NASA tool Panoply (http://www.giss.nasa.gov/tools/panoply/) does this quite nicely. I think it doesn't if you have small local datasets, I have never been able to zoom in. I used ncview[2] to view and produce images for animations used in presentations (using imagemagick). All my NC files were in a small region using UTM coordinates, so many viewers didn't know how to show the data. [1] http://nco.sourceforge.net/ [2] http://meteora.ucsd.edu/~pierce/ncview_home_page.html (this needs X and needs to be compiled -- no binaries or packages available) -Mike ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Street address to coordinates database lookup?
FYI, the terms you are looking for is geocoding and reverse geocoding http://en.wikipedia.org/wiki/Geocoding http://en.wikipedia.org/wiki/Reverse_geocoding But I haven't done much of this myself, so that's where I stop being useful. -Mike On 7 September 2010 15:01, Peter web...@pl.net wrote: In NZ as i guess in most places we have a national system of rural property addressing (RAPID) where the street number is based on how many meters down the road the property gate is. These are stored in Land Informations property on line database. My question is there any official or unofficial ways to access this street number to latlong coords data online? Googlemaps evidently has access to it for its searchs, failing better methods perhaps scrape their results page??? Peter ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] Best tool, shapefile to png, web
On 16 August 2010 15:39, Peter web...@pl.net wrote: - open a http socket to a CGI eg Opps, my bad. MapServer operates in two modes: CGI and MapScript. It looks like you want to go into MapScript mode for your application. Available in almost all of the P languages: PHP, Perl and Python. #!/usr/bin/python import mapscript map = mapscript.mapObj(/home/mapdata/mymap.map) img = map.draw() img.save(/home/mapdata/mymap.png) Again, the MAP file is required, but you can probably template that somehow and use it in a temporary file for your script. -Mike ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] server down?
See: http://lists.osgeo.org/pipermail/osgeo4w-dev/2010-July/001001.html On 22 July 2010 06:25, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. AFAIK, the server who hosts the osgeo4w packages is down, and is replaced by a backup, who does not allow upload by packagers: does anybody confirm this? Has anybody an idea of when this will be fixed? All the best, and thanks. -- Paolo Cavallini: http://www.faunalia.it/pc ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss
Re: [OSGeo-Discuss] How to make a map on a CD [SEC=UNCLASSIFIED]
On 1 July 2010 07:22, Arthur Molina arthurmol...@yahoo.com.br wrote: Isn't GeoPDF a proprietary and payed format? It is an open Standard. Both OGC 08-139r1 and ISO 32000. However, I've never seen it used outside of the Adobe/ESRI scope, so a better question is what OS software either support rendering or displaying GeoPDFs? Considering my impressions of the state of GeoPDF, I don't think it ins't the best option for distributing data on a CD. My suggestion is to store the vector data in SHP or Spatialite format, and have a desktop GIS on the same LiveCD. My vote is for Quantum GIS (QGIS) since it is the easiest to make a nice looking map that is also interactive. -Mike ___ Discuss mailing list Discuss@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/discuss