Possible issue with GML import

Shape file import sounds like an ideal task for an external developer, as
it could transform the shapefile content and pipe it into the GML importer
and hence does not require lots of DHIS 2 knowledge.

Lars

Of course shp2gml tools already exist - they could be described as a
bit geeky using the command line. Though there is need for some of
those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little
QGis plugin to export to dhis2 format which *might* make it easier for
users.

···

On 30 March 2015 at 18:59, Lars Helge Øverland <larshelge@gmail.com> wrote:

Shape file import sounds like an ideal task for an external developer, as it
could transform the shapefile content and pipe it into the GML importer and
hence does not require lots of DHIS 2 knowledge.

Lars

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

shp2gml is taken care of by ogr2ogr, as described in our manual.

Yes, someone could write a QGis plugin, but why should they, since we are now working on a web app to do this. Granted, it does not (yet) include reprojection, but it does include the other crucial step of generalisation using http://www.mapshaper.org/.

···

On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Of course shp2gml tools already exist - they could be described as a

bit geeky using the command line. Though there is need for some of

those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little

QGis plugin to export to dhis2 format which might make it easier for

users.

On 30 March 2015 at 18:59, Lars Helge Øverland larshelge@gmail.com wrote:

Shape file import sounds like an ideal task for an external developer, as it

could transform the shapefile content and pipe it into the GML importer and

hence does not require lots of DHIS 2 knowledge.

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Much better use of developer time would be to include http://proj4js.org/ in Sushil’s app, so that everything needed comes in one sweet package.

···

On Tue, Mar 31, 2015 at 11:10 AM, Knut Staring knutst@gmail.com wrote:

shp2gml is taken care of by ogr2ogr, as described in our manual.

Yes, someone could write a QGis plugin, but why should they, since we are now working on a web app to do this. Granted, it does not (yet) include reprojection, but it does include the other crucial step of generalisation using http://www.mapshaper.org/.

On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Of course shp2gml tools already exist - they could be described as a

bit geeky using the command line. Though there is need for some of

those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little

QGis plugin to export to dhis2 format which might make it easier for

users.

On 30 March 2015 at 18:59, Lars Helge Øverland larshelge@gmail.com wrote:

Shape file import sounds like an ideal task for an external developer, as it

could transform the shapefile content and pipe it into the GML importer and

hence does not require lots of DHIS 2 knowledge.

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

That is a handy enough library for dealing with projection all right.
But doesn't really help in reading the shapefile, which *might* be a
bit of a heavy lift for an app dealing with dbf and shp files. I'm
not convinced this would be a really good use of developer time.

QGis already does all the grunt work of reading in the shapefile and
dealing with the various oddnesses. Getting it to dump its output as
dhis orgunits seems like a relatively straightforward proposition.
But you can't assume everyone would want to use qgis.

Maybe another approach would be to create a simple less geeky ui on
top of ogr2ogr. dunno really. I'm not seeing a silver bullet here.

···

On 31 March 2015 at 10:12, Knut Staring <knutst@gmail.com> wrote:

Much better use of developer time would be to include http://proj4js.org/ in
Sushil's app, so that everything needed comes in one sweet package.

On Tue, Mar 31, 2015 at 11:10 AM, Knut Staring <knutst@gmail.com> wrote:

shp2gml is taken care of by ogr2ogr, as described in our manual.

Yes, someone could write a QGis plugin, but why should they, since we are
now working on a web app to do this. Granted, it does not (yet) include
reprojection, but it does include the other crucial step of generalisation
using http://www.mapshaper.org/\.

On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe <bobjolliffe@gmail.com> >> wrote:

Of course shp2gml tools already exist - they could be described as a
bit geeky using the command line. Though there is need for some of
those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little
QGis plugin to export to dhis2 format which *might* make it easier for
users.

On 30 March 2015 at 18:59, Lars Helge Øverland <larshelge@gmail.com> >>> wrote:
> Shape file import sounds like an ideal task for an external developer,
> as it
> could transform the shapefile content and pipe it into the GML importer
> and
> hence does not require lots of DHIS 2 knowledge.
>
> Lars
>
>
> _______________________________________________
> Mailing list: DHIS 2 developers in Launchpad
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : DHIS 2 developers in Launchpad
> More help : ListHelp - Launchpad Help
>

_______________________________________________
Mailing list: DHIS 2 developers in Launchpad
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : DHIS 2 developers in Launchpad
More help : ListHelp - Launchpad Help

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

My point is that mapshaper already reads the shapefile, and Sushil’s app built around it already exists.

You are right that some shapefiles are really heavy (thus the need for mapshaper).

···

On Tue, Mar 31, 2015 at 11:50 AM, Bob Jolliffe bobjolliffe@gmail.com wrote:

That is a handy enough library for dealing with projection all right.

But doesn’t really help in reading the shapefile, which might be a

bit of a heavy lift for an app dealing with dbf and shp files. I’m

not convinced this would be a really good use of developer time.

QGis already does all the grunt work of reading in the shapefile and

dealing with the various oddnesses. Getting it to dump its output as

dhis orgunits seems like a relatively straightforward proposition.

But you can’t assume everyone would want to use qgis.

Maybe another approach would be to create a simple less geeky ui on

top of ogr2ogr. dunno really. I’m not seeing a silver bullet here.

On 31 March 2015 at 10:12, Knut Staring knutst@gmail.com wrote:

Much better use of developer time would be to include http://proj4js.org/ in

Sushil’s app, so that everything needed comes in one sweet package.

On Tue, Mar 31, 2015 at 11:10 AM, Knut Staring knutst@gmail.com wrote:

shp2gml is taken care of by ogr2ogr, as described in our manual.

Yes, someone could write a QGis plugin, but why should they, since we are

now working on a web app to do this. Granted, it does not (yet) include

reprojection, but it does include the other crucial step of generalisation

using http://www.mapshaper.org/.

On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe bobjolliffe@gmail.com

wrote:

Of course shp2gml tools already exist - they could be described as a

bit geeky using the command line. Though there is need for some of

those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little

QGis plugin to export to dhis2 format which might make it easier for

users.

On 30 March 2015 at 18:59, Lars Helge Øverland larshelge@gmail.com

wrote:

Shape file import sounds like an ideal task for an external developer,

as it

could transform the shapefile content and pipe it into the GML importer

and

hence does not require lots of DHIS 2 knowledge.

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

DHIS2 currently has no use for GML other than as one of several possible routes for importing shapefiles, so we don’t really care about shp2gml if we can bypass it completely. It is probably nice to have the GML endpoint for external developers who want to pipe geometries into DHIS2 from external systems (remains to be seen if anyone will wish to do so).

···

On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe bobjolliffe@gmail.com wrote:

Of course shp2gml tools already exist - they could be described as a

bit geeky using the command line. Though there is need for some of

those geeky options for dealing with projection systems and the like.

I think someone with some python know how could write a neat little

QGis plugin to export to dhis2 format which might make it easier for

users.

On 30 March 2015 at 18:59, Lars Helge Øverland larshelge@gmail.com wrote:

Shape file import sounds like an ideal task for an external developer, as it

could transform the shapefile content and pipe it into the GML importer and

hence does not require lots of DHIS 2 knowledge.

Lars


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Ah, didn't know about mapshaper .... so we already have the library to
read the shapefiles. In which case you are right. Do it all in the
app.

···

On 31 March 2015 at 11:34, Knut Staring <knutst@gmail.com> wrote:

My point is that mapshaper already reads the shapefile, and Sushil's app
built around it already exists.

You are right that some shapefiles are really heavy (thus the need for
mapshaper).

On Tue, Mar 31, 2015 at 11:50 AM, Bob Jolliffe <bobjolliffe@gmail.com> > wrote:

That is a handy enough library for dealing with projection all right.
But doesn't really help in reading the shapefile, which *might* be a
bit of a heavy lift for an app dealing with dbf and shp files. I'm
not convinced this would be a really good use of developer time.

QGis already does all the grunt work of reading in the shapefile and
dealing with the various oddnesses. Getting it to dump its output as
dhis orgunits seems like a relatively straightforward proposition.
But you can't assume everyone would want to use qgis.

Maybe another approach would be to create a simple less geeky ui on
top of ogr2ogr. dunno really. I'm not seeing a silver bullet here.

On 31 March 2015 at 10:12, Knut Staring <knutst@gmail.com> wrote:
> Much better use of developer time would be to include
> http://proj4js.org/ in
> Sushil's app, so that everything needed comes in one sweet package.
>
>
> On Tue, Mar 31, 2015 at 11:10 AM, Knut Staring <knutst@gmail.com> wrote:
>>
>> shp2gml is taken care of by ogr2ogr, as described in our manual.
>>
>> Yes, someone could write a QGis plugin, but why should they, since we
>> are
>> now working on a web app to do this. Granted, it does not (yet) include
>> reprojection, but it does include the other crucial step of
>> generalisation
>> using http://www.mapshaper.org/\.
>>
>> On Tue, Mar 31, 2015 at 9:53 AM, Bob Jolliffe <bobjolliffe@gmail.com> >> >> wrote:
>>>
>>> Of course shp2gml tools already exist - they could be described as a
>>> bit geeky using the command line. Though there is need for some of
>>> those geeky options for dealing with projection systems and the like.
>>>
>>> I think someone with some python know how could write a neat little
>>> QGis plugin to export to dhis2 format which *might* make it easier for
>>> users.
>>>
>>> On 30 March 2015 at 18:59, Lars Helge Øverland <larshelge@gmail.com> >> >>> wrote:
>>> > Shape file import sounds like an ideal task for an external
>>> > developer,
>>> > as it
>>> > could transform the shapefile content and pipe it into the GML
>>> > importer
>>> > and
>>> > hence does not require lots of DHIS 2 knowledge.
>>> >
>>> > Lars
>>> >
>>> >
>>> > _______________________________________________
>>> > Mailing list: DHIS 2 developers in Launchpad
>>> > Post to : dhis2-devs@lists.launchpad.net
>>> > Unsubscribe : DHIS 2 developers in Launchpad
>>> > More help : ListHelp - Launchpad Help
>>> >
>>>
>>> _______________________________________________
>>> Mailing list: DHIS 2 developers in Launchpad
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : DHIS 2 developers in Launchpad
>>> More help : ListHelp - Launchpad Help
>>
>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> Norway: +4791880522
>> Skype: knutstar
>> http://dhis2.org
>
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org