It's working now.  Great.  Thanks for the help, and the plugin.   I had an older version of .NET 2.0 on my machine (WinXP x64).  Upgrading to .NET 3.0/3.5 did the trick. <br><br>And thanks for the discussion.  With the availability of this plugin (PostGISViewer), OpenJump, several QGIS plugins, and the PostGIS Terminal from Stefan, it makes my original question seem silly.  <br>
<br>- John<br><br>
<br><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 10:59 AM, j.rolland <span dir="ltr"><<a href="mailto:jrmrolland@aol.com">jrmrolland@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
John,<br>
<br>
MapWindow6 or .NET 4.0 don't need to be installed,<br>
<br>
1) just download<br>
<a href="http://dl.free.fr/icO8LcHoa" target="_blank">http://dl.free.fr/icO8LcHoa</a> PostGISViewer  and decompress it like follow :<br>
<br>
<a href="http://old.nabble.com/file/p30902546/directory_postgisviewer.jpg" target="_blank">http://old.nabble.com/file/p30902546/directory_postgisviewer.jpg</a><br>
<br>
2) define the binaries directory in PgAdmin III Preferences :<br>
<br>
<a href="http://old.nabble.com/file/p30902546/preferences_pgadminIII.jpg" target="_blank">http://old.nabble.com/file/p30902546/preferences_pgadminIII.jpg</a><br>
<br>
you can see that the PostGisViewer directory is in C:\Program<br>
Files\PostgreSQL\9.0\bin<br>
<br>
3) put the lines that follow in the plugins.ini file<br>
<br>
;<br>
; PgViewer (Windows)<br>
;<br>
[Separator]<br>
Title=PostGisViewer<br>
Command="$$PGBINDIR\PostGisViewer\PGViewer.exe"  "host=$$HOSTNAME"<br>
"port=$$PORT" "username=$$USERNAME" "password=$$PASSWORD"<br>
"database=$$DATABASE" "schema=$$SCHEMA"  "table=$$TABLE"<br>
Description=PostGIS Viewer<br>
KeyFile=$$PGBINDIR\PostGisViewer\PGViewer.exe<br>
Platform=windows<br>
ServerType=postgresql<br>
Database=Yes<br>
;AppliesTo=database<br>
SetPassword=Yes<br>
<br>
4) When you start again PgAdmin you must see PostGisViewer in the Plugins<br>
Menu.<br>
<br>
<br>
I am using PostgreSQL 9.0 and PgAdmin III 1.12.1 , but i had also tested my<br>
plugin with Postgresql 8.2 /8.4 and PgAdmin III 1.10<br>
<div><div></div><div class="h5"><br>
<br>
regards,<br>
Jérôme Rolland<br>
<br>
<br>
John Callahan wrote:<br>
><br>
> Thanks for the reference.  I love the idea of a map viewer plugin for<br>
> pgAdmin.   I wasn't aware of this plugin.  Unfortunately, I could not get<br>
> it<br>
> to work through pgAdmin III 1.12 (error: "pgviewer encountered a problem<br>
> and<br>
> needs to close")   Off-hand, does it require MapWindow6 or .NET 4.0 to be<br>
> installed?<br>
><br>
> - John<br>
><br>
> **************************************************<br>
> John Callahan, Research Scientist<br>
> Delaware Geological Survey, University of Delaware<br>
> URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
> **************************************************<br>
><br>
><br>
> On Thu, Feb 10, 2011 at 4:51 AM, j.rolland <<a href="mailto:jrmrolland@aol.com">jrmrolland@aol.com</a>> wrote:<br>
><br>
>><br>
>> John,<br>
>><br>
>><br>
>> I developed a plugin for PgAdmin III to visualize PostGIS data.<br>
>> Go to the following link<br>
>><br>
>> <a href="http://ageoguy.blogspot.com/2010/06/plugin-pgadmin-iii-postgisviewer-suite.html" target="_blank">http://ageoguy.blogspot.com/2010/06/plugin-pgadmin-iii-postgisviewer-suite.html</a><br>
>> postgisviewer a plugin for PgAdmin III<br>
>>  on my blog where you can download it and you will find a tutorial (in<br>
>> french) to install and use it.<br>
>><br>
>> You can also consult this link<br>
>><br>
>> <a href="http://www.postgresonline.com/journal/archives/180-pgAdmin113plugins_postgis.html" target="_blank">http://www.postgresonline.com/journal/archives/180-pgAdmin113plugins_postgis.html</a><br>
>> Postgresonline journal pgAdmin III plugins postgis<br>
>><br>
>> Regards,<br>
>> Jérôme Rolland<br>
>><br>
>><br>
>> John Callahan wrote:<br>
>> ><br>
>> > I'm sure this has been asked many times but haven't found a definitive<br>
>> or<br>
>> > consensus answer...<br>
>> ><br>
>> > Is there a postgis client that supports spatial, ad hoc queries and<br>
>> > returns<br>
>> > those results to a map?  This would include simple (and more complex)<br>
>> > SELECT<br>
>> > statements but also other queries with spatial results, such as finding<br>
>> > nearest neighbors, intersect, union, etc...<br>
>> ><br>
>> > The best idea I found was to create a view from the ad hoc query and<br>
>> then<br>
>> > use a desktop GIS to display that view.  You'd need to update the view<br>
>> > (and<br>
>> > refresh the GIS screen) to run a new query.   I know QGIS (and other<br>
>> FOSS<br>
>> > GIS packages) allows you to create a definition query (a where clause<br>
>> to<br>
>> > subset the layer) and does support database views.  I haven't seen a<br>
>> place<br>
>> > where QGIS supports ad hoc queries.  Searching the web, I did find<br>
>> > references to some work done using OpenMap libraries back in 2004, and<br>
>> the<br>
>> > mezoGIS package from around 2005/2006.<br>
>> ><br>
>> > Does anyone know of a GUI tool to use, hopefully one that works for<br>
>> > Postgres<br>
>> > 9 and PostGIS 2?  Thanks.<br>
>> ><br>
>> > - John<br>
>> ><br>
>> > PS - Thanks for the recommendations on the PostGIS in Action book.  I<br>
>> just<br>
>> > purchased it and looking forward to learning what I can.<br>
>> ><br>
>> > **************************************************<br>
>> > John Callahan, Research Scientist<br>
>> > Delaware Geological Survey, University of Delaware<br>
>> > URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
>> > **************************************************<br>
>> ><br>
>> > _______________________________________________<br>
>> > postgis-users mailing list<br>
>> > <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
>> > <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
>> ><br>
>> ><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://old.nabble.com/postgis-visual-client-tp30875438p30890812.html" target="_blank">http://old.nabble.com/postgis-visual-client-tp30875438p30890812.html</a><br>
>> Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
>><br>
>> _______________________________________________<br>
>> postgis-users mailing list<br>
>> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
>><br>
><br>
> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
><br>
<br>
--<br>
</div></div>View this message in context: <a href="http://old.nabble.com/postgis-visual-client-tp30875438p30902546.html" target="_blank">http://old.nabble.com/postgis-visual-client-tp30875438p30902546.html</a><br>
<div><div></div><div class="h5">Sent from the PostGIS - User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br>