[udig-devel] Problem with attrib "the_geom"?

Antonio Redondo Lora arlora at dap.es
Thu Feb 1 04:50:36 PST 2007


Sorry .....  I think we got confused :S

We have developed some plugins  depending on this attribute 
name in shapefiles geo resources. We try to extend them to work 
with Oracle resopurces that uses other synonyms like "GEOM" or 
"GEOMETRY", as Paul said.

Obviously, in order to generalize plugins, we must chek the default
geometry name and use it to get the Geometry object.

Thanks, one more time. 

Antonio Redondo Lora
Subdirección de Integración de Sistemas
E.P. Desarrollo Agrario y Pesquero 
c/Bergantín, 39 - 41012 Sevilla (España)
Email: arlora at dap.es
Tlfno: 955059762
Corporativo: 359762


>>> Paul Ramsey <pramsey at refractions.net> 02/01/07 1:49  >>>
Shape files don't have a geometry name... the column only has a name 
when assigned by a system that hooks the geometry and attributes 
together into one tuple.  ESRI uses "SHAPE" as their default geometry 
name in Arc*. PostGIS, as noted uses "the_geom" (thanks, Dave). Some 
other systems use "GEOM" or "GEOMETRY".

P.

Cory Horner wrote:
> Antonio Redondo Lora wrote:
>> Recovering this post ...
>>
>> Anybody thinks about it like a restriction?
> 
> I think we can budge on this one.  Seems this was just an assumption -- 
> we could defer to geometry name in the shapefile.
> 
> Cory.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net 
> http://lists.refractions.net/mailman/listinfo/udig-devel 


-- 

   Paul Ramsey
   Refractions Research
   http://www.refractions.net 
   pramsey at refractions.net 
   Phone: 250-383-3022
   Cell: 250-885-0632
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net 
http://lists.refractions.net/mailman/listinfo/udig-devel



 -----------------------------------------------------
  Este correo electrónico y, en su caso, cualquier fichero anexo
  al mismo, contiene información de carácter confidencial
  exclusivamente dirigida a su destinatario o destinatarios. Queda
  prohibida su divulgación, copia o distribución a terceros sin la
  previa autorización escrita de Dap. En el caso de haber
  recibido este correo electrónico por error, se ruega notifíquese
  inmediatamente esta circunstancia mediante reenvío a la dirección
  electrónica del remitente.
  ----------------------------------------------------------
  The information in this e-mail and in any attachments is confidential
  and solely for the attention and use of the named addressee(s).
  You are hereby notified that any dissemination, distribution or copy
  of this communication is prohibited without the prior written consent 
  of Dap. If you have received this communication in error,
  please, notify the sender by reply e-mail.
  -------------------------------------------------------------


More information about the udig-devel mailing list