Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

This is probably a simple question, but nothing comes to my mind right now.

I have created a view in PostGIS containing multiple columns, including one column of data type uuid.

When I try to visualize the view as a layer in either QGIS or GeoServer the column of data type uuid is simply omitted while the rest of the columns looks fine.

Is the data type uuid not supported by neither QGIS or GeoServer or is it a simple mistake on my part?

Versions:

  • QGIS: 1.7
  • PostGIS: 1.5.2
  • PostgreSQL: 9.0.1
  • GeoServer: 2.0.2
share|improve this question
    
I don't think it is supported yet in QGIS or GeoServer - A few QGIS developers might advise otherwise. –  Mapperz Aug 4 '11 at 14:16
    
Have you considered using OIDs instead of UUIDs? –  underdark Aug 5 '11 at 9:34
add comment

2 Answers 2

up vote 2 down vote accepted

As far as I know, UUIDs (Universally Unique Identifiers) are not supported in QGIS yet. For now, it seems easiest to cast them to text in your view definition.

share|improve this answer
    
Yeah, that is also the alternative I am using for now :) –  Chau Aug 5 '11 at 13:37
add comment

http://hub.qgis.org/issues/62
http://hub.qgis.org/issues/952

share|improve this answer
    
Yeah, I saw the two, but I prefer to hear user-experience instead of going trough the tickets :) –  Chau Aug 5 '11 at 9:12
2  
Welcome to GIS.StackExchange! Because we value stand-alone answers that will last over time, could you please explain what is in these links? (For more tips on answering questions, please read our FAQ.) –  whuber Aug 5 '11 at 14:52
1  
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  iant Aug 14 '12 at 10:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.