<div>some ideas...</div><div><br></div><div>- create a view with name column length as you want.</div><div><br></div>- looking for software ziggis, with this you can connect arcmap to Postgres Geodatabase <div><br></div><div>

bye... </div><div><br clear="all">Cristian O.<br><a href="http://www.digitalbee.cl">www.digitalbee.cl</a><br>
<br><br><div class="gmail_quote">On Wed, Jun 15, 2011 at 1:58 PM, James David Smith <span dir="ltr"><<a href="mailto:james.david.smith@gmail.com">james.david.smith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Dear all,<br>
<br>
I appreciate that this is more of a QGIS query, but I think that the<br>
route of the problem might be in PostGIS, so... I have opened QGIS and<br>
ran the query on my PostGIS table as below:<br>
<br>
SELECT * FROM incidents<br>
WHERE urgency = 'Immediate'<br>
AND date_time_of_arrival - date_time_unit_assigned > '00:12:00'<br>
<br>
This gives me 33 points in QGIS. Great. I would now however like to<br>
save this as a ShapeFile for use in ArcGIS with which I am more<br>
familiar, but when I try to SAVE AS from QGIS I am given the following<br>
error....<br>
<br>
Export to vector file failed.<br>
Error: trimming attribute name 'date_time_of_arrival' to ten<br>
significant characters produces duplicate column name.<br>
<br>
I am guessing that the problem here is that ESRI shapefiles can only<br>
deal with column names that are ten characters long...? And that as I<br>
also have a column called 'date_time_of_departure', when QGIS trims<br>
this column it ends up with two columns called the same thing?  Is<br>
there a way around this? I realise I could rename the column in QGIS,<br>
but I actually have around 45 columns in the table and this problem<br>
will occur with about 15 pairs of them I think. I guess there is no<br>
simple answer... but thought I'd ask.<br>
<br>
Cheers<br>
<br>
James<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>