Jeff Hobbs’ Intergraph and GIS Technology Blog

“A picture is only worth a thousand words. A map may be worth a thousand numbers. But a GIS is worth a thousand tables.”

Archive for July, 2007

Adobe Releases ColdFusion 8

Posted by jeffhobbs on July 30, 2007

Adobe announced the release of ColdFusion 8. For those that use ColdFusion, this release is being touted as the the most feature-rich release of ColdFusion to date. I bring it up on my blog because Adobe has introduced an integration with .NET. From the Adobe web site:

In previous versions of ColdFusion, there was no native way to integrate those assets into a ColdFusion application. You could use web services to integrate ColdFusion and .NET, but that technique often suffered from poor performance or compatibility problems. ColdFusion 8 software solves this problem by introducing native .NET integration that lets you access Microsoft .NET assembly classes as CFML objects. With ColdFusion 8, now you can leverage .NET objects as easily as Java assets.

What does this mean? I’m not totally sure yet…. However my hope is that this means I can start developing GeoMedia WebMap applications inside of ColdFusion. If so, this would be pretty powerful as I really believe there is no simpler web development language to learn than ColdFusion.

Is anybody else using ColdFusion out there? If so, what are your thoughts? I’d be very interested to see what other people have to say on this topic.

Posted in Intergraph | Leave a Comment »

New Hotfixes

Posted by jeffhobbs on July 30, 2007

For those that are using GeoMedia WebMap or GeoMedia WebMap Professional, Intergraph has released some hotfixes to upgrade to 06.00.35.02. They are dated July 12, however I didn’t know about them until today.

GeoMedia WebMap Hotfix

GeoMedia WebMap Professional Hotfix

GeoMedia WebMap Publisher

I will attempt to post hotfix releases when I find out – at least for the major products. However I encourage others to let me know about a hotfix if they don’t see it on the site.

Posted in GeoMedia, Hotfix | 2 Comments »

Very Interesting Web Sites

Posted by jeffhobbs on July 27, 2007

As you might know, The State of the Map conference in the UK just completed July 15. Although it’s all UK based, they had some very interesting topics. I had been watching the site as I really wanted to get the slides for one presentation titled "Why Mash-ups Suck (and Cartography Matters)" by Richard Fairhurst. Anyhow, I went to the site today and they have wiki that not only has the slides, but also had an audio recording of most if not all of the presentations! Very cool.

Also thought I’d pass on a link given to me by a presenter at BAAMA yesterday. http://hindsight.trulia.com. It allows you to look at different areas and get a better understanding of how they developed. Just the way the data are delievered and the design are very interesting. The temporal aspect of the site and how its integrated into the maps is very cool.

Posted in Web Site | Leave a Comment »

Great GeoMedia WebMap Publisher Site

Posted by jeffhobbs on July 26, 2007

A few days ago Farrell Jones from LSU’s CADGIS Research Laboratory posted a link on the Directions Magazine GeoMedia List pointing readers to his GeoMedia WebMap Publisher site. I took a look, and boy was I impressed! Take a look for yourself: http://campusmap.lsu.edu/map.

If you have some familiarity with the GeoMedia WebMap Publisher application, you’ll be sure to notice different tweaks that he’s made to the default application including:

  1. A create Google Map button
  2. A customized attribute properties dialog  box – he’s even showing photographs in one of the dialog boxes
  3. A custom user-defined queries tool
  4. A new bookmarking tool that saves the extents and map name in the bookmark
  5. I’m sure many more as well

Take a look for yourself. Very cool stuff!

Posted in GeoMedia, Intergraph, Web Site | Leave a Comment »

Few Interesting Findings Today

Posted by jeffhobbs on July 25, 2007

Had a few interesting findings today when trying to do some aggregation. My end goal is to simply move a primary key from a bunch of geocoded points (geocoded to my parcels) to respective lines that touch the parcels.

My first attempt to do this was with GeoMedia Pro 6.0. This worked GREAT when working with spatial filters. However as soon as I removed the filter and tried to do the entire data sets (approx 150,000 parcels being aggregated to 225,000 lines), GeoMedia starts to crash OR the values it returns are all NULL. I’ve filed the issue as a worksheet. It’s apparently a known problem that they’re trying very hard to resolve in 6.1. Unfortunately with my beta of 6.1, it’s not yet fixed :-( .

So off to "Plan B". I decided to do it in Oracle using the Oracle Locator functions. To keep things more simple… at least in my mind, I decided to break this up into two steps:

1) Aggregate the geocoded points to my parcel boundary. I then created a materialized view to store the result data set. The view took maybe two or three hours to create.

2) I then aggregated of few of the attributes from the parcel boundary (from step 1) to my lines (waiting on this to complete as I write this). Again, I’m expecting this to take probably two or three hours. And again, I’m creating a materialized view to make interacting with the result much faster.

On a side note, Simon Greener wrote a FANTASTIC blog entry titled "Fast Refreshing of Oracle Materialized Views Containing SDO_GEOMETRY Columns". If you have any interest in using materialized views inside of the GeoMedia environment (or really anywhere for that matter; this is a MUST read).

Anyhow, when I first tried to do step 2, I kept getting an error about needing to create a spatial filter on my line feature. Now…it was confusing because I KNEW there was already a valid spatial index on this line feature…. So, after playing with my query some, I finally figured out the problem. Apparently you can not run spatial queries between tables that are located in two different databases. This is important to note for those looking to do this in the future.

Basically, I had created an Oracle database link to the database that contained my line feature/table. I was then referencing the linked table through my query. When doing this (at least with Oracle 10GR2), Oracle can not read the spatial index. As a result, the spatial query will not work. As a workaround, I imported the line table into the same database as my parcel table. Then…all of the sudden the query worked!

If anybody is interested, I can post the queries; just let me know.

Will be heading to BAAMA tomorrow if anybody else is going – hope to see you in Oakland, CA!

Posted in GeoMedia, GeoMedia 6.1 Beta, Intergraph, Oracle Database | 2 Comments »

Geocoding Against a Parcel Map

Posted by jeffhobbs on July 24, 2007

Although I’m sure most of you are aware, last year Intergraph released a geocoding expansion pack. Last year I began playing with it against our Thomas Brothers street centerline data. I was able to create the index against the street centerlines with a little bit of effort. However, overall, it was simple…especially once I understood what the software prompts and lingo meant.

Fast forward to this past week. Since I had such good success with the street centerlines, I thought I’d look into geocoding using my parcels. Long story short – it was actually EASIER to setup. In large part this is due to the lack of off-the-shelf options. Where Intergraph provides three Geocoding Model Files for street centerlines, they only provide one for parcels. It’s named US_rooftop_gcm.xml. So, I selected this model and hit the next button.

Next it wanted me to connect to my my source for my parcels. In my case, this is in Oracle. So I made the connection and hit the next button.

In the third screen it wants you to select your address definition. This is simply how your parcel attribute data are parsed. There is only ONE that comes with the software. You can create more yourself by editing XML files.

It’s interesting to note that my original parcels did not match the default definition. As  a result, I worked with another agency to acquire updated and better-parsed parcel attributes. I joined the updated parcel attributes to my parcel geometry and used the new set of attributes as opposed to my original attributes. This is actually what spawned last weeks entry Some SQL for the Day. Anyhow, then you map the columns in your parcel attribute table to the respective text fields. In other words – City column to "City", ZIP column to "ZIP", etc.

The next screen asks you to define the rules for how to determine matches. I left the default. If so inclined, you can select create your own matching index.

Next it prompts you to identify where the index should be saved and also its name. The utility is creating an index to better optimize the geocoding engine. The biggest benefit is speed. The biggest drawback is that the index is a snapshot in time. So if you update your parcels, you’ll need to recreate your index. Now, I have read (I think), that the indexing engine can be scripted via a DOS batch script. As a result, you should be able to create a fairly simple batch script to update your index at pre-determined intervals.

Next it prompts you to locate a geocoding directory. This is simply the location where you’re going to store the index and the XML pointer file (created at this step). The XML pointer file is used in the geocoding tools inside of GeoMedia.

Finally, hit the OK button and wait.

The index creation process took less than a minute to go through 250,000 parcels. In other words, the index creation is VERY fast.

A few things to note:

1) Make sure to save your profile (on the last screen) so that you don’t need to run through the wizard when you choose to update your index.

2) In GeoMedia, locating a single address using Find Address is amazingly fast.

3) I’ve heard a few people complain about the amount of time it takes to setup the index creation. Like much of what Intergraph does, they give you a myriad of choices. This can be good when you really like tweaking. However it can be bad if you just want to get something done…fast. I recommend reviewing the documentation. It’s not hard to understand, but the options can be a little inundating the first time. Especially if trying to create a street centerline index.

4) One of the HUGELY valuable aspects about this application is its parsing ability. In the end, after it has run through your address source, it’s going to spit back all of the address in a very normalized attribute table. This is great if you’re looking for a way to normalize address data.

In the end, it does take some setup, but in my eyes the results make it well worth the time. It was a long time in the waiting, but Intergraph has really outdone themselves with this one!

Posted in GeoMedia, Intergraph | 3 Comments »

Queued Editing in GeoMedia Pro 6.1

Posted by jeffhobbs on July 23, 2007

For those that use GeoMedia Fusion, this will all be familiar. For those that have never used GeoMedia Fusion, it’s a fantastic tool designed in large part to clean and validate data. With Fusion, all of your validation issues are loaded into a queue. In the queue you’re able to go through the edits one at a time, and do many different things including:

  • Make changes to the geometry
  • Add comments to the anomaly
  • Clean up the anomaly and add comments
  • Ignore the anomaly

With GeoMedia Pro 6.1, Intergraph has introduced this functionality into the core product as opposed to it only being available in GeoMedia Fusion. This means that if you have GeoMedia Fusion on one machine, you can create a queue and save it into a warehouse. Then you can hand off this queue (warehouse) to other people and they can review the anomalies identified by GeoMedia Fusion without tying up a license of GeoMedia Fusion.

Furthermore, Intergraph has begun to use the queue for other things like the new search command. I will try and cover this command later this week, but in general, it gives you a way to search through a feature class looking for an attribute. It’s basically a query without having to write any SQL.

With time I can see Intergraph use the queue for more and more functionality. In fact, I could have sworn they were using it for both the Validate Geometry and Validate Connectivity commands. HOWEVER, after reviewing GeoMedia Pro 6.1 while writing this post, I didn’t see the queue used anywhere in the two commands.

Posted in GeoMedia 6.1 Beta, Intergraph | 6 Comments »

General Update

Posted by jeffhobbs on July 23, 2007

Sorry – didn’t get a chance to update too often last week. Have been involved in a myriad of different projects over the last week. Will follow this post with a post on Queued Editing in GeoMedia 6.1

Will be covering a few more things this week including:

  • New features in Oracle 11g
  • Geocoding with GeoMedia
  • Creating an MGE feature using GeoMedia Fusion’s Schema Remodeler

Finally, last, but not least. For those that are San Francisco Bay Area-based, there’s a couple of upcoming events I wanted to remind you of:

1) Thursday, July 26 is the next BAAAM Educational Meeting titled GIS in Transportation. Please go to the BAAMA web site for more information. This should be a fantastic meeting!

2) Wednesday, August 8 is the next Northern California Intergraph Geospatial User’s Community (NCIGUC) meeting. Please go to the NCIGUC web site for more information. This too should be great!

Posted in BAAMA, NCIGUC | Leave a Comment »

Some SQL for the Day

Posted by jeffhobbs on July 17, 2007

Received a parcel attribute data dump for an outside party today. Needed to clean it up so it matched my internal data. There were a few issues:

1) The parcels in the dump did not have dashes in the APN Number.

2) The address number was padded with leading zeros.

Used some SQL to clean up both data differences. Thought I’d pass it long in case others run into similar problems or have similar requirements. I should note that all of the processing was done inside of the Oracle database via SQL*Plus.

1) I figured instead of adding dashes to the dump, I write a view and in the view I’d remove the dashes from my data. Made life much easier. Instead of showing the view syntax, I’ll put the code into a simple update statement:

UPDATE parcel
SET apn_number = REPLACE (apn_number, ‘-’, ”);

With the REPLACE function I’m telling Oracle to do the following:

  • Look at my apn_number column
  • Find all of the dashes in the column
  • Replace the dashes with  "nothing" or two single quotes (”)

Fairly straightforward and very fast (and useful).

2) To eliminate the leading zeros I used the TRIM function. Here’s the update syntax:

UPDATE parcel
SET street_number = TRIM(LEADING 0 FROM my_street_number)

With the TRIM function I’m telling Oracle to do the following:

  • Look at the start (lead) of the my_street_number column
  • Find all of the zeroes (0s) at the start of the column
  • Remove all of the leading zeroes until you get to a non-zero number, then stop the process

In the end, neither SQL statement is complex, but both are very useful. It’s also interesting to note that both statement took under 30 seconds to perform. Very nice considering that there were approximately 250,000 records in both tables.

Posted in Oracle Database | 1 Comment »

Loading Named Styles Automatically in 6.1

Posted by jeffhobbs on July 13, 2007

One of my favorite changes that came in 5.2 (I think) was the ability to name a style (at the time they were called GeoMedia Style Definitions or .gsd) files with the same name as a feature class. Then, as long as the style was in a set folder (identified in Tools > Options), when the feature class was loaded into the legend, it would default to the style definition. I used this ALL THE TIME.
Then, when Intergraph introduced 6.0, the .gsd was eliminated because styles are now saved either in a geoworkspace or a library. With the elimination of the .gsd also came the elimination of the feature classes loading with predetermined styles. Well…I’m happy to report that Intergraph has re-introduced the this functionality in 6.1! So, if you have a style named "Airport" that is in your geoworkspace styles, when you load the feature class named "Airport", it will default to the "Airport" style. Very cool!

Now, a few notes on the functionality.

1) If I understand the specifications correctly (haven’t tried it myself), this functionality only works with styles that are in the geoworkspace. As a result, make sure to have your styles either in a geoworkspace template or make sure to move the styles from your library BEFORE loading feature class. It would be nice if the feature class would look in a library as well, but reading the specifications, it doesn’t appear that this happens.

2) When using Oracle, you need to ensure that the style is named CONNECTION.FEATURE CLASS NAME. In other words, if your data are in an Oracle schema named "GISDATA", your feature class, when first loaded in the legend, will be named GISDATA.MY_FEATURE_CLASS_NAME. You need to make sure the style has the "GISDATA." prefix in the name of the style. I’ve filed this as a change request as this was also a problem with the .gsd files. It’s not a showstopper, but it would be nice if that restriction were removed.

Posted in GeoMedia 6.1 Beta, Intergraph | Leave a Comment »

Right Click to Get Back to the Select Tool

Posted by jeffhobbs on July 13, 2007

One of my favorite things introduced in GeoMedia 6.0 is the ability to right-click on the Map Window and have the cursor switch from Zoom-In, Zoom-Out, or Pan back to the Select Tool. I’m fairly certain many folks know of this small, but greatly beneficial change. But for those that don’t, I did want to pass along the hint as I can’t believe how much I use it!

Now if they could just turn the space bar into a pan tool and provide keyboard shortcuts to zoom in and zoom out, I’d be that much happier!

Posted in GeoMedia, Intergraph | Leave a Comment »

New Functional Attributes in GeoMedia Pro 6.1

Posted by jeffhobbs on July 12, 2007

Haven’t had much chance to work with the GeoMedia Pro 6.1 Beta this week. But did want to pass on a list of the new functional attributes and their descriptions – straight out of the GeoMedia Pro 6.1 Release Contents documentation:

ALIGNMENT function

This new function returns the alignment of a text point geometry.

CONVERTTEXTCOLLECTION function

This new function converts a standard text collection composed of single-character and zero-character text point geometries, into a composite text collection representing a single string.

CREATETEXTPOINT function

This new function creates and returns a text point geometry given a point geometry, text string, alignment, and orientation.

DISTANCE function

This new function computes the minimum distance between two geometries.

FORMATATTRIBUTE function

This new function formats an attribute value into a string according to the display format and display precision settings in the extended GeoMedia client metadata for the attribute.  It yields the same presentation of the attribute used throughout the GeoMedia client.  It is applicable only for attributes, not for intermediate expression results or literal operands, as it is dependent upon the attribute metadata.  For other attribute formatting needs, the TEXT function should be used.

MBR function

This new function returns a polygon representing the minimum bounding rectangle of a geometry, orthogonal to the X-axis.

NEWGUID function

This new function creates and returns a unique value of type GUID (globally unique identifier).

NEWLINE constant

This new constant represents a text literal string containing a carriage return and a line feed.

I haven’t had a chance to play with any of them yet. Just reading the descriptions off the top of my head, to me, the three that have the most value are DISTANCE, NEWLINE, and NEWGUID.

For those that use functional attributes – what do you think is the best addition?

Posted in Functional Attributes, GeoMedia 6.1 Beta, Intergraph | 2 Comments »

Bugs We’ve Found <BETA>

Posted by jeffhobbs on July 12, 2007

I’ve had a few requests for a centralized placed where people can place information on bugs that have been found. Thought this place would be as good as any. I’ll leave the page up for a few weeks. If it turns out to be of use, I’ll keep it. If no one is using it, it’s easy to remove.

So post away!

Posted in GeoMedia, Intergraph, Web Site | Leave a Comment »

Oracle Workspace Manager in Oracle XE

Posted by jeffhobbs on July 12, 2007

Have started to play around with GeoMedia Transaction Manager 6.0 some this week. I hadn’t used it since its 5.2 days when I was with Intergraph. Anyhow, moved a bunch of data into a test Oracle XE database. Then went to secure it using the GTM Administrator. Started getting errors suggesting that something was wrong with my database…. After I did some research, it turns out that Oracle Workspace Manager is NOT in Oracle XE! Wish I had known that (or done the research) before setting up the database. :-(

Anyhow, thought I’d pass it along in case others were looking to do the same.

Posted in GeoMedia, Intergraph, Oracle Database | 2 Comments »

Upcoming NCIGUC User’s Group Meeting

Posted by jeffhobbs on July 12, 2007

For those that are local to the San Francisco Bay Area, we’re having our next Northern California Intergraph Geospatial User’s Community user’s group meeting on August 8, in San Mateo, CA. Take a look at the NCIGUC web site for more information. It should be a great meeting!

Posted in NCIGUC | Leave a Comment »