The GML importer inserts "Polygon" into the "featuretype" field though, so it is not obvious. Should ideally be changed. The GIS app accepts both "Polygon" and "MultiPolygon".
On Tue, Jun 10, 2014 at 5:39 PM, Jason Pickering < [email protected]> wrote: > Thanks Jan. That worked perfectly. I should have remembered this from > before, as I think you have answered the same question before. :) > > Regards, > Jason > > > > On Tue, Jun 10, 2014 at 5:20 PM, Jan Henrik Øverland < > [email protected]> wrote: > >> These are polygons. Just add another "[" and "]" to the coordinates to >> make them multi-polygons and it will work. >> >> >> On Tue, Jun 10, 2014 at 5:11 PM, Jason Pickering < >> [email protected]> wrote: >> >>> We have for various reasons, needed to import coordinate data directly >>> into the database, but are having some issues displaying it in the GIS >>> client. >>> >>> Here is the response, which is giving issues. See below. >>> >>> Here is the response. >>> >>> http://pastebin.com/03qxrTEs >>> >>> Any help would be appreciated. >>> >>> Best regards, >>> Jason >>> >>> >>> >>> 1. Uncaught TypeError: Cannot read property 'length' of null >>> core.js:2271 >>> 1. util.map.getTransformedFeatureArraycore.js:2271 >>> 2. Ext.data.JsonP.request.successcore.js:1458 >>> 3. Ext.apply.callbackext-all.js:15 >>> 4. Ext.define.handleResponseext-all.js:15 >>> 5. (anonymous function)ext-all.js:15 >>> 6. (anonymous function) >>> >>> getGeoJson.action?ids=LEVEL-4&ids=AWn3s2RqgAN&callback=Ext.data.JsonP.callback3:1 >>> >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~dhis2-devs >>> Post to : [email protected] >>> Unsubscribe : https://launchpad.net/~dhis2-devs >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

