<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content=1 name=qrichtext>
<STYLE type=text/css>
p, li { white-space: pre-wrap; }
</STYLE>
<META content="MSHTML 6.00.2900.5945" name=GENERATOR></HEAD>
<BODY
style="FONT-WEIGHT: 400; FONT-SIZE: 12pt; FONT-STYLE: normal; FONT-FAMILY: 'DejaVu Sans'"
bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=204091506-11052010><FONT
face="'DejaVu Sans'">Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=204091506-11052010></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=204091506-11052010><FONT
face="'DejaVu Sans'">Ogr2ogr tries nowadays to avoid this problem by
trimming the field names first to 10 character, and if it finds
dublicates after that, trim the dublicates again to 8 craracter and add a
numeric index (_1, _2 etc.) to the end. See chapter Creation Issues from
the ogr shapefile driver manual page <A
href="http://gdal.org/ogr/drv_shapefile.html">http://gdal.org/ogr/drv_shapefile.html</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=204091506-11052010></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=204091506-11052010><FONT
face="'DejaVu Sans'">-Jukka Rahkonen-</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=fi dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2>Simon Cropper <SPAN
class=204091506-11052010><FONT face="'DejaVu Sans'"
size=3> wrote: </FONT></SPAN><BR></FONT><BR></DIV>
<DIV></DIV>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">Hi,<BR><BR>While
editing a shapefile I entered a number of field names that were 12 characters
long, with the distinguishing characters being in the last two characters
(e.g. AAAAAAAAA_1, AAAAAAAAAA_2). </P>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0; qt-paragraph-type: empty"></P>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">xBase
Tables and tables associated with shapefiles should not have fieldnames >10
characters long. Instead of baulking at this and flagging to me that the names
were identical once trimmed to 10 characters the program just trimmed the
names to 10 characters and saved the file.</P>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0; qt-paragraph-type: empty"></P>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">This
is a big problem that should be easily captured.<BR></P>
<P
style="MARGIN: 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">--
<BR></P>
<P
style="MARGIN: 12px 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">Cheers
Simon</P>
<P
style="MARGIN: 12px 0px; TEXT-INDENT: 0px; qt-block-indent: 0; qt-user-state: 0">Simon
Cropper <BR>Botanicus Australia Pty Ltd<BR>PO Box 160, Sunshine, Victoria
3020.<BR>P: 9311 5822. M: 041 830 3437.<BR><A
href="mailto:scropper@botanicusaustralia.com.au"><SPAN
style="COLOR: #0057ae; TEXT-DECORATION: underline">mailto:
scropper@botanicusaustralia.com.au</SPAN></A> <BR><A
href="http://www.botanicusaustralia.com.au"><SPAN
style="COLOR: #0057ae; TEXT-DECORATION: underline">web:
www.botanicusaustralia.com.au</SPAN></A> <BR></P></BLOCKQUOTE></BODY></HTML>