<DIV>Hurraay, finally i was able to load a shapefile into postgresql.</DIV>
<DIV>Thanks Norman.</DIV>
<DIV> </DIV>
<DIV>Just wondering if there is any API (maybe in java) that can be used to load (specially from ArcGIS) shapefile data to postgresql.</DIV>
<DIV> </DIV>
<DIV>Does postgresql support  storing of XML data(GML specifically).</DIV>
<DIV> </DIV>
<DIV>-Venu<BR><BR><B><I>Norman Vine <nhv@cape.com></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<DIV><FONT face=Tahoma size=2>Venu Kanaparthy<SPAN class=444435801-27082003><FONT face=Arial color=#0000ff>  writes: </FONT></SPAN></FONT></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV>Thanks, Norman,  'make clean'. did the job and i was able to compile postgis with</DIV>
<DIV>postgresql. There is a small problem associated when i ran the following command.</DIV>
<DIV>Any help is appreciated.</DIV>
<DIV>.<BR>cd /usr/src/postgresql-7.3.4-2/contrib/postgis-0.7.5<BR>$ psql  -d myGISdb  -f postgis.sql<BR>BEGIN<BR>        message<BR>------------------------<BR> PL/PgSQL is installed.<BR>(1 row)</DIV>
<DIV>NOTICE:  ProcedureCreate: type histogram2d is not yet defined<BR>psql:postgis.sql:18: NOTICE:  ProcedureCreate: type histogram2d is not yet defin<BR>ed<BR>ERROR:  stat failed on file '$libdir/postgis.dll': No such file or directory<BR>psql:postgis.sql:18: ERROR:  stat failed on file '$libdir/postgis.dll': No such<BR>file or directory<SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2> </FONT></SPAN></DIV>
<DIV><SPAN class=444435801-27082003></SPAN> </DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2>assuming you have everything installed in the 'normal' place</FONT></SPAN></DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2>copy postgis.dll to </FONT> <FONT face=Arial color=#0000ff size=2>$CYGWIN_ROOT/lib/postgresql</FONT></SPAN></DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2>You will know if you have things installed in their cannonical</FONT></SPAN></DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2>place if you see many other postgresql dlls there</FONT></SPAN></DIV>
<DIV><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=444435801-27082003></SPAN><SPAN class=444435801-27082003></SPAN><SPAN class=444435801-27082003><FONT face=Arial color=#0000ff size=2>Norman</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com">Yahoo! SiteBuilder</a> - Free, easy-to-use web site design software