1

Which plugin allows you to run ad hoc queries from postgis in Openjump? How do you install it in Ubuntu?

1 Answer 1

2

Assuming you are using postgresql with postgis extension I don't think you need a special plugin. The core application can do that for you.

  1. Just go to Layer -> Run Database Query
  2. Click the Connection Manager icon next to Connection.
  3. Press Add, give it a name, choose driver POSTGIS and fill out the details how to reach your database.
  4. Connect to it.
  5. Enter a query (e.q. SELECT some_geometry_column FROM some_table_with_a_geometry_column;) and press OK

You should now see a layer showing your geospatial data.

Just install Open Jump through the package manager in Ubuntu. Or if you do not know how to do that see: http://geomaniaa.blogspot.com/2009/07/openjump-how-to-setup-on-linux-in-seven.html

2
  • The confusion was that the package manager only has version 1.0.4. Latest is 1.4.2, which has the run datastore query option. Instead of finding the run datastore query under the layer menu, I found it under the file menu.
    – Steve
    Jan 22, 2012 at 13:39
  • I would vote this answer up and mark it as answer, but it tells me I need to be logged in...but I already am.
    – Steve
    Jan 22, 2012 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.