[SoC] [postgis-devel] Week 10 Report - Implement Geospatial Data Viewer in pgAdmin4 for PostGIS
Xuri Gong
xurigoong at gmail.com
Fri Jul 27 18:23:47 PDT 2018
Hi Paul,
Since there are some bugs using openlayers in pgadmin4, I have replaced it
with leafletjs in 'geometry_visualiser' branch. Please use
'geometry_visualiser' branch to build:
https://github.com/Gooong/pgadmin4/tree/geometry_visualiser
Thank you:)
Paul Ramsey <pramsey at cleverelephant.ca> 于2018年7月28日周六 上午5:26写道:
> Trying out the geoviewer branch,
>
> I can run 'make bundle' fine in the master branch. In your branch it
> errors out like this:
>
> ERROR in ./pgadmin/static/jsx/map_view/map_view.jsx
> Module not found: Error: Can't resolve 'ol/dist/ol.js' in
> '/Users/pramsey/Code/pgadmin4/web/pgadmin/static/jsx/map_view'
> @ ./pgadmin/static/jsx/map_view/map_view.jsx 60:9-33
> @ ./pgadmin/tools/sqleditor/static/js/sqleditor.js
>
> ERROR in ./pgadmin/static/jsx/map_view/map_view_map.jsx
> Module not found: Error: Can't resolve 'ol/dist/ol.js' in
> '/Users/pramsey/Code/pgadmin4/web/pgadmin/static/jsx/map_view'
> @ ./pgadmin/static/jsx/map_view/map_view_map.jsx 37:9-33
> @ ./pgadmin/static/jsx/map_view/map_view.jsx
> @ ./pgadmin/tools/sqleditor/static/js/sqleditor.js
> error Command failed with exit code 2.
> info Visit https://yarnpkg.com/en/docs/cli/run for documentation about
> this command.
>
> I assume there's a small piece of configuration not checked in somewhere?
>
> On Sun, Jul 22, 2018 at 7:00 PM, Xuri Gong <xurigoong at gmail.com> wrote:
> > Hi,
> > I am Xuri Gong. This is my report for week 10(July 16 - 22).
> >
> > What did you get done this period?
> >
> > Create visualiser for individual geometry in datagrid. [1]
> > Fix image url errors in leaflet. [2]
> >
> > This visualiser is independent from the geoviewer and is in the
> > geometry_visualiser branch[3]. Here is the screen shot:
> >
> > Screenshot 1 [4]
> > Screenshot 2 [5]
> >
> > What do you plan on doing next week?
> >
> > Create test for both geometry_visualiser and geoviewer.
> > Check the code style to meet the pgAdmin coding standards[6].
> >
> > Are you blocked on anything?
> > No, I am not blocked.
> >
> > Wiki page: [7]
> > Public repository: [8]
> >
> > [1]
> >
> https://github.com/Gooong/pgadmin4/commit/d6407baa3a0a96adac169d183bed8bc044dbb8f5
> > [2]
> >
> https://github.com/Gooong/pgadmin4/commit/3b160b668c4f9b5867b4b2189714c934a5de85c6
> > [3] https://github.com/Gooong/pgadmin4/tree/geometry_visualiser
> > [4] https://photos.app.goo.gl/kH58WDbZeKAtRvNi8
> > [5] https://photos.app.goo.gl/AnQMZndMQ62HGLmbA
> > [6] https://pgadmin.org/docs/pgadmin4/dev/coding_standards.html
> > [7]
> >
> https://trac.osgeo.org/postgis/wiki/GeospatialDataViewerInPgAdmin4ForPostGIS
> > [8] https://github.com/Gooong/pgadmin4/tree/geoviewer
> >
> > _______________________________________________
> > postgis-devel mailing list
> > postgis-devel at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/postgis-devel
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/soc/attachments/20180728/d3328058/attachment.html>
More information about the SoC
mailing list