[GeoNode-users] Create issue with the shapefiel

Simone Dalmasso simone.dalmasso at gmail.com
Fri Sep 1 00:15:40 PDT 2017


Naresh, you can force geoserver to recalculate the bbox via rest API,

see the geoserver docs

http://docs.geoserver.org/stable/en/user/rest/api/featuretypes.html#recalculate

regards

2017-09-01 7:08 GMT+02:00 Naresh N <naresh919 at gmail.com>:

> Dear Simone,
>
> Thanks a lot for the responses for all of my quires /doubts on Editing
> issue
>
> I am very happy that,I could able to  understand the issue and as of now I
> find the temporary solution.
>
> The issue is whenever the layer is getting edited ,the layer extents are
> not getting updated and when this layer is adding to map as WMS, in wms
> parameters maxextent property value is adding as old extent of the layers.
> Because of this few tiles are not loading and few tiles are partially
> loading.
>
> The following is may not be efficient solution, however to overcome I have
> did the changes in following line in GeoExplorer-debug.js
>
>  In  createLayerRecord function (approxmiately line no: 75478) and
> commented the following lines
>                maxExtent: maxExtent, (75499)
>                restrictedExtent: maxExtent,(75450).
>
> As above is temporary solution, kindly help me in the following to have
> correct solution.
>
>  1. After editing the features, how to update the layer extents from the
> code
>  2. Is layer extents are stored in database table? if so please let me
> know the table name
>  3. Not able to understand, from which line of the code extent is getting
> from the layer?
>
> Best Regards,
> Naresh
>
> On Wed, Aug 30, 2017 at 9:39 AM, Naresh N <naresh919 at gmail.com> wrote:
>
>> Dear Simone,
>>
>>   Thanks a lot for the response. Sorry for the troubling.
>>   Even unticking "User Tiled Version"   behaving differently with/without
>> login.
>>   Is any help/flow is there how the code executes with and with out
>> login? If so please kindly share.
>>   I feel that it is basically not getting full extent of the map viewer
>> to OpenLayers.Layer. WMS.  I have tried to find  where the WMS layer added
>> with the given parameters in  GeoExplorer-debug.js, but not able to find.
>> Please share in which portion of the code Layers are getting added in case
>> of Layer view, Map view.
>>
>> Thanks&Regards,
>> Naresh
>>
>> On Tue, Aug 29, 2017 at 7:17 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>>
>>> Unfortunately we cannot change geoexplorer. We have another new client
>>> but still lacks styling tools.
>>>
>>> You could untick the "use tiled version" in the layer display tab in
>>> geoexplorer.
>>>
>>> Il giorno mar 29 ago 2017 alle 15:34 Naresh N <naresh919 at gmail.com> ha
>>> scritto:
>>>
>>>> Dear Simone,
>>>>
>>>>  Thanks for the response.
>>>>  Since many of the users uses EDIT/Modify to create/edit new features
>>>> in uploaded layer. But after editing/creating the features are loading
>>>> partially only initially and users getting confuse. However if we add same
>>>> layer as WMS in other portals it is loading fine. Even in layer preview of
>>>> Geoserver also all the features loading properly.
>>>>  I think it is issue with Geoexplorer settings .
>>>>  Kindly look into this issue and please suggest.
>>>>
>>>> Thanks&Regards,
>>>> Naresh
>>>>
>>>> On Tue, Aug 29, 2017 at 6:43 PM, Simone Dalmasso <
>>>> simone.dalmasso at gmail.com> wrote:
>>>>
>>>>> Naresh, not sure what to tell. I the past I also experienced issues
>>>>> with styles caching in geoserver, without specific errors.
>>>>>
>>>>> Do not rely on demo as someone changed the default workspace and
>>>>> things are screwed up.
>>>>>
>>>>> 2017-08-29 13:17 GMT+02:00 Naresh N <naresh919 at gmail.com>:
>>>>>
>>>>>> Dear Simone/Paolo,
>>>>>>
>>>>>> This is issue is observed in demo geonode site also . Please login
>>>>>> with admin account and visit this link http://demo.geonode.org/maps/n
>>>>>> ew?layer=hr1:shape_first_1
>>>>>>
>>>>>> Please let me know any other information required to give solution.
>>>>>>
>>>>>> Kindly help me to fix, as it is very important functionality of
>>>>>> GeoNode
>>>>>>
>>>>>> Thanks&Regards,
>>>>>> Naresh
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 29, 2017 at 11:25 AM, Naresh N <naresh919 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear Paolo/Simone
>>>>>>> ,
>>>>>>> Thanks for reply. I have been trying from last couple of days to
>>>>>>> resolve I am not able to do. Kindly help me. Few more details about my
>>>>>>> settings.
>>>>>>>
>>>>>>> I have disable the caching in my geoserver, even though I am facing
>>>>>>> same issue.
>>>>>>> As I am doing any one of the following  all the features are loading
>>>>>>> properly
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> *(i) Increase and decrease the zoom level (ii) Clicking on Layer
>>>>>>> Properties Symbol and Clicked on DISPLAY tab  (iii) Close the layer panel
>>>>>>> and again open the layer panel*
>>>>>>>
>>>>>>> *How  and where to write the  code in GeoNode, so that with out
>>>>>>> manual intervention an one of the above task should execute.*
>>>>>>>
>>>>>>> Thanks&Regards,
>>>>>>> Naresh. N
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Aug 13, 2017 at 1:51 AM, Paolo Corti <pcorti at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>> We should determine if it is a GeoServer or GeoNode problem.
>>>>>>>> GeoServer should automatically update the GeoWebCache tile cache
>>>>>>>> when
>>>>>>>> editing features using a WFS transaction - at least this was working
>>>>>>>> properly at GeoNode 2.4. Can you check if the GeoWebCache cache is
>>>>>>>> correctly updated for that layer?
>>>>>>>> If not, this could be a client cache issue?
>>>>>>>> p
>>>>>>>>
>>>>>>>> On Fri, Aug 11, 2017 at 8:37 AM, Naresh N <naresh919 at gmail.com>
>>>>>>>> wrote:
>>>>>>>> >  Dear All,
>>>>>>>> >
>>>>>>>> > Please suggest for the following queries
>>>>>>>> >
>>>>>>>> > 1. Uploaded spatial data(Shapefile). Viewed the uploaded data on
>>>>>>>> Map
>>>>>>>> > composer,selected create          option from Edit drop down menu
>>>>>>>> and
>>>>>>>> > created new features.
>>>>>>>> >   a. Clicked on Layers list and selected same layer/uploaded data
>>>>>>>> and used
>>>>>>>> > Create Map option,in              map composer few of the newly
>>>>>>>> created
>>>>>>>> > features are not loaded. However If I do any one of the
>>>>>>>> following
>>>>>>>> > actions on map composer all the features are visible
>>>>>>>> >        (i) Increase and decrease the zoom level
>>>>>>>> >        (ii) Clicking on Layer Properties Symbol and Clicked on
>>>>>>>> DISPLAY tab
>>>>>>>> >        (iii) Close the layer panel and again open the layer panel
>>>>>>>> >
>>>>>>>> >       Please suggest what is the issue? how to resolve above
>>>>>>>> >
>>>>>>>> >    b.Clicked on  Layers list and selected same layer/uploaded
>>>>>>>> data and Layer
>>>>>>>> > preview all the features are not visible in all the zoom levels.
>>>>>>>> >
>>>>>>>> >            Please suggest what is the issue? how to resolve above
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > Thanks&Regards,
>>>>>>>> > Naresh.N
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > _______________________________________________
>>>>>>>> > geonode-users mailing list
>>>>>>>> > geonode-users at lists.osgeo.org
>>>>>>>> > https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Paolo Corti
>>>>>>>> Geospatial software developer
>>>>>>>> web: http://www.paolocorti.net
>>>>>>>> twitter: @capooti
>>>>>>>> skype: capooti
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone
>>>>>
>>>>
>>>> --
>>> Simone
>>>
>>
>>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170901/b8a707b8/attachment-0001.html>


More information about the geonode-users mailing list