|
Project Information
Links
|
PostExperiments is a common place for my personal projects related to PostGIS (geographic objects to the PostgreSQL object-relational database). You are welcomed to share your ideas, post your comments and patches to improve this functions, or send your suggestions directly to the PostGIS development mailing list. These are just experiments, some things has been committed to the PostGIS trunk and others will be committed soon. Materialized Views SupportThis is a project sponsored by Google for the Open Source Geospatial Foundation as part of the Summer of Code 2007. BackgroundPostGIS geometry processing functions consume machine's CPU resources. This behavior can be avoided creating 'snapshots' of data based on views definitions, making queries more light for clients. This is specially useful for web clients. Jonathan Gardner have aboard this problem with the concept of Materialized Views. These functions may be improved to support PostGIS functionality when creating, refreshing or deleting views. ProposalNew functions for:
MilestonesMilestones has been posted on this calendar. KML outputHistoryWe use PostGIS to store vector data in PostgreSQL databases. This data is exposed in web clients like MapServer or desktop clients like QGIS or uDIG. However, Google Earth have growth as a better desktop client to show this data specially for people who never heard about GIS or maps. PostGIS lacked of this functionality before version 1.2.1. This feature had been requested for many users but had not been included. At this point is where the magic of Open Source comes. I decided write this piece of code of a function for PostGIS that exposes geometry as KML objects. This code was reviewed by the guys at Refractions and committed on December 2006. Officially, AsKML() appears on 1.2.1 release of PostGIS. There are many people using this function. Last January I heard of a course implementing this techniques here in Colombia! AsKML (now ST_AsKML) function do not produce full featured KML documents. It just expose the geometry elements as KML objects to be included in programming interfaces in PHP and other client interfaces supported by PostgreSQL. Advantages
Usage
New FeaturesPeople using ST_AsKMLFuture
Mapserver geditSyntax file for highlighting of MapServer .map keywords in the gedit editor INSTALL
http://postexperiments.googlecode.com/svn/trunk/mapserver/gedit/mapserver.lang sudo cp mapserver.lang /usr/share/gtksourceview-2.0/language-specs/ sudo echo -e "application/x-mapserver map" | sudo tee -a /etc/mime.types
sudo echo -e "application/x-mapserver-sym sym" | sudo tee -a /etc/mime.typessudo update-mime-database /usr/share/mime |