Re: [Geoserver-users] Geoserver adding new field to a layer externally

2021-08-19 Thread Vikram
Which Rest API do you suggest ? I see that I can use a GET request to 
get the feature type info in JSON, add an attribute to the attributes 
array and then send a PUT request with this info JSON and it works. But 
I am wondering if there is a simple reload / refresh API for a feature 
type.


Regards,

Vikram

On 18/08/2021 19:52, Alexandre Gacon wrote:

Perhaps you should try the Rest API to trigger the updated.

Le mer. 18 août 2021 à 19:01, Jose Macchi > a écrit :


Hi Vikram,

I think that if you edit the layer and reload the
featurestype (check image below, as a sample...at the end of the
table, a link)..it should read the changes your applied to the
shapefiles, and so, detect the new field added

image.png
(the reload feature type link should detect the changes in the DBF
associated to the shapefile, and list it).
Is that what you wanted to do ?

Regards

On Wed, Aug 18, 2021 at 1:16 PM Vikram
mailto:vikram.es...@fleetroute.com>>
wrote:

Hi all,

I have a geoserver layer which feeds off a shapefile. When I
add a new
field to the shapefile externally, I want it to be reflected
in the
geoserver layer. Does anyone have an idea about this ?

I see that one can externally add the new field to the
featuretype.xml
file of the layer and that does the trick. But is that the
only way ?

Regards,

Vikram



___
Geoserver-users mailing list

Please make sure you read the following two resources before
posting to this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/

- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html


If you want to request a feature or an improvement, also see
this:

https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer




Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users


___
Geoserver-users mailing list

Please make sure you read the following two resources before
posting to this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/

- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html


If you want to request a feature or an improvement, also see this:

https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer




Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver adding new field to a layer externally

2021-08-19 Thread Vikram

Hi,

if I edit the shapefile on qgis and add a new field and relaod feature 
type on the GUI, it does not work, doesn't show the new field that I 
added on geoserver. And even if this works, I would want to trigger the 
reload through a rest API.


Regards,

Vikram

On 18/08/2021 18:57, Jose Macchi wrote:

Hi Vikram,

I think that if you edit the layer and reload the featurestype (check 
image below, as a sample...at the end of the table, a link)..it should 
read the changes your applied to the shapefiles, and so, detect the 
new field added


image.png
(the reload feature type link should detect the changes in the DBF 
associated to the shapefile, and list it).

Is that what you wanted to do ?

Regards

On Wed, Aug 18, 2021 at 1:16 PM Vikram > wrote:


Hi all,

I have a geoserver layer which feeds off a shapefile. When I add a
new
field to the shapefile externally, I want it to be reflected in the
geoserver layer. Does anyone have an idea about this ?

I see that one can externally add the new field to the
featuretype.xml
file of the layer and that does the trick. But is that the only way ?

Regards,

Vikram



___
Geoserver-users mailing list

Please make sure you read the following two resources before
posting to this list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/

- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html


If you want to request a feature or an improvement, also see this:

https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer




Geoserver-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/geoserver-users


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver adding new field to a layer externally

2021-08-18 Thread Alexandre Gacon
Perhaps you should try the Rest API to trigger the updated.

Le mer. 18 août 2021 à 19:01, Jose Macchi  a écrit :

> Hi Vikram,
>
> I think that if you edit the layer and reload the featurestype (check
> image below, as a sample...at the end of the table, a link)..it should read
> the changes your applied to the shapefiles, and so, detect the new field
> added
>
> [image: image.png]
> (the reload feature type link should detect the changes in the DBF
> associated to the shapefile, and list it).
> Is that what you wanted to do ?
>
> Regards
>
> On Wed, Aug 18, 2021 at 1:16 PM Vikram 
> wrote:
>
>> Hi all,
>>
>> I have a geoserver layer which feeds off a shapefile. When I add a new
>> field to the shapefile externally, I want it to be reflected in the
>> geoserver layer. Does anyone have an idea about this ?
>>
>> I see that one can externally add the new field to the featuretype.xml
>> file of the layer and that does the trick. But is that the only way ?
>>
>> Regards,
>>
>> Vikram
>>
>>
>>
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver adding new field to a layer externally

2021-08-18 Thread Jose Macchi
Hi Vikram,

I think that if you edit the layer and reload the featurestype (check image
below, as a sample...at the end of the table, a link)..it should read the
changes your applied to the shapefiles, and so, detect the new field added

[image: image.png]
(the reload feature type link should detect the changes in the DBF
associated to the shapefile, and list it).
Is that what you wanted to do ?

Regards

On Wed, Aug 18, 2021 at 1:16 PM Vikram  wrote:

> Hi all,
>
> I have a geoserver layer which feeds off a shapefile. When I add a new
> field to the shapefile externally, I want it to be reflected in the
> geoserver layer. Does anyone have an idea about this ?
>
> I see that one can externally add the new field to the featuretype.xml
> file of the layer and that does the trick. But is that the only way ?
>
> Regards,
>
> Vikram
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users