<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-16529</id>
	<title>Nabble - OpenEV</title>
	<updated>2009-11-18T07:35:52Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/OpenEV-f16529.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenEV-f16529.html" />
	<subtitle type="html">&lt;a href=&quot;http://openev.sourceforge.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;OpenEV&lt;/a&gt;&amp;nbsp;is a software library and application for viewing and analysing raster and vector geospatial data.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26410061</id>
	<title>Re: how many files are in gdal after &quot;make install&quot;GDAL?</title>
	<published>2009-11-18T07:35:52Z</published>
	<updated>2009-11-18T07:35:52Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&amp;gt; me that &amp;quot;cannot find file 'gdal.h' in ....&amp;quot;.Then I checked
&lt;br&gt;&amp;gt; the file
&lt;br&gt;&amp;gt; named &amp;quot;makefile&amp;quot; in &amp;quot;openev&amp;quot; and I found something like as
&lt;br&gt;&amp;gt; follows:
&lt;br&gt;&amp;gt; CFLAGS = $(OPTFLAGS) -Wall
&lt;br&gt;&amp;gt; -I/home/randyqiu/run-time/gdal-1.6.2/ogr/ogrsf_frmts
&lt;br&gt;&amp;gt; -I/home/randyqiu/run-time/gtk-1.2.8/include
&lt;br&gt;&lt;br&gt;wait, your trying to hard ..
&lt;br&gt;&lt;br&gt;Here is what I just did:
&lt;br&gt;&lt;br&gt;I just dowloaded openev-src-180.tar.gz from SourceForge.
&lt;br&gt;&lt;br&gt;Then I 'cd' to openev source tree
&lt;br&gt;&lt;br&gt;Then I ran './configure --with-gdal=&amp;lt;gdal-path&amp;gt;'
&lt;br&gt;where &amp;lt;gdal-path&amp;gt; is where I put the gdal source tree.
&lt;br&gt;&lt;br&gt;My python setup is broken so for the moment I just build openev core
&lt;br&gt;$ make gvtest
&lt;br&gt;&lt;br&gt;then run it
&lt;br&gt;$ ./gvtest -ogr=&amp;lt;path-to-ENC&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;path-to-ENC&amp;gt; is where I put the test ENC US5TX51M.000
&lt;br&gt;&lt;br&gt;&lt;br&gt;Don't bother with S52 for now. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. &amp;nbsp;Click on Options in Mail and switch to New Mail today or register for free at &lt;a href=&quot;http://mail.yahoo.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.yahoo.ca&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26410061&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-many-files-are-in-gdal-after-%22make-install%22GDAL--tp26405949p26410061.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26405949</id>
	<title>how many files are in gdal after &quot;make install&quot;GDAL?</title>
	<published>2009-11-18T03:04:47Z</published>
	<updated>2009-11-18T03:04:47Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi Sylvain,
&lt;br&gt;when I built(&amp;quot;make&amp;quot;) openev with S52,there existed some errors and told
&lt;br&gt;me that &amp;quot;cannot find file 'gdal.h' in ....&amp;quot;.Then I checked the file
&lt;br&gt;named &amp;quot;makefile&amp;quot; in &amp;quot;openev&amp;quot; and I found something like as follows:
&lt;br&gt;CFLAGS = $(OPTFLAGS) -Wall
&lt;br&gt;-I/home/randyqiu/run-time/gdal-1.6.2/ogr/ogrsf_frmts
&lt;br&gt;-I/home/randyqiu/run-time/gtk-1.2.8/include
&lt;br&gt;.........
&lt;br&gt;Please note &amp;quot;/home/randyqiu/run-time/gdal-1.6.2/&amp;quot;is my directory of
&lt;br&gt;GDAL-support file after install GDAL from source code.
&lt;br&gt;But I cannot find the file &amp;quot;ogr/ogrsf_frmts&amp;quot; in
&lt;br&gt;&amp;quot;/home/randyqiu/run-time/gdal-1.6.2/&amp;quot; and there are only 4 files which
&lt;br&gt;are &amp;quot;bin&amp;quot; &amp;quot;include&amp;quot; &amp;quot;lib&amp;quot; &amp;quot;share&amp;quot;.
&lt;br&gt;So the question is:
&lt;br&gt;1)how many files in your .../GDAL and who are they?
&lt;br&gt;&lt;br&gt;I know 'gdal.h' is in
&lt;br&gt;path&amp;quot;/home/randyqiu/run-time/gdal-1.6.2/include&amp;quot;,so I add one sentence
&lt;br&gt;&amp;quot;-I/home/randyqiu/run-time/gdal-1.6.2/include&amp;quot; near &amp;quot;CFLAGS&amp;quot;. Then the
&lt;br&gt;problem &amp;quot;cannot find 'gdal.h'&amp;quot;was solved but another one raised:
&lt;br&gt;......
&lt;br&gt;In file included from gvmodule.c:4653:
&lt;br&gt;gvmodule_impl.c:1: error： expected ‘=’, ‘,’, ‘;’, ‘asm’ or
&lt;br&gt;‘__attribute__’ before ‘*’ token
&lt;br&gt;gvmodule_impl.c:7: error： expected ‘=’, ‘,’, ‘;’, ‘asm’ or
&lt;br&gt;‘__attribute__’ before ‘*’ token
&lt;br&gt;gvmodule_impl.c:18: error： expected ‘=’, ‘,’, ‘;’, ‘asm’ or
&lt;br&gt;‘__attribute__’ before ‘*’ token
&lt;br&gt;gvmodule_impl.c:26: error： expected ‘=’, ‘,’, ‘;’, ‘asm’ or
&lt;br&gt;‘__attribute__’ before ‘*’ token
&lt;br&gt;.....
&lt;br&gt;:-(
&lt;br&gt;.......
&lt;br&gt;Any suggestion? Thanks!
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26405949&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-many-files-are-in-gdal-after-%22make-install%22GDAL--tp26405949p26405949.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26402458</id>
	<title>Re: building openev needs gtk1 instead of gtk2?</title>
	<published>2009-11-17T20:38:16Z</published>
	<updated>2009-11-17T20:38:16Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">在 2009-11-17二的 06:47 -0800，s duclos写道：
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; checking for gtk-config... no
&lt;br&gt;&amp;gt; &amp;gt; checking for GTK - version &amp;gt;= 0.99.7... no
&lt;br&gt;&amp;gt; &amp;gt; *** The gtk-config script installed by GTK could not be
&lt;br&gt;&amp;gt; &amp;gt; found
&lt;br&gt;&amp;gt; &amp;gt; *** If GTK was installed in PREFIX, make sure PREFIX/bin is
&lt;br&gt;&amp;gt; &amp;gt; in
&lt;br&gt;&amp;gt; &amp;gt; *** your path, or set the GTK_CONFIG environment variable
&lt;br&gt;&amp;gt; &amp;gt; to the
&lt;br&gt;&amp;gt; &amp;gt; *** full path to gtk-config.
&lt;br&gt;&amp;gt; &amp;gt; configure: error: Cannot find proper gtk version
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Then I google it and find the solution that &amp;quot;gtk-config is
&lt;br&gt;&amp;gt; &amp;gt; gtk1, gtk2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Randy,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It may look a bit cryptic, but that is what the script is telling you.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It can't find GTK. On Ubuntu in synaptic install 'libgtk1.2' and 'libgkt1.2-dev'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rgds,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sylvain.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;&amp;gt; Looking for the perfect gift? Give the gift of Flickr! 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.flickr.com/gift/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.flickr.com/gift/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;Hi Sylvain,
&lt;br&gt;You are right. It works fine now after installing gtk1.x.
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26402458&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/building-openev-needs-gtk1-instead-of-gtk2--tp26384269p26402458.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26391235</id>
	<title>Re: building openev needs gtk1 instead of gtk2?</title>
	<published>2009-11-17T06:47:44Z</published>
	<updated>2009-11-17T06:47:44Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; checking for gtk-config... no
&lt;br&gt;&amp;gt; checking for GTK - version &amp;gt;= 0.99.7... no
&lt;br&gt;&amp;gt; *** The gtk-config script installed by GTK could not be
&lt;br&gt;&amp;gt; found
&lt;br&gt;&amp;gt; *** If GTK was installed in PREFIX, make sure PREFIX/bin is
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; *** your path, or set the GTK_CONFIG environment variable
&lt;br&gt;&amp;gt; to the
&lt;br&gt;&amp;gt; *** full path to gtk-config.
&lt;br&gt;&amp;gt; configure: error: Cannot find proper gtk version
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Then I google it and find the solution that &amp;quot;gtk-config is
&lt;br&gt;&amp;gt; gtk1, gtk2
&lt;/div&gt;&lt;br&gt;Randy,
&lt;br&gt;&lt;br&gt;It may look a bit cryptic, but that is what the script is telling you.
&lt;br&gt;&lt;br&gt;It can't find GTK. On Ubuntu in synaptic install 'libgtk1.2' and 'libgkt1.2-dev'.
&lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Looking for the perfect gift? Give the gift of Flickr! 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.flickr.com/gift/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.flickr.com/gift/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26391235&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/building-openev-needs-gtk1-instead-of-gtk2--tp26384269p26391235.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26384269</id>
	<title>building openev needs gtk1 instead of gtk2?</title>
	<published>2009-11-16T20:32:14Z</published>
	<updated>2009-11-16T20:32:14Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi list,
&lt;br&gt;when I build openev with s52, I found there is an error as follows:
&lt;br&gt;checking for gtk-config... no
&lt;br&gt;checking for GTK - version &amp;gt;= 0.99.7... no
&lt;br&gt;*** The gtk-config script installed by GTK could not be found
&lt;br&gt;*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
&lt;br&gt;*** your path, or set the GTK_CONFIG environment variable to the
&lt;br&gt;*** full path to gtk-config.
&lt;br&gt;configure: error: Cannot find proper gtk version
&lt;br&gt;&lt;br&gt;Then I google it and find the solution that &amp;quot;gtk-config is gtk1, gtk2
&lt;br&gt;uses pkg-config&amp;quot;.The problem has frustrated me for several days and if
&lt;br&gt;the solution is right, I think someone now could fix it, right?
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26384269&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/building-openev-needs-gtk1-instead-of-gtk2--tp26384269p26384269.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26331411</id>
	<title>Re: any document or reference about S52?</title>
	<published>2009-11-12T20:49:22Z</published>
	<updated>2009-11-12T20:49:22Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi Sylvain,
&lt;br&gt;You are right, I forgot to install dia.Forgive my carelessness and thank
&lt;br&gt;you!
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;在 2009-11-12四的 09:50 -0800，s duclos写道：
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Randy,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; --- On Thu, 11/12/09, Randy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331411&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; From: Randy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331411&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: [Openev-discuss] any document or reference about S52?
&lt;br&gt;&amp;gt; &amp;gt; To: &amp;quot;s duclos&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331411&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sylvain_duclos@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Cc: &amp;quot;openev-discuss&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331411&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Received: Thursday, November 12, 2009, 6:57 PM
&lt;br&gt;&amp;gt; &amp;gt; Hi Sylvain,
&lt;br&gt;&amp;gt; &amp;gt; Sorry to disturb you again.But I mean I want some
&lt;br&gt;&amp;gt; &amp;gt; information about your
&lt;br&gt;&amp;gt; &amp;gt; code's structure which could help me to understand your
&lt;br&gt;&amp;gt; &amp;gt; code clearer.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; An (old) overview of the lib can be found in
&lt;br&gt;&amp;gt; openev/contrib/S52/doc 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Check the file 'libS52-layout.dia'. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You need to have &amp;quot;dia&amp;quot; installed in order to viewer it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rgds,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sylvain.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;&amp;gt; Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at &lt;a href=&quot;http://downloads.yahoo.com/ca/internetexplorer/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://downloads.yahoo.com/ca/internetexplorer/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26331411&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-document-or-reference-about-S52--tp26317736p26331411.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323209</id>
	<title>Re: any document or reference about S52?</title>
	<published>2009-11-12T09:50:25Z</published>
	<updated>2009-11-12T09:50:25Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">Hi Randy,
&lt;br&gt;&lt;br&gt;--- On Thu, 11/12/09, Randy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323209&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Randy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323209&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [Openev-discuss] any document or reference about S52?
&lt;br&gt;&amp;gt; To: &amp;quot;s duclos&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323209&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sylvain_duclos@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Cc: &amp;quot;openev-discuss&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323209&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Received: Thursday, November 12, 2009, 6:57 PM
&lt;br&gt;&amp;gt; Hi Sylvain,
&lt;br&gt;&amp;gt; Sorry to disturb you again.But I mean I want some
&lt;br&gt;&amp;gt; information about your
&lt;br&gt;&amp;gt; code's structure which could help me to understand your
&lt;br&gt;&amp;gt; code clearer.
&lt;/div&gt;&lt;br&gt;An (old) overview of the lib can be found in
&lt;br&gt;openev/contrib/S52/doc 
&lt;br&gt;&lt;br&gt;Check the file 'libS52-layout.dia'. 
&lt;br&gt;&lt;br&gt;You need to have &amp;quot;dia&amp;quot; installed in order to viewer it.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! Get it Now for Free! at &lt;a href=&quot;http://downloads.yahoo.com/ca/internetexplorer/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://downloads.yahoo.com/ca/internetexplorer/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323209&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-document-or-reference-about-S52--tp26317736p26323209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322989</id>
	<title>Re: build</title>
	<published>2009-11-12T09:38:57Z</published>
	<updated>2009-11-12T09:38:57Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">Will,
&lt;br&gt;&lt;br&gt;I'm on it. I found that I added 'extern &amp;quot;C&amp;quot; ...' to S57FileCollector
&lt;br&gt;&lt;br&gt;extern &amp;quot;C&amp;quot; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; char **S57FileCollector( const char * pszDataset );
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;so that linker can see it. Otherwise it's C++ decorated.
&lt;br&gt;&lt;br&gt;It would be best if I could use stock gdal S57FileCollector.
&lt;br&gt;&lt;br&gt;In the mean time build libS52.so with out it (ie remove
&lt;br&gt;the -DS52_USE_OGR_FILECOLLECTOR.)
&lt;br&gt;&lt;br&gt;I'll commit the modified Makefile so that libS52.so build
&lt;br&gt;without the experimental call S57FileCollectorlater today
&lt;br&gt;(need more testing.)
&lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--- On Thu, 11/12/09, Will Kamp &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322989&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manimaul@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Will Kamp &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322989&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manimaul@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: [Openev-discuss] build
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322989&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Received: Thursday, November 12, 2009, 6:31 PM
&lt;br&gt;&amp;gt; Sylvain,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, I do have
&lt;br&gt;&amp;gt; gdal-1.6.2/ogr/ogrsf_frmts/o/S57FileCollector.o
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Changing to 
&lt;br&gt;&amp;gt; S52_LIBS  = -Wl,-rpath .. -L.. -lS52 `gdal-config --libs`
&lt;br&gt;&amp;gt; in test/Makefile does not change result... still get:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; make s52glx
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; gcc -fPIC -O0 -g -Wall `pkg-config --cflags glib-2.0` -I..
&lt;br&gt;&amp;gt; s52glx.c -Wl,-rpath .. -L.. -lS52 -o s52glx
&lt;br&gt;&amp;gt; ../libS52.so: undefined reference to
&lt;br&gt;&amp;gt; `S57FileCollector'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; collect2: ld returned 1 exit status
&lt;br&gt;&amp;gt; make[1]: *** [s52glx] Error 1
&lt;br&gt;&amp;gt; make[1]: Leaving directory `/home/will/gis/openev/contrib/S52/test'
&lt;br&gt;&amp;gt; make: *** [test/s52glx] Error 2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I will post if I find problem/solution.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Will Kamp
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal
&lt;br&gt;&amp;gt; Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and
&lt;br&gt;&amp;gt; deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's
&lt;br&gt;&amp;gt; new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openev-discuss mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322989&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
&lt;br&gt;&lt;a href=&quot;http://ca.toolbar.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ca.toolbar.yahoo.com&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322989&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/build-tp26319720p26322989.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320270</id>
	<title>Re: any document or reference about S52?</title>
	<published>2009-11-12T06:57:15Z</published>
	<updated>2009-11-12T06:57:15Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi Sylvain,
&lt;br&gt;Sorry to disturb you again.But I mean I want some information about your
&lt;br&gt;code's structure which could help me to understand your code clearer.
&lt;br&gt;Thanks a lot.
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;在 2009-11-12四的 05:09 -0800，s duclos写道：
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Randy,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; If it is convenience, would you please give me some
&lt;br&gt;&amp;gt; &amp;gt; document or
&lt;br&gt;&amp;gt; &amp;gt; instruction about your S52 open-source code?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Old IHO's S-52 Manual is at 'the Wayback Machine': 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://web.archive.org/web/20030323010814/http://www.iho.shom.fr/general/ecdis/pslb03_2.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.archive.org/web/20030323010814/http://www.iho.shom.fr/general/ecdis/pslb03_2.pdf&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Other then that there is some info in 
&lt;br&gt;&amp;gt; openev/contrib/S52/doc
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope this help,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sylvain.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Thank you a lot!
&lt;br&gt;&amp;gt; &amp;gt; Best regards,
&lt;br&gt;&amp;gt; &amp;gt; Randy
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal
&lt;br&gt;&amp;gt; &amp;gt; Reports 2008 30-Day 
&lt;br&gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and
&lt;br&gt;&amp;gt; &amp;gt; deployment - and focus on 
&lt;br&gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's
&lt;br&gt;&amp;gt; &amp;gt; new with
&lt;br&gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; &amp;gt; Openev-discuss mailing list
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320270&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;&amp;gt; Get the name you've always wanted @ymail.com or @rocketmail.com! Go to &lt;a href=&quot;http://ca.promos.yahoo.com/jacko/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ca.promos.yahoo.com/jacko/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26320270&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-document-or-reference-about-S52--tp26317736p26320270.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26319720</id>
	<title>build</title>
	<published>2009-11-12T06:31:56Z</published>
	<updated>2009-11-12T06:31:56Z</updated>
	<author>
		<name>Will Kamp</name>
	</author>
	<content type="html">Sylvain,&lt;br&gt;&lt;br&gt;Yes, I do have gdal-1.6.2/ogr/ogrsf_frmts/o/S57FileCollector.o&lt;br&gt;&lt;div id=&quot;:1m&quot; class=&quot;ii gt&quot;&gt;&lt;br&gt;Changing to &lt;br&gt;S52_LIBS  = -Wl,-rpath .. -L.. -lS52 `gdal-config --libs`&lt;br&gt;in test/Makefile does not change result... still get:&lt;br&gt;
&lt;br&gt;make s52glx&lt;br&gt;...&lt;br&gt;gcc -fPIC -O0 -g -Wall `pkg-config --cflags glib-2.0` -I.. s52glx.c -Wl,-rpath .. -L.. -lS52 -o s52glx&lt;br&gt;../libS52.so: undefined reference to `S57FileCollector&amp;#39;&lt;br&gt;
collect2: ld returned 1 exit status&lt;br&gt;make[1]: *** [s52glx] Error 1&lt;br&gt;make[1]: Leaving directory `/home/will/gis/&lt;span class=&quot;il&quot;&gt;openev&lt;/span&gt;/&lt;div id=&quot;:36&quot; class=&quot;ii gt&quot;&gt;contrib/S52/test&amp;#39;&lt;br&gt;make: *** [test/s52glx] Error 2&lt;br&gt;
&lt;br&gt;gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1&lt;br&gt;&lt;br&gt;I will post if I find problem/solution.&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Will Kamp&lt;br&gt;&lt;/div&gt;&lt;br&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26319720&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/build-tp26319720p26319720.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26318372</id>
	<title>Re: any document or reference about S52?</title>
	<published>2009-11-12T05:09:19Z</published>
	<updated>2009-11-12T05:09:19Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">Hi Randy,
&lt;br&gt;&lt;br&gt;&amp;gt; If it is convenience, would you please give me some
&lt;br&gt;&amp;gt; document or
&lt;br&gt;&amp;gt; instruction about your S52 open-source code?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Old IHO's S-52 Manual is at 'the Wayback Machine': 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://web.archive.org/web/20030323010814/http://www.iho.shom.fr/general/ecdis/pslb03_2.pdf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://web.archive.org/web/20030323010814/http://www.iho.shom.fr/general/ecdis/pslb03_2.pdf&lt;/a&gt;&lt;br&gt;&lt;br&gt;Other then that there is some info in 
&lt;br&gt;openev/contrib/S52/doc
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this help,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thank you a lot!
&lt;br&gt;&amp;gt; Best regards,
&lt;br&gt;&amp;gt; Randy
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal
&lt;br&gt;&amp;gt; Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and
&lt;br&gt;&amp;gt; deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's
&lt;br&gt;&amp;gt; new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openev-discuss mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318372&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Get the name you've always wanted @ymail.com or @rocketmail.com! Go to &lt;a href=&quot;http://ca.promos.yahoo.com/jacko/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ca.promos.yahoo.com/jacko/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26318372&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-document-or-reference-about-S52--tp26317736p26318372.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26317736</id>
	<title>any document or reference about S52?</title>
	<published>2009-11-12T04:17:45Z</published>
	<updated>2009-11-12T04:17:45Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi,Sylvain,
&lt;br&gt;Thanks for your reply &amp;nbsp;all the time!
&lt;br&gt;Now, as a fresh programmer(especially on maritime GIS), I think reading
&lt;br&gt;your S52 source code is a good way to learn how to program.
&lt;br&gt;However, I feel a little dizzy when I face thousands lines codes and
&lt;br&gt;don't know where I can begin with.
&lt;br&gt;If it is convenience, would you please give me some document or
&lt;br&gt;instruction about your S52 open-source code?
&lt;br&gt;Thank you a lot!
&lt;br&gt;Best regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26317736&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-document-or-reference-about-S52--tp26317736p26317736.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26300168</id>
	<title>Re: confusion about building S52</title>
	<published>2009-11-11T04:00:13Z</published>
	<updated>2009-11-11T04:00:13Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">Hi Will,
&lt;br&gt;&lt;br&gt;Yes, S57FileCollector live in gdal. I use that to read all ENC in
&lt;br&gt;ENC_ROOT. 
&lt;br&gt;&lt;br&gt;Apparently your libS52.so can't see it. 
&lt;br&gt;&lt;br&gt;&amp;gt; ../libS52.so: undefined reference to
&lt;br&gt;&amp;gt; `S57FileCollector'
&lt;br&gt;&lt;br&gt;You can check if your gdal has the S57FileCollector using 'nm'. 
&lt;br&gt;&lt;br&gt;Also if you build gdal yourself you should have 
&lt;br&gt;gdal/ogr/ogrsf_frmts/o/S57FileCollector.o
&lt;br&gt;&lt;br&gt;&lt;br&gt;It's a bit puzzling because s52glx build just fine at my end.
&lt;br&gt;&lt;br&gt;I have gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
&lt;br&gt;&lt;br&gt;Maybe there is some thing with the linker. Add `gdal-config --libs`
&lt;br&gt;to the end of S52_LIBS variable in test/Makefile
&lt;br&gt;&lt;br&gt;S52_LIBS &amp;nbsp;= -Wl,-rpath .. -L.. -lS52 `gdal-config --libs`
&lt;br&gt;&lt;br&gt;If this does the trick I'll commit the mod. in CVS.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;You can bypass this S57FileCollector call. Just remove 
&lt;br&gt;-DS52_USE_OGR_FILECOLLECTOR in the S52 Makefile.
&lt;br&gt;&lt;br&gt;s52glx : CFLAGS = `pkg-config --cflags glib-2.0`\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; `gdal-config --cflags` &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DS52_USE_PROJ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DS52_USE_GTK2 $(DBG) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;--- On Wed, 11/11/09, Will Kamp &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manimaul@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Will Kamp &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;manimaul@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [Openev-discuss] confusion about building S52
&lt;br&gt;&amp;gt; To: &amp;quot;openev-discuss&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Received: Wednesday, November 11, 2009, 6:48 AM
&lt;br&gt;&amp;gt; Sylvain,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; libS52 does not build for me:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; make s52glx
&lt;br&gt;&amp;gt; ...
&lt;br&gt;&amp;gt; gcc -fPIC -O0 -g -Wall `pkg-config --cflags glib-2.0` -I..
&lt;br&gt;&amp;gt; s52glx.c -Wl,-rpath .. -L.. -lS52 -o s52glx
&lt;br&gt;&amp;gt; ../libS52.so: undefined reference to
&lt;br&gt;&amp;gt; `S57FileCollector'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; collect2: ld returned 1 exit status
&lt;br&gt;&amp;gt; make[1]: *** [s52glx] Error 1
&lt;br&gt;&amp;gt; make[1]: Leaving directory
&lt;br&gt;&amp;gt; `/home/will/gis/openev/contrib/S52/test'
&lt;br&gt;&amp;gt; make: *** [test/s52glx] Error 2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; i have gdal 1.6.2, openev2 1.8 ... any ideas
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Will
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, Nov 10, 2009 at 9:13 AM, s
&lt;br&gt;&amp;gt; duclos &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sylvain_duclos@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Randyqiu,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; To build OpenEV with S52 support just follow the
&lt;br&gt;&amp;gt; INSTALLATION
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; section in contrib/S52/README
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But first try to run &amp;quot;make s52glx&amp;quot; in
&lt;br&gt;&amp;gt; contrib/S52/ to check if your setup
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; can build the basic. Normally it should produce
&lt;br&gt;&amp;gt; 's52glx' in
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; contrib/S52/test.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Win32: same as above but on Cygwin.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; rgds,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sylvain.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal
&lt;br&gt;&amp;gt; Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and
&lt;br&gt;&amp;gt; deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's
&lt;br&gt;&amp;gt; new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; -----Inline Attachment Follows-----
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openev-discuss mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at &lt;a href=&quot;http://ca.answers.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ca.answers.yahoo.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26300168&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/confusion-about-building-S52-tp26281044p26300168.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295229</id>
	<title>Re: confusion about building S52</title>
	<published>2009-11-10T18:48:57Z</published>
	<updated>2009-11-10T18:48:57Z</updated>
	<author>
		<name>Will Kamp</name>
	</author>
	<content type="html">Sylvain,&lt;br&gt;&lt;br&gt;libS52 does not build for me:&lt;br&gt;&lt;br&gt;make s52glx&lt;br&gt;...&lt;br&gt;gcc -fPIC -O0 -g -Wall `pkg-config --cflags glib-2.0` -I.. s52glx.c -Wl,-rpath .. -L.. -lS52 -o s52glx&lt;br&gt;../libS52.so: undefined reference to `S57FileCollector&amp;#39;&lt;br&gt;
collect2: ld returned 1 exit status&lt;br&gt;make[1]: *** [s52glx] Error 1&lt;br&gt;make[1]: Leaving directory `/home/will/gis/openev/contrib/S52/test&amp;#39;&lt;br&gt;make: *** [test/s52glx] Error 2&lt;br&gt;&lt;br&gt;i have gdal 1.6.2, openev2 1.8 ... any ideas&lt;br&gt;
&lt;br&gt;Will&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Tue, Nov 10, 2009 at 9:13 AM, s duclos &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295229&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sylvain_duclos@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi Randyqiu,&lt;br&gt;
&lt;br&gt;
To build OpenEV with S52 support just follow the INSTALLATION&lt;br&gt;
section in contrib/S52/README&lt;br&gt;
&lt;br&gt;
But first try to run &amp;quot;make s52glx&amp;quot; in contrib/S52/ to check if your setup&lt;br&gt;
can build the basic. Normally it should produce &amp;#39;s52glx&amp;#39; in&lt;br&gt;
contrib/S52/test.&lt;br&gt;
&lt;br&gt;
Win32: same as above but on Cygwin.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
rgds,&lt;br&gt;
&lt;br&gt;
Sylvain.&lt;br&gt;&lt;/blockquote&gt;&lt;/div&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295229&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/confusion-about-building-S52-tp26281044p26295229.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287422</id>
	<title>Re: confusion about building S52</title>
	<published>2009-11-10T09:13:26Z</published>
	<updated>2009-11-10T09:13:26Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">Hi Randyqiu,
&lt;br&gt;&lt;br&gt;To build OpenEV with S52 support just follow the INSTALLATION
&lt;br&gt;section in contrib/S52/README
&lt;br&gt;&lt;br&gt;But first try to run &amp;quot;make s52glx&amp;quot; in contrib/S52/ to check if your setup
&lt;br&gt;can build the basic. Normally it should produce 's52glx' in
&lt;br&gt;contrib/S52/test.
&lt;br&gt;&lt;br&gt;Win32: same as above but on Cygwin.
&lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,
&lt;br&gt;&lt;br&gt;Sylvain.
&lt;br&gt;&lt;br&gt;--- On Tue, 11/10/09, Randyqiu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287422&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; From: Randyqiu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287422&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: [Openev-discuss] confusion about building S52
&lt;br&gt;&amp;gt; To: &amp;quot;openev-discuss&amp;quot; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287422&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Received: Tuesday, November 10, 2009, 2:13 PM
&lt;br&gt;&amp;gt; Hi list,
&lt;br&gt;&amp;gt; I downloaded openev source code(include
&lt;br&gt;&amp;gt; &amp;quot;contrib&amp;quot;、&amp;quot;openev&amp;quot;、&amp;quot;pkgsrc&amp;quot;
&lt;br&gt;&amp;gt; and so on) via CVS to display s_57 files.But I got some
&lt;br&gt;&amp;gt; errors when I
&lt;br&gt;&amp;gt; built the openev on ubuntu9.04. I don't know where I did
&lt;br&gt;&amp;gt; wrong,to some
&lt;br&gt;&amp;gt; extend,since I never did programming on Linux before.So the
&lt;br&gt;&amp;gt; questions
&lt;br&gt;&amp;gt; are:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 1.Who can give me some explicit way to build it which
&lt;br&gt;&amp;gt; support to display
&lt;br&gt;&amp;gt; s_57 files since I don't know very well about the
&lt;br&gt;&amp;gt; &amp;quot;Readme&amp;quot;in
&lt;br&gt;&amp;gt; contrib/S52.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2.I find it may be built and run on windows OS, but I'm not
&lt;br&gt;&amp;gt; sure about
&lt;br&gt;&amp;gt; it.If so,how should i do it?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks a lot in your reply!
&lt;br&gt;&amp;gt; Best Regards,
&lt;br&gt;&amp;gt; Randy
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal
&lt;br&gt;&amp;gt; Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and
&lt;br&gt;&amp;gt; deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's
&lt;br&gt;&amp;gt; new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Openev-discuss mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287422&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; __________________________________________________________________
&lt;br&gt;The new Internet Explorer® 8 - Faster, safer, easier. &amp;nbsp;Optimized for Yahoo! &amp;nbsp;Get it Now for Free! at &lt;a href=&quot;http://downloads.yahoo.com/ca/internetexplorer/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://downloads.yahoo.com/ca/internetexplorer/&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287422&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/confusion-about-building-S52-tp26281044p26287422.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26281044</id>
	<title>confusion about building S52</title>
	<published>2009-11-10T02:13:48Z</published>
	<updated>2009-11-10T02:13:48Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">Hi list,
&lt;br&gt;I downloaded openev source code(include &amp;quot;contrib&amp;quot;、&amp;quot;openev&amp;quot;、&amp;quot;pkgsrc&amp;quot;
&lt;br&gt;and so on) via CVS to display s_57 files.But I got some errors when I
&lt;br&gt;built the openev on ubuntu9.04. I don't know where I did wrong,to some
&lt;br&gt;extend,since I never did programming on Linux before.So the questions
&lt;br&gt;are:
&lt;br&gt;&lt;br&gt;1.Who can give me some explicit way to build it which support to display
&lt;br&gt;s_57 files since I don't know very well about the &amp;quot;Readme&amp;quot;in
&lt;br&gt;contrib/S52.
&lt;br&gt;&lt;br&gt;2.I find it may be built and run on windows OS, but I'm not sure about
&lt;br&gt;it.If so,how should i do it?
&lt;br&gt;&lt;br&gt;Thanks a lot in your reply!
&lt;br&gt;Best Regards,
&lt;br&gt;Randy
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26281044&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/confusion-about-building-S52-tp26281044p26281044.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273054</id>
	<title>OpenEV2 on Ubuntu 9.10</title>
	<published>2009-11-09T12:21:47Z</published>
	<updated>2009-11-09T12:21:47Z</updated>
	<author>
		<name>Elias Luttinen</name>
	</author>
	<content type="html">Hi list,
&lt;br&gt;&lt;br&gt;I tried to run OpenEV2 on Ubuntu 9.10. Following steps seemed to work:
&lt;br&gt;&lt;br&gt;$ sudo aptitude install libgtkglext1-dev libgdal1-dev python-gdal
&lt;br&gt;gdal-bin python-gobject-dev python-gtk2-dev
&lt;br&gt;&lt;br&gt;$ svn co &lt;a href=&quot;https://openev.svn.sourceforge.net/svnroot/openev/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://openev.svn.sourceforge.net/svnroot/openev/trunk&lt;/a&gt;&amp;nbsp;openev
&lt;br&gt;&lt;br&gt;$ cd openev
&lt;br&gt;&lt;br&gt;$ sudo python setup.py install
&lt;br&gt;&lt;br&gt;$ openev2
&lt;br&gt;&lt;br&gt;BTW. On what distro you are running the OpenEV?
&lt;br&gt;&lt;br&gt;Br,
&lt;br&gt;Elias
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273054&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenEV2-on-Ubuntu-9.10-tp26273054p26273054.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26029426</id>
	<title>Re: how to use OpenEv for displaying s_57</title>
	<published>2009-10-23T09:24:13Z</published>
	<updated>2009-10-23T09:24:13Z</updated>
	<author>
		<name>s duclos</name>
	</author>
	<content type="html">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot;&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot; style=&quot;font: inherit;&quot;&gt;Hi Randy,&lt;br&gt;&lt;br&gt;Your output is correct. Natively OpenEV render S57 in green. You need S52&lt;br&gt;to render with the IHO color.&lt;br&gt;&lt;br&gt;Instruction to use S52 plugin in OpenEV is in the README.&lt;br&gt;&lt;br&gt;Basicaly you need to run configure to setup OpenEV source code to enable&lt;br&gt;the S52 plugin.&lt;br&gt;&lt;br&gt;But you can go a long way without S52. Just instruct OpenEV to render with&lt;br&gt;the color you want. &lt;br&gt;&lt;br&gt;&lt;br&gt;rgds,&lt;br&gt;&lt;br&gt;Sylvain.&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;--- On &lt;b&gt;Thu, 10/22/09, Randy &lt;i&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26029426&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt;&lt;/i&gt;&lt;/b&gt; wrote:&lt;br&gt;&lt;blockquote style=&quot;border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;&quot;&gt;&lt;br&gt;From: Randy &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26029426&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;randyqiuxy@...&lt;/a&gt;&amp;gt;&lt;br&gt;Subject: [Openev-discuss] how to use OpenEv for displaying s_57&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26029426&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&lt;br&gt;Received: Thursday, October 22, 2009, 6:08 PM&lt;br&gt;&lt;br&gt;&lt;div id=&quot;yiv2070650822&quot;&gt;


 
 



&lt;div class=&quot;Section1&quot;&gt;

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Hi list,&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;This is my first time to be here and ask
you for help.&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;I find that OpenEv application doesn’t
display s_57 format files(.000) very well and it looks green(as follows).&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&lt;img id=&quot;_x56fe__x7247__x0020_1&quot; src=&quot;http://old.nabble.com/attachment/26029426/0/image001.jpg&quot; height=&quot;77&quot; width=&quot;171&quot;&gt;&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;By the way, after I chosen the .000 file
and directly click the “Load All” button without “Execute SQL”.
And I think there is nothing with it, right?&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Anyone can give me some clue?&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Thank you very much!&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Best Regards,&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Randy&lt;/span&gt;&lt;/p&gt; 

&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;/p&gt; 

&lt;/div&gt;

 

&lt;/div&gt;&lt;br&gt;-----Inline Attachment Follows-----&lt;br&gt;&lt;br&gt;&lt;div class=&quot;plainMail&quot;&gt;------------------------------------------------------------------------------&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay &lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;/div&gt;&lt;br&gt;-----Inline Attachment Follows-----&lt;br&gt;&lt;br&gt;&lt;div class=&quot;plainMail&quot;&gt;_______________________________________________&lt;br&gt;Openev-discuss mailing list&lt;br&gt;&lt;a ymailto=&quot;mailto:Openev-discuss@lists.sourceforge.net&quot; href=&quot;/mc/compose?to=Openev-discuss@lists.sourceforge.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br&gt;
      &lt;hr size=1&gt;Make your browsing faster, safer, and easier with the new Internet Explorer® 8. Optimized for Yahoo! &lt;a href=&quot;http://downloads.yahoo.com/ca/internetexplorer/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;Get it Now for Free! &lt;/b&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26029426&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-use-OpenEv-for-displaying-s_57-tp26010626p26029426.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26019255</id>
	<title>Timine, 1991-2009</title>
	<published>2009-10-22T17:32:01Z</published>
	<updated>2009-10-22T17:32:01Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;At 18h on this sad October day, I had to end my cat's suffering.
&lt;br&gt;&lt;br&gt;I will remember him forever.
&lt;br&gt;&lt;br&gt;This is a picture of his last sleep.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;--
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26019255&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;timine-dernier-somme.jpg&lt;/strong&gt; (129K) &lt;a href=&quot;http://old.nabble.com/attachment/26019255/0/timine-dernier-somme.jpg&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Timine%2C-1991-2009-tp26019255p26019255.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26010626</id>
	<title>how to use OpenEv for displaying s_57</title>
	<published>2009-10-22T07:08:55Z</published>
	<updated>2009-10-22T07:08:55Z</updated>
	<author>
		<name>虫虫</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;2050&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Hi list,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;This is my first time to be here and ask
you for help.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;I find that OpenEv application doesn&amp;#8217;t
display s_57 format files(.000) very well and it looks green(as follows).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&lt;img width=171 height=77 id=&quot;_x56fe__x7247__x0020_1&quot; src=&quot;http://old.nabble.com/attachment/26010626/0/image001.jpg&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;By the way, after I chosen the .000 file
and directly click the &amp;#8220;Load All&amp;#8221; button without &amp;#8220;Execute SQL&amp;#8221;.
And I think there is nothing with it, right?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Anyone can give me some clue?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Thank you very much!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Best Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Randy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26010626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-use-OpenEv-for-displaying-s_57-tp26010626p26010626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25952323</id>
	<title>OpenEV commits</title>
	<published>2009-10-18T18:50:43Z</published>
	<updated>2009-10-18T18:50:43Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi folks,
&lt;br&gt;&lt;br&gt;A few new features and bug fixes have been committed. Thanks to DRDC's
&lt;br&gt;contractor Adam Klein for making many of these possible!
&lt;br&gt;&lt;br&gt;Among those:
&lt;br&gt;&lt;br&gt;- autoreprojection
&lt;br&gt;&lt;br&gt;If Autoreproject preference is set to Yes, newly added layers are
&lt;br&gt;automatically reprojected to the view's current projection. This is
&lt;br&gt;still experimental though but should work in most cases.
&lt;br&gt;&lt;br&gt;- shapes attribute editor
&lt;br&gt;&lt;br&gt;This is a replacement for the ShapesGrid tool. It is accessible via
&lt;br&gt;the &amp;quot;Attributes&amp;quot; pulldown menu when you right click a shapes layer in
&lt;br&gt;the layers list. It is based on gvgrid.py (the replacement for
&lt;br&gt;pgugrid.py which will no longer be supported) which is itself based on
&lt;br&gt;Easygrid (&lt;a href=&quot;http://www.daa.com.au/pipermail/pygtk/2005-May/010357.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.daa.com.au/pipermail/pygtk/2005-May/010357.html&lt;/a&gt;).
&lt;br&gt;This module actually has two kinds of grids: a simple one (SimpleGrid)
&lt;br&gt;and a buffered one (Grid). The buffered one can potentially handle an
&lt;br&gt;infinite number of entries by displaying only a small amount at a
&lt;br&gt;time. It has proven itself quite well in CIETmap's display of large
&lt;br&gt;datasets with hundreds of fields. The current Attributes Editor uses
&lt;br&gt;the SimpleGrid for now but it is my intention to have it automatically
&lt;br&gt;switch to the buffered one when the number of shapes in a layer is
&lt;br&gt;larger than a yet to be determined number. I just need to figure out
&lt;br&gt;the logic to do this...
&lt;br&gt;&lt;br&gt;- managers bug fixes
&lt;br&gt;&lt;br&gt;The managers (GvManager/GvSymbolManager) returned by the Python
&lt;br&gt;functions were not the actual static instances defined at the C level
&lt;br&gt;so they were basically useless. One consequence of this was that the
&lt;br&gt;Track Tool properties were not properly handled.
&lt;br&gt;&lt;br&gt;- Raster Properties bug fixes
&lt;br&gt;&lt;br&gt;The Coordinate System tab has been reenabled and made to use the new
&lt;br&gt;reprojection stuff put in place by Adam. Also, a UTM zone control was
&lt;br&gt;added.
&lt;br&gt;&lt;br&gt;- Autopan tool fixes
&lt;br&gt;&lt;br&gt;- nodata properly handled
&lt;br&gt;&lt;br&gt;- other more obscure stuff
&lt;br&gt;&lt;br&gt;Thank you for your attention (and your patience!).
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25952323&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenEV-commits-tp25952323p25952323.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25861130</id>
	<title>Reprojecting Images with OpenEV: Finding WKT CRS Definitions</title>
	<published>2009-10-12T11:47:49Z</published>
	<updated>2009-10-12T11:47:49Z</updated>
	<author>
		<name>Sunburned Surveyor</name>
	</author>
	<content type="html">I just downloaded the latest stable version of OpenEV as part of the
&lt;br&gt;FW Tools package for Windows. I'd like to try reprojecting some
&lt;br&gt;georeferrenced raster data using OpenEV.
&lt;br&gt;&lt;br&gt;I was wondering if the other OpenEV users could point out the best way
&lt;br&gt;to obtain CRS definitions in WKT format for common projections that I
&lt;br&gt;could use in the reprojection dialog of OpenEV. If I can find just a
&lt;br&gt;couple to get started with, I can probably figure out what I need for
&lt;br&gt;the others. Is there a list or database of these definitions
&lt;br&gt;maintained somewhere? Is there a place I can find the common
&lt;br&gt;definitions?
&lt;br&gt;&lt;br&gt;I'm starting with raster data that is in UTM Zone 10. I'd like to get
&lt;br&gt;that raster data reprojected to WGS 84 or California State Plane
&lt;br&gt;Coordinates NAD 83 US Survey Feet. So any help with those specific CRS
&lt;br&gt;definitions would be great.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;The Sunburned Surveyor
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry(R) Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9 - 12, 2009. Register now!
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconference&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconference&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25861130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reprojecting-Images-with-OpenEV%3A-Finding-WKT-CRS-Definitions-tp25861130p25861130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25537464</id>
	<title>OpenEV commits</title>
	<published>2009-09-20T17:59:21Z</published>
	<updated>2009-09-20T17:59:21Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi folks,
&lt;br&gt;&lt;br&gt;A critical bug in gview.GvManager has been fixed and important fixes
&lt;br&gt;and changes have been made to the Raster Properties dialog, mostly to
&lt;br&gt;the Sources tab. The Projection tab is still deactivated though... but
&lt;br&gt;other fixes and changes to this dialog will follow.
&lt;br&gt;&lt;br&gt;This follows last week's commits in which (most of) Joel's changes
&lt;br&gt;have been incorporated as well as DRDC's GTK2 port of the Autopan
&lt;br&gt;tool.
&lt;br&gt;&lt;br&gt;I am still working on other stuff so stay tuned...
&lt;br&gt;&lt;br&gt;In the meantime, I invite you to update and report.
&lt;br&gt;&lt;br&gt;Thanks all.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Come build with us! The BlackBerry&amp;reg; Developer Conference in SF, CA
&lt;br&gt;is the only developer event you need to attend this year. Jumpstart your
&lt;br&gt;developing skills, take BlackBerry mobile applications to market and stay 
&lt;br&gt;ahead of the curve. Join us from November 9&amp;#45;12, 2009. Register now&amp;#33;
&lt;br&gt;&lt;a href=&quot;http://p.sf.net/sfu/devconf&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/devconf&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25537464&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/OpenEV-commits-tp25537464p25537464.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24838453</id>
	<title>Re: Problem compiling trunk with CentOS 5.3 (or python 2.4?)</title>
	<published>2009-08-05T17:26:59Z</published>
	<updated>2009-08-05T17:26:59Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi Pablo,
&lt;br&gt;&lt;br&gt;On Wed, Aug 5, 2009 at 11:11 AM, Pablo dAngelo&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24838453&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pablo.dAngelo@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Mario,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes, it does work with 2.4. You simply need to regenerate gv_pwrap.c.
&lt;br&gt;&amp;gt;&amp;gt; On my linux box, the following works (cd to src/lib/gv and do):
&lt;br&gt;&amp;gt;&amp;gt; python /usr/share/pygtk/2.0/codegen/codegen.py -o gv.override -r
&lt;br&gt;&amp;gt;&amp;gt; /usr/share/pygtk/2.0/defs/gtk-base-types.defs -p _gv gv.defs &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; gv_pwrap.c
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The above command worked on my CentOS 5.3 machine. After adding
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /* Backport type definitions from Python 2.5's object.h */
&lt;br&gt;&amp;gt; #if PY_VERSION_HEX &amp;lt; 0x02050000
&lt;br&gt;&amp;gt; typedef int Py_ssize_t;
&lt;br&gt;&amp;gt; typedef Py_ssize_t (*lenfunc)(PyObject *);
&lt;br&gt;&amp;gt; typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
&lt;br&gt;&amp;gt; typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
&lt;br&gt;&amp;gt; typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
&lt;br&gt;&amp;gt; typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
&lt;br&gt;&amp;gt; #endif /* PY_VERSION_HEX */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; to the top of gv.override, and rerunning the code generation,
&lt;br&gt;&amp;gt; I could compile the the python extension.
&lt;/div&gt;&lt;br&gt;Okay, so you did need that also (I thought somehow it would have been
&lt;br&gt;taken care of by pygtk). I got something slightly cleaner (and more
&lt;br&gt;complete) from somewhere else though:
&lt;br&gt;&lt;br&gt;#if PY_VERSION_HEX &amp;lt; 0x02050000 &amp;&amp; !defined(PY_SSIZE_T_MIN)
&lt;br&gt;typedef int Py_ssize_t;
&lt;br&gt;#define PY_SSIZE_T_MAX INT_MAX
&lt;br&gt;#define PY_SSIZE_T_MIN INT_MIN
&lt;br&gt;typedef inquiry lenfunc;
&lt;br&gt;typedef intargfunc ssizeargfunc;
&lt;br&gt;typedef intobjargproc ssizeobjargproc;
&lt;br&gt;typedef intintargfunc ssizessizeargfunc;
&lt;br&gt;typedef intintobjargproc ssizessizeobjargproc;
&lt;br&gt;typedef getreadbufferproc readbufferproc;
&lt;br&gt;typedef getwritebufferproc writebufferproc;
&lt;br&gt;typedef getsegcountproc segcountproc;
&lt;br&gt;typedef getcharbufferproc charbufferproc;
&lt;br&gt;#endif
&lt;br&gt;&lt;br&gt;But I don't know where this really belongs... I guess at the top of
&lt;br&gt;gv.override is fine, unless someone else has a better idea.
&lt;br&gt;&lt;br&gt;&amp;gt; However, I now get an error in setup.py. Any idea about that?
&lt;br&gt;&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;&amp;gt;  File &amp;quot;/usr/lib64/python2.4/posixpath.py&amp;quot;, line 77, in split
&lt;br&gt;&amp;gt;    i = p.rfind('/') + 1
&lt;br&gt;&amp;gt; AttributeError: 'list' object has no attribute 'rfind'
&lt;br&gt;&lt;br&gt;I never encountered this error... and I must admit I am not familiar
&lt;br&gt;enough with distutils to be able to diagnostic. Help anyone?
&lt;br&gt;&lt;br&gt;&amp;gt; I fully understand that, as I'm in a similar situation (regarding the lack of time) with the open source project I started (hugin).
&lt;br&gt;&amp;gt; Fortunately there is a good community there now.
&lt;br&gt;&lt;br&gt;You mean hugin the panorama stitching software? I used it last year
&lt;br&gt;for a personal project. Nice work on this!
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with 
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24838453&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-compiling-trunk-with-CentOS-5.3-%28or-python-2.4-%29-tp24803549p24838453.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24829832</id>
	<title>Re: Problem compiling trunk with CentOS 5.3 (or python 2.4?)</title>
	<published>2009-08-05T08:11:49Z</published>
	<updated>2009-08-05T08:11:49Z</updated>
	<author>
		<name>Pablo d'Angelo</name>
	</author>
	<content type="html">Hi Mario,
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Pablo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Tue, Aug 4, 2009 at 3:26 AM, Pablo dAngelo&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24829832&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pablo.dAngelo@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is it possible to use OpenEV 2 with python 2.4?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, it does work with 2.4. You simply need to regenerate gv_pwrap.c.
&lt;br&gt;&amp;gt; On my linux box, the following works (cd to src/lib/gv and do):
&lt;br&gt;&amp;gt; python /usr/share/pygtk/2.0/codegen/codegen.py -o gv.override -r
&lt;br&gt;&amp;gt; /usr/share/pygtk/2.0/defs/gtk-base-types.defs -p _gv gv.defs &amp;gt;
&lt;br&gt;&amp;gt; gv_pwrap.c
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Your mileage may vary...
&lt;/div&gt;&lt;br&gt;The above command worked on my CentOS 5.3 machine. After adding
&lt;br&gt;&lt;br&gt;/* Backport type definitions from Python 2.5's object.h */
&lt;br&gt;#if PY_VERSION_HEX &amp;lt; 0x02050000
&lt;br&gt;typedef int Py_ssize_t;
&lt;br&gt;typedef Py_ssize_t (*lenfunc)(PyObject *);
&lt;br&gt;typedef PyObject *(*ssizeargfunc)(PyObject *, Py_ssize_t);
&lt;br&gt;typedef PyObject *(*ssizessizeargfunc)(PyObject *, Py_ssize_t, Py_ssize_t);
&lt;br&gt;typedef int(*ssizeobjargproc)(PyObject *, Py_ssize_t, PyObject *);
&lt;br&gt;typedef int(*ssizessizeobjargproc)(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *);
&lt;br&gt;#endif /* PY_VERSION_HEX */
&lt;br&gt;&lt;br&gt;to the top of gv.override, and rerunning the code generation,
&lt;br&gt;I could compile the the python extension.
&lt;br&gt;&lt;br&gt;However, I now get an error in setup.py. Any idea about that?
&lt;br&gt;&lt;br&gt;[angelo@vogon openev-trunk]$ python setup.py install --prefix=~/local/openev
&lt;br&gt;running install
&lt;br&gt;running build
&lt;br&gt;running build_py
&lt;br&gt;running build_ext
&lt;br&gt;building 'openev._gv' extension
&lt;br&gt;Traceback (most recent call last):
&lt;br&gt;&amp;nbsp; File &amp;quot;setup.py&amp;quot;, line 236, in ?
&lt;br&gt;&amp;nbsp; &amp;nbsp; data_files &amp;nbsp; &amp;nbsp; &amp;nbsp; = [('share/openev/pics', glob('resource/pics/*')),
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/core.py&amp;quot;, line 149, in setup
&lt;br&gt;&amp;nbsp; &amp;nbsp; dist.run_commands()
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/dist.py&amp;quot;, line 946, in run_commands
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.run_command(cmd)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/dist.py&amp;quot;, line 966, in run_command
&lt;br&gt;&amp;nbsp; &amp;nbsp; cmd_obj.run()
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/command/install.py&amp;quot;, line 506, in run
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.run_command('build')
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/cmd.py&amp;quot;, line 333, in run_command
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.distribution.run_command(command)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/dist.py&amp;quot;, line 966, in run_command
&lt;br&gt;&amp;nbsp; &amp;nbsp; cmd_obj.run()
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/command/build.py&amp;quot;, line 112, in run
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.run_command(cmd_name)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/cmd.py&amp;quot;, line 333, in run_command
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.distribution.run_command(command)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/dist.py&amp;quot;, line 966, in run_command
&lt;br&gt;&amp;nbsp; &amp;nbsp; cmd_obj.run()
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/command/build_ext.py&amp;quot;, line 279, in run
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.build_extensions()
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/command/build_ext.py&amp;quot;, line 405, in build_extensions
&lt;br&gt;&amp;nbsp; &amp;nbsp; self.build_extension(ext)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/command/build_ext.py&amp;quot;, line 502, in build_extension
&lt;br&gt;&amp;nbsp; &amp;nbsp; target_lang=language)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/ccompiler.py&amp;quot;, line 847, in link_shared_object
&lt;br&gt;&amp;nbsp; &amp;nbsp; extra_preargs, extra_postargs, build_temp, target_lang)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/unixccompiler.py&amp;quot;, line 153, in link
&lt;br&gt;&amp;nbsp; &amp;nbsp; libraries)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/distutils/ccompiler.py&amp;quot;, line 1257, in gen_lib_options
&lt;br&gt;&amp;nbsp; &amp;nbsp; (lib_dir, lib_name) = os.path.split (lib)
&lt;br&gt;&amp;nbsp; File &amp;quot;/usr/lib64/python2.4/posixpath.py&amp;quot;, line 77, in split
&lt;br&gt;&amp;nbsp; &amp;nbsp; i = p.rfind('/') + 1
&lt;br&gt;AttributeError: 'list' object has no attribute 'rfind'
&lt;br&gt;&lt;br&gt;&amp;gt; Well as it stands now, the community is only me, at least for the GTK2
&lt;br&gt;&amp;gt; port... and my real work leaves me little time to take care of OpenEV.
&lt;br&gt;&lt;br&gt;I fully understand that, as I'm in a similar situation (regarding the lack of time) with the open source project I started (hugin).
&lt;br&gt;Fortunately there is a good community there now.
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;&amp;nbsp;Pablo
&lt;br&gt;________________________________________________________________
&lt;br&gt;Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
&lt;br&gt;für nur 19,99 Euro/mtl.!* &lt;a href=&quot;http://produkte.web.de/go/02/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://produkte.web.de/go/02/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with 
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24829832&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-compiling-trunk-with-CentOS-5.3-%28or-python-2.4-%29-tp24803549p24829832.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24818537</id>
	<title>Re: Problem compiling trunk with CentOS 5.3 (or python 2.4?)</title>
	<published>2009-08-04T17:15:28Z</published>
	<updated>2009-08-04T17:15:28Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi Pablo,
&lt;br&gt;&lt;br&gt;On Tue, Aug 4, 2009 at 3:26 AM, Pablo dAngelo&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24818537&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Pablo.dAngelo@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is it possible to use OpenEV 2 with python 2.4?
&lt;br&gt;&amp;gt; Is the python interface hand generated or is it based on some automatic wrapper generation, and could they be regenerated for python 2.4 somehow, or is lots of manual work required?
&lt;br&gt;&lt;br&gt;Yes, it does work with 2.4. You simply need to regenerate gv_pwrap.c.
&lt;br&gt;On my linux box, the following works (cd to src/lib/gv and do):
&lt;br&gt;python /usr/share/pygtk/2.0/codegen/codegen.py -o gv.override -r
&lt;br&gt;/usr/share/pygtk/2.0/defs/gtk-base-types.defs -p _gv gv.defs &amp;gt;
&lt;br&gt;gv_pwrap.c
&lt;br&gt;&lt;br&gt;Your mileage may vary...
&lt;br&gt;&lt;br&gt;I should try to make this part of setup.py...
&lt;br&gt;&lt;br&gt;&amp;gt; PS. I'm using openev quite a lot, and it is unfortunate that the developer community is a little small, given that it is such an excellent tool. All the other opensource GIS type application seem to have lots of difficulties handling large amounts of raster data.
&lt;br&gt;&lt;br&gt;Well as it stands now, the community is only me, at least for the GTK2
&lt;br&gt;port... and my real work leaves me little time to take care of OpenEV.
&lt;br&gt;Hopefully, the community will grow eventually...
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with 
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24818537&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-compiling-trunk-with-CentOS-5.3-%28or-python-2.4-%29-tp24803549p24818537.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24803549</id>
	<title>Problem compiling trunk with CentOS 5.3 (or python 2.4?)</title>
	<published>2009-08-04T00:26:52Z</published>
	<updated>2009-08-04T00:26:52Z</updated>
	<author>
		<name>Pablo d'Angelo</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I'm trying to compile the current OpenEV trunk on a CentOS 5.3 machine, and I'm running into various errors that seem to be related to the python 2.4 used by CentOS, for example Py_ssize_t is not available with python 2.4 etc. That was easily fixed by adding a typedef, but now I'm stuck with:
&lt;br&gt;&lt;br&gt;[angelo@vogon openev-trunk]$ python setup.py install --prefix=~/local/openev
&lt;br&gt;running install
&lt;br&gt;running build
&lt;br&gt;running build_py
&lt;br&gt;running build_ext
&lt;br&gt;building 'openev._gv' extension
&lt;br&gt;gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -DHAVE_OGR=1 -Isrc/lib/gv -Iresource -I/usr/include/gdal/ -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib64/gtkglext-1.0/include -I/usr/include/pygtk-2.0 -I/usr/include/python2.4 -c src/lib/gv/gv_pwrap.c -o build/temp.linux-x86_64-2.4/src/lib/gv/gv_pwrap.o
&lt;br&gt;In file included from src/lib/gv/gvtypes.h:54,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from src/lib/gv/gvviewarea.h:159,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from src/lib/gv/gvtool.h:34,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from src/lib/gv/gvareatool.h:33,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from gv.override:6:
&lt;br&gt;src/lib/gv/gv_config.h:28:7: warning: no newline at end of file
&lt;br&gt;In file included from gv.override:40:
&lt;br&gt;src/lib/gv/gvshape_wrap.c: In function pygv_shape_set_properties:
&lt;br&gt;src/lib/gv/gvshape_wrap.c:420: warning: passing argument 2 of PyDict_Next from incompatible pointer type
&lt;br&gt;gv.override: In function _wrap_gv_data_set_properties:
&lt;br&gt;gv.override:839: warning: passing argument 2 of PyDict_Next from incompatible pointer type
&lt;br&gt;gv.override: At top level:
&lt;br&gt;gv.override:1281: error: lenfunc undeclared here (not in a function)
&lt;br&gt;gv.override:1281: error: expected } before _wrap_gv_shapes_sq_length
&lt;br&gt;error: command 'gcc' failed with exit status 1
&lt;br&gt;&lt;br&gt;Is it possible to use OpenEV 2 with python 2.4? 
&lt;br&gt;Is the python interface hand generated or is it based on some automatic wrapper generation, and could they be regenerated for python 2.4 somehow, or is lots of manual work required?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp;Pablo
&lt;br&gt;&lt;br&gt;PS. I'm using openev quite a lot, and it is unfortunate that the developer community is a little small, given that it is such an excellent tool. All the other opensource GIS type application seem to have lots of difficulties handling large amounts of raster data.
&lt;br&gt;&lt;br&gt;______________________________________________________
&lt;br&gt;GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
&lt;br&gt;Jetzt freischalten unter &lt;a href=&quot;http://movieflat.web.de&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://movieflat.web.de&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with 
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24803549&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-compiling-trunk-with-CentOS-5.3-%28or-python-2.4-%29-tp24803549p24803549.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24263205</id>
	<title>Re: Getting S52 rendering to work</title>
	<published>2009-06-29T15:38:18Z</published>
	<updated>2009-06-29T15:38:18Z</updated>
	<author>
		<name>Joel Bjurström</name>
	</author>
	<content type="html">Hello guys. It&amp;#39;s me again. :)&lt;br&gt;&lt;br&gt;I saw that the S52 CVS has been updated since last time. I still fail to build the s52gv2&lt;br&gt;target &amp;quot;out of the box&amp;quot; however... (I haven&amp;#39;t tried the s52gv target, but that&amp;#39;s only for&lt;br&gt;

GTK+1 and the old &amp;quot;stable&amp;quot; openev, right? I&amp;#39;m not interested in such  things... ;)&lt;br&gt;I&amp;#39;m attaching the changes I made to the current CVS code to be able to build it and&lt;br&gt;use it with testmain, and actually with openev2 itself as well, for the first time. :D&lt;br&gt;

(Had some free time today :)&lt;br&gt;Before succeeding with that, I also met some resistance from the gv library code,&lt;br&gt;addressed by the second diff I&amp;#39;m attaching. (The other openev2 patches from my&lt;br&gt;previous posts are applied first.)&lt;br&gt;

&lt;br&gt;One of the main problems was that _renderLC() and _renderAP() wasn&amp;#39;t working, due&lt;br&gt;to a strange variable value causing an infinite loop in both of the functions, I think it was.&lt;br&gt;As you can see in the diff, I didn&amp;#39;t try to dig further into this, just disabled them both&lt;br&gt;
where they are called in S52GL.c.&lt;br&gt;&lt;br&gt;Now I can load S57 charts in openev2 and they are rendered successfully by libS52.&lt;br&gt;But just like in my testmain trials, I can&amp;#39;t pan or zoom. But if I resize the window,&lt;br&gt;more of the chart is drawn just like it should. I also found out that if I load only one (or a few)&lt;br&gt;
layers, I can see the S52 layer drawn on top with the regular green-colored layers behind.&lt;br&gt;I can zoom and pan the green layers, but the S52 layer on top stays the same.&lt;br&gt;Am I supposed to have the green layers rendered behind, or is this a bug? And what&lt;br&gt;
can be causing the inability to pan or zoom the S52 layer?&lt;br&gt;&lt;br&gt;(I realized this might be a little offtopic here on the openev list. But I still thought&lt;br&gt;our discussion could be of interest to other people who wants to give S52 rendering&lt;br&gt;
a try. What do you say?)&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;
Regards,&lt;br&gt;/ Joel&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Jun 8, 2009 at 4:53 PM, s duclos &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sylvain_duclos@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Hi Joel,&lt;br&gt;
&lt;br&gt;
Sorry you cough me in the middle of a gtk2 upgrade.&lt;br&gt;
&lt;br&gt;
The targets s52glx, s52gtk2 and s52win32 work as is.&lt;br&gt;
&lt;br&gt;
The target s52gv need a bit of love as you discovered :)&lt;br&gt;
&lt;br&gt;
I&amp;#39;m working to fix the target s52gv and I will update CVS when I&amp;#39;m done.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
rgds,&lt;br&gt;
&lt;br&gt;
Sylvain.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
--- On Mon, 6/8/09, Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; From: Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; Subject: Re: [Openev-discuss] Getting S52 rendering to work&lt;br&gt;
&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;openev-discuss@...&lt;/a&gt;&lt;br&gt;
&amp;gt; Received: Monday, June 8, 2009, 6:13 PM&lt;br&gt;
&amp;gt; Hi again!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I was a bit tired yesterday, couldn&amp;#39;t even write&lt;br&gt;
&amp;gt; properly. Sorry &amp;#39;bout that. :)&lt;br&gt;
&amp;gt; I saw that S52_doPick() was removed from S52.c in the&lt;br&gt;
&amp;gt; latest cvs code,&lt;br&gt;
&amp;gt; but it was still referenced from gvS57layer.c, so I removed&lt;br&gt;
&amp;gt; this reference,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; and got it working again.&lt;br&gt;
&amp;gt; The diffs I&amp;#39;m attaching now contain everything I need&lt;br&gt;
&amp;gt; to change in the latest&lt;br&gt;
&amp;gt; S52 cvs code to be able to build s52gv2 and use it with&lt;br&gt;
&amp;gt; openev-testmain.&lt;br&gt;
&amp;gt; I&amp;#39;m also applying the gv/glconfig diff from my previous&lt;br&gt;
&amp;gt; mail.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Testmain draws my chart and it looks just fine, though I&lt;br&gt;
&amp;gt; can&amp;#39;t pan, zoom etc.&lt;br&gt;
&amp;gt; No error messages when trying. I *can*, however, resize the&lt;br&gt;
&amp;gt; testmain window&lt;br&gt;
&amp;gt; to view more of the chart.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Has this GV mode been working for you, Sylvain? Is it just&lt;br&gt;
&amp;gt; me that&amp;#39;s the problem? :)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Please tell me if I&amp;#39;m bothering you with all those&lt;br&gt;
&amp;gt; different patches, and excuse me&lt;br&gt;
&amp;gt; if I&amp;#39;m a bit confused. This is all new to me, as you&lt;br&gt;
&amp;gt; know, but I&amp;#39;m learning a lot! :)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Cheers!&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; // Joel Bjurström&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Mon, Jun 8, 2009 at 1:35 AM,&lt;br&gt;
&amp;gt; Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Alright...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; First, I forgot one patch. This one adds&lt;br&gt;
&amp;gt; GDK_GL_MODE_STENCIL to glconfig in src/lib/gv/gvviewarea.c&lt;br&gt;
&amp;gt; libS52 was complaining about a missing stencil buffer or&lt;br&gt;
&amp;gt; something, so I looked at s52gtk2.c and found&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; this solution.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Then I just realized there was a new commit to the S52 cvs&lt;br&gt;
&amp;gt; last week. The current cvs code (with my patches&lt;br&gt;
&amp;gt; applied) doesn&amp;#39;t get built for me:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ../libS52.so: undefined reference to `S52_doPick&amp;#39;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; collect2: ld returned 1 exit status&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;ll have a look at that tomorrow, now&amp;#39;s time&lt;br&gt;
&amp;gt; sleep...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; // Joel Bjurström&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; On Mon,&lt;br&gt;
&amp;gt; Jun 8, 2009 at 1:00 AM, Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I guess this one&amp;#39;s for Sylvain.&lt;br&gt;
&amp;gt; I&amp;#39;m starting a new topic here, to avoid going too far&lt;br&gt;
&amp;gt; offtopic with my previous OGR issues.&lt;br&gt;
&amp;gt; In the other thread, I attached the diff with the changes I&lt;br&gt;
&amp;gt; had to make to be able to compile&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; libS52. It still crashed when invoked by openev-testmain&lt;br&gt;
&amp;gt; though. Now I&amp;#39;ve been playing a bit&lt;br&gt;
&amp;gt; more with these things, and I&amp;#39;ve finally got testmain&lt;br&gt;
&amp;gt; to draw *something* using libS52! :)&lt;br&gt;
&amp;gt; I&amp;#39;m attaching my first patch (compile problems) for the&lt;br&gt;
&amp;gt; record, as well as the one with the&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; stuff that got something drawn on my screen. My&lt;br&gt;
&amp;gt; openev-testmain output log is there as well.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;ll try to explain what (I think) I did in this latest&lt;br&gt;
&amp;gt; patch... :)&lt;br&gt;
&amp;gt; First, I added a call to _addCell() in S52_loadLayer().&lt;br&gt;
&amp;gt; This solved the problem with _cellList&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; that I mentioned before. I&amp;#39;m calling _addCell() with a&lt;br&gt;
&amp;gt; hardcoded path to a S57 file, that of course&lt;br&gt;
&amp;gt; needs to be done differently.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Then I added S52_USE_GV to the s52gv2 CFLAGS (it was&lt;br&gt;
&amp;gt; present in s52gv cflags, but not -gv2).&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Then, when I ran testmain, I got:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; S57gv.c:154: S57_gvLoadObject(): FIXME: wkbMultiLineString&lt;br&gt;
&amp;gt; found ???                    &lt;br&gt;
&amp;gt; **                                                                                      &lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ERROR:S57gv.c:155:S57_gvLoadObject: code should not be&lt;br&gt;
&amp;gt; reached                          &lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Aborted&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I removed the call to g_assert_not_reached() in S57gv.c&lt;br&gt;
&amp;gt; which caused the abort.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Things still didn&amp;#39;t work out, and I found out that I&lt;br&gt;
&amp;gt; had to somehow call S52_setView() before&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; S52_draw(). To do this, I borrowed some code from&lt;br&gt;
&amp;gt; tests/s52gtk2.c to create S52_draw_pre().&lt;br&gt;
&amp;gt; I had this function replace S52_draw() in the event&lt;br&gt;
&amp;gt; callback from where it was called.&lt;br&gt;
&amp;gt; S52_draw_pre() calls S52_setView(), and then S52_draw().&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Don&amp;#39;t ask me how I came to this &amp;quot;solution&amp;quot;,&lt;br&gt;
&amp;gt; it&amp;#39;s too late and I can&amp;#39;t remember. But now it&lt;br&gt;
&amp;gt; worked!&lt;br&gt;
&amp;gt; Well, at least it was drawing something resembling a S52&lt;br&gt;
&amp;gt; chart. :)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m grateful for hints on how to improve my&lt;br&gt;
&amp;gt; quick&amp;amp;dirty hacks. I&amp;#39;m still getting a lot of errors&lt;br&gt;
&amp;gt; and&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; warnings as you can see in the log, and I still can&amp;#39;t&lt;br&gt;
&amp;gt; scroll, pan, zoom etc. in testmain.&lt;br&gt;
&amp;gt; I haven&amp;#39;t tried using the plugin with OpenEV2 itself&lt;br&gt;
&amp;gt; either. I figured I&amp;#39;d get it to work with&lt;br&gt;
&amp;gt; testmain first...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks, and good night! ;)&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; // Joel Bjurström&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; ------------------------------------------------------------------------------&lt;br&gt;
&amp;gt; OpenSolaris 2009.06 is a cutting edge operating system for&lt;br&gt;
&amp;gt; enterprises&lt;br&gt;
&amp;gt; looking to deploy the next generation of Solaris that&lt;br&gt;
&amp;gt; includes the latest&lt;br&gt;
&amp;gt; innovations from Sun and the OpenSource community. Download&lt;br&gt;
&amp;gt; a copy and&lt;br&gt;
&amp;gt; enjoy capabilities such as Networking, Storage and&lt;br&gt;
&amp;gt; Virtualization.&lt;br&gt;
&amp;gt; Go to: &lt;a href=&quot;http://p.sf.net/sfu/opensolaris-get&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/opensolaris-get&lt;/a&gt;&lt;br&gt;
&amp;gt; -----Inline Attachment Follows-----&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Openev-discuss mailing list&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;div&gt;&lt;br&gt;
&lt;br&gt;
      __________________________________________________________________&lt;br&gt;
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now&lt;br&gt;
&lt;a href=&quot;http://ca.toolbar.yahoo.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://ca.toolbar.yahoo.com&lt;/a&gt;.&lt;br&gt;
&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[S52-collective-2009-06-29-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-06-12 01:37:27.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-06-29 22:53:32.000000000 +0200
&lt;br&gt;@@ -43,7 +43,7 @@
&lt;br&gt;&amp;nbsp;OBJS_GV &amp;nbsp;= gvS57layer.o S57gv.o
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;OPENEV_HOME &amp;nbsp;= `pwd -P`/../../openev
&lt;br&gt;-OPENEV2_HOME = `pwd -P`/../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2_HOME = `pwd -P`/../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: -malign-double: for 32bits system --useless on 64its
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -66,6 +66,10 @@
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD \
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;`gtk-config --cflags` -I$(OPENEV_HOME)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+s52gv2 : CFLAGS += -I$(OPENEV2_HOME) \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; `pkg-config --cflags gtk+-2.0 gtkglext-1.0` \
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -DS52_USE_GV
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;LIBS &amp;nbsp; = `pkg-config &amp;nbsp;--libs glib-2.0 lcms` &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; `gdal-config --libs` &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-lGL -lGLU
&lt;br&gt;@@ -79,13 +83,16 @@
&lt;br&gt;&amp;nbsp;				`gtk-config &amp;nbsp;--libs` &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-llcms
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+s52gv2 : LIBS += -lproj -lgobject-2.0 -lgv
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;#PROJ = -lproj
&lt;br&gt;&amp;nbsp;#s52win32: PROJ &amp;nbsp;= libproj.a
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52glx &amp;nbsp;: libS52.so &amp;nbsp; test/s52glx
&lt;br&gt;&amp;nbsp;s52gv &amp;nbsp; : libS52gv.so test/s52gv
&lt;br&gt;-s52gv2 &amp;nbsp;: libS52gv.so test/s52gv2
&lt;br&gt;+#s52gv2 &amp;nbsp;: libS52gv.so test/s52gv2
&lt;br&gt;+s52gv2 &amp;nbsp;: libS52gv.so
&lt;br&gt;&amp;nbsp;s52gtk2 : libS52.so &amp;nbsp; test/s52gtk2
&lt;br&gt;&amp;nbsp;s52win32: libS52.dll &amp;nbsp;test/s52win32
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/gvS57layer.c S52/gvS57layer.c
&lt;br&gt;--- S52-orig/gvS57layer.c	2009-06-08 18:07:18.000000000 +0200
&lt;br&gt;+++ S52/gvS57layer.c	2009-06-29 22:53:12.000000000 +0200
&lt;br&gt;@@ -28,6 +28,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;extern int S52_init();
&lt;br&gt;&amp;nbsp;extern int S52_draw();
&lt;br&gt;+extern int S52_draw_pre();
&lt;br&gt;&amp;nbsp;extern int S52_loadLayer(const char *layername, void *layer);
&lt;br&gt;&amp;nbsp;extern int S52_pickAt(double x, double y);
&lt;br&gt;&amp;nbsp;extern int S52_done();
&lt;br&gt;@@ -62,7 +63,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#ifdef S52_USE_GTK2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;gldraw&amp;quot;,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw_pre),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;@@ -70,7 +71,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gtk_signal_connect_object(GTK_OBJECT(view), &amp;quot;gldraw&amp;quot;,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_SIGNAL_FUNC(S52_draw),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_SIGNAL_FUNC(S52_draw_pre),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gtk_signal_connect_object(GTK_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-06-16 00:13:30.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-06-29 22:53:12.000000000 +0200
&lt;br&gt;@@ -500,6 +500,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_loadLayer(const char *layername, void *layer)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_addCell(&amp;quot;/home/maxxflow/OpenEV2/data/S57_uschart/US5TX51M.000&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if ( (NULL==layername) || (NULL==layer) || (NULL==_cellList)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;ERROR: layername / ogrlayer / _cellList --&amp;gt; NULL\n&amp;quot;);
&lt;br&gt;@@ -790,6 +791,21 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return TRUE;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+DLL int &amp;nbsp; &amp;nbsp; STD S52_draw_pre()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_view _view;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (FALSE == S52_getCellExtent(NULL, &amp;ext))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return FALSE;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLat = ext.s + (ext.n - ext.s) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLon = ext.w + (ext.e - ext.w) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.rNM &amp;nbsp;= 1.0;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; S52_setView(&amp;_view);
&lt;br&gt;+ &amp;nbsp; return S52_draw();
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_draw()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (_doInit) {
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-06-16 00:13:30.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-06-29 22:53:12.000000000 +0200
&lt;br&gt;@@ -73,6 +73,7 @@
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_init();
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw_pre();
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;// mouse
&lt;br&gt;diff -aur S52-orig/S52GL.c S52/S52GL.c
&lt;br&gt;--- S52-orig/S52GL.c	2009-06-16 00:13:30.000000000 +0200
&lt;br&gt;+++ S52/S52GL.c	2009-06-29 22:53:13.000000000 +0200
&lt;br&gt;@@ -1802,10 +1802,12 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//PRINTF(&amp;quot;TX: %f TY: %f TU: %f TV: %f\n&amp;quot;, tileNbrX,tileNbrY,tileNbrU,tileNbrV);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//PRINTF(&amp;quot;WORLD: widht: %f height: %f tileW: %f tileH: %f\n&amp;quot;, (x2-x1), (y2-y1), w, h);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//PRINTF(&amp;quot;PIXEL: widht: %i height: %i tileW: %f tileH: %f\n&amp;quot;, (_vp[2] - _vp[0]), (_vp[3] - _vp[1]), tileWidthPix, tileHeightPix);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tileNbrX + 4 &amp;lt; tileNbrU)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert(0);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (tileNbrY + 4 &amp;lt; tileNbrV)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert(0);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// NOTE: pattern that do not fit entirely inside an area
&lt;br&gt;@@ -2190,9 +2192,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_TXT_TE: _parseTEX(obj); _ncmd++; break; &amp;nbsp; // TE&amp;TX
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_SYM_PT: _renderSY(obj); _ncmd++; break; &amp;nbsp; // SY
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_SIM_LN: _renderLS(obj); _ncmd++; break; &amp;nbsp; // LS
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_COM_LN: _renderLC(obj); _ncmd++; break; &amp;nbsp; // LC
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_COM_LN: /*_renderLC(obj);*/ _ncmd++; break; &amp;nbsp; // LC
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_ARE_CO: _renderAC(obj); _ncmd++; break; &amp;nbsp; // AC
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_ARE_PA: _renderAP(obj); _ncmd++; break; &amp;nbsp; // AP
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_ARE_PA: /*_renderAP(obj);*/ _ncmd++; break; &amp;nbsp; // AP
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// this is a trap call for CS that have not been resolve
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case S52_CMD_CND_SY: _traceCS(obj); break; &amp;nbsp; // CS
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-06-08 18:10:53.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-06-29 22:53:13.000000000 +0200
&lt;br&gt;@@ -152,7 +152,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;FIXME: wkbMultiLineString found ???\n&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;geoData = S57_set_META();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[openev2-renderplugin-2009-06-29-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur openev2-orig/src/lib/gv/gvproperties.c openev2/src/lib/gv/gvproperties.c
&lt;br&gt;--- openev2-orig/src/lib/gv/gvproperties.c	2007-04-29 03:15:38.000000000 +0200
&lt;br&gt;+++ openev2/src/lib/gv/gvproperties.c	2009-06-29 22:28:35.000000000 +0200
&lt;br&gt;@@ -266,6 +266,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;keyid = PROP_KEYID(properties,prop_index);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;return NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert( keyid &amp;gt;= 1 &amp;&amp; keyid &amp;lt;= gvpk_keyid_seq_id );
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return gvpk_keyids[keyid-1];
&lt;br&gt;diff -aur openev2-orig/src/lib/gv/gvshapeslayer.c openev2/src/lib/gv/gvshapeslayer.c
&lt;br&gt;--- openev2-orig/src/lib/gv/gvshapeslayer.c	2007-04-29 03:15:38.000000000 +0200
&lt;br&gt;+++ openev2/src/lib/gv/gvshapeslayer.c	2009-06-29 22:27:50.000000000 +0200
&lt;br&gt;@@ -206,11 +206,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gv_shape_layer_set_num_shapes(GV_SHAPE_LAYER(layer),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gv_shapes_num_shapes(data));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+#define GV_USE_RENDER_PLUGIN
&lt;br&gt;&amp;nbsp;#ifdef GV_USE_RENDER_PLUGIN
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char &amp;nbsp; *prop_name &amp;nbsp;= &amp;quot;_ogr_driver_name&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GvProperties *properties = gv_data_get_properties(GV_DATA(data));
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char &amp;nbsp; *prop_value = gv_properties_get(properties, prop_name);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//const char &amp;nbsp; *prop_value = gv_properties_get(properties, prop_name);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;const char &amp;nbsp; *prop_value = &amp;quot;S57&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (g_module_supported() &amp;&amp; (NULL != prop_value)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gchar* (*get_drv_name) ();
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24263205&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;screenshot_layers.png&lt;/strong&gt; (116K) &lt;a href=&quot;http://old.nabble.com/attachment/24263205/0/screenshot_layers.png&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Getting-S52-rendering-to-work-tp24263205p24263205.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23924881</id>
	<title>Re: Getting S52 rendering to work</title>
	<published>2009-06-08T07:13:26Z</published>
	<updated>2009-06-08T07:13:26Z</updated>
	<author>
		<name>Joel Bjurström</name>
	</author>
	<content type="html">Hi again!&lt;br&gt;&lt;br&gt;I was a bit tired yesterday, couldn&amp;#39;t even write properly. Sorry &amp;#39;bout that. :)&lt;br&gt;I saw that S52_doPick() was removed from S52.c in the latest cvs code,&lt;br&gt;but it was still referenced from gvS57layer.c, so I removed this reference,&lt;br&gt;

and got it working again.&lt;br&gt;The diffs I&amp;#39;m attaching now contain everything I need to change in the latest&lt;br&gt;S52 cvs code to be able to build s52gv2 and use it with openev-testmain.&lt;br&gt;I&amp;#39;m also applying the gv/glconfig diff from my previous mail.&lt;br&gt;

Testmain draws my chart and it looks just fine, though I can&amp;#39;t pan, zoom etc.&lt;br&gt;No error messages when trying. I *can*, however, resize the testmain window&lt;br&gt;to view more of the chart.&lt;br&gt;&lt;br&gt;Has this GV mode been working for you, Sylvain? Is it just me that&amp;#39;s the problem? :)&lt;br&gt;

&lt;br&gt;Please tell me if I&amp;#39;m bothering you with all those different patches, and excuse me&lt;br&gt;if I&amp;#39;m a bit confused. This is all new to me, as you know, but I&amp;#39;m learning a lot! :)&lt;br&gt;
&lt;br&gt;Cheers!&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Jun 8, 2009 at 1:35 AM, Joel Bjurström &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Alright...&lt;br&gt;&lt;br&gt;First, I forgot one patch. This one adds GDK_GL_MODE_STENCIL to glconfig in src/lib/gv/gvviewarea.c&lt;br&gt;libS52 was complaining about a missing stencil buffer or something, so I looked at s52gtk2.c and found&lt;br&gt;


this solution.&lt;br&gt;&lt;br&gt;Then I just realized there was a new commit to the S52 cvs last week. The current cvs code (with my patches&lt;br&gt;applied) doesn&amp;#39;t get built for me:&lt;br&gt;&lt;br&gt;../libS52.so: undefined reference to `S52_doPick&amp;#39;&lt;br&gt;


collect2: ld returned 1 exit status&lt;br&gt;&lt;br&gt;I&amp;#39;ll have a look at that tomorrow, now&amp;#39;s time sleep...&lt;div&gt;&lt;br&gt;&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;

&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Jun 8, 2009 at 1:00 AM, Joel Bjurström &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;

&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi!&lt;br&gt;&lt;br&gt;I guess this one&amp;#39;s for Sylvain.&lt;br&gt;I&amp;#39;m starting a new topic here, to avoid going too far offtopic with my previous OGR issues.&lt;br&gt;In the other thread, I attached the diff with the changes I had to make to be able to compile&lt;br&gt;



libS52. It still crashed when invoked by openev-testmain though. Now I&amp;#39;ve been playing a bit&lt;br&gt;more with these things, and I&amp;#39;ve finally got testmain to draw *something* using libS52! :)&lt;br&gt;I&amp;#39;m attaching my first patch (compile problems) for the record, as well as the one with the&lt;br&gt;



stuff that got something drawn on my screen. My openev-testmain output log is there as well.&lt;br&gt;&lt;br&gt;I&amp;#39;ll try to explain what (I think) I did in this latest patch... :)&lt;br&gt;First, I added a call to _addCell() in S52_loadLayer(). This solved the problem with _cellList&lt;br&gt;



that I mentioned before. I&amp;#39;m calling _addCell() with a hardcoded path to a S57 file, that of course&lt;br&gt;needs to be done differently.&lt;br&gt;&lt;br&gt;Then I added S52_USE_GV to the s52gv2 CFLAGS (it was present in s52gv cflags, but not -gv2).&lt;br&gt;



Then, when I ran testmain, I got:&lt;br&gt;&lt;br&gt;S57gv.c:154: S57_gvLoadObject(): FIXME: wkbMultiLineString found ???                     &lt;br&gt;**                                                                                       &lt;br&gt;



ERROR:S57gv.c:155:S57_gvLoadObject: code should not be reached                           &lt;br&gt;Aborted&lt;br&gt;&lt;br&gt;I removed the call to g_assert_not_reached() in S57gv.c which caused the abort.&lt;br&gt;&lt;br&gt;Things still didn&amp;#39;t work out, and I found out that I had to somehow call S52_setView() before&lt;br&gt;



S52_draw(). To do this, I borrowed some code from tests/s52gtk2.c to create S52_draw_pre().&lt;br&gt;I had this function replace S52_draw() in the event callback from where it was called.&lt;br&gt;S52_draw_pre() calls S52_setView(), and then S52_draw().&lt;br&gt;



Don&amp;#39;t ask me how I came to this &amp;quot;solution&amp;quot;, it&amp;#39;s too late and I can&amp;#39;t remember. But now it worked!&lt;br&gt;Well, at least it was drawing something resembling a S52 chart. :)&lt;br&gt;&lt;br&gt;I&amp;#39;m grateful for hints on how to improve my quick&amp;amp;dirty hacks. I&amp;#39;m still getting a lot of errors and&lt;br&gt;



warnings as you can see in the log, and I still can&amp;#39;t scroll, pan, zoom etc. in testmain.&lt;br&gt;I haven&amp;#39;t tried using the plugin with OpenEV2 itself either. I figured I&amp;#39;d get it to work with&lt;br&gt;testmain first...&lt;br&gt;



&lt;br&gt;Thanks, and good night! ;)&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;



&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[S52-buildproblems-2009-06-08-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/gvS57layer.c S52/gvS57layer.c
&lt;br&gt;--- S52-orig/gvS57layer.c	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/gvS57layer.c	2009-06-08 15:57:39.000000000 +0200
&lt;br&gt;@@ -38,12 +38,12 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static GModule *self = NULL; &amp;nbsp;// handel to libS52.so (this)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-static void _motion_handle_hint(GtkWidget *view, GdkEventMotion *event)
&lt;br&gt;+/*static void _motion_handle_hint(GtkWidget *view, GdkEventMotion *event)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (event-&amp;gt;type==GDK_BUTTON_RELEASE &amp;&amp; event-&amp;gt;state &amp; GDK_SHIFT_MASK) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;S52_doPick(event-&amp;gt;x, event-&amp;gt;y);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-}
&lt;br&gt;+}*/
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void gv_S57_layer_setup(GvShapesLayer *layer, GvViewArea *view)
&lt;br&gt;&amp;nbsp;// load S57 --its in &amp;quot;wkt&amp;quot; OGC layer format
&lt;br&gt;@@ -58,17 +58,17 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;+/* &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(_motion_handle_hint),
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));*/
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gtk_signal_connect_object(GTK_OBJECT(view), &amp;quot;gldraw&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_SIGNAL_FUNC(S52_draw),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;gtk_signal_connect_object(GTK_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;+/* &amp;nbsp; &amp;nbsp;gtk_signal_connect_object(GTK_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_SIGNAL_FUNC(_motion_handle_hint),
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_OBJECT(view));
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GTK_OBJECT(view));*/
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-06-08 15:59:19.000000000 +0200
&lt;br&gt;@@ -27,7 +27,10 @@
&lt;br&gt;&amp;nbsp;DBG3 = -O0 -g3 -Wall -DDEBUG
&lt;br&gt;&amp;nbsp;DBG &amp;nbsp;= $(DBG3)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-CC &amp;nbsp; = gcc -std=c99 -fPIC 
&lt;br&gt;+CC &amp;nbsp; = gcc -std=c99 -fPIC \
&lt;br&gt;+ &amp;nbsp;-I$(OPENEV2_HOME) \
&lt;br&gt;+ &amp;nbsp;`pkg-config --cflags gtk+-2.0` \
&lt;br&gt;+ &amp;nbsp;`pkg-config --cflags gtkglext-1.0`
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# win32: check this 
&lt;br&gt;&amp;nbsp;s52win32 : MINGW = /usr/bin/i586-mingw32msvc-
&lt;br&gt;@@ -42,7 +45,7 @@
&lt;br&gt;&amp;nbsp;OBJS_GV &amp;nbsp;= gvS57layer.o S57gv.o
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;OPENEV_HOME &amp;nbsp;= `pwd -P`/../../openev
&lt;br&gt;-OPENEV2_HOME = `pwd -P`/../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2_HOME = `pwd -P`/../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: -malign-double: for 32bits system --useless on 64its
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-06-08 15:58:43.000000000 +0200
&lt;br&gt;@@ -47,6 +47,28 @@
&lt;br&gt;&amp;nbsp;#define ZOOM_FAC &amp;nbsp; 0.1
&lt;br&gt;&amp;nbsp;#define ZOOM_INI &amp;nbsp; 1.0
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 0, &amp;nbsp; &amp;nbsp;// default
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 1, &amp;nbsp; &amp;nbsp;// view group 23
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TWO_SHADES&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 2, &amp;nbsp; &amp;nbsp;// flag indicating selection of two depth shades (on/off) [default ON]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_CONTOUR&amp;quot;, &amp;nbsp; //= 3, &amp;nbsp; &amp;nbsp;// selected safety contour (meters) [IMO PS 3.6]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_DEPTH&amp;quot;, &amp;nbsp; &amp;nbsp; //= 4, &amp;nbsp; &amp;nbsp;// selected safety depth (meters) [IMO PS 3.7]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_CONTOUR&amp;quot;, &amp;nbsp;//= 5, &amp;nbsp; &amp;nbsp;// selected shallow water contour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DEEP_CONTOUR&amp;quot;, &amp;nbsp; &amp;nbsp; //= 6, &amp;nbsp; &amp;nbsp;// selected deepwatercontour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_PATTERN&amp;quot;, &amp;nbsp;//= 7, &amp;nbsp; &amp;nbsp;// flag indicating selection of shallow water highlight (on/off)(optional) [default OFF]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHIPS_OUTLINE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 8, &amp;nbsp; &amp;nbsp;// flag indicating selection of ship scale symbol (on/off) [IMO PS 8.4]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISTANCE_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp;//= 9, &amp;nbsp; &amp;nbsp;// selected spacing of &amp;quot;distance to run&amp;quot; tags at a route (nm)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TIME_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 10, &amp;nbsp; // selected spacing of time tags at the pasttrack (min)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_FULL_SECTORS&amp;quot;, &amp;nbsp; &amp;nbsp; //= 11, &amp;nbsp; // show full length light sector lines
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMBOLIZED_BND&amp;quot;, &amp;nbsp; //= 12, &amp;nbsp; // symbolized area boundaries
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMPLIFIED_PNT&amp;quot;, &amp;nbsp; //= 13, &amp;nbsp; // simplified point
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISP_CATEGORY&amp;quot;, &amp;nbsp; &amp;nbsp;//= 14, &amp;nbsp; // display category
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_COLOR_PALETTE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 15, &amp;nbsp; // color palette
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 16 &amp;nbsp; &amp;nbsp;// number of parameters
&lt;br&gt;+//...123456789012345678901234567890 &amp;nbsp; &amp;nbsp; &amp;nbsp; // name lenght max 23
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;typedef struct _cell {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GString &amp;nbsp; *filename;
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-06-08 15:58:43.000000000 +0200
&lt;br&gt;@@ -39,6 +39,8 @@
&lt;br&gt;&amp;nbsp;#define STD
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern char *S52_MARparamName[];
&lt;br&gt;+/*
&lt;br&gt;&amp;nbsp;char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // 1 &amp;nbsp;- default
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 2 &amp;nbsp;- view group 23
&lt;br&gt;@@ -60,6 +62,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // number of Mariner Parameters 16
&lt;br&gt;&amp;nbsp;//...12345678901234567890123 &amp;nbsp; &amp;nbsp;// name lenght max 23
&lt;br&gt;&amp;nbsp;};
&lt;br&gt;+*/
&lt;br&gt;&amp;nbsp;#define S52_MAR_NAME_MAX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;extern DLL double STD S52_getMarinerParam(char *paramName);
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-06-08 15:58:43.000000000 +0200
&lt;br&gt;@@ -147,7 +147,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case GVSHAPE_COLLECTION: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ogr SPLIT_MULTIPOINT prob !!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//GvCollectionShape *collection &amp;nbsp;= (GvCollectionShape *) shape;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/test/Makefile S52/test/Makefile
&lt;br&gt;--- S52-orig/test/Makefile	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/test/Makefile	2009-06-08 15:58:43.000000000 +0200
&lt;br&gt;@@ -34,14 +34,14 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: CFLAGS = `pkg-config --cflags gtk+-2.0 gtkglext-1.0` &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -D_REENTRANT &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD &amp;nbsp; &amp;nbsp; \
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV_HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV2HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# search for libS52.so (-rpath)
&lt;br&gt;&amp;nbsp;S52_LIBS &amp;nbsp;= -Wl,-rpath .. -L.. -lS52
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: need full path in order to find libgv.so at run-time (-rpath)
&lt;br&gt;&amp;nbsp;OPENEV_HOME = `pwd -P`/../../../openev
&lt;br&gt;-OPENEV2HOME = `pwd -P`/../../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2HOME = `pwd -P`/../../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;GV_LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV_HOME) -L$(OPENEV_HOME) -lgv
&lt;br&gt;&amp;nbsp;GV2LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV2HOME) -L$(OPENEV2HOME) -lgv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -64,10 +64,11 @@
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(GV2LIBS) $(OGR_LIBS)
&lt;br&gt;-s52gv2: s52gv.c testmain
&lt;br&gt;+#s52gv2: s52gv.c testmain
&lt;br&gt;+s52gv2: s52gv.c
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;-testmain:
&lt;br&gt;-	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;+#testmain:
&lt;br&gt;+#	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gtk2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(OGR_LIBS) $(GL__LIBS)
&lt;br&gt;&amp;nbsp;s52gtk2: s52gtk2.c
&lt;br&gt;diff -aur S52-orig/test/s52gv.c S52/test/s52gv.c
&lt;br&gt;--- S52-orig/test/s52gv.c	2009-06-08 01:20:24.000000000 +0200
&lt;br&gt;+++ S52/test/s52gv.c	2009-06-08 16:01:24.000000000 +0200
&lt;br&gt;@@ -216,7 +216,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;//GvShapesLayer *gvlayer &amp;nbsp; &amp;nbsp;= (GvShapesLayer *)data;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GvShapes &amp;nbsp; &amp;nbsp; &amp;nbsp;*shapes_data = GV_SHAPES(data);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GvViewArea &amp;nbsp; &amp;nbsp;*view &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= GV_VIEW_AREA(VecView);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;GtkObject &amp;nbsp; &amp;nbsp; *layer &amp;nbsp; &amp;nbsp; &amp;nbsp; = NULL;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;GObject &amp;nbsp; &amp;nbsp; *layer &amp;nbsp; &amp;nbsp; &amp;nbsp; = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;//gv_data_set_property(GV_DATA(shape_data), &amp;quot;_filename&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_filename);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gv_data_set_property(GV_DATA(shapes_data), &amp;quot;_ogr_driver_name&amp;quot;, DRVNAME);
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[S52-finallydrawingsomething-2009-06-08-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/gvS57layer.c S52/gvS57layer.c
&lt;br&gt;--- S52-orig/gvS57layer.c	2009-06-08 16:05:01.000000000 +0200
&lt;br&gt;+++ S52/gvS57layer.c	2009-06-08 16:04:56.000000000 +0200
&lt;br&gt;@@ -55,7 +55,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#ifdef S52_USE_GTK2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;gldraw&amp;quot;,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw_pre),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;/* &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-06-08 16:05:01.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-06-08 16:04:56.000000000 +0200
&lt;br&gt;@@ -68,6 +68,8 @@
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD \
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;`gtk-config --cflags` -I$(OPENEV_HOME)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+s52gv2 : CFLAGS += -DS52_USE_GV
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;LIBS &amp;nbsp; = `pkg-config &amp;nbsp;--libs glib-2.0 lcms` &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; `gdal-config --libs` &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-lGL -lGLU
&lt;br&gt;Only in S52: Makefile.orig
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-06-08 16:05:01.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-06-08 16:04:56.000000000 +0200
&lt;br&gt;@@ -502,6 +502,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_loadLayer(const char *layername, void *layer)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_addCell(&amp;quot;/home/maxxflow/OpenEV2/data/S57_uschart/US5TX51M.000&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if ( (NULL==layername) || (NULL==layer) || (NULL==_cellList)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;ERROR: layername / ogrlayer / _cellList --&amp;gt; NULL\n&amp;quot;);
&lt;br&gt;@@ -790,6 +791,21 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return TRUE;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+DLL int &amp;nbsp; &amp;nbsp; STD S52_draw_pre()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_view _view;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (FALSE == S52_getCellExtent(NULL, &amp;ext))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return FALSE;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLat = ext.s + (ext.n - ext.s) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLon = ext.w + (ext.e - ext.w) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.rNM &amp;nbsp;= 1.0;
&lt;br&gt;+
&lt;br&gt;+	S52_setView(&amp;_view);
&lt;br&gt;+	S52_draw();
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_draw()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-06-08 16:05:01.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-06-08 16:04:56.000000000 +0200
&lt;br&gt;@@ -71,6 +71,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//-----need an GL context-----------------------
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_init();
&lt;br&gt;+extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw_pre();
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;// mouse
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-06-08 16:05:01.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-06-08 16:04:56.000000000 +0200
&lt;br&gt;@@ -152,7 +152,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;FIXME: wkbMultiLineString found ???\n&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;geoData = S57_set_META();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
&lt;br&gt;looking to deploy the next generation of Solaris that includes the latest 
&lt;br&gt;innovations from Sun and the OpenSource community. Download a copy and 
&lt;br&gt;enjoy capabilities such as Networking, Storage and Virtualization. 
&lt;br&gt;Go to: &lt;a href=&quot;http://p.sf.net/sfu/opensolaris-get&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/opensolaris-get&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23924881&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-S52-rendering-to-work-tp23916291p23924881.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23916508</id>
	<title>Re: Getting S52 rendering to work</title>
	<published>2009-06-07T16:35:31Z</published>
	<updated>2009-06-07T16:35:31Z</updated>
	<author>
		<name>Joel Bjurström</name>
	</author>
	<content type="html">Alright...&lt;br&gt;&lt;br&gt;First, I forgot one patch. This one adds GDK_GL_MODE_STENCIL to glconfig in src/lib/gv/gvviewarea.c&lt;br&gt;libS52 was complaining about a missing stencil buffer or something, so I looked at s52gtk2.c and found&lt;br&gt;
this solution.&lt;br&gt;&lt;br&gt;Then I just realized there was a new commit to the S52 cvs last week. The current cvs code (with my patches&lt;br&gt;applied) doesn&amp;#39;t get built for me:&lt;br&gt;&lt;br&gt;../libS52.so: undefined reference to `S52_doPick&amp;#39;&lt;br&gt;
collect2: ld returned 1 exit status&lt;br&gt;&lt;br&gt;I&amp;#39;ll have a look at that tomorrow, now&amp;#39;s time sleep...&lt;br&gt;&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916508&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;

&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Jun 8, 2009 at 1:00 AM, Joel Bjurström &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916508&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi!&lt;br&gt;&lt;br&gt;I guess this one&amp;#39;s for Sylvain.&lt;br&gt;I&amp;#39;m starting a new topic here, to avoid going too far offtopic with my previous OGR issues.&lt;br&gt;In the other thread, I attached the diff with the changes I had to make to be able to compile&lt;br&gt;

libS52. It still crashed when invoked by openev-testmain though. Now I&amp;#39;ve been playing a bit&lt;br&gt;more with these things, and I&amp;#39;ve finally got testmain to draw *something* using libS52! :)&lt;br&gt;I&amp;#39;m attaching my first patch (compile problems) for the record, as well as the one with the&lt;br&gt;

stuff that got something drawn on my screen. My openev-testmain output log is there as well.&lt;br&gt;&lt;br&gt;I&amp;#39;ll try to explain what (I think) I did in this latest patch... :)&lt;br&gt;First, I added a call to _addCell() in S52_loadLayer(). This solved the problem with _cellList&lt;br&gt;

that I mentioned before. I&amp;#39;m calling _addCell() with a hardcoded path to a S57 file, that of course&lt;br&gt;needs to be done differently.&lt;br&gt;&lt;br&gt;Then I added S52_USE_GV to the s52gv2 CFLAGS (it was present in s52gv cflags, but not -gv2).&lt;br&gt;

Then, when I ran testmain, I got:&lt;br&gt;&lt;br&gt;S57gv.c:154: S57_gvLoadObject(): FIXME: wkbMultiLineString found ???                     &lt;br&gt;**                                                                                       &lt;br&gt;

ERROR:S57gv.c:155:S57_gvLoadObject: code should not be reached                           &lt;br&gt;Aborted&lt;br&gt;&lt;br&gt;I removed the call to g_assert_not_reached() in S57gv.c which caused the abort.&lt;br&gt;&lt;br&gt;Things still didn&amp;#39;t work out, and I found out that I had to somehow call S52_setView() before&lt;br&gt;

S52_draw(). To do this, I borrowed some code from tests/s52gtk2.c to create S52_draw_pre().&lt;br&gt;I had this function replace S52_draw() in the event callback from where it was called.&lt;br&gt;S52_draw_pre() calls S52_setView(), and then S52_draw().&lt;br&gt;

Don&amp;#39;t ask me how I came to this &amp;quot;solution&amp;quot;, it&amp;#39;s too late and I can&amp;#39;t remember. But now it worked!&lt;br&gt;Well, at least it was drawing something resembling a S52 chart. :)&lt;br&gt;&lt;br&gt;I&amp;#39;m grateful for hints on how to improve my quick&amp;amp;dirty hacks. I&amp;#39;m still getting a lot of errors and&lt;br&gt;

warnings as you can see in the log, and I still can&amp;#39;t scroll, pan, zoom etc. in testmain.&lt;br&gt;I haven&amp;#39;t tried using the plugin with OpenEV2 itself either. I figured I&amp;#39;d get it to work with&lt;br&gt;testmain first...&lt;br&gt;

&lt;br&gt;Thanks, and good night! ;)&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916508&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;

&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[openev2-fixes-glconfig-2009-06-06-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Only in openev2-old: build
&lt;br&gt;diff -aur openev2/src/cc/testmain/testmain.c openev2-old/src/cc/testmain/testmain.c
&lt;br&gt;--- openev2/src/cc/testmain/testmain.c	2007-01-03 22:39:56.000000000 +0100
&lt;br&gt;+++ openev2-old/src/cc/testmain/testmain.c	2009-06-06 18:50:14.000000000 +0200
&lt;br&gt;@@ -140,7 +140,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if( raster != NULL )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GtkObject *raster_layer;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GObject *raster_layer;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;raster_layer = gv_raster_layer_new(GV_RLM_AUTO, raster, NULL);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gv_view_area_add_layer(GV_VIEW_AREA(view), 
&lt;br&gt;@@ -343,7 +343,7 @@
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GvData &amp;nbsp; &amp;nbsp; *raw_data;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GvShapes &amp;nbsp; *shape_data;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;GtkObject &amp;nbsp;*layer;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;GObject &amp;nbsp;*layer;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int index = 0;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur openev2/src/lib/gv/gvviewarea.c openev2-old/src/lib/gv/gvviewarea.c
&lt;br&gt;--- openev2/src/lib/gv/gvviewarea.c	2009-01-05 04:42:57.000000000 +0100
&lt;br&gt;+++ openev2-old/src/lib/gv/gvviewarea.c	2009-06-06 23:45:32.000000000 +0200
&lt;br&gt;@@ -368,9 +368,15 @@
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;&amp;nbsp;gv_view_area_init(GvViewArea *view)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp;GdkGLConfig *glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB |
&lt;br&gt;+/* &amp;nbsp; &amp;nbsp;GdkGLConfig *glconfig = gdk_gl_config_new_by_mode (GDK_GL_MODE_RGB |
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GDK_GL_MODE_DEPTH |
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GDK_GL_MODE_DOUBLE);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GDK_GL_MODE_DOUBLE);*/
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;GdkGLConfig *glconfig = gdk_gl_config_new_by_mode ( GDK_GL_MODE_RGBA
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| GDK_GL_MODE_DEPTH
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| GDK_GL_MODE_STENCIL
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| GDK_GL_MODE_DOUBLE
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/* ---- Enable GL capability ---- */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;gtk_widget_set_gl_capability (GTK_WIDGET(view), glconfig,
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
&lt;br&gt;looking to deploy the next generation of Solaris that includes the latest 
&lt;br&gt;innovations from Sun and the OpenSource community. Download a copy and 
&lt;br&gt;enjoy capabilities such as Networking, Storage and Virtualization. 
&lt;br&gt;Go to: &lt;a href=&quot;http://p.sf.net/sfu/opensolaris-get&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/opensolaris-get&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916508&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-S52-rendering-to-work-tp23916291p23916508.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23916291</id>
	<title>Getting S52 rendering to work</title>
	<published>2009-06-07T16:00:34Z</published>
	<updated>2009-06-07T16:00:34Z</updated>
	<author>
		<name>Joel Bjurström</name>
	</author>
	<content type="html">Hi!&lt;br&gt;&lt;br&gt;I guess this one&amp;#39;s for Sylvain.&lt;br&gt;I&amp;#39;m starting a new topic here, to avoid going too far offtopic with my previous OGR issues.&lt;br&gt;In the other thread, I attached the diff with the changes I had to make to be able to compile&lt;br&gt;
libS52. It still crashed when invoked by openev-testmain though. Now I&amp;#39;ve been playing a bit&lt;br&gt;more with these things, and I&amp;#39;ve finally got testmain to draw *something* using libS52! :)&lt;br&gt;I&amp;#39;m attaching my first patch (compile problems) for the record, as well as the one with the&lt;br&gt;
stuff that got something drawn on my screen. My openev-testmain output log is there as well.&lt;br&gt;&lt;br&gt;I&amp;#39;ll try to explain what (I think) I did in this latest patch... :)&lt;br&gt;First, I added a call to _addCell() in S52_loadLayer(). This solved the problem with _cellList&lt;br&gt;
that I mentioned before. I&amp;#39;m calling _addCell() with a hardcoded path to a S57 file, that of course&lt;br&gt;needs to be done differently.&lt;br&gt;&lt;br&gt;Then I added S52_USE_GV to the s52gv2 CFLAGS (it was present in s52gv cflags, but not -gv2).&lt;br&gt;
Then, when I ran testmain, I got:&lt;br&gt;&lt;br&gt;S57gv.c:154: S57_gvLoadObject(): FIXME: wkbMultiLineString found ???                     &lt;br&gt;**                                                                                       &lt;br&gt;
ERROR:S57gv.c:155:S57_gvLoadObject: code should not be reached                           &lt;br&gt;Aborted&lt;br&gt;&lt;br&gt;I removed the call to g_assert_not_reached() in S57gv.c which caused the abort.&lt;br&gt;&lt;br&gt;Things still didn&amp;#39;t work out, and I found out that I had to somehow call S52_setView() before&lt;br&gt;
S52_draw(). To do this, I borrowed some code from tests/s52gtk2.c to create S52_draw_pre().&lt;br&gt;I had this function replace S52_draw() in the event callback from where it was called.&lt;br&gt;S52_draw_pre() calls S52_setView(), and then S52_draw().&lt;br&gt;
Don&amp;#39;t ask me how I came to this &amp;quot;solution&amp;quot;, it&amp;#39;s too late and I can&amp;#39;t remember. But now it worked!&lt;br&gt;Well, at least it was drawing something resembling a S52 chart. :)&lt;br&gt;&lt;br&gt;I&amp;#39;m grateful for hints on how to improve my quick&amp;amp;dirty hacks. I&amp;#39;m still getting a lot of errors and&lt;br&gt;
warnings as you can see in the log, and I still can&amp;#39;t scroll, pan, zoom etc. in testmain.&lt;br&gt;I haven&amp;#39;t tried using the plugin with OpenEV2 itself either. I figured I&amp;#39;d get it to work with&lt;br&gt;testmain first...&lt;br&gt;
&lt;br&gt;Thanks, and good night! ;)&lt;br&gt;&lt;br&gt;--&lt;br clear=&quot;all&quot;&gt;// Joel Bjurström&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916291&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[S52-fixes-buildproblems-2009-05-27-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-05-20 22:09:42.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-05-27 21:08:11.000000000 +0200
&lt;br&gt;@@ -27,7 +27,15 @@
&lt;br&gt;&amp;nbsp;DBG3 = -O0 -g3 -Wall -DDEBUG
&lt;br&gt;&amp;nbsp;DBG &amp;nbsp;= $(DBG3)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-CC &amp;nbsp; = gcc -std=c99 -fPIC 
&lt;br&gt;+CC &amp;nbsp; = gcc -std=c99 -fPIC \
&lt;br&gt;+ &amp;nbsp;-I../openev2/src/lib/gv \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/gtk-2.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/cairo \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/atk-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/pango-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/gtkglext-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/lib/gtk-2.0/include \
&lt;br&gt;+ &amp;nbsp;-I/usr/lib/gtkglext-1.0/include
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# win32: check this 
&lt;br&gt;&amp;nbsp;s52win32 : MINGW = /usr/bin/i586-mingw32msvc-
&lt;br&gt;@@ -42,7 +50,7 @@
&lt;br&gt;&amp;nbsp;OBJS_GV &amp;nbsp;= gvS57layer.o S57gv.o
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;OPENEV_HOME &amp;nbsp;= `pwd -P`/../../openev
&lt;br&gt;-OPENEV2_HOME = `pwd -P`/../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2_HOME = `pwd -P`/../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: -malign-double: for 32bits system --useless on 64its
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-05-27 21:49:17.000000000 +0200
&lt;br&gt;@@ -43,6 +43,28 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define MIN_RANGE 0.01 &amp;nbsp;// minimum range (NM)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 0, &amp;nbsp; &amp;nbsp;// default
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 1, &amp;nbsp; &amp;nbsp;// view group 23
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TWO_SHADES&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 2, &amp;nbsp; &amp;nbsp;// flag indicating selection of two depth shades (on/off) [default ON]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_CONTOUR&amp;quot;, &amp;nbsp; //= 3, &amp;nbsp; &amp;nbsp;// selected safety contour (meters) [IMO PS 3.6]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_DEPTH&amp;quot;, &amp;nbsp; &amp;nbsp; //= 4, &amp;nbsp; &amp;nbsp;// selected safety depth (meters) [IMO PS 3.7]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_CONTOUR&amp;quot;, &amp;nbsp;//= 5, &amp;nbsp; &amp;nbsp;// selected shallow water contour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DEEP_CONTOUR&amp;quot;, &amp;nbsp; &amp;nbsp; //= 6, &amp;nbsp; &amp;nbsp;// selected deepwatercontour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_PATTERN&amp;quot;, &amp;nbsp;//= 7, &amp;nbsp; &amp;nbsp;// flag indicating selection of shallow water highlight (on/off)(optional) [default OFF]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHIPS_OUTLINE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 8, &amp;nbsp; &amp;nbsp;// flag indicating selection of ship scale symbol (on/off) [IMO PS 8.4]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISTANCE_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp;//= 9, &amp;nbsp; &amp;nbsp;// selected spacing of &amp;quot;distance to run&amp;quot; tags at a route (nm)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TIME_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 10, &amp;nbsp; // selected spacing of time tags at the pasttrack (min)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_FULL_SECTORS&amp;quot;, &amp;nbsp; &amp;nbsp; //= 11, &amp;nbsp; // show full length light sector lines
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMBOLIZED_BND&amp;quot;, &amp;nbsp; //= 12, &amp;nbsp; // symbolized area boundaries
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMPLIFIED_PNT&amp;quot;, &amp;nbsp; //= 13, &amp;nbsp; // simplified point
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISP_CATEGORY&amp;quot;, &amp;nbsp; &amp;nbsp;//= 14, &amp;nbsp; // display category
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_COLOR_PALETTE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 15, &amp;nbsp; // color palette
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 16 &amp;nbsp; &amp;nbsp;// number of parameters
&lt;br&gt;+//...123456789012345678901234567890 &amp;nbsp; &amp;nbsp; &amp;nbsp; // name lenght max 23
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;typedef struct _cell {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GString &amp;nbsp; *filename;
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-05-27 21:48:17.000000000 +0200
&lt;br&gt;@@ -39,6 +39,8 @@
&lt;br&gt;&amp;nbsp;#define STD
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern char *S52_MARparamName[];
&lt;br&gt;+/*
&lt;br&gt;&amp;nbsp;char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 0, &amp;nbsp; &amp;nbsp;// default
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 1, &amp;nbsp; &amp;nbsp;// view group 23
&lt;br&gt;@@ -60,6 +62,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 16 &amp;nbsp; &amp;nbsp;// number of parameters
&lt;br&gt;&amp;nbsp;//...123456789012345678901234567890 &amp;nbsp; &amp;nbsp; &amp;nbsp; // name lenght max 23
&lt;br&gt;&amp;nbsp;};
&lt;br&gt;+*/
&lt;br&gt;&amp;nbsp;#define S52_MAR_NAME_MAX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//extern DLL double STD S52_getMarinerParam(S52_MAR_param_t param);
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-05-27 20:26:39.000000000 +0200
&lt;br&gt;@@ -147,7 +147,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case GVSHAPE_COLLECTION: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ogr SPLIT_MULTIPOINT prob !!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//GvCollectionShape *collection &amp;nbsp;= (GvCollectionShape *) shape;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/test/Makefile S52/test/Makefile
&lt;br&gt;--- S52-orig/test/Makefile	2009-04-29 17:43:02.000000000 +0200
&lt;br&gt;+++ S52/test/Makefile	2009-05-27 21:12:57.000000000 +0200
&lt;br&gt;@@ -34,14 +34,14 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: CFLAGS = `pkg-config --cflags gtk+-2.0 gtkglext-1.0` &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -D_REENTRANT &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD &amp;nbsp; &amp;nbsp; \
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV_HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV2HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# search for libS52.so (-rpath)
&lt;br&gt;&amp;nbsp;S52_LIBS &amp;nbsp;= -Wl,-rpath .. -L.. -lS52
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: need full path in order to find libgv.so at run-time (-rpath)
&lt;br&gt;&amp;nbsp;OPENEV_HOME = `pwd -P`/../../../openev
&lt;br&gt;-OPENEV2HOME = `pwd -P`/../../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2HOME = `pwd -P`/../../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;GV_LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV_HOME) -L$(OPENEV_HOME) -lgv
&lt;br&gt;&amp;nbsp;GV2LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV2HOME) -L$(OPENEV2HOME) -lgv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -64,10 +64,11 @@
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(GV2LIBS) $(OGR_LIBS)
&lt;br&gt;-s52gv2: s52gv.c testmain
&lt;br&gt;+#s52gv2: s52gv.c testmain
&lt;br&gt;+s52gv2: s52gv.c
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;-testmain:
&lt;br&gt;-	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;+#testmain:
&lt;br&gt;+#	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gtk2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(OGR_LIBS) $(GL__LIBS)
&lt;br&gt;&amp;nbsp;s52gtk2: s52gtk2.c
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[S52-fixes-finallydrawingsomething-2009-06-07-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/gvS57layer.c S52/gvS57layer.c
&lt;br&gt;--- S52-orig/gvS57layer.c	2009-02-23 17:24:12.000000000 +0100
&lt;br&gt;+++ S52/gvS57layer.c	2009-06-07 17:28:54.000000000 +0200
&lt;br&gt;@@ -55,7 +55,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#ifdef S52_USE_GTK2
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;gldraw&amp;quot;,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_CALLBACK(S52_draw_pre),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; G_OBJECT(view));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_signal_connect(G_OBJECT(view), &amp;quot;button-release-event&amp;quot;,
&lt;br&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-06-07 17:44:04.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-06-07 10:53:55.000000000 +0200
&lt;br&gt;@@ -73,6 +73,8 @@
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD \
&lt;br&gt;&amp;nbsp;				 &amp;nbsp;`gtk-config --cflags` -I$(OPENEV_HOME)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+s52gv2 : CFLAGS += -DS52_USE_GV
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;LIBS &amp;nbsp; = `pkg-config &amp;nbsp;--libs glib-2.0 lcms` &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; `gdal-config --libs` &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-lGL -lGLU
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-06-07 17:44:04.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-06-07 17:36:57.000000000 +0200
&lt;br&gt;@@ -465,6 +465,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_loadLayer(const char *layername, void *layer)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_addCell(&amp;quot;/home/maxxflow/OpenEV2/data/S57_uschart/US5TX51M.000&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if ( (NULL==layername) || (NULL==layer) || (NULL==_cellList)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;ERROR: layername / ogrlayer / _cellList --&amp;gt; NULL\n&amp;quot;);
&lt;br&gt;@@ -765,6 +766,21 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return TRUE;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;+DLL int &amp;nbsp; &amp;nbsp; STD S52_draw_pre()
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;S52_view _view;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;if (FALSE == S52_getCellExtent(NULL, &amp;ext))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return FALSE;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLat = ext.s + (ext.n - ext.s) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.cLon = ext.w + (ext.e - ext.w) / 2.0;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;_view.rNM &amp;nbsp;= 1.0;
&lt;br&gt;+
&lt;br&gt;+	S52_setView(&amp;_view);
&lt;br&gt;+	S52_draw();
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;DLL int &amp;nbsp; &amp;nbsp; STD S52_draw()
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;diff -aur S52-orig/S52GL.c S52/S52GL.c
&lt;br&gt;--- S52-orig/S52GL.c	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S52GL.c	2009-06-07 17:51:09.000000000 +0200
&lt;br&gt;@@ -1070,7 +1071,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// extent overlap --need clip
&lt;br&gt;- &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;Clipping: %s to %f,%f -- %f,%f\n&amp;quot;, S57_getName(geoData), pmin.u, pmin.v, pmax.u, pmax.v);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;//PRINTF(&amp;quot;Clipping: %s to %f,%f -- %f,%f\n&amp;quot;, S57_getName(geoData), pmin.u, pmin.v, pmax.u, pmax.v);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;// CSG
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{ &amp;nbsp; int i;
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-06-07 17:44:04.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-06-07 17:29:08.000000000 +0200
&lt;br&gt;@@ -73,6 +73,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//-----need an GL context-----------------------
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_init();
&lt;br&gt;+extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw_pre();
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_draw();
&lt;br&gt;&amp;nbsp;extern DLL int &amp;nbsp; &amp;nbsp;STD S52_doPick(double x, double y);
&lt;br&gt;&amp;nbsp;// set display list for a font
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-06-07 17:44:04.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-06-07 10:53:55.000000000 +0200
&lt;br&gt;@@ -152,7 +152,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;FIXME: wkbMultiLineString found ???\n&amp;quot;);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//g_assert_not_reached(); // MultiLineString (need this for line removal)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;geoData = S57_set_META();
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
&lt;br&gt;looking to deploy the next generation of Solaris that includes the latest 
&lt;br&gt;innovations from Sun and the OpenSource community. Download a copy and 
&lt;br&gt;enjoy capabilities such as Networking, Storage and Virtualization. 
&lt;br&gt;Go to: &lt;a href=&quot;http://p.sf.net/sfu/opensolaris-get&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/opensolaris-get&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23916291&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;testmain.log&lt;/strong&gt; (44K) &lt;a href=&quot;http://old.nabble.com/attachment/23916291/0/testmain.log&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-S52-rendering-to-work-tp23916291p23916291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23809051</id>
	<title>Re: TypeError: GvShapes.from_ogr_layer() argument 1 must be string, not Layer</title>
	<published>2009-05-31T18:47:18Z</published>
	<updated>2009-05-31T18:47:18Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi Joel,
&lt;br&gt;&lt;br&gt;On Wed, May 27, 2009 at 4:32 PM, Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23809051&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi Mario and Sylvain!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm sorry for the delay, it's been a busy time in school.
&lt;br&gt;&lt;br&gt;And I'm sorry for the delay too but thankfully not due to school! :)
&lt;br&gt;&lt;br&gt;&amp;gt; After applying your patch, Mario, as well as straightening out a bug in my
&lt;br&gt;&amp;gt; &amp;quot;fixed&amp;quot; layer selection list,
&lt;br&gt;&amp;gt; I got it working. OGR files now open beautifully! (Well, there are a few
&lt;br&gt;&amp;gt; bugs left. The layer list for example
&lt;br&gt;&amp;gt; seems to get messed up sometimes when loading many layers simultaneously.)
&lt;br&gt;&amp;gt; I'm attaching my new patch for the layer dialog stuff - when applied
&lt;br&gt;&amp;gt; together with your patch, OGR import works.
&lt;br&gt;&lt;br&gt;I'm glad it finally works for you. And thanks for the patches! I will
&lt;br&gt;update the code eventually ;)
&lt;br&gt;&lt;br&gt;&amp;gt; I've also had a look (although a very small one) at the S52 plugin.
&lt;br&gt;&lt;br&gt;I will leave the S52 stuff to Sylvain because it's way out of my league!
&lt;br&gt;&lt;br&gt;&amp;gt; I'm also attaching a proposal for an INSTALL document for OpenEV2 to replace
&lt;br&gt;&amp;gt; the aged BUILD_INSTRUCTIONS.TXT
&lt;br&gt;&amp;gt; I might have missed something. Well, feel free to use it if you like...!
&lt;br&gt;&lt;br&gt;I quickly reviewed this and your patches... all seems in order. They
&lt;br&gt;certainly will make it into the code base when I get time to deal with
&lt;br&gt;that matter. Thanks!
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
&lt;br&gt;is a gathering of tech-side developers &amp; brand creativity professionals. Meet
&lt;br&gt;the minds behind Google Creative Lab, Visual Complexity, Processing, &amp; 
&lt;br&gt;iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
&lt;br&gt;Group, R/GA, &amp; Big Spaceship. &lt;a href=&quot;http://p.sf.net/sfu/creativitycat-com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/creativitycat-com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23809051&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TypeError%3A-GvShapes.from_ogr_layer%28%29-argument-1-must-be-string%2C-not-%09Layer-tp23029560p23809051.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23750296</id>
	<title>Re: TypeError: GvShapes.from_ogr_layer() argument 1 must be string, not Layer</title>
	<published>2009-05-27T13:32:24Z</published>
	<updated>2009-05-27T13:32:24Z</updated>
	<author>
		<name>Joel Bjurström</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;Hi Mario and Sylvain!&lt;br&gt;&lt;br&gt;I&amp;#39;m sorry for the delay, it&amp;#39;s been a busy time in school. I&amp;#39;ve found a little time for our matters lately though.&lt;br&gt;After applying your patch, Mario, as well as straightening out a bug in my &amp;quot;fixed&amp;quot; layer selection list,&lt;br&gt;

I got it working. OGR files now open beautifully! (Well, there are a few bugs left. The layer list for example&lt;br&gt;seems to get messed up sometimes when loading many layers simultaneously.)&lt;br&gt;I&amp;#39;m attaching my new patch for the layer dialog stuff - when applied together with your patch, OGR import works.&lt;br&gt;

&lt;br&gt;I&amp;#39;ve also had a look (although a very small one) at the S52 plugin. That&amp;#39;s the context of my second patch,&lt;br&gt;which addresses a few things I had to fix in the makefiles to build libgv.so and testmain. I&amp;#39;ve just replaced a&lt;br&gt;

python version constant with an automatic check, and added include/library paths to facilitate building testmain&lt;br&gt;without installing libgv.so system-wide.&lt;br&gt;&lt;br&gt;Concerning the S52 plugin, I&amp;#39;ve got the s52gtk2 test app running, but nothing more. I had to fix a few things,&lt;br&gt;

mostly in the makefile, to make it compile. I&amp;#39;m attaching the diff for the record, though most of the makefile stuff&lt;br&gt;only applies to me, and should be replaced with something more general. One important thing though was the &lt;br&gt;

52_MARparamName[] definition in S52.h. This made the linker complain, because S52.h was included in two&lt;br&gt;independantly compiled .c files (got a &amp;quot;multiple definition&amp;quot; error). So I moved the definition to S52.c, just leaving&lt;br&gt;

a declaration in the header file. I&amp;#39;m not sure if my solution was any good, I&amp;#39;m still feeling a bit lost in the land of C... ;)&lt;br&gt;There was also an issue of a disabled &amp;#39;nCollection&amp;#39; variable, but you&amp;#39;ll see for yourself in the diff...&lt;br&gt;

&lt;br&gt;When I try to use the plugin with testmain, I first get this line once for every loaded layer:&lt;br&gt;&lt;br&gt;S52.c:470: S52_loadLayer(): ERROR: layername / ogrlayer / _cellList --&amp;gt; NULL&lt;br&gt;&lt;br&gt;I found out that it was _cellList that he&amp;#39;s complaining about, because _addCell() (where _cellList is set) never gets called.&lt;br&gt;

I couldn&amp;#39;t figure out where/how/if that should be done.&lt;br&gt;&lt;br&gt;Then I get a lot of this thing:&lt;br&gt;&lt;br&gt;S52.c:777: S52_draw(): WARNING: no cell loaded&lt;br&gt;&lt;br&gt;Appearently the same thing here. _cellList == NULL.&lt;br&gt;&lt;br&gt;&lt;br&gt;

I&amp;#39;m also attaching a proposal for an INSTALL document for OpenEV2 to replace the aged BUILD_INSTRUCTIONS.TXT&lt;br&gt;I might have missed something. Well, feel free to use it if you like...!&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks a lot!&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;

/ Joel B.&lt;div class=&quot;im&quot;&gt;&lt;br&gt;&lt;br&gt;--&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23750296&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://maxxflow.com&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://maxxflow.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Thu, Apr 23, 2009 at 9:09 PM, Mario Beauchamp &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23750296&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;starged@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hi Joel,&lt;br&gt;
&lt;div&gt;&lt;br&gt;
On Mon, Apr 20, 2009 at 5:56 PM, Joel Bjurström &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23750296&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;maxxflow@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; When the code runs, I get nothing but a segfault. I find out that it&amp;#39;s the&lt;br&gt;
&amp;gt; if statement:&lt;br&gt;
&amp;gt;     if len(shape_data) &amp;gt; 0:&lt;br&gt;
&amp;gt; in file_open_ogr_by_layer(), that fails.&lt;br&gt;
&amp;gt; The &amp;quot;raw_data&amp;quot; returned from the _gv call identifies like this:&lt;br&gt;
&amp;gt;     &amp;lt;_gv.Shapes object at 0x9782824 (GvShapes at 0x9c7bad8)&amp;gt;&lt;br&gt;
&amp;gt; &amp;quot;raw_data&amp;quot; is then run through gview.GvShapes to create &amp;quot;shape_data&amp;quot;:&lt;br&gt;
&amp;gt;     &amp;lt;GvShapes object at 0x97027d4 (uninitialized at 0x0)&amp;gt;&lt;br&gt;
&amp;gt; That doesn&amp;#39;t look quite right to me.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;No, it&amp;#39;s not right... my fault... apply attached patch, rebuild and&lt;br&gt;
let me know if it works.&lt;br&gt;
&lt;br&gt;
cheers&lt;br&gt;
&lt;font color=&quot;#888888&quot;&gt;--&lt;br&gt;
Mario B.&lt;br&gt;
&lt;/font&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;&lt;tt&gt;[openev2-fixes-ogr-2009-05-26-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur openev2-orig/src/pymod/gvogrdlg.py openev2/src/pymod/gvogrdlg.py
&lt;br&gt;--- openev2-orig/src/pymod/gvogrdlg.py	2008-12-19 03:56:30.000000000 +0100
&lt;br&gt;+++ openev2/src/pymod/gvogrdlg.py	2009-05-26 06:58:05.000000000 +0200
&lt;br&gt;@@ -35,7 +35,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;def __init__(self, ds, viewwindow):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gtk.Window.__init__(self)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.set_title('Vector Layer Selection')
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.set_size_request(500, 500)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.set_size_request(350, 600)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.set_border_width(3)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.set_resizable(True)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.connect('delete-event',self.close)
&lt;br&gt;@@ -44,17 +44,15 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gvhtml.set_help_topic(self, &amp;quot;veclayerselect.html&amp;quot; );
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Layer list
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerbox = gtk.ScrolledWindow()
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;shell.pack_start(layerbox)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist = gtk.CList(cols=2)
&lt;br&gt;-
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerstore = gtk.ListStore(str)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist = gtk.TreeView(layerstore)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;column = gtk.TreeViewColumn('Layer', gtk.CellRendererText(), text=0)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.append_column(column)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerbox.add_with_viewport(layerlist)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.set_shadow_type(gtk.SHADOW_NONE)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.set_selection_mode(gtk.SELECTION_SINGLE)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.set_row_height(30)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.set_column_width(0, 24)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;#layerlist.connect('select-row', self.layer_selected)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerlist.connect('button-press-event', self.list_clicked)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# Clip to view?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -80,7 +78,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# buttons
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;button_box = gtk.HButtonBox()
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;button_box.set_layout_default(gtk.BUTTONBOX_START)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;button_box.set_layout(gtk.BUTTONBOX_START)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ok_button = gtk.Button('Accept')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ok_button.connect('clicked', self.accept)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;loadall_button = gtk.Button('Load All')
&lt;br&gt;@@ -95,25 +93,17 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;button_box.pack_start(help_button, expand=False)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;shell.pack_start(button_box,expand=False)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.connect('realize', self.realize)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.sel_pixmap = gtk.Image().set_from_file(os.path.join(gview.home_dir,'pics',
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'ck_on_l.xpm'))
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.not_sel_pixmap = gtk.Image().set_from_file( os.path.join(gview.home_dir,'pics',
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'ck_off_l.xpm'))
&lt;br&gt;-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;shell.show_all()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.ds = ds
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.viewwindow = viewwindow
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layerstore = layerstore
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layerlist = layerlist
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer_count = ds.GetLayerCount()
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_names = []
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_sel = []
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for i in range(layer_count):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer = ds.GetLayer( i )
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_names.append( layer.GetName() )
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_sel.append( 0 )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layerstore.append([ '%s' % layer.GetName() ])
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.show_all()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -141,57 +131,22 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rect = None
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for i in range(len(self.layer_sel)):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if self.layer_sel[i]:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer = self.ds.GetLayer( i )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for i in self.layerlist.get_selection().get_selected_rows()[1]:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer = self.ds.GetLayer( i[0] )
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if rect is not None:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer.SetSpatialFilter( rect )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if rect is not None:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer.SetSpatialFilter( rect )
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.viewwindow.file_open_ogr_by_layer( layer )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.viewwindow.file_open_ogr_by_layer( layer )
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if rect is not None:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer.SetSpatialFilter( None )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if rect is not None:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;layer.SetSpatialFilter( None )
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if rect is not None:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;rect.Destroy()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.close()
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;def realize(self, widget):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst = self.layerlist
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.freeze()
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.clear()
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i = 0
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for entry in self.layer_names:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.append(('', entry))
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.set_pixmap(i, 0, self.not_sel_pixmap)
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i = i + 1
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.thaw() &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp;def list_clicked(self, lst, event):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;row, col = lst.get_selection_info(int(event.x), int(event.y))
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.emit_stop_by_name('button-press-event')
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if event.type is gtk.gdk._2BUTTON_PRESS:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for i in range(len(self.layer_sel)):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_sel[i] = 0
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_sel[row] = 1
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.accept()
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.layer_sel[row] = not self.layer_sel[row]
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if self.layer_sel[row]:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.set_pixmap(row, 0, self.sel_pixmap)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lst.set_pixmap(row, 0, self.not_sel_pixmap)
&lt;br&gt;-
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;def execute_sql(self, *args):
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;statement = self.sql_cmd.get_text()
&lt;br&gt;diff -aur openev2-orig/src/pymod/gvviewwindow.py openev2/src/pymod/gvviewwindow.py
&lt;br&gt;--- openev2-orig/src/pymod/gvviewwindow.py	2009-05-26 07:03:37.000000000 +0200
&lt;br&gt;+++ openev2/src/pymod/gvviewwindow.py	2009-05-26 06:57:32.000000000 +0200
&lt;br&gt;@@ -612,7 +612,10 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.app.add_to_rfl(filename)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GvOGRDlg(hDS, self)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if hDS.GetLayerCount() == 1:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.file_open_ogr_by_layer(hDS.GetLayer(0))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else:
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GvOGRDlg(hDS, self)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return True
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -620,7 +623,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;import _gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;raw_data = _gv.gv_shapes_from_ogr_layer( layer )
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;raw_data = _gv.gv_shapes_from_ogr_layer( '_%s_OGRLayerH' % hex(layer.this) )
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if raw_data is None:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return False
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -908,27 +911,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.app.load_project(filename)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if self.file_open_ogr_by_name(filename):
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;dataset = gview.manager.get_dataset(filename)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if dataset is None:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;err = gdal.GetLastErrorNo()
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if err not in (0,4):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show_error(filename)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# catch ogr file open failure and pop up
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# a warning rather than dumping to screen.
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if dataset is None and self.file_open_ogr_by_name(filename):
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show_error(filename)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;-
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if dataset is None:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show_error(filename)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;except:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if dataset is None:
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show_error(filename)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;show_error(filename)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;self.open_gdal_dataset(dataset, lut, sds_check, add_to_rfl=1)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[openev2-fixes-makefiles-2009-05-26-maxxflow.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur openev2-orig/resource/mklocal/Linux openev2/resource/mklocal/Linux
&lt;br&gt;--- openev2-orig/resource/mklocal/Linux	2007-01-03 22:39:56.000000000 +0100
&lt;br&gt;+++ openev2/resource/mklocal/Linux	2009-05-26 09:29:30.000000000 +0200
&lt;br&gt;@@ -74,7 +74,7 @@
&lt;br&gt;&amp;nbsp;# &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print distutils.sysconfig.get_python_inc()&amp;quot;`
&lt;br&gt;&amp;nbsp;#PYTHON_VER = `python -c &amp;quot;import sys;print sys.version[0]+sys.version[2]&amp;quot;`
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp;PYTHON_VER = 2.4
&lt;br&gt;+ &amp;nbsp;PYTHON_VER = `python -V 2&amp;gt;&amp;1 | sed -r 's|.* (.\..)\..|\1|'`
&lt;br&gt;&amp;nbsp; &amp;nbsp;PYTHON_ROOT = ${INSTALL_PREFIX}
&lt;br&gt;&amp;nbsp; &amp;nbsp;PYGTK = $(PYTHON_ROOT)/share/pygtk
&lt;br&gt;&amp;nbsp; &amp;nbsp;PYGTK_VER = 2.0
&lt;br&gt;@@ -105,7 +105,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;GL_INCS =
&lt;br&gt;&amp;nbsp; &amp;nbsp;GL_LIBSL =
&lt;br&gt;- &amp;nbsp;GL_LIBS = -levtess -lGLU -lGL
&lt;br&gt;+ &amp;nbsp;GL_LIBS = -lGLU -lGL
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# Tie it all together 
&lt;br&gt;diff -aur openev2-orig/src/cc/testmain/Makefile openev2/src/cc/testmain/Makefile
&lt;br&gt;--- openev2-orig/src/cc/testmain/Makefile	2007-01-03 22:39:56.000000000 +0100
&lt;br&gt;+++ openev2/src/cc/testmain/Makefile	2009-05-26 09:32:28.000000000 +0200
&lt;br&gt;@@ -45,7 +45,7 @@
&lt;br&gt;&amp;nbsp;# Locations of needed header files
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp;INCLUDES += -I$(SYSTEM)/resource
&lt;br&gt;+ &amp;nbsp;INCLUDES += -I$(SYSTEM)/resource -I$(SYSTEM)/src/lib/gv
&lt;br&gt;&amp;nbsp; &amp;nbsp;INCLUDES += $(EV_INCS)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;@@ -53,7 +53,7 @@
&lt;br&gt;&amp;nbsp;# INSTLIBS depends on ARCHLIBS depends on POSTLIBS
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp;LDFLAGS += $(EV_LIBSL)
&lt;br&gt;+ &amp;nbsp;LDFLAGS += $(EV_LIBSL) -L$(SYSTEM)/src/lib/gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;INSTLIBS += -lgv $(EV_LIBS)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur openev2-orig/src/lib/gv/Makefile openev2/src/lib/gv/Makefile
&lt;br&gt;--- openev2-orig/src/lib/gv/Makefile	2007-04-29 03:15:38.000000000 +0200
&lt;br&gt;+++ openev2/src/lib/gv/Makefile	2009-05-26 09:27:23.000000000 +0200
&lt;br&gt;@@ -158,7 +158,7 @@
&lt;br&gt;&amp;nbsp;# Locations of needed header files
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp;INCLUDES += -I$(SYSTEM)/resource
&lt;br&gt;+ &amp;nbsp;INCLUDES += -I$(SYSTEM)/resource -I/usr/include/pygtk-2.0 `python-config --includes`
&lt;br&gt;&amp;nbsp; &amp;nbsp;INCLUDES += $(EV_INCS)
&lt;br&gt;&amp;nbsp;#
&lt;br&gt;&amp;nbsp;# Libraries to use in library dependency order
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[S52-buildproblems-2009-05-27.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -aur S52-orig/Makefile S52/Makefile
&lt;br&gt;--- S52-orig/Makefile	2009-05-20 22:09:42.000000000 +0200
&lt;br&gt;+++ S52/Makefile	2009-05-27 21:08:11.000000000 +0200
&lt;br&gt;@@ -27,7 +27,15 @@
&lt;br&gt;&amp;nbsp;DBG3 = -O0 -g3 -Wall -DDEBUG
&lt;br&gt;&amp;nbsp;DBG &amp;nbsp;= $(DBG3)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-CC &amp;nbsp; = gcc -std=c99 -fPIC 
&lt;br&gt;+CC &amp;nbsp; = gcc -std=c99 -fPIC \
&lt;br&gt;+ &amp;nbsp;-I../openev2/src/lib/gv \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/gtk-2.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/cairo \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/atk-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/pango-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/include/gtkglext-1.0 \
&lt;br&gt;+ &amp;nbsp;-I/usr/lib/gtk-2.0/include \
&lt;br&gt;+ &amp;nbsp;-I/usr/lib/gtkglext-1.0/include
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# win32: check this 
&lt;br&gt;&amp;nbsp;s52win32 : MINGW = /usr/bin/i586-mingw32msvc-
&lt;br&gt;@@ -42,7 +50,7 @@
&lt;br&gt;&amp;nbsp;OBJS_GV &amp;nbsp;= gvS57layer.o S57gv.o
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;OPENEV_HOME &amp;nbsp;= `pwd -P`/../../openev
&lt;br&gt;-OPENEV2_HOME = `pwd -P`/../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2_HOME = `pwd -P`/../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: -malign-double: for 32bits system --useless on 64its
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/S52.c S52/S52.c
&lt;br&gt;--- S52-orig/S52.c	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S52.c	2009-05-27 21:49:17.000000000 +0200
&lt;br&gt;@@ -43,6 +43,28 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define MIN_RANGE 0.01 &amp;nbsp;// minimum range (NM)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 0, &amp;nbsp; &amp;nbsp;// default
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 1, &amp;nbsp; &amp;nbsp;// view group 23
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TWO_SHADES&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 2, &amp;nbsp; &amp;nbsp;// flag indicating selection of two depth shades (on/off) [default ON]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_CONTOUR&amp;quot;, &amp;nbsp; //= 3, &amp;nbsp; &amp;nbsp;// selected safety contour (meters) [IMO PS 3.6]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SAFETY_DEPTH&amp;quot;, &amp;nbsp; &amp;nbsp; //= 4, &amp;nbsp; &amp;nbsp;// selected safety depth (meters) [IMO PS 3.7]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_CONTOUR&amp;quot;, &amp;nbsp;//= 5, &amp;nbsp; &amp;nbsp;// selected shallow water contour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DEEP_CONTOUR&amp;quot;, &amp;nbsp; &amp;nbsp; //= 6, &amp;nbsp; &amp;nbsp;// selected deepwatercontour (meters) (optional)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHALLOW_PATTERN&amp;quot;, &amp;nbsp;//= 7, &amp;nbsp; &amp;nbsp;// flag indicating selection of shallow water highlight (on/off)(optional) [default OFF]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHIPS_OUTLINE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 8, &amp;nbsp; &amp;nbsp;// flag indicating selection of ship scale symbol (on/off) [IMO PS 8.4]
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISTANCE_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp;//= 9, &amp;nbsp; &amp;nbsp;// selected spacing of &amp;quot;distance to run&amp;quot; tags at a route (nm)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_TIME_TAGS&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 10, &amp;nbsp; // selected spacing of time tags at the pasttrack (min)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_FULL_SECTORS&amp;quot;, &amp;nbsp; &amp;nbsp; //= 11, &amp;nbsp; // show full length light sector lines
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMBOLIZED_BND&amp;quot;, &amp;nbsp; //= 12, &amp;nbsp; // symbolized area boundaries
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SYMPLIFIED_PNT&amp;quot;, &amp;nbsp; //= 13, &amp;nbsp; // simplified point
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_DISP_CATEGORY&amp;quot;, &amp;nbsp; &amp;nbsp;//= 14, &amp;nbsp; // display category
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_COLOR_PALETTE&amp;quot;, &amp;nbsp; &amp;nbsp;//= 15, &amp;nbsp; // color palette
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 16 &amp;nbsp; &amp;nbsp;// number of parameters
&lt;br&gt;+//...123456789012345678901234567890 &amp;nbsp; &amp;nbsp; &amp;nbsp; // name lenght max 23
&lt;br&gt;+};
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;typedef struct _cell {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;S52_extent ext;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;GString &amp;nbsp; *filename;
&lt;br&gt;diff -aur S52-orig/S52.h S52/S52.h
&lt;br&gt;--- S52-orig/S52.h	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S52.h	2009-05-27 21:48:17.000000000 +0200
&lt;br&gt;@@ -39,6 +39,8 @@
&lt;br&gt;&amp;nbsp;#define STD
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+extern char *S52_MARparamName[];
&lt;br&gt;+/*
&lt;br&gt;&amp;nbsp;char *S52_MARparamName[] &amp;nbsp;= {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NONE&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 0, &amp;nbsp; &amp;nbsp;// default
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_SHOW_TEXT&amp;quot;, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//= 1, &amp;nbsp; &amp;nbsp;// view group 23
&lt;br&gt;@@ -60,6 +62,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;S52_MAR_NUM&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //= 16 &amp;nbsp; &amp;nbsp;// number of parameters
&lt;br&gt;&amp;nbsp;//...123456789012345678901234567890 &amp;nbsp; &amp;nbsp; &amp;nbsp; // name lenght max 23
&lt;br&gt;&amp;nbsp;};
&lt;br&gt;+*/
&lt;br&gt;&amp;nbsp;#define S52_MAR_NAME_MAX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//extern DLL double STD S52_getMarinerParam(S52_MAR_param_t param);
&lt;br&gt;diff -aur S52-orig/S57gv.c S52/S57gv.c
&lt;br&gt;--- S52-orig/S57gv.c	2009-05-20 22:09:43.000000000 +0200
&lt;br&gt;+++ S52/S57gv.c	2009-05-27 20:26:39.000000000 +0200
&lt;br&gt;@@ -147,7 +147,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case GVSHAPE_COLLECTION: {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ogr SPLIT_MULTIPOINT prob !!
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//GvCollectionShape *collection &amp;nbsp;= (GvCollectionShape *) shape;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int nCollection = gv_shape_collection_get_count(shape);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PRINTF(&amp;quot;nCollection = %i\n&amp;quot;, nCollection);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -aur S52-orig/test/Makefile S52/test/Makefile
&lt;br&gt;--- S52-orig/test/Makefile	2009-04-29 17:43:02.000000000 +0200
&lt;br&gt;+++ S52/test/Makefile	2009-05-27 21:12:57.000000000 +0200
&lt;br&gt;@@ -34,14 +34,14 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: CFLAGS = `pkg-config --cflags gtk+-2.0 gtkglext-1.0` &amp;nbsp; &amp;nbsp; &amp;nbsp; \
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -D_REENTRANT &amp;nbsp;-DGV_USE_DOUBLE_PRECISION_COORD &amp;nbsp; &amp;nbsp; \
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV_HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -I$(OPENEV2HOME) -I.. &amp;nbsp;-DS52_USE_GV -DS52_USE_GTK2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# search for libS52.so (-rpath)
&lt;br&gt;&amp;nbsp;S52_LIBS &amp;nbsp;= -Wl,-rpath .. -L.. -lS52
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;# NOTE: need full path in order to find libgv.so at run-time (-rpath)
&lt;br&gt;&amp;nbsp;OPENEV_HOME = `pwd -P`/../../../openev
&lt;br&gt;-OPENEV2HOME = `pwd -P`/../../../../openev2/trunk/src/lib/gv
&lt;br&gt;+OPENEV2HOME = `pwd -P`/../../openev2/src/lib/gv
&lt;br&gt;&amp;nbsp;GV_LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV_HOME) -L$(OPENEV_HOME) -lgv
&lt;br&gt;&amp;nbsp;GV2LIBS &amp;nbsp; &amp;nbsp; = -Wl,-rpath $(OPENEV2HOME) -L$(OPENEV2HOME) -lgv
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -64,10 +64,11 @@
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gv2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(GV2LIBS) $(OGR_LIBS)
&lt;br&gt;-s52gv2: s52gv.c testmain
&lt;br&gt;+#s52gv2: s52gv.c testmain
&lt;br&gt;+s52gv2: s52gv.c
&lt;br&gt;&amp;nbsp;	$(CC) $(CFLAGS) s52gv.c $(LIBS) -o $@
&lt;br&gt;-testmain:
&lt;br&gt;-	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;+#testmain:
&lt;br&gt;+#	$(CC) $(LDFLAGS) testmain.o $(LIBS) &amp;nbsp;-o $@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;s52gtk2: LIBS = $(S52_LIBS) $(GTK2LIBS) $(OGR_LIBS) $(GL__LIBS)
&lt;br&gt;&amp;nbsp;s52gtk2: s52gtk2.c
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
&lt;br&gt;is a gathering of tech-side developers &amp; brand creativity professionals. Meet
&lt;br&gt;the minds behind Google Creative Lab, Visual Complexity, Processing, &amp; 
&lt;br&gt;iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
&lt;br&gt;Group, R/GA, &amp; Big Spaceship. &lt;a href=&quot;http://p.sf.net/sfu/creativitycat-com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/creativitycat-com&lt;/a&gt;&amp;nbsp;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23750296&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;INSTALL&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/23750296/0/INSTALL&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TypeError%3A-GvShapes.from_ogr_layer%28%29-argument-1-must-be-string%2C-not-%09Layer-tp23029560p23750296.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23438468</id>
	<title>Re: compile sources problem</title>
	<published>2009-05-07T18:14:03Z</published>
	<updated>2009-05-07T18:14:03Z</updated>
	<author>
		<name>Mario Beauchamp-2</name>
	</author>
	<content type="html">Hi ExodUs(?),
&lt;br&gt;&lt;br&gt;On Thu, May 7, 2009 at 9:29 AM, ExodUs O &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23438468&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;exodus__@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to compile openev2 sources.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've followed the build instruction ( modify environ.sh, source it and
&lt;br&gt;&amp;gt; install all packages needed), but when I'm trying to lauch the &amp;quot;make
&lt;br&gt;&amp;gt; install&amp;quot; into openev2/src it gives me some errors...
&lt;br&gt;&lt;br&gt;I really should update those build instructions...the best way to
&lt;br&gt;compile/install openev2 is: python setup.py install
&lt;br&gt;&lt;br&gt;&amp;gt; I don't know if I'm clear. Perhaps you need more info to understand my
&lt;br&gt;&amp;gt; problem, but I will be very thankfull to anyone can try to help me...
&lt;br&gt;&lt;br&gt;If you are on linux (as I suspect you are), then you should already
&lt;br&gt;have most packages installed or at least available for your distro. I
&lt;br&gt;hope you didn't install the antiquated packages mentioned in the build
&lt;br&gt;instructions... anyways, try the setup.py approach and let me know how
&lt;br&gt;it went.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;-- 
&lt;br&gt;Mario B.
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
&lt;br&gt;production scanning environment may not be a perfect world - but thanks to
&lt;br&gt;Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
&lt;br&gt;Series Scanner you'll get full speed at 300 dpi even with all image 
&lt;br&gt;processing features enabled. &lt;a href=&quot;http://p.sf.net/sfu/kodak-com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/kodak-com&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23438468&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compile-sources-problem-tp23426920p23438468.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23426920</id>
	<title>compile sources problem</title>
	<published>2009-05-07T06:29:07Z</published>
	<updated>2009-05-07T06:29:07Z</updated>
	<author>
		<name>ExodUs O</name>
	</author>
	<content type="html">&lt;html&gt;
&lt;head&gt;

&lt;/head&gt;
&lt;body class='hmmessage'&gt;
Hello,&lt;br&gt;&lt;br&gt;I'm trying to compile openev2 sources.&lt;br&gt;&lt;br&gt;I've followed the build instruction ( modify environ.sh, source it and install all packages needed), but when I'm trying to lauch the &quot;make install&quot; into openev2/src it gives me some errors...&lt;br&gt;&lt;br&gt;The first one is : &lt;br&gt;&lt;br&gt;../../gv_override.c:17:23: error: pygobject.h: No such file or directory&lt;br&gt;&lt;br&gt;But I've checked and I have got this header install in the this path :&lt;br&gt;&lt;br&gt;/usr/include/pygtk-2.0/pygobject.h&lt;br&gt;&lt;br&gt;I'm trying to compile this sources because I would to test the Openev Library for future developments that need GIS features. I've tryed fwtools and vexcel builds, but it seem that they doesn't install the openev's libs...&lt;br&gt;&lt;br&gt;I don't know if I'm clear. Perhaps you need more info to understand my problem, but I will be very thankfull to anyone can try to help me...&lt;br&gt;&lt;br&gt;Best Regards.&lt;br&gt;&lt;br&gt;exD&lt;br&gt;&lt;br /&gt;&lt;hr /&gt;Découvrez toutes les possibilités de communication &lt;a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new' rel=&quot;nofollow&quot;&gt;avec vos proches&lt;/a&gt;&lt;/body&gt;
&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
&lt;br&gt;production scanning environment may not be a perfect world - but thanks to
&lt;br&gt;Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
&lt;br&gt;Series Scanner you'll get full speed at 300 dpi even with all image 
&lt;br&gt;processing features enabled. &lt;a href=&quot;http://p.sf.net/sfu/kodak-com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/kodak-com&lt;/a&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Openev-discuss mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23426920&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Openev-discuss@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/openev-discuss&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/openev-discuss&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/openev-discuss-f16530.html&quot; embed=&quot;fixTarget[16530]&quot; target=&quot;_top&quot; &gt;openev-discuss&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/compile-sources-problem-tp23426920p23426920.html" />
</entry>

</feed>
