<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fields mapping between 2 shapefiles in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363182#M127146</link>
    <description>Hi,
&lt;BR /&gt;You are not mapping two Shapefiles in this job but you are creating a shapefile from a first one, with different schemas mapped thanks to a tMap component...with empty columns...(e.g. NPE in the error log). 
&lt;BR /&gt;Are you sure you would like to map fields between shapefiles?? or just create a new shapefile from fields of another one??
&lt;BR /&gt;Cheers,
&lt;BR /&gt;Mathieu</description>
    <pubDate>Tue, 13 Aug 2013 15:25:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-13T15:25:44Z</dc:date>
    <item>
      <title>Fields mapping between 2 shapefiles</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363180#M127144</link>
      <description>Hi, 
&lt;BR /&gt;I must manage the interoperability between 2 data models. 
&lt;BR /&gt;So, i would like to map the fields between two shapefiles. I used the component tMap and I mapped the necessary fields of the input shapefile with the fields of the output shapefile (which will be created). 
&lt;BR /&gt;The two shapefiles have a multilinestring geometry. 
&lt;BR /&gt;When I execute the job, I have a NullPointerException but each field is nullable and I check if the field is null or not. 
&lt;BR /&gt;Error : 
&lt;BR /&gt; connecting to socket on port 3646 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component sShapefileOutput_1_SO 
&lt;BR /&gt;java.lang.NullPointerException 
&lt;BR /&gt; at org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:963) 
&lt;BR /&gt; at org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:113) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.sShapefileInput_1_GIProcess(NGToGrace.java:2518) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.runJobInTOS(NGToGrace.java:3473) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.main(NGToGrace.java:3339) 
&lt;BR /&gt; disconnected 
&lt;BR /&gt;I tried to put "null" in each empty field but it doesn't change anything. 
&lt;BR /&gt;Thank you for your help. 
&lt;BR /&gt;PS: I enclosed the job's scheme and the tMap configuration. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEv2.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137781iD7C248751C0B1FEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEv2.jpg" alt="0683p000009MEv2.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEhp.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139912i75528C873071AC13/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEhp.jpg" alt="0683p000009MEhp.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363180#M127144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fields mapping between 2 shapefiles</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363181#M127145</link>
      <description>Hi, do you have a Geometry column in the output ? I don't see any link from the shape column (which is probably the input geometry) to something in the output.
&lt;BR /&gt;Cheers.
&lt;BR /&gt;Francois</description>
      <pubDate>Tue, 13 Aug 2013 15:19:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363181#M127145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T15:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Fields mapping between 2 shapefiles</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363182#M127146</link>
      <description>Hi,
&lt;BR /&gt;You are not mapping two Shapefiles in this job but you are creating a shapefile from a first one, with different schemas mapped thanks to a tMap component...with empty columns...(e.g. NPE in the error log). 
&lt;BR /&gt;Are you sure you would like to map fields between shapefiles?? or just create a new shapefile from fields of another one??
&lt;BR /&gt;Cheers,
&lt;BR /&gt;Mathieu</description>
      <pubDate>Tue, 13 Aug 2013 15:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363182#M127146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T15:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fields mapping between 2 shapefiles</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363183#M127147</link>
      <description>Thank you for yours responses. 
&lt;BR /&gt;@Fxp: 
&lt;BR /&gt;The geometry column is missing (I noticed it) but I choose "multilinestring" in the shapefileOutput configuration, so I thought it was enough. 
&lt;BR /&gt;@mcoudert: 
&lt;BR /&gt;I just want to create a new shapefile from another one. Concerning the empty columns, I tried to put "null" but I already had the NPE error. 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;Nicolas 
&lt;BR /&gt;Edit : If i add a Geometry column , i have this new error : 
&lt;BR /&gt;Exception in component sShapefileOutput_1_SO 
&lt;BR /&gt;java.io.IOException: Unable to write : routines.system.Document 
&lt;BR /&gt; at org.geotools.data.shapefile.ShapefileDataStore.createDbaseHeader(ShapefileDataStore.java:1217) 
&lt;BR /&gt; at org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:1003) 
&lt;BR /&gt; at org.geotools.data.shapefile.ShapefileDataStore.createSchema(ShapefileDataStore.java:113) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.sShapefileInput_1_GIProcess(NGToGrace.java:2557) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.runJobInTOS(NGToGrace.java:3527) 
&lt;BR /&gt; at ng2grace.ngtograce_0_1.NGToGrace.main(NGToGrace.java:3393)</description>
      <pubDate>Tue, 13 Aug 2013 15:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fields-mapping-between-2-shapefiles/m-p/2363183#M127147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-13T15:42:57Z</dc:date>
    </item>
  </channel>
</rss>

