Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is it possible to use Qlik GeoAnalytics to create customized polygon map?

Is it possible to use Qlik GeoAnalytics to create customized polygon map?

In my use case, I would like to create a polygon map with threes polygons on a map.

Texas, Louisiana, Mississippi will be shown as a single polygon on the map

Alabama, Georgia, Florida will be shown as a single polygon on the map

South Carolina, North Carolina, Tennessee will be shown as a single polygon on map.

Any suggestion is appreciated!

1 Solution

Accepted Solutions
Michael_Tarallo
Employee
Employee

Hello Haikuo,

Please note that if you find a solution to your own question, please post the entire solution in detail, and refrain from posting 1 word replies as this is not helpful to others in the Qlik Community.

In regards to your question:

Yes this can be done by using custom shape files, geojson and possibly can be made even simpler by using the Dissolve example - where you can setup custom area regions:

See this example: GeoAnalytics Dissolve - Google Slides

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Regards,

Michael Tarallo (@mtarallo) | Twitter

Qlik

Regards,
Mike Tarallo
Qlik

View solution in original post

5 Replies
Michael_Tarallo
Employee
Employee

Hello Haikuo,

Please note that if you find a solution to your own question, please post the entire solution in detail, and refrain from posting 1 word replies as this is not helpful to others in the Qlik Community.

In regards to your question:

Yes this can be done by using custom shape files, geojson and possibly can be made even simpler by using the Dissolve example - where you can setup custom area regions:

See this example: GeoAnalytics Dissolve - Google Slides

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

Regards,

Michael Tarallo (@mtarallo) | Twitter

Qlik

Regards,
Mike Tarallo
Qlik
Anonymous
Not applicable
Author

Hi Michael, thanks for your help!

I know we can use Dissolve in Qlik GeoAnalytics, and this is what I am using now.

How to use custom shape files in Qlik GeoAnalytics? Is there any reference?

Also, how to use geojson in Qlik GeoAnalytics? Is there any reference?

I did not find any reference about how to use shape files, geojson in Qlik GeoAnalytics.

Michael_Tarallo
Employee
Employee

HI Haikuo - they are working on examples at the moment but don't have all of them.

Guides & Examples « bi.idevio.com

This is the only reference at the moment:

Idevio GeoAnalytics Reference

File based geo dataset

Different kinds of geographical file formats like GeoJSON and Shape.

ParameterTypeUseDescription
URL   The URL of the file containing the data. URLs with file-protocol are normally not allowed. In a local customer installation it may be allowed. When login is required for accessing the URL, user and password can be specified in the URL like this: http://username:password@hostname/ (note that passing login information like this is not possible in IE9).
Key Fieldstringdefault:   The name of the field that contains identities for each geometry. If you leave the field empty a key field will be generated.
File Typestringdefault:Auto The type of file. Allowed values are:
  • Auto - Tries to detect the file type from the name of the file.
  • GeoJSON - The GeoJSON format as specified by geojson.org.
  • GML - For reading GML files or connecting to WFS services. Reads featureCollection files and makes one row of each featureMember element.
  • ESRI Shape file - A zip file with at least a shp and a dbf file.
  • ESRI Json - JSON as returned by ESRI ArcGIS Server (see ESRI doc of format). This makes it possible to connect to ArcGIS and import data from services it has published.
  • AutoCAD DXF file - For reading geometries from a DXF file. The following entity types are supported:
  • Points: POINT, TEXT, MTEXT
  • Lines: ARC, CIRCLE, LINE, POLYLINE, LWPOLYLINE, SPLINE, MLINE
Character encodingstringdefault:   For some formats (like ESRI Shape) the character encoding is not defined in the format. This gives a way to provide this information. For most formats this property is ignored. Uses the Java character encodings available.
Expected Geometry Typestringdefault:Auto
  • Auto - Tries to detect type automatically.
  • Point - Looks for Points in the specified file.
  • Line - Looks for Lines in the specified file.
  • Polygon - Looks for Polygons in the specified file.
CRSstringdefault:Auto CRS of the data to load. The data will be projected from this CRS to WGS84 (EPSG:4326) before being loaded into the app.

If set to Auto or if empty it will try to parse it from the file. If no CRS is found in the file, then EPSG:4326 (WGS84) is used.

HTH

Regards,
Mike Tarallo
Qlik
Anonymous
Not applicable
Author

Hello Michael

I am using Dissolve method to create a polygon. We have some maps in Qlikview using Qlikmaps 3.0 and it is expected to pass boundary file. The output of dissolve is lat, long combinations. Is there ability to create boundary file using those coordinates

Thanks

Vaibhav

Patric_Nordstrom
Employee
Employee

Hi,

QGA Dissolve input is table of polygons and a table with info wich polygons that should be merged.

QGA Dissolve is not making polygons from lat long points.

QGIS (www.qgis.org) can be used for that: Geoprocessing tools -> Vector -> Convex Hull or Vector->Geomtery tools->Voronoi polygons

Thanks,

Patric