[Qgis-user] Categorizing symbols with file geodatabase

Eric Goddard egoddard1010 at gmail.com
Mon Mar 3 13:08:32 PST 2014


Hi Kristen and Randal,

I think Randal is correct. There area a few issues preventing the
equivalent of domains from working in QGIS, but the main issue is that QGIS
uses GDAL to load vector data. GDAL has no concept of domains as far as I
know. QGIS does somewhat--you can define value-description pairs that will
show up in the attribute table from the layer properties.

I just tested whether setting an attribute's edit widget (under Properties
-> Fields) to value map and providing the value-description pairs there
would allow them to be applied to symbology -- but it didn't work. If you
have the descriptors for each category, they can be manually typed into the
label. It isn't a great solution. :( Tests were performed with QGIS master
64bit, FileGDB API 1.3 on linux.

Also, you may want to check your data to make sure all the values are
showing up. When I was testing, only 1 category would appear when the
attribute was classified from the file geodatabase feature class. When
exported out to a shapefile, all of the unique values for that attribute
would be listed.

Eric


On Mon, Mar 3, 2014 at 11:46 AM, Randal Hale <
rjhale at northrivergeographic.com> wrote:

>  First thought is your are working with a field that is a domain. Example
> being the values are 1 2 3 but in ArcGIS they are displayed as meaningful
> attributes
>
> Name Field - Domain
> 1                     Randy
> 2                     Kristen
> 3                     Nathan
>
> BUT - you appear to be doing it right! But that doesn't help the value
> problem you are seeing.
>
> Randy
>
> -----------------
> Randal Hale, GISP
> North River Geographic Systems, Inchttp://www.northrivergeographic.com423.653.3611 rjhale at northrivergeographic.comrjhale@northrivergeographic.com
> twitter:rjhalehttp://about.me/rjhale
>
> On 03/03/2014 12:25 PM, Kristen Klaphake wrote:
>
> Hi all,
> I'm new to QGIS and need to work with file geodatabases.  I've been able
> to access the file geodatabase, but when I try to symbolize the data based
> on a field category, it won't display the value that it's categorizing
> from.  I think it actually categorizes the data based on the field I've
> selected, but it won't display the value of that field in the final legend.
> Any ideas?
>  Here's a screen shot.
> [image: Inline image 1]
> --
>
> Kristen Klaphake
> *GIS Technician*
>
>   Environmental & Statistical Consultants
> 200 S. 2nd Street, Suite B
> Laramie, WY 82070
> Office: (307) 721-3179
> kklaphake at west-inc.com <ggardner at west-inc.com>
>
>  CONFIDENTIALITY NOTICE:  This message and any accompanying
> communications are covered by the Electronic Communications Privacy Act, 18
> U.S.C. ยงยง 2510-2521, and contain information that is privileged,
> confidential or otherwise protected from disclosure.  If you are not the
> intended recipient or an agent responsible for delivering the communication
> to the intended recipient, you are hereby notified that you have received
> this communication in error.  Dissemination, distribution or copying of
> this e-mail or the information herein by anyone other than the intended
> recipient, or an employee or agent responsible for delivering the message
> to the intended recipient, is prohibited.  If you have received this
> communication in error, please notify us immediately by e-mail and delete
> the original message.  Thank you.
>
>
> _______________________________________________
> Qgis-user mailing listQgis-user at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140303/93697339/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5577 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140303/93697339/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 57328 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140303/93697339/attachment-0001.png>


More information about the Qgis-user mailing list