[Portugal] Adicionar elevation como atributo
Pedro Costa
pedrocostaarma sapo.pt
Quarta-Feira, 23 de Maio de 2012 - 14:58:18 EDT
Resolvido?
On 05/23/2012 06:55 PM, Jorge Gustavo Rocha wrote:
> Paula,
>
> Segue em anexo, com instruções (muito) sucintas.
>
> unzip sample.zip
> cd "New Folder"/
> ogrinfo -ro -so -al alt.shp alt
> Geometry: 3D Line String
> ogr2ogr -f "PostgreSQL" PG:"host=localhost user=geobox dbname=geotuga
> password=geobox" alt.shp
> psql -h localhost -U geobox geotuga
> # ALTER TABLE alt ADD COLUMN z numeric(19,11);
> # update alt set z = st_z(ST_PointN(wkb_geometry,1));
> # \q
> ogr2ogr -f "ESRI Shapefile" alt3d.shp PG:"host=localhost user=geobox
> dbname=geotuga password=geobox" alt
>
> Cumprimentos,
>
> Jorge
>
>
> Em 23-05-2012 18:14, Paula Miranda escreveu:
>> Aqui vai um sample da shapefile
>> Obrigada
>>
>> 2012/5/23 Giovanni Manghi <giovanni.manghi faunalia.pt
>> <mailto:giovanni.manghi faunalia.pt>>
>>
>> On Wed, 2012-05-23 at 17:58 +0100, Paula Miranda wrote:
>> > Já é uma shapefile. No Qgis não consigo visualizar os valores da
>> > elevação (do z)
>>
>> há uma patch disponivel á algum tempo para acrescentar o suporte
>> para
>> shapefiles 3d no qgis.
>>
>> como já disse é preciso algum *trabalho* para a verificar,
>> actualizar,
>> testar e acrescentar.
>>
>> se alguem está interessado em suportar este trabalho pode
>> contactar o
>> projecto e o trabalho será feito.
>>
>> -- Giovanni --
>>
>>
>> _______________________________________________
>> Portugal mailing list
>> Portugal lists.osgeo.org <mailto:Portugal lists.osgeo.org>
>> http://lists.osgeo.org/mailman/listinfo/portugal
>>
>>
>>
>>
>> _______________________________________________
>> Portugal mailing list
>> Portugal lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/portugal
>
>
>
>
> _______________________________________________
> Portugal mailing list
> Portugal lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/portugal
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.osgeo.org/pipermail/portugal/attachments/20120523/c591d2da/attachment.html
Mais informações acerca da lista Portugal