[postgis-users] OSGeo PostGIS flyer
Hello list, I am from OSGeo [1] and the german FOSSGIS e. V. [2]. In 3 weeks there will be a big fair - the INTERGEO [3] in Karlsruhe (Germany). On the INTERGEO there will be an OSGeo Park where all OSGeo Projects and incubation Projects will be present. We would like to present the PostGIS project too. We would like to make a flyer "in OSGeo style" [4]. The question is whether you already have PostGIS flyer that we could use? Is someone interested to review or even make this PostGIS OSGeo flyer? Would be nice to get a flyer ready for the fair. Best regards Astrid Emde [1] http://www.osgeo.org [2] http://www.fossgis.de/ [3] http://www.intergeo.de/en/englisch/index.php [4] OSGeo Flyer: http://svn.osgeo.org/osgeo/marketing/flyer/project_brochure_pdfs/ INTERGEO 2009 22.-24. September 2009 in Karlsruhe Halle 1, Stand 1.417 www.intergeo.de **** Astrid Emde Member of the Mapbender Developer Team email astrid_e...@osgeo.org http://www.mapbender.org ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] count points for every polygon
Hello Alexander, have a look at http://postgis.org/documentation/manual-1.4/ch07.html and try * ST_NumPoints - to get the Number of Points of a Linestring * ST_ExteriorRing - to get a linestring from your Polygon * if you have MULTIPOLYGONS you may need ST_NumGeometries, ST_GeometryN Best regards Astrid On Tue, December 1, 2009 8:58 am, Alexander Strunck wrote: > hello > > i am new to postgis and sql. my problem is that i want to count the > points that are in every polygon. the polygon table contains gid, id, > geom. the points table contains id, geom. i found in the internet this sql > >> UPDATE polygon SET number_points = foo.count >> FROM ( >> SELECT polygon.name, count(point.gid) AS count >> FROM point, polygon >> WHERE ST_Contains(polygon.the_geom, point.the_geom) >> GROUP BY polygon.name >> ) AS foo >> WHERE polygon.name = foo.name; >> > > but it don´t seem to work for me. > > Has anyone an idea how to make this work?? > > > thx > > alex -- > Endlich! Das Debüt-Album von Pop-Diva Sarah Kreuz ist da! > Jetzt bei GMX Musik Downloads. http://portal.gmx.net/de/go/musik01 > ___ > postgis-users mailing list postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > > ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] Reminder / Erinnerung CfP FOSSGIS-Konferenz 2012 Germany
Note to International Speakers (German announcement follows): FOSSGIS and Open Street Map conference is a german-language event primarily for a german audience. 20. - 22. March 2012, Hochschule Anhalt in Dessau-Roßlau, Germany The program committee will, however, also consider applications for talks or workshops held in English if they are deeemed to add to the quality of the conference. So if you don't speak German, but are a FOSS/Open Data celebrity, or have a story that only you can tell, please do submit your talk [1]. We are unlikely to be able to provide interpreters, but we'll make sure you don't get lost in Germany. * CfP open till 12.12.2011 http://www.fossgis.de/konferenz/2012/callforpapers/ -- GERMAN --- Sehr geehrte Damen und Herren, Die FOSSGIS und OpenStreetMap Konferenz 2012 die größte deutschsprachige Anwenderkonferenz für Freie Geo-Informationssysteme und freie Geodaten findet vom 20. bis 22. März 2012 an der Hochschule Anhalt in Dessau-Roßlau statt. An den drei Tagen werden auf der Konferenz in parallel laufenden Workshops, Vorträgen und Poster-Sessions die neuesten Open-Source-Entwicklungen u.a. in den Bereichen Webmapping, Geodatenmanagement, GeoProcessing und Desktop-GIS präsentiert. Im Bereich freie Geodaten stellt die deutschsprachige OpenStreetMap Konferenz eine ideale Veranstaltung dar, um sich über den aktuellen Stand dieses renommierten Projektes zu informieren. Sie haben ein interessantes Thema oder eine Anwendung, die Sie auf der FOSSGIS und OSM Konferenz präsentieren wollen? Noch bis zum 12.12.2011 können Workshops, Vorträge, Poster und Lightning Talks eingereicht werden. FOSSGIS ist die Abkürzung für Freie und Open Source Software für Geoinformationssysteme und ist die führende Konferenz zu diesem Thema im deutschsprachigen Raum. Ausgerichtet wird die FOSSGIS Konferenz 2012 vom gemeinnützigen Verein FOSSGIS e.V, der OpenStreetMap Community und der Open Source Geospatial Foundation (OSGeo) in Zusammenarbeit mit der Hochschule Anhalt in Dessau. Weitere Informationen finden Sie unter http://www.fossgis.de/konferenz/2012/callforpapers/ Wir freuen uns über Ihr Interesse und über eine aktive Teilnahme an der FOSSGIS 2012! Mit freundlichen Grüßen, Ihre FOSSGIS-Organisatoren [1] http://www.fossgis.de/konferenz/2012/callforpapers/ [2] http://pb.fossgis.de/submission/FOSSGIS2012/ ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] FOSSGIS Konferenz 2012 in Dessau vom 20. bis 22. März 2012 - Anmeldung eröffnet
Sehr geehrte Damen und Herren, Neuigkeiten und Hintergründe zu Technologien des Geo-Webs / GIS-Applikationen mit Freier Software und Freien Daten werden dieses Jahr auf der FOSSGIS 2012 präsentiert. Die FOSSGIS und deutschsprachige Open Street Map Konferenz 2012 – die größte deutschsprachige Anwenderkonferenz für Freie Geo-Informationssysteme und freie Geodaten – findet vom 20. bis 22. März 2012 an der Hochschule Anhalt in Dessau-Roßlau statt. Der Themenbogen spannt sich von der Datenaufbereitung in OpenStreetMap über Geodateninfrastrukturen bishin zu Technologien zur Prozessierung von umfangreichen Geodaten und spiegelt damit den Trend der steigenden Durchdringung des Internets mit Karten und Geodaten wider. In mehr als 60 Vorträgen für Einsteiger und Experten, Hands-On Workshops und Anwendertreffen erhalten die Besucher Einblick in aktuelle Anwendungsmöglichkeiten und Neuigkeiten von Softwareprojekten, die derartige Anwendungen ermöglichen. Über die gleichzeitig stattfindende Firmenausstellung ist ein direkter Kontakt zu Dienstleistern, die professionelle Unterstützung bieten, möglich. Zusätzlich zum fachlich orientieren Austausch in Community-Sessions und Entwicklertreffen findet ein Social-Event statt, um den Austausch aller Beteiligten - vom Benutzer über Entwickler und Mapper bis zum Entscheider - zu intensivieren, um gegenseitig von Ideen und Herausforderungen zu lernen. Die Konferenzgebühr beträgt für die gesamten drei Konferenztage 120,- €. Auch in diesem Jahr können wieder zahlreiche Workshops besucht werden für die eine Teilnahmegebühr von 100,- € je Teilnehmer und Workshop erhoben wird. Workshop-Teilnehmer erhalten eine Teilnahmebestätigung für die besuchten Workshops. Die Einnahmen gehen wie auch in den Jahren zuvor vollständig in die Finanzierung der Konferenz ein. Da mehr als 400 Teilnehmende erwartet werden, ist eine Registrierung bis zum 16. März 2012 notwendig. Das Anmeldeformular und andere organisatorische Informationen befinden sich auf der Konferenzseite http://www.fossgis.de/konferenz/2012/. Die FOSSGIS Konferenz 2012 wird vom gemeinnützigen Verein FOSSGIS e.V, der deutschen OpenStreetMap Community und der Open Source Geospatial Foundation (OSGeo) in Zusammenarbeit mit der Hochschule Anhalt in Dessau durchgeführt. Weitere Informationen: Zur Konferenz: http://www.fossgis.de/konferenz/2012/ Zu den Veranstaltern: FOSSGIS e.V. http://www.fossgis.de OSGeo Foundation http://www.osgeo.org/switchuilocale/de?destination=home Deutschsprachige OSM Community http://www.openstreetmap.de Hochschule Anhalt in Dessau http://www.hs-anhalt.de/ ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] is there a function which checks the Right-Hand-Rule (RHR)?
Hello, I want to check whether my polygons follow the Right-Hand-Rule. Is there a function to do this? I found the function ST_ForceRHR [1] that will modify my polygons to follow the rule. But it would be nice to check first which polygons will be effected. Astrid [1] http://www.postgis.org/documentation/manual-1.5/ST_ForceRHR.html ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] is there a function which checks the Right-Hand-Rule (RHR)?
On Thu, February 23, 2012 8:46 am, Astrid Emde wrote: > Hello, > > > I want to check whether my polygons follow the Right-Hand-Rule. Is there > a function to do this? > > I found the function ST_ForceRHR [1] that will modify my polygons to > follow the rule. But it would be nice to check first which polygons will be > effected. > > Astrid > > > [1] http://www.postgis.org/documentation/manual-1.5/ST_ForceRHR.html Hello, I used the following SQL to find out which polygons do not follow the RHR: Select gid, st_orderingEquals(the_geom, st_forceRHR(the_geom)) from mytable where st_orderingEquals(the_geom, st_forceRHR(the_geom)) = false; Astrid ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
[postgis-users] different results for area with different programms
Hello, I calculate the area of polygons and get different results with diffrent programms. Here is an example polygon: Select st_area(geometryfromtext( 'POLYGON (( 2569220.83 5630370.607, 2569215.357 5630374.968, 2569216.017 5630375.795, 2569216.19 5630376.01, 2569221.663 5630371.649, 2569220.83 5630370.607 ))',31466) ); These are the results that I get: * PostGIS: 9.337890625 (with "POSTGIS="1.5.1" GEOS="3.2.0-CAPI-1.6.0") * AutoCAD Map 2012: 9.3362 * Kanal++ [1]: 9.3361645 PostGIS gives back a slightly bigger area than the other programms. Do you know why and who is right? Best regards Astrid [1] http://tandler.com/communal_gis/watermanagment/wastewater/sewer-gis-kanalplusplus.htm -- FOSSGIS Konferenz 2012 20.-22. März 2012 in Dessau http://www.fossgis.de/konferenz/2012 ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] different results for area with different programms
On Thu, February 23, 2012 3:22 pm, Sandro Santilli wrote: > On Thu, Feb 23, 2012 at 02:58:49PM -0000, Astrid Emde wrote: > >> Hello, >> >> >> I calculate the area of polygons and get different results with >> diffrent programms. >> >> Here is an example polygon: >> >> >> Select st_area(geometryfromtext( >> 'POLYGON (( >> 2569220.83 5630370.607, >> 2569215.357 5630374.968, >> 2569216.017 5630375.795, >> 2569216.19 5630376.01, >> 2569221.663 5630371.649, >> 2569220.83 5630370.607 >> ))',31466) ); >> >> >> These are the results that I get: >> * PostGIS: 9.337890625 (with "POSTGIS="1.5.1" GEOS="3.2.0-CAPI-1.6.0") >> * AutoCAD Map 2012: 9.3362 >> * Kanal++ [1]: 9.3361645 >> >> >> PostGIS gives back a slightly bigger area than the other programms. Do >> you know why and who is right? > > PostGIS area calculator improved in 1.5.4 (yet to be released). > BTW, are those meters ? You're worried of 0.001 square meters precision ? > What's the precision of your coordinates ? Are your straight lines > in your model really straight in the phisical world ? > > --strk; Hello Sandro, hello Martin, thanks for your answers. Looks like we should get a newer PostGIS and GEOS version. We are handling communal data in meters and want to calculate fees for rainwater run-off. As the area in PostGIS was always a bit bigger we should not worry ;) So, we were not really worried. We just noticed the difference. Thanks for your help Astrid ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] different results for area with different programms
Martin, I think you are right. Paul mentioned that area calculation is done by PostGIS itself. Astrid On Thu, February 23, 2012 4:06 pm, Martin Davis wrote: > The JTS area algorithm has been tweaked slightly recently, but that's > not it - I get the same answer with JTS 1.8 (which uses the original > algorithm). > > I'm guessing PostGIS doesn't use GEOS for area, right? > > > Anyway, looks like it's fixed in the latest version. > > > On 2/23/2012 7:25 AM, Sandro Santilli wrote: > >> >> Martin, JTS area calculator changed too recently >> (the shoelace formula). Could that explain ? >> >> >> BTW, here's what I get with PostGIS 2.0.0alpha7SVN: >> 9.33616450013379 >> >> >> > ___ > postgis-users mailing list postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > > -- Mit freundlichen Grüßen Astrid Emde FOSSGIS Konferenz 2012 20.-22. März 2012 in Dessau http://www.fossgis.de/konferenz/2012 -- Astrid Emde WhereGroup GmbH & Co.KG Eifelstraße 7 53119 Bonn Germany Fon: +49(0)228 90 90 38 - 19 Fax: +49(0)228 90 90 38 - 11 astrid.e...@wheregroup.com www.wheregroup.com Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Amtsgericht Bonn, HRA 6788 --- Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm --- pgp-public key: http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen Signed and/or encrypted mail is highly appreciated ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] PostGIS 2.0.0 Released
Congratulations and thanks to all involved and your parents! On Tue, April 3, 2012 9:04 pm, Paul Ramsey wrote: > The PostGIS development team is super excited, > can hardly believe that they are actually doing this, aren't maybe even > sure that they are ready to make this kind of commitment, not so young, > and not when we have so much more living to do, but: > > PostGIS 2.0.0 is complete and available for download. > > > http://postgis.org/download/postgis-2.0.0.tar.gz > > > The development process for 2.0 has been very long, > but has resulted in a release with a number of exciting new features. > > * Raster data and raster/vector analysis in the database > * Topological models to handle objects with shared boundaries > * PostgreSQL typmod integration, for an automagical > geometry_columns table * 3D and 4D indexing > * Index-based high performance nearest-neighbour searching > * Many more vector functions including > * ST_Split > * ST_Node > * ST_MakeValid > * ST_OffsetCurve > * ST_ConcaveHull > * ST_AsX3D > * ST_GeomFromGeoJSON > * ST_3DDistance > * Integration with the PostgreSQL 9.1 extension system > * Improved commandline shapefile loader/dumper > * Multi-file import support in the shapefile GUI > * Multi-table export support in the shapefile GUI > * A geo-coder optimized for free US Census > TIGER (2010) data > > > We are greatly indebted to our large community of beta testers > who valiantly tested PostGIS 2.0.0 and reported bugs so we could squash > them before release time. > > And also we want to thank our parents for making PostGIS possible. > > > Yours, > > > The PostGIS development team > ___ > postgis-users mailing list postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > > -- Mit freundlichen Grüßen Astrid Emde Aufwind durch Wissen! Qualifizierte OpenSource-Schulungen bei der www.foss-academy.eu FOSS Academy Sommerschule 2012 GDI in 5 Tagen! http://www.foss-academy.eu/sommerschule -- Astrid Emde WhereGroup GmbH & Co.KG Eifelstraße 7 53119 Bonn Germany Fon: +49(0)228 90 90 38 - 19 Fax: +49(0)228 90 90 38 - 11 astrid.e...@wheregroup.com www.wheregroup.com Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Amtsgericht Bonn, HRA 6788 --- Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm --- pgp-public key: http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen Signed and/or encrypted mail is highly appreciated ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
Re: [postgis-users] spatialreference.org srid insert error
Hello Peter, there is a constraint that checks that srid is < 998999 ALTER TABLE spatial_ref_sys ADD CONSTRAINT spatial_ref_sys_srid_check CHECK (srid > 0 AND srid <= 998999); You should set sird in the insert to 102243 instead of 9102243: INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 102243, 'esri', 102243, '+proj=lcc +lat_1=37.07 +lat_2=38.43 +lat_0=36.5 +lon_0=-120.5 +x_0=200 +y_0=50 +ellps=GRS80 +units=m +no_defs ', 'PROJCS["NAD_1983_HARN_StatePlane_California_III_FIPS_0403",GEOGCS["GCS_North_American_1983_HARN",DATUM["NAD83_High_Accuracy_Regional_Network",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["False_Easting",200],PARAMETER["False_Northing",50],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.07],PARAMETER["Standard_Parallel_2",38.43],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Meter",1],AUTHORITY["EPSG","102243"]]'); Astrid On Tue, July 17, 2012 6:14 pm, Peter Tittmann wrote: > Hi, > > > Im trying to add a srid from spatial reference.org > (http://spatialreference.org/ref/esri/102243/postgis/) but i'm getting a > error using the insert statement: > > ERROR: new row for relation "spatial_ref_sys" violates check constraint > "spatial_ref_sys_srid_check" > > > I saw this ticket > (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDYQ > FjAA&url=http%3A%2F%2Ftrac.osgeo.org%2Fpostgis%2Fticket%2F1505&ei=f6gFUOy > kJcWl2AXz2eDKBQ&usg=AFQjCNH1dlCvTvWEYntRmqflCDtAOUT49g&sig2=tch67lIoPp2IO > RZaCyOpSw) and thread > (http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CDgQ > FjAB&url=http%3A%2F%2Fpostgis.refractions.net%2Fpipermail%2Fpostgis-devel > %2F2012-February%2F018485.html&ei=f6gFUOykJcWl2AXz2eDKBQ&usg=AFQjCNGxJREc > 0HrXIbAFuKSfvjU0tbfg9A&sig2=0wH8-t8hCMiuIWKDL6AeFQ) but seems lie it > should be fixed. > > Thanks in advance! > > > Peter > > > -- > Peter Tittmann > > > > ___ > postgis-users mailing list postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users > > -- Mit freundlichen Grüßen Astrid Emde --- Aufwind durch Wissen! Qualifizierte OpenSource-Schulungen bei der www.foss-academy.eu -- Astrid Emde WhereGroup GmbH & Co.KG Eifelstraße 7 53119 Bonn Germany Fon: +49(0)228 90 90 38 - 19 Fax: +49(0)228 90 90 38 - 11 astrid.e...@wheregroup.com www.wheregroup.com Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Amtsgericht Bonn, HRA 6788 --- Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm --- pgp-public key: http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen Signed and/or encrypted mail is highly appreciated ___ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users