What is the center line of a complex polygon?

Sat in on a great presentation yesterday by Tim Schaub and Justin Deoliveira on GeoScript. Definitely check out their tutorials. To practice what I learned, I thought I’d apply it to the problem of how to find the centerline of a polygon. What do I mean by the centerline of a polygon? Well in the case of a stream that is drawn with both it’s … Continue reading What is the center line of a complex polygon?

Debian Configuration– Tomcat on Boot, revision

I revised my startup script for Tomcat to use a non-privileged user for security reasons. I used the following page as my resource: http://linux-sxs.org/internet_serving/c140.html #!/bin/sh # /etc/init.d/tomcat6: start Tomcat6 server. test -f /opt/apache-tomcat-6.0.32/bin/startup.sh || exit 0 PATH=$PATH:/opt/apache-tomcat-6.0.32/bin/ case “$1” in start) export JAVA_HOME=/opt/jre1.6.0_26/ logger -t Tomcat6 “Starting Tomcat 6…” exec su – tomcat -c /opt/apache-tomcat-6.0.32/bin/startup.sh | logger -t Tomcat6 ;; stop) export JAVA_HOME=/opt/jre1.6.0_26/ logger -t … Continue reading Debian Configuration– Tomcat on Boot, revision

PostgreSQL Views within GeoServer, GetFeatureInfo with Freemarker Templates, etc.

GeoServer now has the ability to consume database views from PostGIS, not just raw tables. I say it “now” has that ability– I think that came online with GeoServer 2.x series, but I’m just “now” starting to take advantage of it. You can also create views on the fly within GeoServer, but I prefer to apply the logic at the database level, just in case … Continue reading PostgreSQL Views within GeoServer, GetFeatureInfo with Freemarker Templates, etc.

FOSS4G 2011 Denver– Ideal schedule

I spent a few hours winnowing down my list of desired talks at FOSS4G and came up with the following list. Path dependence (i.e. technologies related to the ones I’m already deploying) were at the top of this list, but I do hope to expand my knowledge of all the options as well. For almost every slot, there were anywhere from 2 to 4 presentations … Continue reading FOSS4G 2011 Denver– Ideal schedule

Really loooong WMS requests

We have a GeoExt/Mapfish/GeoServer/PostGIS stack in house that allows us to print nice maps through a web interface. There has been a ceiling, however, as far as size– 140dpi and 22×34 has been the largest we’ve been able to render maps, and even then, sometimes the layers are too complicated. For a long time I was under the naïve impression that it was a memory … Continue reading Really loooong WMS requests

GDAL, MrSid, and nearblack

Translating MrSid lossy compressed files into uncompressed imagery has its drawbacks, including licensing and artifacts. Old versions of fwtools, which includes the GDAL utilities (and more), were compiled with a license that allowed for the translation of MrSid into e.g. Erdas Imagine images or GeoTiff. The licensing changed on that library, so FWTools and MS4W don’t do this anymore. If you have a compiled version … Continue reading GDAL, MrSid, and nearblack

Dialog– What qualifies as a benchmark? Part 1

Normally, my blog is a bit of a monologue.  It’s not a bad thing, but can be a little lonely.  Every now and then I get a great (and often doubtful) comments, which enhances things considerably. What follows is some dialog about the LiDAR shootout series, largely between Etienne and Pierre, posted with their permission: Pierre: “Etienne, Stephen, “I really appreciate the benchmark work you … Continue reading Dialog– What qualifies as a benchmark? Part 1