You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've used the 1.8.1 Windows installer and successfully installed Cartoview.
One entry I changed in the settings.py file.
SITEURL port 4040 (Default was 8000)
Also changed Tomcat port to 8080 (Default was 4041). If I hadn't made these changes, geoserver could not be reached by python manage.py updatelayers prompting me with
[Errno 10061] No connection could be made because the target machine actively refused it
After fixing this while trying to importlayers I was prompted by
Exception: ('Failed to process BBMP_Wards_GSL_UTM_43N_160318', AttributeError("'FeatureType' object has no attribute 'srid'",))
Which I had to edit the helpers.py file at line 614. Change to srid.projection
Again prompted by
Exception: ('Failed to process BBMP_Wards_GSL_UTM_43N_160318', AttributeError("'NoneType' object has no attribute 'name'",))
For which I had to specify options such as -n , -t etc , trying to import layers again,
geonode.people.models.DoesNotExist: Profile matching query does not exist.
Which simple enough I provided the superuser option as follows:
python manage.py importlayers -n test -t test -a test -u superadmin path_to_file
This successfully imported my shapefile
Finished processing 1 layers in 7.0 seconds.
1 Created layers
0 Updated layers
0 Skipped layers
0 Failed layers
7.000000 seconds per layer
Now to run python manage.py updatelayers to reflect in Cartoview/Geonode, which prompted me with this:
Finished processing 1 layers in 15.0 seconds.
0 Created layers
1 Updated layers
0 Failed layers
15.000000 seconds per layer
PS E:\Cartoview\geonode> python manage.py updatelayers
Inspecting the available layers in GeoServer ...
Found 1 layers, starting processing
[updated] Layer test (1/1)
All seems well but the changes still isn't reflected on Cartoview/Geonode. Store and layer is present in Geoserver.
Cartoview Version : 1.8.1
Geonode Version : Default version with Windows installer
Edit: Just wanted to add that I would like to upload large rasters onto Cartoview/Geonode which is quite slow (uploading time) via the UI. Using Geoserver/console to upload large files would be quite useful. Thus, this was just a test to see if I can upload a file via Geoserver/console commands so later I could possibly automate this.
The text was updated successfully, but these errors were encountered:
Hello,
I've used the 1.8.1 Windows installer and successfully installed Cartoview.
One entry I changed in the
settings.py
file.SITEURL
port 4040 (Default was 8000)Also changed
Tomcat
port to 8080 (Default was 4041). If I hadn't made these changes, geoserver could not be reached bypython manage.py updatelayers
prompting me withAfter fixing this while trying to
importlayers
I was prompted byWhich I had to edit the
helpers.py
file at line 614. Change tosrid.projection
Again prompted by
For which I had to specify options such as
-n
,-t
etc , trying to import layers again,Which simple enough I provided the
superuser
option as follows:This successfully imported my shapefile
Now to run
python manage.py updatelayers
to reflect in Cartoview/Geonode, which prompted me with this:All seems well but the changes still isn't reflected on Cartoview/Geonode. Store and layer is present in Geoserver.
Edit: Just wanted to add that I would like to upload large rasters onto Cartoview/Geonode which is quite slow (uploading time) via the UI. Using Geoserver/console to upload large files would be quite useful. Thus, this was just a test to see if I can upload a file via Geoserver/console commands so later I could possibly automate this.
The text was updated successfully, but these errors were encountered: