Hi,
Could you share with us a bit of code reproducing the issue ? 
That say which writers \ classes are you using ?
Regards,
Nuno Oliveira
On Sun, 2018-12-09 at 11:20 +0100, Matteo Cusmai wrote:
> Hi all,
> I am writing a simple application to parse some geometries from
> GeoJSON to GML and viceversa.
> 
> I am able to accomplish my goal, but I cannot write neither in GML or
> GeoJSON the srsName.
> 
> For example the actual result is 
> 
> www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:xlink="http://www.w3.org/1999/xlink";
> srsDimension="2">
> srsDimension="2">12.2678 45.5224 12.2678 45.5224 12.2678
> 45.5224 12.2677 45.5224 12.2678 45.5224 12.2677 45.5224 12.2677
> 45.5224 12.2677 45.5224 12.2677 45.5224 12.2677 45.5224 12.2678
> 45.5224 12.2678 45.5224 12.2678
> 45.5224
> 
> but the expected is
> 
> 
> www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron";
> xmlns:xs="http://www.w3.org/2001/XMLSchema";
> xmlns:xlink="http://www.w3.org/1999/xlink"; srsDimension="2"
> srsName="EPSG:4326" >
> srsDimension="2">12.2678 45.5224 12.2678 45.5224 12.2678
> 45.5224 12.2677 45.5224 12.2678 45.5224 12.2677 45.5224 12.2677
> 45.5224 12.2677 45.5224 12.2677 45.5224 12.2677 45.5224 12.2678
> 45.5224 12.2678 45.5224 12.2678
> 45.5224
> 
> There is a way to do this kind of stuff?
> 
> Thanks,
> Matteo Cusmai
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to