[OSGeo-Discuss] methods for programatically adding fields to shapefiles

Tim Sutton tim at linfiniti.com
Fri Oct 31 16:35:26 EDT 2008


Hi Frank



2008/10/31 Frank Warmerdam <warmerdam at pobox.com>:
> Tim Sutton wrote:
>>
>> Hi
>>
>> Are there any suggestions on how to do this from c++? Something we've
>> long wanted to add support for in QGIS.....
>>
>> Frank Warmerdam was reticent about adding it to ogr since it would
>> have many crosscutting implications...
>
> Tim,
>
> I would note that I would not mind implementing OGRLayer::CreateField()
> for shapefiles that already have features (though I'm not promising
> I have time).  I think I was wanting to avoid more general schema
> alteration (removing fields, reordering, changing names, etc).

That would be great if you have time - no rush though since we are in
feature freeze and we would have to wait for your changes to get into
a gdal release and then into distros etc..


Regards

Tim

>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/discuss
>



-- 
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==============================================
Visit http://linfiniti.com to find out about:
 * QGIS programming services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux Irc: timlinux on #qgis at freenode.net
==============================================


More information about the Discuss mailing list