here's code i use to find nearest neighbor for reverse geocoding with TeleAtlas data.<br><br>pt := GeomFromEWKT('SRID=4326;POINT(' || $2 || ' ' || $1 || ')');<br>select l_f_add, l_t_add, r_f_add, r_t_add, l_pc, r_pc, l_laxon, r_laxon, l_order01, r_order01, fullname, geom into rec
<br>&nbsp;&nbsp;&nbsp; from usauma________gc where id = (select id from usauma________gc where geom &amp;&amp; Expand(pt,0.003) group by id order by Min(Distance(geom,pt)) limit 1);<br><br>of course $2 is longitude, $1 is latitude, pt is geometry and rec is record.
<br><br><div><span class="gmail_quote">On 12/2/06, <b class="gmail_sendername"><a href="mailto:postgis-users-request@postgis.refractions.net">postgis-users-request@postgis.refractions.net</a></b> &lt;<a href="mailto:postgis-users-request@postgis.refractions.net">
postgis-users-request@postgis.refractions.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send postgis-users mailing list submissions to
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:postgis-users-request@postgis.refractions.net">postgis-users-request@postgis.refractions.net
</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:postgis-users-owner@postgis.refractions.net">postgis-users-owner@postgis.refractions.net</a><br><br>When replying, please edit your Subject line so it is more specific
<br>than &quot;Re: Contents of postgis-users digest...&quot;<br><br><br>Today's Topics:<br><br>&nbsp;&nbsp; 1. Re: Postgis Java Geometry classes/Hibernate,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;borken<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;query[Solution] (Dave Potts)<br>&nbsp;&nbsp; 2. Re: RE: RE: zigGIS Usage Experiences (Paolo Corti)
<br>&nbsp;&nbsp; 3. Re: RE: RE: zigGIS Usage Experiences (Abe Gillespie)<br>&nbsp;&nbsp; 4. Re: RE: RE: zigGIS Usage Experiences (Paolo Corti)<br>&nbsp;&nbsp; 5. RE: RE: RE: zigGIS Usage Experiences (Bruce Rindahl)<br>&nbsp;&nbsp; 6. RE: RE: RE: zigGIS Usage Experiences (
<a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a>)<br>&nbsp;&nbsp; 7. RE: RE: RE: zigGIS Usage Experiences (<a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a>)<br>&nbsp;&nbsp; 8. Re: RE: RE: zigGIS Usage Experiences (Abe Gillespie)
<br>&nbsp;&nbsp; 9. what is the units of distance parameter in the&nbsp;&nbsp;&nbsp;&nbsp;buffer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Sandeep Kumar Jakkaraju)<br>&nbsp;&nbsp;10. RE: what is the units of distance parameter in&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;&nbsp; buffer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Pedro Doria Meunier)
<br>&nbsp;&nbsp;11. RE: what is the units of distance parameter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inthe&nbsp;&nbsp; buffer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Bruce Rindahl)<br>&nbsp;&nbsp;12. Re: what is the units of distance parameter in&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;&nbsp; buffer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Bill Thoen)<br>&nbsp;&nbsp;13. Nearest Neighbour queries in Postgis (Sandeep Kumar Jakkaraju)
<br>&nbsp;&nbsp;14. Re: Nearest Neighbour queries in Postgis (Dylan Beaudette)<br>&nbsp;&nbsp;15. Re: what is the units of distance parameter in the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buffer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Michael Fuhr)<br>&nbsp;&nbsp;16. RE: what is the units of distance parameter&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inthe&nbsp;&nbsp; buffer
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;function (Pedro Doria Meunier)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 01 Dec 2006 20:06:13 +0000<br>From: Dave Potts &lt;<a href="mailto:dave.potts@pinan.co.uk">
dave.potts@pinan.co.uk</a>&gt;<br>Subject: Re: [postgis-users] Postgis Java Geometry classes/Hibernate,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;borken&nbsp;&nbsp;query[Solution]<br>To: PostGIS Users Discussion &lt;<a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;<a href="mailto:45708B35.10403@pinan.co.uk">45708B35.10403@pinan.co.uk</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Dave Potts wrote:
<br>&gt; Hi Folks<br>&gt;<br>&gt; I am using hibernate to query a postgis database.<br>&gt;<br>&gt; The majority of my distance queries work as expected, one does not!<br>&gt; For one distance setting I get loads of answers, for a greater
<br>&gt; distance, I get none, when I would expect to get at least the first set.<br>&gt;<br>&gt; So I suspect that either Hibernate or Postgis are having problems.<br>&gt;<br>&gt; I can type the query in by hand and it works as expected , so I don't
<br>&gt; suspect the database or postgis interface to the database.<br>&gt;<br>&gt; Is there any debug code in postgres/postgi/Hibernate that will actual<br>&gt; allow me work out what data is being sent from postgres to hibernate,
<br>&gt; what hibernate is caching and what its forwarding to the end user.<br>&gt;<br>&gt; regards David<br>&gt; _______________________________________________<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br>I found the problem,&nbsp;&nbsp;my hibernate query said something like
<br><br>blah blah blah manor.geometry is not null and distance(manor.geometry,<br>srcCastle.geometry)&nbsp;&nbsp;&lt; :distance<br><br>I was setting the value of distance by saying<br><br>query.setString(&quot;distance&quot;,&quot;3000&quot;);
<br><br>Distance is a numerical construct<br><br>as soon as I said<br>query.setInteger(&quot;distance&quot;,3000);<br><br>It now works as expected !<br>Its at times like this, I remeber Pascal and its very rigid views about
<br>argument types.<br><br>It has taken some 7 hours to find this problem.<br><br>David.<br><br><br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: dave.potts.vcf<br>Type: text/x-vcard
<br>Size: 85 bytes<br>Desc: not available<br>Url : <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061201/300bf9df/dave.potts-0001.vcf">http://lists.refractions.net/pipermail/postgis-users/attachments/20061201/300bf9df/dave.potts-0001.vcf
</a><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 1 Dec 2006 12:15:34 -0800 (PST)<br>From: Paolo Corti &lt;<a href="mailto:pcorti@gmail.com">pcorti@gmail.com</a>&gt;<br>Subject: Re: [postgis-users] RE: RE: zigGIS Usage Experiences
<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Message-ID: &lt;<a href="mailto:7645455.post@talk.nabble.com">7645455.post@talk.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii
<br><br><br>Hi Abe<br>I will do it, should I continue in the webspace from where I downloaded?<br>Let me know!<br><br>My plans are:<br>1) Some code refactoring<br>2) correct bugs about rendering<br>3) try to solve the edit problem (maybe I can have a direct contact with
<br>Esri, some years ago I was working for Esri Italy) in the clean way, this<br>meaning without doing anything like in the PgArc fashion with a proxy<br>shapefile but just solving the ArcGis desktop complain that editor is not
<br>allowed (this issue you were also asking at the support esri website:<br><a href="http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977">http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977
</a>)<br>4) if I can't solve the edit issue in a clean way go with the PgArc fashion<br>for editing<br>5) implementing ZigGis to work also with MySql and maybe with SQL Server<br>spatial<br><br>Let me know if I should open a web space at SourceForge or should I continue
<br>to use the web space you were using<br><br>If someone, like Joshua, is willing to help me is very welcome<br><br>best regards<br><br>Paolo Corti<br>GIS Developer<br><a href="http://www.paolocorti.net">http://www.paolocorti.net
</a><br><br><br><br><br>Abe Gillespie wrote:<br>&gt;<br>&gt; What I would love to see is someone officially take over the project.<br>&gt; Even if they're not contributing code ... at least managing the<br>&gt; project.&nbsp;&nbsp;I feel like people are finally seeing some good in the code
<br>&gt; and perhaps we can get enough momentum going where this thing finally<br>&gt; moves forward.<br>&gt;<br>&gt; Anyone?<br>&gt;<br>&gt; -Abe<br>&gt;<br>&gt; On 12/1/06, Bruce Rindahl &lt;<a href="mailto:rindahl@lrcwe.com">
rindahl@lrcwe.com</a>&gt; wrote:<br>&gt;&gt; Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also<br>&gt;&gt; love<br>&gt;&gt; to try it.&nbsp;&nbsp;I do not have access to Visual Studio.<br>&gt;&gt; Thanks<br>&gt;&gt; Bruce Rindahl
<br>&gt;&gt;<br>&gt;&gt; -----Original Message-----<br>&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Paolo<br>&gt;&gt; Corti<br>&gt;&gt; Sent: Friday, December 01, 2006 12:04 PM<br>&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt; Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Thank you Joshua<br>&gt;&gt; now it is working!<br>&gt;&gt;<br>&gt;&gt; with some quick debug i discovered it was a stupid problem with my
<br>&gt;&gt; international settings.<br>&gt;&gt;<br>&gt;&gt; The funny thing is that now with correcting the regional settings it<br>&gt;&gt; works<br>&gt;&gt; also the previous version i had (the public 8.3 based version - that I
<br>&gt;&gt; modified to work with 9.0 and from which I removed the circular<br>&gt;&gt; reference problem). In this previous version you DON'T NEED to create<br>&gt;&gt; the view, so that problem It was already solved but came back in the
<br>&gt;&gt; version Abe emailed you...<br>&gt;&gt;<br>&gt;&gt; So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>&gt;&gt; Solution<br>&gt;&gt; of ZigGis, without need creating the view as you suggested.
<br>&gt;&gt;<br>&gt;&gt; I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>&gt;&gt; thought is so fast, after all we are not reading an ArcGis native<br>&gt;&gt; geometry),<br>&gt;&gt; but I see there are still many things to do (before implementing
<br>&gt;&gt; editing):<br>&gt;&gt; for example rendering with symbology is not working, the geometry column<br>&gt;&gt; seems to have a problem (is undefined),<br>&gt;&gt; ....<br>&gt;&gt;<br>&gt;&gt; Who knows why it is not possible editing data, this would be a super tip
<br>&gt;&gt; to<br>&gt;&gt; get to know what can be, AFAIK Abe was trying to discover that for more<br>&gt;&gt; than<br>&gt;&gt; one month! I am sure if someone from the Esri Geodatabase team could give<br>&gt;&gt; us<br>
&gt;&gt; a little help about this they could give us the right direction for<br>&gt;&gt; letting<br>&gt;&gt; the layer to be edited. I don't think there is a block, we probably need<br>&gt;&gt; to<br>&gt;&gt; implement in the right way the right interface...
<br>&gt;&gt;<br>&gt;&gt; in any case thank you for helping me<br>&gt;&gt;<br>&gt;&gt; Best regards<br>&gt;&gt; Paolo<br>&gt;&gt;<br>&gt;&gt; Paolo Corti wrote:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Hi Joshua,<br>&gt;&gt; &gt;
<br>&gt;&gt; &gt; thank you for emailing me the latest Abe's version.<br>&gt;&gt; &gt; What I had it was this: <a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis</a><br>&gt;&gt; &gt; and it was for 
8.3, with a circular reference problem.<br>&gt;&gt; &gt; If i knew that there was what you sended me I would have saved 1 day<br>&gt;&gt; time<br>&gt;&gt; &gt; it took me to get what I had compiled with AO 9.0.<br>&gt;&gt; &gt; In any case I compiled the project you emailed me with Visual Studio
<br>&gt;&gt; 2005<br>&gt;&gt; &gt; (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt;&gt; &gt; It compiles fine, but when I add a layer:<br>&gt;&gt; &gt; 1) if I just add a working PostGis layer it gives error<br>&gt;&gt; &gt; 2) if I add a view (like you suggested) to the Working PostGis layer,
<br>&gt;&gt; it<br>&gt;&gt; &gt; seems working, the layer is added at the TOC, but nothing is drawn. If<br>&gt;&gt; I<br>&gt;&gt; &gt; open the attribute table it shows me all the record, but the geometry<br>&gt;&gt; &gt; field is empty.
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; any idea?<br>&gt;&gt; &gt; thanks in advance<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Paolo<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; in fact what I had it was downloaded from SourceForge and it was still
<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; joshua.uyehara wrote:<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Hey Paolo,<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; I'm using ArcGIS Desktop 9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>
&gt;&gt; using<br>&gt;&gt; &gt;&gt; a later snapshot of ZigGIS.<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt;&gt; &gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from
<br>&gt;&gt; Abe,<br>&gt;&gt; &gt;&gt; but I never tested that version with the workaround that I outlined.<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br>
&gt;&gt; &gt;&gt; see if you have any better luck with it.<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Joshua Uyehara<br>&gt;&gt; &gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; -----Original Message-----<br>&gt;&gt; &gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt; &gt;&gt; Paolo Corti<br>&gt;&gt; &gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt;&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Hello Joshua<br>&gt;&gt; &gt;&gt; I tried what you suggested (I also added the GID field in the view, it
<br>&gt;&gt; &gt;&gt; caused an error).<br>&gt;&gt; &gt;&gt; But ZigGis goes in error when is adding layer, specifically at this<br>&gt;&gt; line<br>&gt;&gt; &gt;&gt; of<br>&gt;&gt; &gt;&gt; code:<br>&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; doc.AddLayer(layer);<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; the error i get is AccessViolationExpection<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; did you also try using ZigGis with ArcMap 9.0 ?<br>&gt;&gt; &gt;&gt;
<br>&gt;&gt; &gt;&gt; in any case thank you for helping me, i will investigate more deeply<br>&gt;&gt; and<br>&gt;&gt; &gt;&gt; if i get into some resolution I will drop a note here<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; best regards
<br>&gt;&gt; &gt;&gt; Paolo<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; joshua.uyehara wrote:<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Hey Paolo,<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally
<br>&gt;&gt; plugging<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is<br>&gt;&gt; due<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; to a minor bug.<br>&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt; &gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native<br>&gt;&gt; &gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'<br>&gt;&gt; &gt;&gt;&gt; internal binary format is not identical to the expected wkb format,
<br>&gt;&gt; so<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a<br>&gt;&gt; &gt;&gt;&gt; feature-less object class.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; One quick workaround is to create a view of the table that converts
<br>&gt;&gt; &gt;&gt;&gt; the geometry column with asbinary(), and then manually add the<br>&gt;&gt; &gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; E.g.,<br>&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt; &gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as<br>&gt;&gt; &gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO<br>&gt;&gt; &gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,
<br>&gt;&gt; &gt;&gt;&gt; coord_dimension, srid, type) VALUES<br>&gt;&gt; &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt;&gt; &gt;&gt; 'MULTIPOLYGON');<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,
<br>&gt;&gt; &gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's an<br>&gt;&gt; &gt;&gt;&gt; ugly kludge, but I haven't had the time to fix the problem in ZigGIS<br>&gt;&gt; &gt;&gt;&gt; itself yet.
<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br>&gt;&gt; &gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to<br>&gt;&gt; &gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you
<br>&gt;&gt; &gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Hope that helped,<br>&gt;&gt; &gt;&gt;&gt; Joshua Uyehara<br>&gt;&gt; &gt;&gt;&gt; 
<a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; -----Original Message-----<br>&gt;&gt; &gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt; &gt;&gt;&gt; Paolo Corti
<br>&gt;&gt; &gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM<br>&gt;&gt; &gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences
<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Hello Abe<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>&gt;&gt; amazing!<br>
&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; maybe you can give me a help<br>&gt;&gt; &gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt;&gt; &gt;&gt;&gt; modifications at the code to get this) and .NET 
2.0 It compiled fine,<br>&gt;&gt; &gt;&gt;&gt; but when I start ArcMap and I add a PostGIS layer, it adds the layer<br>&gt;&gt; &gt;&gt;&gt; on the TOC but nothing is showed/drawed on the map.<br>&gt;&gt; &gt;&gt;&gt; Looks like geometries are not read from the shape column.
<br>&gt;&gt; &gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could<br>&gt;&gt; &gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt;&gt; &gt;&gt;&gt; investigate/debug myself the code in order to find what is not going
<br>&gt;&gt; &gt;&gt;&gt; properly<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; best regards<br>&gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt;&gt; &gt;&gt;&gt; GIS Developer<br>&gt;&gt; &gt;&gt;&gt; <a href="http://www.paolocorti.net">
http://www.paolocorti.net</a><br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; Abe Gillespie wrote:<br>&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9 subscribers
<br>&gt;&gt; &gt;&gt;&gt;&gt; with a ton more downloads than that.<br>&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even<br>&gt;&gt; &gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any
<br>&gt;&gt; &gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;&gt; Thanks.<br>&gt;&gt; &gt;&gt;&gt;&gt; -Abe<br>&gt;&gt; &gt;&gt;&gt;&gt; _______________________________________________
<br>&gt;&gt; &gt;&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt; &gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; --<br>&gt;&gt; &gt;&gt;&gt; View this message in context:
<br>&gt;&gt; &gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276</a><br>&gt;&gt; &gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; &gt;&gt;&gt; _______________________________________________
<br>&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; --<br>&gt;&gt; &gt;&gt; View this message in context:<br>&gt;&gt; &gt;&gt; 
<a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt;&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; &gt;&gt; _______________________________________________
<br>&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; View this message in context:<br>&gt;&gt; 
<a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>&gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">
Nabble.com</a>.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt; _______________________________________________<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br>&gt;<br><br>--<br>View this message in context: 
<a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645455">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645455</a><br>Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">
Nabble.com</a>.<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 1 Dec 2006 15:18:15 -0500<br>From: &quot;Abe Gillespie&quot; &lt;<a href="mailto:abe.gillespie@gmail.com">abe.gillespie@gmail.com
</a>&gt;<br>Subject: Re: [postgis-users] RE: RE: zigGIS Usage Experiences<br>To: &quot;PostGIS Users Discussion&quot; &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;
<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:a6d397e30612011218j5088643hfb94ed9a1aff9b0a@mail.gmail.com">a6d397e30612011218j5088643hfb94ed9a1aff9b0a@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>Very good!&nbsp;&nbsp;I will get with you offline over the weekend and we can<br>set things up.<br><br>-Abe<br><br>On 12/1/06, Paolo Corti &lt;<a href="mailto:pcorti@gmail.com">pcorti@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Hi Abe
<br>&gt; I will do it, should I continue in the webspace from where I downloaded?<br>&gt; Let me know!<br>&gt;<br>&gt; My plans are:<br>&gt; 1) Some code refactoring<br>&gt; 2) correct bugs about rendering<br>&gt; 3) try to solve the edit problem (maybe I can have a direct contact with
<br>&gt; Esri, some years ago I was working for Esri Italy) in the clean way, this<br>&gt; meaning without doing anything like in the PgArc fashion with a proxy<br>&gt; shapefile but just solving the ArcGis desktop complain that editor is not
<br>&gt; allowed (this issue you were also asking at the support esri website:<br>&gt; <a href="http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977">http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977
</a>)<br>&gt; 4) if I can't solve the edit issue in a clean way go with the PgArc fashion<br>&gt; for editing<br>&gt; 5) implementing ZigGis to work also with MySql and maybe with SQL Server<br>&gt; spatial<br>&gt;<br>&gt; Let me know if I should open a web space at SourceForge or should I continue
<br>&gt; to use the web space you were using<br>&gt;<br>&gt; If someone, like Joshua, is willing to help me is very welcome<br>&gt;<br>&gt; best regards<br>&gt;<br>&gt; Paolo Corti<br>&gt; GIS Developer<br>&gt; <a href="http://www.paolocorti.net">
http://www.paolocorti.net</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Abe Gillespie wrote:<br>&gt; &gt;<br>&gt; &gt; What I would love to see is someone officially take over the project.<br>&gt; &gt; Even if they're not contributing code ... at least managing the
<br>&gt; &gt; project.&nbsp;&nbsp;I feel like people are finally seeing some good in the code<br>&gt; &gt; and perhaps we can get enough momentum going where this thing finally<br>&gt; &gt; moves forward.<br>&gt; &gt;<br>&gt; &gt; Anyone?
<br>&gt; &gt;<br>&gt; &gt; -Abe<br>&gt; &gt;<br>&gt; &gt; On 12/1/06, Bruce Rindahl &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt; wrote:<br>&gt; &gt;&gt; Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also
<br>&gt; &gt;&gt; love<br>&gt; &gt;&gt; to try it.&nbsp;&nbsp;I do not have access to Visual Studio.<br>&gt; &gt;&gt; Thanks<br>&gt; &gt;&gt; Bruce Rindahl<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; -----Original Message-----<br>&gt; &gt;&gt; From: 
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a>] On Behalf Of Paolo<br>&gt; &gt;&gt; Corti<br>&gt; &gt;&gt; Sent: Friday, December 01, 2006 12:04 PM<br>&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<br>&gt; &gt;&gt; Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Thank you Joshua<br>&gt; &gt;&gt; now it is working!<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; with some quick debug i discovered it was a stupid problem with my
<br>&gt; &gt;&gt; international settings.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; The funny thing is that now with correcting the regional settings it<br>&gt; &gt;&gt; works<br>&gt; &gt;&gt; also the previous version i had (the public 
8.3 based version - that I<br>&gt; &gt;&gt; modified to work with 9.0 and from which I removed the circular<br>&gt; &gt;&gt; reference problem). In this previous version you DON'T NEED to create<br>&gt; &gt;&gt; the view, so that problem It was already solved but came back in the
<br>&gt; &gt;&gt; version Abe emailed you...<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>&gt; &gt;&gt; Solution<br>&gt; &gt;&gt; of ZigGis, without need creating the view as you suggested.
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>&gt; &gt;&gt; thought is so fast, after all we are not reading an ArcGis native<br>&gt; &gt;&gt; geometry),<br>
&gt; &gt;&gt; but I see there are still many things to do (before implementing<br>&gt; &gt;&gt; editing):<br>&gt; &gt;&gt; for example rendering with symbology is not working, the geometry column<br>&gt; &gt;&gt; seems to have a problem (is undefined),
<br>&gt; &gt;&gt; ....<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Who knows why it is not possible editing data, this would be a super tip<br>&gt; &gt;&gt; to<br>&gt; &gt;&gt; get to know what can be, AFAIK Abe was trying to discover that for more
<br>&gt; &gt;&gt; than<br>&gt; &gt;&gt; one month! I am sure if someone from the Esri Geodatabase team could give<br>&gt; &gt;&gt; us<br>&gt; &gt;&gt; a little help about this they could give us the right direction for<br>
&gt; &gt;&gt; letting<br>&gt; &gt;&gt; the layer to be edited. I don't think there is a block, we probably need<br>&gt; &gt;&gt; to<br>&gt; &gt;&gt; implement in the right way the right interface...<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; in any case thank you for helping me
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Best regards<br>&gt; &gt;&gt; Paolo<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Paolo Corti wrote:<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Hi Joshua,<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; thank you for emailing me the latest Abe's version.
<br>&gt; &gt;&gt; &gt; What I had it was this: <a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis</a><br>&gt; &gt;&gt; &gt; and it was for 8.3, with a circular reference problem.<br>
&gt; &gt;&gt; &gt; If i knew that there was what you sended me I would have saved 1 day<br>&gt; &gt;&gt; time<br>&gt; &gt;&gt; &gt; it took me to get what I had compiled with AO 9.0.<br>&gt; &gt;&gt; &gt; In any case I compiled the project you emailed me with Visual Studio
<br>&gt; &gt;&gt; 2005<br>&gt; &gt;&gt; &gt; (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt; &gt;&gt; &gt; It compiles fine, but when I add a layer:<br>&gt; &gt;&gt; &gt; 1) if I just add a working PostGis layer it gives error
<br>&gt; &gt;&gt; &gt; 2) if I add a view (like you suggested) to the Working PostGis layer,<br>&gt; &gt;&gt; it<br>&gt; &gt;&gt; &gt; seems working, the layer is added at the TOC, but nothing is drawn. If<br>&gt; &gt;&gt; I
<br>&gt; &gt;&gt; &gt; open the attribute table it shows me all the record, but the geometry<br>&gt; &gt;&gt; &gt; field is empty.<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; any idea?<br>&gt; &gt;&gt; &gt; thanks in advance
<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; Paolo<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; in fact what I had it was downloaded from SourceForge and it was still<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt; joshua.uyehara
 wrote:<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; Hey Paolo,<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; I'm using ArcGIS Desktop 9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt; &gt;&gt; using<br>&gt; &gt;&gt; &gt;&gt; a later snapshot of ZigGIS.
<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt; &gt;&gt; &gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from<br>&gt; &gt;&gt; Abe,
<br>&gt; &gt;&gt; &gt;&gt; but I never tested that version with the workaround that I outlined.<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br>
&gt; &gt;&gt; &gt;&gt; see if you have any better luck with it.<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; Joshua Uyehara<br>&gt; &gt;&gt; &gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com
</a><br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; -----Original Message-----<br>&gt; &gt;&gt; &gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a><br>&gt; &gt;&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt; &gt;&gt; &gt;&gt; Paolo Corti<br>&gt; &gt;&gt; &gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM
<br>&gt; &gt;&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; Hello Joshua<br>&gt; &gt;&gt; &gt;&gt; I tried what you suggested (I also added the GID field in the view, it<br>&gt; &gt;&gt; &gt;&gt; caused an error).<br>&gt; &gt;&gt; &gt;&gt; But ZigGis goes in error when is adding layer, specifically at this
<br>&gt; &gt;&gt; line<br>&gt; &gt;&gt; &gt;&gt; of<br>&gt; &gt;&gt; &gt;&gt; code:<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; doc.AddLayer(layer);<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; the error i get is AccessViolationExpection
<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; did you also try using ZigGis with ArcMap 9.0 ?<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; in any case thank you for helping me, i will investigate more deeply
<br>&gt; &gt;&gt; and<br>&gt; &gt;&gt; &gt;&gt; if i get into some resolution I will drop a note here<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; best regards<br>&gt; &gt;&gt; &gt;&gt; Paolo<br>&gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; joshua.uyehara wrote:<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Hey Paolo,<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally
<br>&gt; &gt;&gt; plugging<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is<br>&gt; &gt;&gt; due<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; to a minor bug.
<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native<br>&gt; &gt;&gt; &gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'<br>
&gt; &gt;&gt; &gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt; &gt;&gt; so<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a
<br>&gt; &gt;&gt; &gt;&gt;&gt; feature-less object class.<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt; &gt;&gt; &gt;&gt;&gt; the geometry column with asbinary(), and then manually add the
<br>&gt; &gt;&gt; &gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; E.g.,<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as
<br>&gt; &gt;&gt; &gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO<br>&gt; &gt;&gt; &gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt; &gt;&gt; &gt;&gt;&gt; coord_dimension, srid, type) VALUES
<br>&gt; &gt;&gt; &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt; &gt;&gt; &gt;&gt; 'MULTIPOLYGON');<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,
<br>&gt; &gt;&gt; &gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's an<br>&gt; &gt;&gt; &gt;&gt;&gt; ugly kludge, but I haven't had the time to fix the problem in ZigGIS<br>&gt; &gt;&gt; &gt;&gt;&gt; itself yet.
<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br>&gt; &gt;&gt; &gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to
<br>&gt; &gt;&gt; &gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br>&gt; &gt;&gt; &gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt; &gt;&gt; &gt;&gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;&gt; Hope that helped,<br>&gt; &gt;&gt; &gt;&gt;&gt; Joshua Uyehara<br>&gt; &gt;&gt; &gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt; &gt;&gt; &gt;&gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;&gt; -----Original Message-----<br>&gt; &gt;&gt; &gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt; [mailto:
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt; &gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt; &gt;&gt; &gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM
<br>&gt; &gt;&gt; &gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences<br>&gt; &gt;&gt; &gt;&gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Hello Abe<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>&gt; &gt;&gt; amazing!<br>
&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; maybe you can give me a help<br>&gt; &gt;&gt; &gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt; &gt;&gt; &gt;&gt;&gt; modifications at the code to get this) and .NET 
2.0 It compiled fine,<br>&gt; &gt;&gt; &gt;&gt;&gt; but when I start ArcMap and I add a PostGIS layer, it adds the layer<br>&gt; &gt;&gt; &gt;&gt;&gt; on the TOC but nothing is showed/drawed on the map.<br>&gt; &gt;&gt; &gt;&gt;&gt; Looks like geometries are not read from the shape column.
<br>&gt; &gt;&gt; &gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could<br>&gt; &gt;&gt; &gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt; &gt;&gt; &gt;&gt;&gt; investigate/debug myself the code in order to find what is not going
<br>&gt; &gt;&gt; &gt;&gt;&gt; properly<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; best regards<br>&gt; &gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt; &gt;&gt; &gt;&gt;&gt; GIS Developer<br>&gt; &gt;&gt; &gt;&gt;&gt; 
<a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; Abe Gillespie wrote:<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9 subscribers
<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; with a ton more downloads than that.<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any
<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; Thanks.<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; -Abe<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; _______________________________________________
<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt;&gt; 
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt;&gt; --<br>&gt; &gt;&gt; &gt;&gt;&gt; View this message in context:<br>&gt; &gt;&gt; &gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276
</a><br>&gt; &gt;&gt; &gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt; _______________________________________________
<br>&gt; &gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt; &gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; &gt;&gt;&gt; 
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt; --<br>&gt; &gt;&gt; &gt;&gt; View this message in context:<br>&gt; &gt;&gt; &gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt; &gt;&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt;&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt; &gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt; &gt;&gt; _______________________________________________
<br>&gt; &gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;&gt;<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt; &gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt; View this message in context:
<br>&gt; &gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt;
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; postgis-users mailing list<br>&gt; &gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt; --<br>&gt; View this message in context: <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645455">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645455</a><br>&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;<br>&gt; _______________________________________________
<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br><br><br>------------------------------<br><br>Message: 4<br>Date: Fri, 1 Dec 2006 12:37:14 -0800 (PST)<br>From: Paolo Corti &lt;<a href="mailto:pcorti@gmail.com">
pcorti@gmail.com</a>&gt;<br>Subject: Re: [postgis-users] RE: RE: zigGIS Usage Experiences<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Message-ID: &lt;<a href="mailto:7645784.post@talk.nabble.com">
7645784.post@talk.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br><br>I forgot to say that one of the fist thing I want to do is an installer, so<br>more people can get in touch with ZigGis (I am dead sure many many people
<br>wanted to use it but didn't because they don't know c# and how to make it<br>working).<br>Whit more people installing ZigGis we can even get to know more bugs and fix<br>them (a sort of alfa-beta test)<br><br>Paolo<br>
<br><br>Paolo Corti wrote:<br>&gt;<br>&gt; Hi Abe<br>&gt; I will do it, should I continue in the webspace from where I downloaded?<br>&gt; Let me know!<br>&gt;<br>&gt; My plans are:<br>&gt; 1) Some code refactoring<br>&gt; 2) correct bugs about rendering
<br>&gt; 3) try to solve the edit problem (maybe I can have a direct contact with<br>&gt; Esri, some years ago I was working for Esri Italy) in the clean way, this<br>&gt; meaning without doing anything like in the PgArc fashion with a proxy
<br>&gt; shapefile but just solving the ArcGis desktop complain that editor is not<br>&gt; allowed (this issue you were also asking at the support esri website:<br>&gt; <a href="http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977">
http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977</a>)<br>&gt; 4) if I can't solve the edit issue in a clean way go with the PgArc<br>&gt; fashion for editing<br>&gt; 5) implementing ZigGis to work also with MySql and maybe with SQL Server
<br>&gt; spatial<br>&gt;<br>&gt; Let me know if I should open a web space at SourceForge or should I<br>&gt; continue to use the web space you were using<br>&gt;<br>&gt; If someone, like Joshua, is willing to help me is very welcome
<br>&gt;<br>&gt; best regards<br>&gt;<br>&gt; Paolo Corti<br>&gt; GIS Developer<br>&gt; <a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Abe Gillespie wrote:<br>&gt;&gt;
<br>&gt;&gt; What I would love to see is someone officially take over the project.<br>&gt;&gt; Even if they're not contributing code ... at least managing the<br>&gt;&gt; project.&nbsp;&nbsp;I feel like people are finally seeing some good in the code
<br>&gt;&gt; and perhaps we can get enough momentum going where this thing finally<br>&gt;&gt; moves forward.<br>&gt;&gt;<br>&gt;&gt; Anyone?<br>&gt;&gt;<br>&gt;&gt; -Abe<br>&gt;&gt;<br>&gt;&gt; On 12/1/06, Bruce Rindahl &lt;
<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt; wrote:<br>&gt;&gt;&gt; Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also<br>&gt;&gt;&gt; love<br>&gt;&gt;&gt; to try it.&nbsp;&nbsp;I do not have access to Visual Studio.
<br>&gt;&gt;&gt; Thanks<br>&gt;&gt;&gt; Bruce Rindahl<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a><br>&gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; Paolo<br>&gt;&gt;&gt; Corti<br>&gt;&gt;&gt; Sent: Friday, December 01, 2006 12:04 PM
<br>&gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt; Thank you Joshua<br>&gt;&gt;&gt; now it is working!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; with some quick debug i discovered it was a stupid problem with my<br>&gt;&gt;&gt; international settings.<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt; The funny thing is that now with correcting the regional settings it<br>&gt;&gt;&gt; works<br>&gt;&gt;&gt; also the previous version i had (the public 8.3 based version - that I<br>&gt;&gt;&gt; modified to work with 
9.0 and from which I removed the circular<br>&gt;&gt;&gt; reference problem). In this previous version you DON'T NEED to create<br>&gt;&gt;&gt; the view, so that problem It was already solved but came back in the<br>&gt;&gt;&gt; version Abe emailed you...
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>&gt;&gt;&gt; Solution<br>&gt;&gt;&gt; of ZigGis, without need creating the view as you suggested.<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>&gt;&gt;&gt; thought is so fast, after all we are not reading an ArcGis native<br>&gt;&gt;&gt; geometry),<br>&gt;&gt;&gt; but I see there are still many things to do (before implementing
<br>&gt;&gt;&gt; editing):<br>&gt;&gt;&gt; for example rendering with symbology is not working, the geometry column<br>&gt;&gt;&gt; seems to have a problem (is undefined),<br>&gt;&gt;&gt; ....<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Who knows why it is not possible editing data, this would be a super tip
<br>&gt;&gt;&gt; to<br>&gt;&gt;&gt; get to know what can be, AFAIK Abe was trying to discover that for more<br>&gt;&gt;&gt; than<br>&gt;&gt;&gt; one month! I am sure if someone from the Esri Geodatabase team could<br>&gt;&gt;&gt; give us
<br>&gt;&gt;&gt; a little help about this they could give us the right direction for<br>&gt;&gt;&gt; letting<br>&gt;&gt;&gt; the layer to be edited. I don't think there is a block, we probably need<br>&gt;&gt;&gt; to<br>&gt;&gt;&gt; implement in the right way the right interface...
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; in any case thank you for helping me<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Best regards<br>&gt;&gt;&gt; Paolo<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Paolo Corti wrote:<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; Hi Joshua,
<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; thank you for emailing me the latest Abe's version.<br>&gt;&gt;&gt; &gt; What I had it was this: <a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis
</a><br>&gt;&gt;&gt; &gt; and it was for 8.3, with a circular reference problem.<br>&gt;&gt;&gt; &gt; If i knew that there was what you sended me I would have saved 1 day<br>&gt;&gt;&gt; time<br>&gt;&gt;&gt; &gt; it took me to get what I had compiled with AO 
9.0.<br>&gt;&gt;&gt; &gt; In any case I compiled the project you emailed me with Visual Studio<br>&gt;&gt;&gt; 2005<br>&gt;&gt;&gt; &gt; (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt;&gt;&gt; &gt; It compiles fine, but when I add a layer:
<br>&gt;&gt;&gt; &gt; 1) if I just add a working PostGis layer it gives error<br>&gt;&gt;&gt; &gt; 2) if I add a view (like you suggested) to the Working PostGis layer,<br>&gt;&gt;&gt; it<br>&gt;&gt;&gt; &gt; seems working, the layer is added at the TOC, but nothing is drawn. If
<br>&gt;&gt;&gt; I<br>&gt;&gt;&gt; &gt; open the attribute table it shows me all the record, but the geometry<br>&gt;&gt;&gt; &gt; field is empty.<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; any idea?<br>&gt;&gt;&gt; &gt; thanks in advance
<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; Paolo<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; in fact what I had it was downloaded from SourceForge and it was still<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; joshua.uyehara wrote:
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Hey Paolo,<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I'm using ArcGIS Desktop 9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt;&gt;&gt; using<br>&gt;&gt;&gt; &gt;&gt; a later snapshot of ZigGIS.
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt;&gt;&gt; &gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from<br>&gt;&gt;&gt; Abe,
<br>&gt;&gt;&gt; &gt;&gt; but I never tested that version with the workaround that I outlined.<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br>&gt;&gt;&gt; &gt;&gt; see if you have any better luck with it.
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; -----Original Message-----
<br>&gt;&gt;&gt; &gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; &gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt;&gt;&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Hello Joshua<br>&gt;&gt;&gt; &gt;&gt; I tried what you suggested (I also added the GID field in the view,
<br>&gt;&gt;&gt; it<br>&gt;&gt;&gt; &gt;&gt; caused an error).<br>&gt;&gt;&gt; &gt;&gt; But ZigGis goes in error when is adding layer, specifically at this<br>&gt;&gt;&gt; line<br>&gt;&gt;&gt; &gt;&gt; of<br>&gt;&gt;&gt; &gt;&gt; code:
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; doc.AddLayer(layer);<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; the error i get is AccessViolationExpection<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; did you also try using ZigGis with ArcMap 
9.0 ?<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; in any case thank you for helping me, i will investigate more deeply<br>&gt;&gt;&gt; and<br>&gt;&gt;&gt; &gt;&gt; if i get into some resolution I will drop a note here
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; best regards<br>&gt;&gt;&gt; &gt;&gt; Paolo<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; joshua.uyehara wrote:<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Hey Paolo,<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally<br>&gt;&gt;&gt; plugging<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is
<br>&gt;&gt;&gt; due<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; to a minor bug.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native<br>&gt;&gt;&gt; &gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'
<br>&gt;&gt;&gt; &gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt;&gt;&gt; so<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a
<br>&gt;&gt;&gt; &gt;&gt;&gt; feature-less object class.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt;&gt;&gt; &gt;&gt;&gt; the geometry column with asbinary(), and then manually add the
<br>&gt;&gt;&gt; &gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; E.g.,<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as
<br>&gt;&gt;&gt; &gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO<br>&gt;&gt;&gt; &gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt;&gt;&gt; &gt;&gt;&gt; coord_dimension, srid, type) VALUES
<br>&gt;&gt;&gt; &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt;&gt;&gt; &gt;&gt; 'MULTIPOLYGON');<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,
<br>&gt;&gt;&gt; &gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's<br>&gt;&gt;&gt; an<br>&gt;&gt;&gt; &gt;&gt;&gt; ugly kludge, but I haven't had the time to fix the problem in ZigGIS<br>&gt;&gt;&gt; &gt;&gt;&gt; itself yet.
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br>&gt;&gt;&gt; &gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to
<br>&gt;&gt;&gt; &gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br>&gt;&gt;&gt; &gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; Hope that helped,<br>&gt;&gt;&gt; &gt;&gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; &gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; [mailto:
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM
<br>&gt;&gt;&gt; &gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Hello Abe<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>&gt;&gt;&gt; amazing!<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; maybe you can give me a help<br>&gt;&gt;&gt; &gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt;&gt;&gt; &gt;&gt;&gt; modifications at the code to get this) and .NET 
2.0 It compiled<br>&gt;&gt;&gt; fine,<br>&gt;&gt;&gt; &gt;&gt;&gt; but when I start ArcMap and I add a PostGIS layer, it adds the layer<br>&gt;&gt;&gt; &gt;&gt;&gt; on the TOC but nothing is showed/drawed on the map.<br>&gt;&gt;&gt; &gt;&gt;&gt; Looks like geometries are not read from the shape column.
<br>&gt;&gt;&gt; &gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could<br>&gt;&gt;&gt; &gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt;&gt;&gt; &gt;&gt;&gt; investigate/debug myself the code in order to find what is not going
<br>&gt;&gt;&gt; &gt;&gt;&gt; properly<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; best regards<br>&gt;&gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt;&gt; GIS Developer<br>&gt;&gt;&gt; &gt;&gt;&gt; 
<a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Abe Gillespie wrote:<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9
<br>&gt;&gt;&gt; subscribers<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; with a ton more downloads than that.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even
<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; Thanks.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; -Abe<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; postgis-users mailing list<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; --<br>&gt;&gt;&gt; &gt;&gt;&gt; View this message in context:
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276</a><br>&gt;&gt;&gt; &gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt;&gt; 
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>&gt;&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; --<br>&gt;&gt;&gt; &gt;&gt; View this message in context:<br>&gt;&gt;&gt; &gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt;&gt;&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt; _______________________________________________
<br>&gt;&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:
<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>&gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context: <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645784">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645784</a><br>Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br><br><br>------------------------------<br>
<br>Message: 5<br>Date: Fri, 1 Dec 2006 13:39:22 -0700<br>From: &quot;Bruce Rindahl&quot; &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt;<br>Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences<br>
To: &quot;'PostGIS Users Discussion'&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;002b01c71588$ca00bcd0$1e00a8c0@Bruce&gt;<br>
Content-Type: text/plain;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charset=&quot;us-ascii&quot;<br><br>Bingo<br>I would love to test as soon as this is possible.<br>Thanks!<br>Bruce Rindahl<br><br>-----Original Message-----<br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Paolo<br>Corti<br>Sent: Friday, December 01, 2006 1:37 PM
<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Subject: Re: [postgis-users] RE: RE: zigGIS Usage Experiences<br><br><br>I forgot to say that one of the fist thing I want to do is an installer, so
<br>more people can get in touch with ZigGis (I am dead sure many many people<br>wanted to use it but didn't because they don't know c# and how to make it<br>working).<br>Whit more people installing ZigGis we can even get to know more bugs and fix
<br>them (a sort of alfa-beta test)<br><br>Paolo<br><br><br>Paolo Corti wrote:<br>&gt;<br>&gt; Hi Abe<br>&gt; I will do it, should I continue in the webspace from where I downloaded?<br>&gt; Let me know!<br>&gt;<br>&gt; My plans are:
<br>&gt; 1) Some code refactoring<br>&gt; 2) correct bugs about rendering<br>&gt; 3) try to solve the edit problem (maybe I can have a direct contact with<br>&gt; Esri, some years ago I was working for Esri Italy) in the clean way, this
<br>&gt; meaning without doing anything like in the PgArc fashion with a proxy<br>&gt; shapefile but just solving the ArcGis desktop complain that editor is not<br>&gt; allowed (this issue you were also asking at the support esri website:
<br>&gt; <a href="http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977">http://forums.esri.com/Thread.asp?c=93&amp;f=1742&amp;t=158789#610977</a>)<br>&gt; 4) if I can't solve the edit issue in a clean way go with the PgArc
<br>&gt; fashion for editing<br>&gt; 5) implementing ZigGis to work also with MySql and maybe with SQL Server<br>&gt; spatial<br>&gt;<br>&gt; Let me know if I should open a web space at SourceForge or should I<br>&gt; continue to use the web space you were using
<br>&gt;<br>&gt; If someone, like Joshua, is willing to help me is very welcome<br>&gt;<br>&gt; best regards<br>&gt;<br>&gt; Paolo Corti<br>&gt; GIS Developer<br>&gt; <a href="http://www.paolocorti.net">http://www.paolocorti.net
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; Abe Gillespie wrote:<br>&gt;&gt;<br>&gt;&gt; What I would love to see is someone officially take over the project.<br>&gt;&gt; Even if they're not contributing code ... at least managing the
<br>&gt;&gt; project.&nbsp;&nbsp;I feel like people are finally seeing some good in the code<br>&gt;&gt; and perhaps we can get enough momentum going where this thing finally<br>&gt;&gt; moves forward.<br>&gt;&gt;<br>&gt;&gt; Anyone?
<br>&gt;&gt;<br>&gt;&gt; -Abe<br>&gt;&gt;<br>&gt;&gt; On 12/1/06, Bruce Rindahl &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt; wrote:<br>&gt;&gt;&gt; Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also
<br>&gt;&gt;&gt; love<br>&gt;&gt;&gt; to try it.&nbsp;&nbsp;I do not have access to Visual Studio.<br>&gt;&gt;&gt; Thanks<br>&gt;&gt;&gt; Bruce Rindahl<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; From: 
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a>] On Behalf Of<br>&gt;&gt;&gt; Paolo<br>&gt;&gt;&gt; Corti<br>&gt;&gt;&gt; Sent: Friday, December 01, 2006 12:04 PM<br>&gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt; Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Thank you Joshua<br>&gt;&gt;&gt; now it is working!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; with some quick debug i discovered it was a stupid problem with my
<br>&gt;&gt;&gt; international settings.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; The funny thing is that now with correcting the regional settings it<br>&gt;&gt;&gt; works<br>&gt;&gt;&gt; also the previous version i had (the public 
8.3 based version - that I<br>&gt;&gt;&gt; modified to work with 9.0 and from which I removed the circular<br>&gt;&gt;&gt; reference problem). In this previous version you DON'T NEED to create<br>&gt;&gt;&gt; the view, so that problem It was already solved but came back in the
<br>&gt;&gt;&gt; version Abe emailed you...<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>&gt;&gt;&gt; Solution<br>&gt;&gt;&gt; of ZigGis, without need creating the view as you suggested.
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>&gt;&gt;&gt; thought is so fast, after all we are not reading an ArcGis native<br>&gt;&gt;&gt; geometry),<br>&gt;&gt;&gt; but I see there are still many things to do (before implementing
<br>&gt;&gt;&gt; editing):<br>&gt;&gt;&gt; for example rendering with symbology is not working, the geometry column<br>&gt;&gt;&gt; seems to have a problem (is undefined),<br>&gt;&gt;&gt; ....<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Who knows why it is not possible editing data, this would be a super tip
<br>&gt;&gt;&gt; to<br>&gt;&gt;&gt; get to know what can be, AFAIK Abe was trying to discover that for more<br>&gt;&gt;&gt; than<br>&gt;&gt;&gt; one month! I am sure if someone from the Esri Geodatabase team could<br>&gt;&gt;&gt; give us
<br>&gt;&gt;&gt; a little help about this they could give us the right direction for<br>&gt;&gt;&gt; letting<br>&gt;&gt;&gt; the layer to be edited. I don't think there is a block, we probably need<br>&gt;&gt;&gt; to<br>&gt;&gt;&gt; implement in the right way the right interface...
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; in any case thank you for helping me<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Best regards<br>&gt;&gt;&gt; Paolo<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Paolo Corti wrote:<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; Hi Joshua,
<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; thank you for emailing me the latest Abe's version.<br>&gt;&gt;&gt; &gt; What I had it was this: <a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis
</a><br>&gt;&gt;&gt; &gt; and it was for 8.3, with a circular reference problem.<br>&gt;&gt;&gt; &gt; If i knew that there was what you sended me I would have saved 1 day<br>&gt;&gt;&gt; time<br>&gt;&gt;&gt; &gt; it took me to get what I had compiled with AO 
9.0.<br>&gt;&gt;&gt; &gt; In any case I compiled the project you emailed me with Visual Studio<br>&gt;&gt;&gt; 2005<br>&gt;&gt;&gt; &gt; (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt;&gt;&gt; &gt; It compiles fine, but when I add a layer:
<br>&gt;&gt;&gt; &gt; 1) if I just add a working PostGis layer it gives error<br>&gt;&gt;&gt; &gt; 2) if I add a view (like you suggested) to the Working PostGis layer,<br>&gt;&gt;&gt; it<br>&gt;&gt;&gt; &gt; seems working, the layer is added at the TOC, but nothing is drawn. If
<br>&gt;&gt;&gt; I<br>&gt;&gt;&gt; &gt; open the attribute table it shows me all the record, but the geometry<br>&gt;&gt;&gt; &gt; field is empty.<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; any idea?<br>&gt;&gt;&gt; &gt; thanks in advance
<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; Paolo<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; in fact what I had it was downloaded from SourceForge and it was still<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt; joshua.uyehara wrote:
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Hey Paolo,<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I'm using ArcGIS Desktop 9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt;&gt;&gt; using<br>&gt;&gt;&gt; &gt;&gt; a later snapshot of ZigGIS.
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt;&gt;&gt; &gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from<br>&gt;&gt;&gt; Abe,
<br>&gt;&gt;&gt; &gt;&gt; but I never tested that version with the workaround that I outlined.<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br>&gt;&gt;&gt; &gt;&gt; see if you have any better luck with it.
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; -----Original Message-----
<br>&gt;&gt;&gt; &gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; &gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt;&gt;&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; Hello Joshua<br>&gt;&gt;&gt; &gt;&gt; I tried what you suggested (I also added the GID field in the view,
<br>&gt;&gt;&gt; it<br>&gt;&gt;&gt; &gt;&gt; caused an error).<br>&gt;&gt;&gt; &gt;&gt; But ZigGis goes in error when is adding layer, specifically at this<br>&gt;&gt;&gt; line<br>&gt;&gt;&gt; &gt;&gt; of<br>&gt;&gt;&gt; &gt;&gt; code:
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; doc.AddLayer(layer);<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; the error i get is AccessViolationExpection<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; did you also try using ZigGis with ArcMap 
9.0 ?<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; in any case thank you for helping me, i will investigate more deeply<br>&gt;&gt;&gt; and<br>&gt;&gt;&gt; &gt;&gt; if i get into some resolution I will drop a note here
<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; best regards<br>&gt;&gt;&gt; &gt;&gt; Paolo<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; joshua.uyehara wrote:<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Hey Paolo,<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally<br>&gt;&gt;&gt; plugging<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is
<br>&gt;&gt;&gt; due<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; to a minor bug.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native<br>&gt;&gt;&gt; &gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'
<br>&gt;&gt;&gt; &gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt;&gt;&gt; so<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a
<br>&gt;&gt;&gt; &gt;&gt;&gt; feature-less object class.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt;&gt;&gt; &gt;&gt;&gt; the geometry column with asbinary(), and then manually add the
<br>&gt;&gt;&gt; &gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; E.g.,<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as
<br>&gt;&gt;&gt; &gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO<br>&gt;&gt;&gt; &gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt;&gt;&gt; &gt;&gt;&gt; coord_dimension, srid, type) VALUES
<br>&gt;&gt;&gt; &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt;&gt;&gt; &gt;&gt; 'MULTIPOLYGON');<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,
<br>&gt;&gt;&gt; &gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's<br>&gt;&gt;&gt; an<br>&gt;&gt;&gt; &gt;&gt;&gt; ugly kludge, but I haven't had the time to fix the problem in ZigGIS<br>&gt;&gt;&gt; &gt;&gt;&gt; itself yet.
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br>&gt;&gt;&gt; &gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to
<br>&gt;&gt;&gt; &gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br>&gt;&gt;&gt; &gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; Hope that helped,<br>&gt;&gt;&gt; &gt;&gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; &gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; [mailto:
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM
<br>&gt;&gt;&gt; &gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Hello Abe<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>&gt;&gt;&gt; amazing!<br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt; maybe you can give me a help<br>&gt;&gt;&gt; &gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt;&gt;&gt; &gt;&gt;&gt; modifications at the code to get this) and .NET 
2.0 It compiled<br>&gt;&gt;&gt; fine,<br>&gt;&gt;&gt; &gt;&gt;&gt; but when I start ArcMap and I add a PostGIS layer, it adds the layer<br>&gt;&gt;&gt; &gt;&gt;&gt; on the TOC but nothing is showed/drawed on the map.<br>&gt;&gt;&gt; &gt;&gt;&gt; Looks like geometries are not read from the shape column.
<br>&gt;&gt;&gt; &gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could<br>&gt;&gt;&gt; &gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt;&gt;&gt; &gt;&gt;&gt; investigate/debug myself the code in order to find what is not going
<br>&gt;&gt;&gt; &gt;&gt;&gt; properly<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; best regards<br>&gt;&gt;&gt; &gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; &gt;&gt;&gt; GIS Developer<br>&gt;&gt;&gt; &gt;&gt;&gt; 
<a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; Abe Gillespie wrote:<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9
<br>&gt;&gt;&gt; subscribers<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; with a ton more downloads than that.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even
<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; Thanks.<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; -Abe<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; postgis-users mailing list<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; --<br>&gt;&gt;&gt; &gt;&gt;&gt; View this message in context:
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7563276</a><br>&gt;&gt;&gt; &gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt;&gt; 
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>&gt;&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;&gt;
<br>&gt;&gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt; --<br>&gt;&gt;&gt; &gt;&gt; View this message in context:<br>&gt;&gt;&gt; &gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt;&gt;&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt; _______________________________________________
<br>&gt;&gt;&gt; &gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:
<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>&gt;&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context:<br><a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645784">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7645784</a><br>Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br><br><br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Fri, 1 Dec 2006 15:47:46 -0500<br>From: &lt;<a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a>&gt;<br>Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences
<br>To: &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt;, &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:FC865F8C89A81F4CB8AC6ED7A033D78D376382@usarmsxmb02.NAFTA.SYNGENTA.ORG">
FC865F8C89A81F4CB8AC6ED7A033D78D376382@usarmsxmb02.NAFTA.SYNGENTA.ORG</a>&gt;<br><br>Content-Type: text/plain;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charset=&quot;us-ascii&quot;<br><br>I'll post it to my school account until Paolo gets his site up.<br><br>
<a href="http://people.fas.harvard.edu/~uyehara/zigGIS2.zip">http://people.fas.harvard.edu/~uyehara/zigGIS2.zip</a><br><br>Josh<br><br><br>-----Original Message-----<br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>Bruce Rindahl<br>Sent: Friday, December 01, 2006 9:09 AM
<br>To: 'PostGIS Users Discussion'<br>Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences<br><br>Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also<br>love to try it.&nbsp;&nbsp;I do not have access to Visual Studio.
<br>Thanks<br>Bruce Rindahl<br><br>-----Original Message-----<br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>Paolo Corti<br>Sent: Friday, December 01, 2006 12:04 PM<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br><br><br>Thank you Joshua<br>now it is working!<br><br>with some quick debug i discovered it was a stupid problem with my<br>international settings.<br><br>
The funny thing is that now with correcting the regional settings it<br>works also the previous version i had (the public 8.3 based version -<br>that I modified to work with 9.0 and from which I removed the circular<br>reference problem). In this previous version you DON'T NEED to create
<br>the view, so that problem It was already solved but came back in the<br>version Abe emailed you...<br><br>So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>Solution of ZigGis, without need creating the view as you suggested.
<br><br>I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>thought is so fast, after all we are not reading an ArcGis native<br>geometry), but I see there are still many things to do (before<br>implementing editing):
<br>for example rendering with symbology is not working, the geometry column<br>seems to have a problem (is undefined), ....<br><br>Who knows why it is not possible editing data, this would be a super tip<br>to get to know what can be, AFAIK Abe was trying to discover that for
<br>more than one month! I am sure if someone from the Esri Geodatabase team<br>could give us a little help about this they could give us the right<br>direction for letting the layer to be edited. I don't think there is a
<br>block, we probably need to implement in the right way the right<br>interface...<br><br>in any case thank you for helping me<br><br>Best regards<br>Paolo<br><br>Paolo Corti wrote:<br>&gt;<br>&gt; Hi Joshua,<br>&gt;<br>
&gt; thank you for emailing me the latest Abe's version.<br>&gt; What I had it was this: <a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis</a><br>&gt; and it was for 8.3, with a circular reference problem.
<br>&gt; If i knew that there was what you sended me I would have saved 1 day<br>&gt; time it took me to get what I had compiled with AO 9.0.<br>&gt; In any case I compiled the project you emailed me with Visual Studio<br>
&gt; 2005 (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt; It compiles fine, but when I add a layer:<br>&gt; 1) if I just add a working PostGis layer it gives error<br>&gt; 2) if I add a view (like you suggested) to the Working PostGis layer,
<br>&gt; it seems working, the layer is added at the TOC, but nothing is drawn.<br><br>&gt; If I open the attribute table it shows me all the record, but the<br>&gt; geometry field is empty.<br>&gt;<br>&gt; any idea?<br>&gt; thanks in advance
<br>&gt;<br>&gt; Paolo<br>&gt;<br>&gt; in fact what I had it was downloaded from SourceForge and it was still<br>&gt;<br>&gt; joshua.uyehara wrote:<br>&gt;&gt;<br>&gt;&gt; Hey Paolo,<br>&gt;&gt;<br>&gt;&gt; I'm using ArcGIS Desktop 
9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt;&gt; using a later snapshot of ZigGIS.<br>&gt;&gt;<br>&gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from
<br>&gt;&gt; Abe, but I never tested that version with the workaround that I<br>outlined.<br>&gt;&gt;<br>&gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br><br>&gt;&gt; see if you have any better luck with it.
<br>&gt;&gt;<br>&gt;&gt; Joshua Uyehara<br>&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;<br>&gt;&gt; -----Original Message-----<br>&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt; Paolo Corti<br>
&gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences
<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Hello Joshua<br>&gt;&gt; I tried what you suggested (I also added the GID field in the view,<br>&gt;&gt; it caused an error).<br>&gt;&gt; But ZigGis goes in error when is adding layer, specifically at this
<br>&gt;&gt; line of<br>&gt;&gt; code:<br>&gt;&gt;<br>&gt;&gt; doc.AddLayer(layer);<br>&gt;&gt;<br>&gt;&gt; the error i get is AccessViolationExpection<br>&gt;&gt;<br>&gt;&gt; did you also try using ZigGis with ArcMap 9.0
 ?<br>&gt;&gt;<br>&gt;&gt; in any case thank you for helping me, i will investigate more deeply<br>&gt;&gt; and if i get into some resolution I will drop a note here<br>&gt;&gt;<br>&gt;&gt; best regards<br>&gt;&gt; Paolo<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; joshua.uyehara wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hey Paolo,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally<br>&gt;&gt;&gt; plugging<br>&gt;&gt;
<br>&gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is<br>&gt;&gt;&gt; due<br>&gt;&gt;<br>&gt;&gt;&gt; to a minor bug.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native
<br>&gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'<br>&gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt;&gt;&gt; so<br>&gt;&gt;<br>&gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a
<br>&gt;&gt;&gt; feature-less object class.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt;&gt;&gt; the geometry column with asbinary(), and then manually add the
<br>&gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; E.g.,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as<br>&gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO
<br>&gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt;&gt;&gt; coord_dimension, srid, type) VALUES<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt;&gt; 'MULTIPOLYGON');
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,<br>&gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's<br>&gt;&gt;&gt; an ugly kludge, but I haven't had the time to fix the problem in
<br>&gt;&gt;&gt; ZigGIS itself yet.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br><br>&gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to
<br>&gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br><br>&gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hope that helped,
<br>&gt;&gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; Paolo Corti
<br>&gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM<br>&gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hello Abe<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>amazing!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; maybe you can give me a help
<br>&gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt;&gt;&gt; modifications at the code to get this) and .NET 2.0 It compiled<br>&gt;&gt;&gt; fine, but when I start ArcMap and I add a PostGIS layer, it adds the
<br><br>&gt;&gt;&gt; layer on the TOC but nothing is showed/drawed on the map.<br>&gt;&gt;&gt; Looks like geometries are not read from the shape column.<br>&gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could
<br><br>&gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt;&gt;&gt; investigate/debug myself the code in order to find what is not going<br><br>&gt;&gt;&gt; properly<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; best regards
<br>&gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; GIS Developer<br>&gt;&gt;&gt; <a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Abe Gillespie wrote:<br>&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9<br>&gt;&gt;&gt;&gt; subscribers with a ton more downloads than that.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even
<br>&gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any<br><br>&gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Thanks.<br>
&gt;&gt;&gt;&gt; -Abe<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327
</a><br>&gt;&gt;&gt; 6 Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list
<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; View this message in context:
<br>&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context:<br><a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br><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">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br>------------------------------<br><br>Message: 7<br>Date: Fri, 1 Dec 2006 15:50:37 -0500<br>From: &lt;<a href="mailto:joshua.uyehara@syngenta.com">
joshua.uyehara@syngenta.com</a>&gt;<br>Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences<br>To: &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt;, &lt;<a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:FC865F8C89A81F4CB8AC6ED7A033D78D376383@usarmsxmb02.NAFTA.SYNGENTA.ORG">FC865F8C89A81F4CB8AC6ED7A033D78D376383@usarmsxmb02.NAFTA.SYNGENTA.ORG
</a>&gt;<br><br>Content-Type: text/plain;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; charset=&quot;us-ascii&quot;<br><br>You don't need Visual Studio 2005 to compile it.&nbsp;&nbsp;A very nice open<br>source alternative to VS is sharpdevelop (<a href="http://sharpdevelop.net">
sharpdevelop.net</a>).<br><br>Josh<br><br>-----Original Message-----<br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>Bruce Rindahl<br>Sent: Friday, December 01, 2006 9:09 AM<br>To: 'PostGIS Users Discussion'<br>Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences
<br><br>Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also<br>love to try it.&nbsp;&nbsp;I do not have access to Visual Studio.<br>Thanks<br>Bruce Rindahl<br><br>-----Original Message-----<br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>Paolo Corti<br>Sent: Friday, December 01, 2006 12:04 PM
<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Subject: [postgis-users] RE: RE: zigGIS Usage Experiences<br><br><br>Thank you Joshua<br>now it is working!<br><br>
with some quick debug i discovered it was a stupid problem with my<br>international settings.<br><br>The funny thing is that now with correcting the regional settings it<br>works also the previous version i had (the public 
8.3 based version -<br>that I modified to work with 9.0 and from which I removed the circular<br>reference problem). In this previous version you DON'T NEED to create<br>the view, so that problem It was already solved but came back in the
<br>version Abe emailed you...<br><br>So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>Solution of ZigGis, without need creating the view as you suggested.<br><br>I am amazed from the speed of ZigGis with reading data (i wouldn't have
<br>thought is so fast, after all we are not reading an ArcGis native<br>geometry), but I see there are still many things to do (before<br>implementing editing):<br>for example rendering with symbology is not working, the geometry column
<br>seems to have a problem (is undefined), ....<br><br>Who knows why it is not possible editing data, this would be a super tip<br>to get to know what can be, AFAIK Abe was trying to discover that for<br>more than one month! I am sure if someone from the Esri Geodatabase team
<br>could give us a little help about this they could give us the right<br>direction for letting the layer to be edited. I don't think there is a<br>block, we probably need to implement in the right way the right<br>interface...
<br><br>in any case thank you for helping me<br><br>Best regards<br>Paolo<br><br>Paolo Corti wrote:<br>&gt;<br>&gt; Hi Joshua,<br>&gt;<br>&gt; thank you for emailing me the latest Abe's version.<br>&gt; What I had it was this: 
<a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis</a><br>&gt; and it was for 8.3, with a circular reference problem.<br>&gt; If i knew that there was what you sended me I would have saved 1 day
<br>&gt; time it took me to get what I had compiled with AO 9.0.<br>&gt; In any case I compiled the project you emailed me with Visual Studio<br>&gt; 2005 (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt; It compiles fine, but when I add a layer:
<br>&gt; 1) if I just add a working PostGis layer it gives error<br>&gt; 2) if I add a view (like you suggested) to the Working PostGis layer,<br>&gt; it seems working, the layer is added at the TOC, but nothing is drawn.
<br><br>&gt; If I open the attribute table it shows me all the record, but the<br>&gt; geometry field is empty.<br>&gt;<br>&gt; any idea?<br>&gt; thanks in advance<br>&gt;<br>&gt; Paolo<br>&gt;<br>&gt; in fact what I had it was downloaded from SourceForge and it was still
<br>&gt;<br>&gt; joshua.uyehara wrote:<br>&gt;&gt;<br>&gt;&gt; Hey Paolo,<br>&gt;&gt;<br>&gt;&gt; I'm using ArcGIS Desktop 9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt;&gt; using a later snapshot of ZigGIS.<br>&gt;&gt;
<br>&gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from<br>&gt;&gt; Abe, but I never tested that version with the workaround that I
<br>outlined.<br>&gt;&gt;<br>&gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br><br>&gt;&gt; see if you have any better luck with it.<br>&gt;&gt;<br>&gt;&gt; Joshua Uyehara<br>&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">
joshua.uyehara@syngenta.com</a><br>&gt;&gt;<br>&gt;&gt; -----Original Message-----<br>&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt; [mailto:
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt; Paolo Corti<br>&gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt;&gt; To: 
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Hello Joshua<br>&gt;&gt; I tried what you suggested (I also added the GID field in the view,
<br>&gt;&gt; it caused an error).<br>&gt;&gt; But ZigGis goes in error when is adding layer, specifically at this<br>&gt;&gt; line of<br>&gt;&gt; code:<br>&gt;&gt;<br>&gt;&gt; doc.AddLayer(layer);<br>&gt;&gt;<br>&gt;&gt; the error i get is AccessViolationExpection
<br>&gt;&gt;<br>&gt;&gt; did you also try using ZigGis with ArcMap 9.0 ?<br>&gt;&gt;<br>&gt;&gt; in any case thank you for helping me, i will investigate more deeply<br>&gt;&gt; and if i get into some resolution I will drop a note here
<br>&gt;&gt;<br>&gt;&gt; best regards<br>&gt;&gt; Paolo<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; joshua.uyehara wrote:<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hey Paolo,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally
<br>&gt;&gt;&gt; plugging<br>&gt;&gt;<br>&gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is<br>&gt;&gt;&gt; due<br>&gt;&gt;<br>&gt;&gt;&gt; to a minor bug.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native
<br>&gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'<br>&gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt;&gt;&gt; so<br>&gt;&gt;<br>&gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a
<br>&gt;&gt;&gt; feature-less object class.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt;&gt;&gt; the geometry column with asbinary(), and then manually add the
<br>&gt;&gt;&gt; necessary entry to the geometry_columns table.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; E.g.,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as<br>&gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO
<br>&gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt;&gt;&gt; coord_dimension, srid, type) VALUES<br>&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,<br>&gt;&gt; 'MULTIPOLYGON');
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,<br>&gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's<br>&gt;&gt;&gt; an ugly kludge, but I haven't had the time to fix the problem in
<br>&gt;&gt;&gt; ZigGIS itself yet.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,<br><br>&gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to
<br>&gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br><br>&gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hope that helped,
<br>&gt;&gt;&gt; Joshua Uyehara<br>&gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt; -----Original Message-----<br>&gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>&gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt;&gt;&gt; Paolo Corti
<br>&gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM<br>&gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences
<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Hello Abe<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is<br>amazing!<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; maybe you can give me a help
<br>&gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt;&gt;&gt; modifications at the code to get this) and .NET 2.0 It compiled<br>&gt;&gt;&gt; fine, but when I start ArcMap and I add a PostGIS layer, it adds the
<br><br>&gt;&gt;&gt; layer on the TOC but nothing is showed/drawed on the map.<br>&gt;&gt;&gt; Looks like geometries are not read from the shape column.<br>&gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could
<br><br>&gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt;&gt;&gt; investigate/debug myself the code in order to find what is not going<br><br>&gt;&gt;&gt; properly<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; best regards
<br>&gt;&gt;&gt; Paolo Corti<br>&gt;&gt;&gt; GIS Developer<br>&gt;&gt;&gt; <a href="http://www.paolocorti.net">http://www.paolocorti.net</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Abe Gillespie wrote:<br>&gt;&gt;&gt;&gt;
<br>&gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9<br>&gt;&gt;&gt;&gt; subscribers with a ton more downloads than that.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even
<br>&gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any<br><br>&gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Thanks.<br>
&gt;&gt;&gt;&gt; -Abe<br>&gt;&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>&gt;&gt;&gt; View this message in context:<br>&gt;&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327
</a><br>&gt;&gt;&gt; 6 Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list
<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br>&gt;&gt;&gt; _______________________________________________<br>&gt;&gt;&gt; postgis-users mailing list<br>&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<br>&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; View this message in context:
<br>&gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt;&gt; Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt; _______________________________________________
<br>&gt;&gt; postgis-users mailing list<br>&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context:<br><a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254</a><br>Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<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">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br><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">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br><br><br>------------------------------<br><br>Message: 8<br>Date: Fri, 1 Dec 2006 15:52:50 -0500<br>From: &quot;Abe Gillespie&quot; &lt;<a href="mailto:abe.gillespie@gmail.com">
abe.gillespie@gmail.com</a>&gt;<br>Subject: Re: [postgis-users] RE: RE: zigGIS Usage Experiences<br>To: &quot;PostGIS Users Discussion&quot; &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:a6d397e30612011252y7b4e4a5cg3a0780c8b3618192@mail.gmail.com">a6d397e30612011252y7b4e4a5cg3a0780c8b3618192@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>I developed it in C# Express which is also free.<br><br>-Abe<br><br>On 12/1/06, <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a> &lt;<a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com
</a>&gt; wrote:<br>&gt; You don't need Visual Studio 2005 to compile it.&nbsp;&nbsp;A very nice open<br>&gt; source alternative to VS is sharpdevelop (<a href="http://sharpdevelop.net">sharpdevelop.net</a>).<br>&gt;<br>&gt; Josh<br>
&gt;<br>&gt; -----Original Message-----<br>&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt; Bruce Rindahl<br>&gt; Sent: Friday, December 01, 2006 9:09 AM<br>&gt; To: 'PostGIS Users Discussion'<br>&gt; Subject: RE: [postgis-users] RE: RE: zigGIS Usage Experiences
<br>&gt;<br>&gt; Is there any way this version could be posted somewhere?&nbsp;&nbsp;I would also<br>&gt; love to try it.&nbsp;&nbsp;I do not have access to Visual Studio.<br>&gt; Thanks<br>&gt; Bruce Rindahl<br>&gt;<br>&gt; -----Original Message-----
<br>&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a>] On Behalf Of<br>&gt; Paolo Corti<br>&gt; Sent: Friday, December 01, 2006 12:04 PM<br>&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; Subject: [postgis-users] RE: RE: zigGIS Usage Experiences
<br>&gt;<br>&gt;<br>&gt; Thank you Joshua<br>&gt; now it is working!<br>&gt;<br>&gt; with some quick debug i discovered it was a stupid problem with my<br>&gt; international settings.<br>&gt;<br>&gt; The funny thing is that now with correcting the regional settings it
<br>&gt; works also the previous version i had (the public 8.3 based version -<br>&gt; that I modified to work with 9.0 and from which I removed the circular<br>&gt; reference problem). In this previous version you DON'T NEED to create
<br>&gt; the view, so that problem It was already solved but came back in the<br>&gt; version Abe emailed you...<br>&gt;<br>&gt; So now I have a working (for ArcGis 9.0 and 9.1) Visual Studio 2005<br>&gt; Solution of ZigGis, without need creating the view as you suggested.
<br>&gt;<br>&gt; I am amazed from the speed of ZigGis with reading data (i wouldn't have<br>&gt; thought is so fast, after all we are not reading an ArcGis native<br>&gt; geometry), but I see there are still many things to do (before
<br>&gt; implementing editing):<br>&gt; for example rendering with symbology is not working, the geometry column<br>&gt; seems to have a problem (is undefined), ....<br>&gt;<br>&gt; Who knows why it is not possible editing data, this would be a super tip
<br>&gt; to get to know what can be, AFAIK Abe was trying to discover that for<br>&gt; more than one month! I am sure if someone from the Esri Geodatabase team<br>&gt; could give us a little help about this they could give us the right
<br>&gt; direction for letting the layer to be edited. I don't think there is a<br>&gt; block, we probably need to implement in the right way the right<br>&gt; interface...<br>&gt;<br>&gt; in any case thank you for helping me
<br>&gt;<br>&gt; Best regards<br>&gt; Paolo<br>&gt;<br>&gt; Paolo Corti wrote:<br>&gt; &gt;<br>&gt; &gt; Hi Joshua,<br>&gt; &gt;<br>&gt; &gt; thank you for emailing me the latest Abe's version.<br>&gt; &gt; What I had it was this: 
<a href="http://gforge2.uwc.ac.za/projects/ziggis">http://gforge2.uwc.ac.za/projects/ziggis</a><br>&gt; &gt; and it was for 8.3, with a circular reference problem.<br>&gt; &gt; If i knew that there was what you sended me I would have saved 1 day
<br>&gt; &gt; time it took me to get what I had compiled with AO 9.0.<br>&gt; &gt; In any case I compiled the project you emailed me with Visual Studio<br>&gt; &gt; 2005 (.net 2.0) and ArcObjects 9.0 .net assemblies.<br>&gt; &gt; It compiles fine, but when I add a layer:
<br>&gt; &gt; 1) if I just add a working PostGis layer it gives error<br>&gt; &gt; 2) if I add a view (like you suggested) to the Working PostGis layer,<br>&gt; &gt; it seems working, the layer is added at the TOC, but nothing is drawn.
<br>&gt;<br>&gt; &gt; If I open the attribute table it shows me all the record, but the<br>&gt; &gt; geometry field is empty.<br>&gt; &gt;<br>&gt; &gt; any idea?<br>&gt; &gt; thanks in advance<br>&gt; &gt;<br>&gt; &gt; Paolo
<br>&gt; &gt;<br>&gt; &gt; in fact what I had it was downloaded from SourceForge and it was still<br>&gt; &gt;<br>&gt; &gt; joshua.uyehara wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Hey Paolo,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I'm using ArcGIS Desktop 
9.1.&nbsp;&nbsp;As Abe mentioned, however, I'm also<br>&gt; &gt;&gt; using a later snapshot of ZigGIS.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I had also gone and updated the publicly available ZigGIS to the 9.0<br>&gt; &gt;&gt; ArcObjects model before receiving the latest version of ZigGIS from
<br>&gt; &gt;&gt; Abe, but I never tested that version with the workaround that I<br>&gt; outlined.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; I'll email you a copy of the latest snapshot from Abe so that you can<br>&gt;<br>&gt; &gt;&gt; see if you have any better luck with it.
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Joshua Uyehara<br>&gt; &gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt; -----Original Message-----<br>&gt; &gt;&gt; From: 
<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; &gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a>] On Behalf Of<br>&gt; &gt;&gt; Paolo Corti<br>&gt; &gt;&gt; Sent: Wednesday, November 29, 2006 7:21 AM<br>&gt; &gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt; &gt;&gt; Subject: [postgis-users] RE: zigGIS Usage Experiences<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; Hello Joshua<br>&gt; &gt;&gt; I tried what you suggested (I also added the GID field in the view,
<br>&gt; &gt;&gt; it caused an error).<br>&gt; &gt;&gt; But ZigGis goes in error when is adding layer, specifically at this<br>&gt; &gt;&gt; line of<br>&gt; &gt;&gt; code:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; doc.AddLayer(layer);
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; the error i get is AccessViolationExpection<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; did you also try using ZigGis with ArcMap 9.0 ?<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; in any case thank you for helping me, i will investigate more deeply
<br>&gt; &gt;&gt; and if i get into some resolution I will drop a note here<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; best regards<br>&gt; &gt;&gt; Paolo<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; joshua.uyehara wrote:<br>
&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Hey Paolo,<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Abe isn't working on it anymore, but I have been occasionally<br>&gt; &gt;&gt;&gt; plugging<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; away at it myself.&nbsp;&nbsp;The problem with adding the layer in ArcMap is
<br>&gt; &gt;&gt;&gt; due<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; to a minor bug.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; ZigGIS pulls the geometry column data from PostGIS in its native<br>&gt; &gt;&gt;&gt; binary format and passes it to ArcMap.&nbsp;&nbsp;Unfortunately, PostGIS'
<br>&gt; &gt;&gt;&gt; internal binary format is not identical to the expected wkb format,<br>&gt; &gt;&gt;&gt; so<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt; ArcMap silently ignores it and basically treats the table as a<br>&gt; &gt;&gt;&gt; feature-less object class.
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; One quick workaround is to create a view of the table that converts<br>&gt; &gt;&gt;&gt; the geometry column with asbinary(), and then manually add the<br>&gt; &gt;&gt;&gt; necessary entry to the geometry_columns table.
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; E.g.,<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; CREATE VIEW geom_table_view AS SELECT asbinary(geom_column) as<br>&gt; &gt;&gt;&gt; geom_column, column2, column3, FROM geom_table; INSERT INTO
<br>&gt; &gt;&gt;&gt; geometry_columns (f_table_schema, f_table_name, f_geometry_column,<br>&gt; &gt;&gt;&gt; coord_dimension, srid, type) VALUES<br>&gt; &gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ('public', 'geom_table_view', 'geom_column', 2, -1,
<br>&gt; &gt;&gt; 'MULTIPOLYGON');<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Change schema, table, column names, srid, etc. to match your table,<br>&gt; &gt;&gt;&gt; then specify the view as the table to be opened with ZigGIS.&nbsp;&nbsp;It's
<br>&gt; &gt;&gt;&gt; an ugly kludge, but I haven't had the time to fix the problem in<br>&gt; &gt;&gt;&gt; ZigGIS itself yet.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Many of the feature class functionality hasn't been implemented yet,
<br>&gt;<br>&gt; &gt;&gt;&gt; so you can't do much besides display the features.&nbsp;&nbsp;I'm planning to<br>&gt; &gt;&gt;&gt; add features to ZigGIS as I need them for work, but I can't give you<br>&gt;<br>&gt; &gt;&gt;&gt; any timelines on it, as I'm swamped with other stuff at the moment.
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Hope that helped,<br>&gt; &gt;&gt;&gt; Joshua Uyehara<br>&gt; &gt;&gt;&gt; <a href="mailto:joshua.uyehara@syngenta.com">joshua.uyehara@syngenta.com</a><br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; -----Original Message-----
<br>&gt; &gt;&gt;&gt; From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>&gt; &gt;&gt;&gt; [mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of<br>&gt; &gt;&gt;&gt; Paolo Corti<br>&gt; &gt;&gt;&gt; Sent: Monday, November 27, 2006 6:46 AM<br>&gt; &gt;&gt;&gt; To: <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt;&gt; Subject: Re: [postgis-users] zigGIS Usage Experiences<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Hello Abe<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; you made a great job with your ZigGis! The ArcObjects code is
<br>&gt; amazing!<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; maybe you can give me a help<br>&gt; &gt;&gt;&gt; I compiled your code for using it with ArcGis 9 (i made some little<br>&gt; &gt;&gt;&gt; modifications at the code to get this) and .NET 
2.0 It compiled<br>&gt; &gt;&gt;&gt; fine, but when I start ArcMap and I add a PostGIS layer, it adds the<br>&gt;<br>&gt; &gt;&gt;&gt; layer on the TOC but nothing is showed/drawed on the map.<br>&gt; &gt;&gt;&gt; Looks like geometries are not read from the shape column.
<br>&gt; &gt;&gt;&gt; I am wondering if you are still on this project, and maybe you could<br>&gt;<br>&gt; &gt;&gt;&gt; give me some help, or if I am on my own and must deeply<br>&gt; &gt;&gt;&gt; investigate/debug myself the code in order to find what is not going
<br>&gt;<br>&gt; &gt;&gt;&gt; properly<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; best regards<br>&gt; &gt;&gt;&gt; Paolo Corti<br>&gt; &gt;&gt;&gt; GIS Developer<br>&gt; &gt;&gt;&gt; <a href="http://www.paolocorti.net">http://www.paolocorti.net
</a><br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; Abe Gillespie wrote:<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Sorry for the cross post, but the zigGIS list only has 9<br>&gt; &gt;&gt;&gt;&gt; subscribers with a ton more downloads than that.
<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; I'm curious about any experiences people are having using or even<br>&gt; &gt;&gt;&gt;&gt; *trying* to use zigGIS.&nbsp;&nbsp;Is it working?&nbsp;&nbsp;Anyone need any help?&nbsp;&nbsp;Any<br>&gt;<br>
&gt; &gt;&gt;&gt;&gt; constructive criticism?&nbsp;&nbsp;... I haven't heard a peep yet.<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt; Thanks.<br>&gt; &gt;&gt;&gt;&gt; -Abe<br>&gt; &gt;&gt;&gt;&gt; _______________________________________________
<br>&gt; &gt;&gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; --<br>&gt; &gt;&gt;&gt; View this message in context:<br>&gt; &gt;&gt;&gt; 
<a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a756327</a><br>&gt; &gt;&gt;&gt; 6 Sent from the PostGIS - User mailing list archive at 
<a href="http://Nabble.com">Nabble.com</a>.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; _______________________________________________<br>&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;&gt; _______________________________________________
<br>&gt; &gt;&gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; --<br>&gt; &gt;&gt; View this message in context:<br>&gt; &gt;&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908">
http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7601908</a><br>&gt; &gt;&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt; _______________________________________________
<br>&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; postgis-users mailing list<br>&gt; &gt;&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; &gt;&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; &gt;&gt;<br>&gt; &gt;&gt;
<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt; --<br>&gt; View this message in context:<br>&gt; <a href="http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254">http://www.nabble.com/zigGIS-Usage-Experiences-tf696976.html#a7644254
</a><br>&gt; Sent from the PostGIS - User mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>&gt;<br>&gt; _______________________________________________<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt; _______________________________________________<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br><br><br>------------------------------<br><br>Message: 9<br>
Date: Sat, 2 Dec 2006 22:08:02 +0530<br>From: &quot;Sandeep Kumar Jakkaraju&quot; &lt;<a href="mailto:sandeepkumar.jakkaraju@gmail.com">sandeepkumar.jakkaraju@gmail.com</a>&gt;<br>Subject: [postgis-users] what is the units of distance parameter in
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;&nbsp; buffer function<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:c653c98f0612020838g4c26e086u223ff1c99d6c9d7b@mail.gmail.com">
c653c98f0612020838g4c26e086u223ff1c99d6c9d7b@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>what is the units of distance parameter in the buffer function&nbsp;&nbsp;...<br><br>buffer(geom,distance,[integer])&nbsp;&nbsp; ---&gt; buffer(GEOMFROMTEXT('POINT(
28.0 79.0<br>)'),1);<br><br>if my geom is in lat/lon ..... how much will be 1 !!<br><br>can some one throw more light on the 3 rd optional parameter !!! the manual<br>is not clear !!<br><br>--<br>Sandeep Kumar Jakkaraju<br>
WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/3fde8506/attachment-0001.html">
http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/3fde8506/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 10<br>Date: Sat, 2 Dec 2006 17:12:48 -0000<br>From: &quot;Pedro Doria Meunier&quot; &lt;
<a href="mailto:pdoria@netmadeira.com">pdoria@netmadeira.com</a>&gt;<br>Subject: RE: [postgis-users] what is the units of distance parameter<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;&nbsp; buffer function<br>To: &quot;'PostGIS Users Discussion'&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;000901c71635$18083fa0$4818bee0$@com&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;
<br><br>Kumar,<br><br><br><br>If your geom is lat/lon 1=1 degree<br><br>As to the 3rd argument&nbsp;&nbsp;it�s a mystery to me too�<br><br>&gt;From the manual:<br><br>The optional third parameter sets the number<br><br>of segment used to approximate a quarter circle (defaults
<br><br>to 8).<br><br><br><br>What�s this good for?!<br><br><br><br>Pedro.<br><br><br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Sandeep<br>Kumar Jakkaraju<br>Sent: s�bado, 2 de Dezembro de 2006 16:38<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net
</a><br>Subject: [postgis-users] what is the units of distance parameter in the<br>buffer function<br><br><br><br><br>what is the units of distance parameter in the buffer function&nbsp;&nbsp;...<br><br>buffer(geom,distance,[integer])&nbsp;&nbsp; ---&gt; buffer(GEOMFROMTEXT('POINT(
28.0<br>79.0)'),1);<br><br>if my geom is in lat/lon ..... how much will be 1 !!<br><br>can some one throw more light on the 3 rd optional parameter !!! the manual<br>is not clear !!<br><br>--<br>Sandeep Kumar Jakkaraju<br>
WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>&nbsp;&nbsp;&lt;<a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>&gt;<br><br>-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>URL: <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/c5e69011/attachment-0001.html">http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/c5e69011/attachment-0001.html
</a><br><br>------------------------------<br><br>Message: 11<br>Date: Sat, 2 Dec 2006 10:27:20 -0700<br>From: &quot;Bruce Rindahl&quot; &lt;<a href="mailto:rindahl@lrcwe.com">rindahl@lrcwe.com</a>&gt;<br>Subject: RE: [postgis-users] what is the units of distance parameter
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inthe&nbsp;&nbsp; buffer function<br>To: &quot;'PostGIS Users Discussion'&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;000c01c71637$1f350810$6501a8c0@Bruce
&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>The third parameter defines how close to a circle the buffer will be.&nbsp;&nbsp;There<br>is no �circle� in PostGIS (or most GIS software) � it is approximated by a
<br>series of lines.&nbsp;&nbsp;The default value of 8 means a circle will be approximated<br>by 32 line segments.&nbsp;&nbsp;If you specified this as 1 you would get 4 points or a<br>square.&nbsp;&nbsp;If the buffer value is very large you might need to increase the
<br>value&nbsp;&nbsp;to more than 8.<br><br>Bruce<br><br><br><br>&nbsp;&nbsp;_____<br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Pedro<br>Doria Meunier<br>Sent: Saturday, December 02, 2006 10:13 AM<br>To: 'PostGIS Users Discussion'<br>Subject: RE: [postgis-users] what is the units of distance parameter inthe
<br>buffer function<br><br><br><br>Kumar,<br><br><br><br>If your geom is lat/lon 1=1 degree<br><br>As to the 3rd argument&nbsp;&nbsp;it�s a mystery to me too�<br><br>&gt;From the manual:<br><br>The optional third parameter sets the number
<br><br>of segment used to approximate a quarter circle (defaults<br><br>to 8).<br><br><br><br>What�s this good for?!<br><br><br><br>Pedro.<br><br><br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Sandeep<br>Kumar Jakkaraju<br>Sent: s�bado, 2 de Dezembro de 2006 16:38
<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Subject: [postgis-users] what is the units of distance parameter in the<br>buffer function<br><br><br><br><br>what is the units of distance parameter in the buffer function&nbsp;&nbsp;...
<br><br>buffer(geom,distance,[integer])&nbsp;&nbsp; ---&gt; buffer(GEOMFROMTEXT('POINT(28.0<br>79.0)'),1);<br><br>if my geom is in lat/lon ..... how much will be 1 !!<br><br>can some one throw more light on the 3 rd optional parameter !!! the manual
<br>is not clear !!<br><br>--<br>Sandeep Kumar Jakkaraju<br>WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>&nbsp;&nbsp;&lt;<a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com
</a>&gt;<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/c8299ee2/attachment-0001.html">http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/c8299ee2/attachment-0001.html
</a><br><br>------------------------------<br><br>Message: 12<br>Date: Sat, 2 Dec 2006 10:27:22 -0700<br>From: Bill Thoen &lt;<a href="mailto:bthoen@gisnet.com">bthoen@gisnet.com</a>&gt;<br>Subject: Re: [postgis-users] what is the units of distance parameter
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;&nbsp;&nbsp;&nbsp; buffer function<br>To: PostGIS Users Discussion &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;<a href="mailto:20061202172722.GB9268@www.gisnet.com">
20061202172722.GB9268@www.gisnet.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>On Sat, Dec 02, 2006 at 05:12:48PM -0000, Pedro Doria Meunier wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;From the manual:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;The optional third parameter sets the number
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;of segment used to approximate a quarter circle (defaults<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;to 8).<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;What's this good for?!<br><br>I think it's a &quot;smoothness&quot; factor for drawing the corners of a buffer,<br>
i.e. if you use 1 and create a buffer around a point, it's a diamond shape.<br>If you use 2, it's an octagon. But I'm just guessing...<br><br><br>------------------------------<br><br>Message: 13<br>Date: Sat, 2 Dec 2006 22:57:32 +0530
<br>From: &quot;Sandeep Kumar Jakkaraju&quot; &lt;<a href="mailto:sandeepkumar.jakkaraju@gmail.com">sandeepkumar.jakkaraju@gmail.com</a>&gt;<br>Subject: [postgis-users] Nearest Neighbour queries in Postgis<br>To: &quot;PostGIS Users Discussion&quot; &lt;
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:c653c98f0612020927n618b7fc3g147eecaef929008b@mail.gmail.com">c653c98f0612020927n618b7fc3g147eecaef929008b@mail.gmail.com
</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Are there any functions for Nearest Neighbour queries in Postgis ???<br><br>like the near command of ARCINFO !!<br><br>Thanks<br><br>--<br>Sandeep Kumar Jakkaraju
<br>WeBlog: <a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/f520119e/attachment-0001.html">
http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/f520119e/attachment-0001.html</a><br><br>------------------------------<br><br>Message: 14<br>Date: Sat, 2 Dec 2006 10:09:10 -0800<br>From: Dylan Beaudette &lt;
<a href="mailto:dylan.beaudette@gmail.com">dylan.beaudette@gmail.com</a>&gt;<br>Subject: Re: [postgis-users] Nearest Neighbour queries in Postgis<br>To: PostGIS Users Discussion &lt;<a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;<a href="mailto:200612021009.10306.dylan.beaudette@gmail.com">200612021009.10306.dylan.beaudette@gmail.com</a>&gt;<br>Content-Type: text/plain;&nbsp;&nbsp;charset=&quot;utf-8&quot;
<br><br>On Saturday 02 December 2006 09:27, Sandeep Kumar Jakkaraju wrote:<br>&gt; Are there any functions for Nearest Neighbour queries in Postgis ???<br>&gt;<br>&gt; like the near command of ARCINFO !!<br>&gt;<br>&gt; Thanks
<br><br>how about a self join + distance() + order by distance_to_feature + limit 1 ?<br><br>cheers,<br>--<br>Dylan Beaudette<br>Soils and Biogeochemistry Graduate Group<br>University of California at Davis<br>530.754.7341
<br><br><br>------------------------------<br><br>Message: 15<br>Date: Sat, 2 Dec 2006 10:38:00 -0700<br>From: Michael Fuhr &lt;<a href="mailto:mike@fuhr.org">mike@fuhr.org</a>&gt;<br>Subject: Re: [postgis-users] what is the units of distance parameter
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;in the&nbsp;&nbsp;buffer function<br>To: PostGIS Users Discussion &lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;<a href="mailto:20061202173800.GA63467@winnie.fuhr.org">
20061202173800.GA63467@winnie.fuhr.org</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>On Sat, Dec 02, 2006 at 10:08:02PM +0530, Sandeep Kumar Jakkaraju wrote:<br>&gt; what is the units of distance parameter in the buffer function&nbsp;&nbsp;...
<br>&gt;<br>&gt; buffer(geom,distance,[integer])&nbsp;&nbsp; ---&gt; buffer(GEOMFROMTEXT('POINT(28.0 79.0<br>&gt; )'),1);<br>&gt;<br>&gt; if my geom is in lat/lon ..... how much will be 1 !!<br><br>The distance is in the same units as the geometry; for lat/lon
<br>that's degrees.&nbsp;&nbsp;A distance of 1 will therefore create a buffer<br>of 1 degree around the point.<br><br>Note that geometries are (X Y), which is (longitude latitude).&nbsp;&nbsp;The<br>above geometry is 79N 28E, which is in the Svalbard Archipelago in
<br>the Arctic Ocean.&nbsp;&nbsp;If you meant 28N 79E in northern India then use<br>POINT(79.0 28.0).<br><br>&gt; can some one throw more light on the 3 rd optional parameter !!! the manual<br>&gt; is not clear !!<br><br>&quot;The optional third parameter sets the number of segment used to
<br>approximate a quarter circle (defaults to 8).&quot;<br><br>For a point Buffer() returns a polygon that approximates a circle.<br>By default Buffer() uses 8 segments per quarter circle, so the<br>&quot;circle&quot; is really a 32-sided polygon.&nbsp;&nbsp;You can increase the number
<br>of segments to create a polygon that's closer to being a circle.<br><br>--<br>Michael Fuhr<br><br><br>------------------------------<br><br>Message: 16<br>Date: Sat, 2 Dec 2006 17:42:14 -0000<br>From: &quot;Pedro Doria Meunier&quot; &lt;
<a href="mailto:pdoria@netmadeira.com">pdoria@netmadeira.com</a>&gt;<br>Subject: RE: [postgis-users] what is the units of distance&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parameter<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inthe&nbsp;&nbsp; buffer function<br>To: &lt;<a href="mailto:rindahl@lrcwe.com">
rindahl@lrcwe.com</a>&gt;,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;'PostGIS Users Discussion'&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>&gt;<br>Message-ID: &lt;002001c71639$345ee650$9d1cb2f0$@com
&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br><br>Thank you Bruce!<br><br>Really helpful!<br><br><br><br>Regards,<br><br>Pedro.<br><br><br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Bruce<br>Rindahl<br>Sent: s�bado, 2 de Dezembro de 2006 17:27
<br>To: 'PostGIS Users Discussion'<br>Subject: RE: [postgis-users] what is the units of distance parameter inthe<br>buffer function<br><br><br><br>The third parameter defines how close to a circle the buffer will be.&nbsp;&nbsp;There
<br>is no �circle� in PostGIS (or most GIS software) � it is approximated by a<br>series of lines.&nbsp;&nbsp;The default value of 8 means a circle will be approximated<br>by 32 line segments.&nbsp;&nbsp;If you specified this as 1 you would get 4 points or a
<br>square.&nbsp;&nbsp;If the buffer value is very large you might need to increase the<br>value&nbsp;&nbsp;to more than 8.<br><br>Bruce<br><br><br><br>&nbsp;&nbsp;_____<br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Pedro<br>Doria Meunier<br>Sent: Saturday, December 02, 2006 10:13 AM<br>To: 'PostGIS Users Discussion'
<br>Subject: RE: [postgis-users] what is the units of distance parameter inthe<br>buffer function<br><br><br><br>Kumar,<br><br><br><br>If your geom is lat/lon 1=1 degree<br><br>As to the 3rd argument&nbsp;&nbsp;it�s a mystery to me too�
<br><br>&gt;From the manual:<br><br>The optional third parameter sets the number<br><br>of segment used to approximate a quarter circle (defaults<br><br>to 8).<br><br><br><br>What�s this good for?!<br><br><br><br>Pedro.<br>
<br><br><br>From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net
</a>] On Behalf Of Sandeep<br>Kumar Jakkaraju<br>Sent: s�bado, 2 de Dezembro de 2006 16:38<br>To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>Subject: [postgis-users] what is the units of distance parameter in the
<br>buffer function<br><br><br><br><br>what is the units of distance parameter in the buffer function&nbsp;&nbsp;...<br><br>buffer(geom,distance,[integer])&nbsp;&nbsp; ---&gt; buffer(GEOMFROMTEXT('POINT(28.0<br>79.0)'),1);<br><br>if my geom is in lat/lon ..... how much will be 1 !!
<br><br>can some one throw more light on the 3 rd optional parameter !!! the manual<br>is not clear !!<br><br>--<br>Sandeep Kumar Jakkaraju<br>WeBlog:<br><a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com
</a>&nbsp;&nbsp;&lt;<a href="http://jakkarajus.blogspot.com">http://jakkarajus.blogspot.com</a>&gt;<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/75c0529d/attachment-0001.html">
http://lists.refractions.net/pipermail/postgis-users/attachments/20061202/75c0529d/attachment-0001.html</a><br><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">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br><br><br>End of postgis-users Digest, Vol 50, Issue 2<br>********************************************<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Mark Thomas<br><a href="mailto:spatialguru.net@gmail.com">
spatialguru.net@gmail.com</a><br>205.529.9013<br><br>&quot;Commit to the Lord whatever you do,<br>&nbsp;&nbsp;&nbsp;&nbsp;and your plans will succeed.&quot; - Proverbs 16:3